[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new grotty format

From: Eli Zaretskii
Subject: Re: new grotty format
Date: Sun, 10 Feb 2002 14:52:15 +0200 (IST)

On Sat, 9 Feb 2002, Werner LEMBERG wrote:

> > Also, I'm unsure what would a typical `man' and a typical pager do with
> > those escapes, especially if the terminal doesn't support colors?
> > What does, for example, GNU Less do?
> You need the option -R.  Either set the PAGER environment variable
> like this:
>   PAGER="less -R"

AFAICS, -R just lets the escape sequences come through unaltered.  It 
would be much nicer if it would convert them into the color commands
for the underlying terminal, according to its termcap/terminfo entry.

(Btw, doesn't -R get in the way with man pages that contain non-ASCII 
characters, notably some CJK encodings which use escapes to switch 
between character sets?)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]