Re: man pages text only

From: Chris R (Chris_member_at_newsguy.com)
Date: 09/28/04


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



Relevant Pages

  • Re: newbie needs help w/ condition checking
    ... > visibility to the differences between ksh ... list is executed only if the preceding pipeline (or command) ... returns a zero exit status. ... My code in this post is copyright 2004, Chris F.A. Johnson ...
    (comp.unix.shell)
  • Re: Casting Shadows, by Jeanne Cavelos
    ... >> Carved in mystic runes upon the very living rock, ... >> Chris of rec.arts.sf.tv.babylon5.moderated make plain: ...
    (rec.arts.sf.tv.babylon5.moderated)
  • Re: function definition syntax
    ... >> So ksh isn't even compatible with itself. ... > may not be the fault of the language and perhaps the fault of the ... will run on any version of the Kron shell. ... My code in this post is copyright 2004, Chris F.A. Johnson and may be copied under the terms of the GNU General Public License ...
    (comp.unix.shell)
  • Re: Fun reading Volume Three
    ... > Carved in mystic runes upon the very living rock, ... > Chris of rec.arts.sf.tv.babylon5.moderated make plain: ...
    (rec.arts.sf.tv.babylon5.moderated)
  • Re: function definition syntax
    ... >> degree of compatibility the ksh had with the ksh88 standard. ... Chris, copping an attitude doesn't make your case any more airtight, or ... I'll note at the time, we were mostly a SEQUENT shop, and the SEQUENT Unix ...
    (comp.unix.shell)