[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What do we have that will save a manpage as we see it on-screen



On Saturday 02 October 2021 07:45:07 Eric S Fraga wrote:

> man pages are written in troff/nroff (which can be compiled using
> groff) using the man style.  You can do the following, for instance:
>
> gunzip -c /usr/share/man/man1/chmod.1.gz | groff -man | lp
>
> (or replace "lp" with "gv -" to see on screen).
>
> Replace chmod with specific command and note that there is a different
> folder for each section of the Unix manual, man1 being for commands,
> man2 for system libraries, ...
>
> troff is how us old-timers used to write before LaTeX took over.  I
> did my PhD in troff many moon ago on BSD Unix and then SunOS. 
> Testament to the quality of the software: I can still generate a PDF
> of my thesis now after more than 30 years since I wrote it.  Try that
> in Word... ;-)

And in 3 decades, word will have destroyed it 30 times (or more) :(((((

Cheers, Gene Heskett.
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


Reply to: