[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: termcap garbage from groff-1.18.1
From: |
Werner LEMBERG |
Subject: |
Re: termcap garbage from groff-1.18.1 |
Date: |
Tue, 15 Apr 2003 08:37:26 +0200 (CEST) |
> 'groff -Tlatin1 -man /usr/share/man/man1/gzip.1 | less' displays a
> lot of termcap escape sequences that less (version 332) does not
> understand.
less version 381 does. Linux xterm and console does. MS-DOS/Windows
does also (with ansi.sys loaded).
> If groff is going to output termcap sequences, it should only do it
> if isatty(<output file>) or if an option is given to do so.
You can return to the old scheme by setting the environment variable
GROFF_NO_SGR or by passing option `-P-c' to groff. See grotty(1) for
details.
Werner