Re: man pages text only
From: Chris R (Chris_member_at_newsguy.com)
Date: 09/28/04
- Next message: Malcolm Horn: "Single user telnet failures"
- Previous message: Chris R: "Re: AIX 3 Hard Disk Full"
- In reply to: Chris R: "Re: man pages text only"
- Next in thread: Dale Talcott: "Re: man pages text only"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Sep 2004 13:37:01 -0700
In article <cjcgvr02g26@drn.newsguy.com>, Chris R says...
>
>In article <200409281710.i8SHAJgY016186@smtp.andrew.cmu.edu>, Philip Lewis
>says...
>>
>>I think you can do this by making a script along these lines:
>>
>>unset TERMCAP
>>TERM=dumb
>>man $*
>>
>
>I tried that and with a dumb TERM, the characters are bacically ignored. When I
>do man ksh, I see plain text. I do man ksh >ksh.txt and then do a more of
>ksh.txt and it looks like plain text. I reset my TERM back to vt100 and look at
>the ksh.txt file and all of the escape codes are still in there. The TERM
>difference only seems to effect the display, not the output of man. I even
>tried man ksh | cat >ksh.txt, in case man was smart enough to determine if
>output was stdio vs | command and it still came up the same.
>
> - Chris
>
Never mind! I was on a Compaq system with all those issues! AIX is plain text
for man output (at least for my environment). Not much to the AIX ksh man page,
but it is outputted as plain test with TERM=vt100.
Thanks to all for suggestions...
- Chris R
- Next message: Malcolm Horn: "Single user telnet failures"
- Previous message: Chris R: "Re: AIX 3 Hard Disk Full"
- In reply to: Chris R: "Re: man pages text only"
- Next in thread: Dale Talcott: "Re: man pages text only"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|