[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
howtos:software:man2html_mini_howto [2014/12/17 16:20 (UTC)] – created pdi | howtos:software:man2html_mini_howto [2019/02/21 11:35 (UTC)] (current) – removed markand | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
- | ====== man2html Mini HOWTO ====== | ||
- | ===== Introduction ===== | ||
- | |||
- | // | ||
- | |||
- | // | ||
- | |||
- | **'' | ||
- | |||
- | It is more useful, however, to setup a //cgi-bin// infrastructure which will allow the //on the fly// operation, see man2html(1). | ||
- | |||
- | ===== http ===== | ||
- | |||
- | This is the most versatile mode, as it works from any browser. | ||
- | |||
- | **''# | ||
- | |||
- | **''# | ||
- | < | ||
- | # NB: <TAB> must be a real tab. | ||
- | TRUSTED_LYNXCGI:< | ||
- | </ | ||
- | |||
- | **''# | ||
- | <code bash> | ||
- | #!/bin/bash | ||
- | # $1 is the man section | ||
- | # $2 is the command name | ||
- | zcat "$(man --path $1 $2)" | / | ||
- | </ | ||
- | |||
- | **''# | ||
- | |||
- | **''# | ||
- | |||
- | See [[[[howtos: | ||
- | |||
- | <note warning> | ||
- | |||
- | ===== lynxcgi ===== | ||
- | |||
- | This works only from lynx. Make sure lynx is compiled with enabled cgi-bin, the default for Slackware. | ||
- | |||
- | **'' | ||
- | |||
- | **'' | ||
- | |||
- | < | ||
- | # NB: <TAB> must be a real tab. | ||
- | TRUSTED_LYNXCGI:< | ||
- | </ | ||
- | |||
- | **'' | ||
- | <code bash> | ||
- | #!/bin/bash | ||
- | # $1 is the man section | ||
- | # $2 is the command name | ||
- | zcat "$(man --path $1 $2)" | / | ||
- | </ | ||
- | |||
- | **'' | ||
- | |||
- | A link in an // | ||
- | < | ||
- | lynxcgi:/ | ||
- | </ | ||
- | |||
- | |||
- | |||
- | |||
- | ====== Sources ====== | ||
- | <!-- If you are copying information from another source, then specify that source --> | ||
- | <!-- * Original source: [[http:// | ||
- | <!-- Authors are allowed to give credit to themselves! --> | ||
- | <!-- * Originally written by [[wiki: | ||
- | <!-- * Contributions by [[wiki: | ||
- | |||
- | <!-- Please do not modify anything below, except adding new tags.--> | ||
- | <!-- You must remove the tag-word " | ||
- | {{tag> |