MANCHA(1)
π MANCHA(1) π
okay bestie, welcome to <rainbow>MANCHA</rainbow> β she lives in section 1 of your General Commands Manual and she's literally the moment. π
β¨ NAME β¨
mancha β view manual pages via cha(1)
πΈ SYNOPSIS πΈ
mancha [-M path] [section] name
mancha [-M path] [section] -k keyword
mancha -l file
π¦ DESCRIPTION π¦
so mancha lets you read man pages inside the Chawan browser. it's giving w3mman(1) energy, fr fr β same concept, different era. π
what she actually does: she runs cha(1) with the right man:, man-k: or man-l: URL, and then the protocol adapter opens the man page and injects markup into it. so like, man page references become man: links. hyperlinks but make it manpages. iconic behavior, no cap. β¨
π OPTIONS π
here are the command line options, bestie, all three of them, obsessed:
-M pathβ setspathas theMANPATHenvironment variable. if you wanna know exactly how that gets interpreted, go checkman(1), she explains it. π-k keywordβ useskeywordto do a keyword-based man page search. basically the flow where you're like "i don't remember the command name, i just remember the vibe" π-l fileβ opens the local file you specify as a man page. π
π ENVIRONMENT π
these environment variables are in the mix:
MANCHA_CHAβ if it's set, whatever's inside it gets used instead ofcha. quick note though: thechacommand is called throughsystem(3), so honestly you do not have to override it as long aschais chillin' somewhere in yourPATH. π«ΆMANCHA_MANβ if it's set, its contents get used instead of/usr/bin/man.MANCHA_APROPOSβ if it's set, its contents get used instead of/usr/bin/man.
okay so. yes.MANCHA_APROPOSalso says/usr/bin/manup there. this is not a typo β the original page says it that way and we are NOT fixing it, we're respecting it. π
so here's the tea on that: normally (except on FreeBSD), mancha assumes that man(1) is compatible with apropos(1) and that it accepts the -s parameter. so overriding MANCHA_MAN also overrides the command used for man-k β but only as long as MANCHA_APROPOS is not set. periodt. π
π SEE ALSO π
man(1), cha(1), cha-cgi(5), w3mman(1)
okay that's the whole page, you ate it, you're the main character now π§π little sign-off for you: this was <rainbow>MANCHA(1)</rainbow> from the General Commands Manual, and the footer just says MANCHA(1) back at you like a lil mirror. bye bestie, go read some manual pages ππ
π¦ where this page comes from
- alpine 3.24: chawan-doc 0.4.4-r0 Β· Unlicense
- arch rolling: chawan 0.5.0-1 Β· Unlicense
- nixpkgs unstable: chawan 0.4.4
- ubuntu stonking: chawan 0.4.4-1 Β· Unlicense
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms