Article View: news.software.nntp
Article #13148Re: Looking for INN 1.5 manuals
From: Steve G. Dobson
Date: Tue, 10 Dec 1996 00:00
Date: Tue, 10 Dec 1996 00:00
47 lines
2403 bytes
2403 bytes
Erland Sommarskog wrote:
>
> Are the man pages for INN available in some nice ready-to-print format
> on a Web page, in Postscript or something similar? Yes, I could download
> INN and grab the man pages there, but I don't have any access to any
> printing facilities on Unix, so I would have to send them to the office
> in plaint text, and then run them through a Word macro to fix all the
> underscoring. They would still not look as pretty as when formatted
> directly from the troff (or whatever) source.
>
Try the following:
$ cat Install.ms1 Install.ms2 > Install.ms
$ nroff -ms Install.ms > Install.txt
To remove the special printing command try the following:
$ vi Install.txt
:g/.^V^H/s///g
:wq!
The `g/.^V^H/s///g' is explained as follows:
^ ^^^^^ ^ ^
| | | +- every ??occurence?? on a line
| | |
| | +----- subsituate the previous pattern with nothing
| | thereby removing all the specal printing
| | codes.
| |
| +--------- A regular expression that replaces any
| character `.' followed by a backspace
| (the ^H [That's CTRL-H] character). The
| ^V [CTRL-V] tells vi that the next character
| typed is to be taken literally.
| NOTE: when you type CTRL-V just the ^ will
| appear on the screen.
|
+------------- The global subsituation command (for every line
in the file.
The command `wq!' writes the file back to disk and then quits `vi'.
Hope this helps
Steve
Technical Details
Message-ID:
<32ADF26B.E82@Impire.Demon.Co.UK>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<58fie0$450@epimetheus.algonet.se>Show Full Headers
Complete Article Headers
Message-ID: <32ADF26B.E82@Impire.Demon.Co.UK> Subject: Re: Looking for INN 1.5 manuals Date: Tue, 10 Dec 1996 00:00:00 +0000 From: "Steve G. Dobson" <Steve.Dobson@Impire.Demon.Co.UK> References: <58fie0$450@epimetheus.algonet.se> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 204104872 X-nntp-posting-host: impire.demon.co.uk Content-type: text/plain; charset=us-ascii Organization: Self Mime-version: 1.0 Newsgroups: news.software.nntp X-mailer: Mozilla 3.01Gold (X11; I; SunOS 5.5.1 i86pc)