Skip to Content.
Sympa Menu

baslinux - [BL] man2html script

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: keesan2 AT cyberspace.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: [BL] man2html script
  • Date: Tue, 2 Dec 2003 11:18:25 -0500

I still have not received any list-related mail at keesan AT grex.org so
yesterday I made a keesan3 account and sign up for that - still no mail.
I am replying from the website instead.

The script worked beautifully. I need to start with gz files or it tells
me I don't have a valid man page. I also needed to rename lynx-ssl to
lynx or it would tell me lynx: command not found (mc did the same thing
when I tried to view html pages). I had set an alias to type lynx and run
lynx-ssl. I will attempt next to find some way to automatically set
man2html to find the relevant man page - I think there was some file
describing how to do this but at the time I did not have lynx. This setup
would be a useful way to save 8MB disk space on an old computer through
not needing to install groff.

My partner Jim thanks all of you for helping (now and last winter) with
setting up his belated birthday present - a linux computer that does
nearly everything his DOS/Win98 computer can do. It dials/ftps/telnets
our bbs (Kermit), browses (links, links2, lynx, w3m, opera), downloads,
views and edits photos (photopc, zgv, imagemagick), and will let him learn
to program. Eventually (once I get control of X) I will attempt to set it
up with a scanner and maybe the CD-write drive that we found in a curbside
computer. Has anyone in the list used either of these yet with linux? I
found mention of a cd-record program. Our neighbor has used scanners with
Redhat 9 but this comes all set up.

Thanks in particular to the people who compiled some of the above
programs.



>You can't do that with an alias, but you could certainly
>do it with a script:
>----------------------------
>man2html $1 > /tmp/xxx.html
>lynx /tmp/xxx.html
>----------------------------
>
>> Can I make gunzip part of the alias
>------------------------------------
>zcat $1 | man2html > /tmp/xxx.html
>lynx /tmp/xxx.html
>------------------------------------
>
>Cheers,
>Steven




Archive powered by MHonArc 2.6.24.

Top of Page