[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.
no way to compare when less than two revisions
Diferencias
Muestra las diferencias entre dos versiones de la página.
— | es:howtos:software:man2html [2019/02/28 01:48 (UTC)] (actual) – creado slackwarespanol | ||
---|---|---|---|
Línea 1: | Línea 1: | ||
+ | ====== man2html ====== | ||
+ | ===== Introduction ===== | ||
+ | |||
+ | // | ||
+ | ((The HTML from // | ||
+ | One of the advantages it offers is that when //man// pages are converted to HTML they become navigable through hyperlinks. A similar script exists for //info//, [[http:// | ||
+ | |||
+ | // | ||
+ | |||
+ | $ zcat $(man --path 1 grep) | man2html -l | lynx -stdin | ||
+ | |||
+ | 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 '' | ||
+ | |||
+ | **'' | ||
+ | |||
+ | **'' | ||
+ | |||
+ | < | ||
+ | # 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> |