Re: Man Pages in Text?

From: Alan Connor (zzzzzz_at_xxx.yyy)
Date: 05/21/04


Date: Fri, 21 May 2004 20:44:29 GMT

On Fri, 21 May 2004 19:42:02 GMT, Juha Laiho <Juha.Laiho@iki.fi> wrote:
>
>
> xxxx@yyy.zzz said:
>>As root, I ran catman 1, and it created the catpages, gzipped, in
>>/var/cache/man/cat1.
>>
>>man -M /var/cache/man less yielded the man page for less in a blink,
>>but I couldn't edit standard input from gzip, so I gunzipped the file
>>/var/cache/man/cat1/less.1.gz and then did the man command above.
>>
>>Worked fine, though when I hit "v" in less to edit the file there was
>>quite a bit of junk there, though nothing like the amount in the
>>un-formatted man page.
>>
>>So I guess I'll have to write a sed script to remove the junk and
>>edit /etc/manpath.config, and change the perms/ownership on the
>>directory tree.
>
> "col -b" might be the junk removal tool you're looking for.

That's it. Mission accomplished. Thanks, Juha.

AC



Relevant Pages

  • Re: Man Pages in Text?
    ... >As root, I ran catman 1, and it created the catpages, gzipped, in ... >but I couldn't edit standard input from gzip, ... >quite a bit of junk there, though nothing like the amount in the ...
    (comp.unix.questions)
  • Re: Man Pages in Text?
    ... > gzipping the catpages must be a recent feature, ... GNU often goes overboard, like they just can't leave good programs alone.... ... >> quite a bit of junk there, though nothing like the amount in the ...
    (comp.unix.questions)