Re: man pages text only
From: Chris R (Chris_member_at_newsguy.com)
Date: 09/28/04
- Next message: Douglas R. Probst: "Re: Booting an AIX P5 550 and AIX 5.3"
- Previous message: Kenneth R. Rempe: "Re: automounting users home directory"
- In reply to: Philip Lewis: "Re: man pages text only"
- Next in thread: Chris R: "Re: man pages text only"
- Reply: Chris R: "Re: man pages text only"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Sep 2004 13:19:07 -0700
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
- Next message: Douglas R. Probst: "Re: Booting an AIX P5 550 and AIX 5.3"
- Previous message: Kenneth R. Rempe: "Re: automounting users home directory"
- In reply to: Philip Lewis: "Re: man pages text only"
- Next in thread: Chris R: "Re: man pages text only"
- Reply: Chris R: "Re: man pages text only"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|