bug-texinfo
[Top][All Lists]
Advanced

[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: Tue, 12 Feb 2002 21:19:57 +0200

> Date: Tue, 12 Feb 2002 17:52:58 +0100 (CET)
> From: Werner LEMBERG <address@hidden>
> 
> > >   #define SGR_DEFAULT_COLOR CSI "39m"
> > >   #define SGR_BACK_DEFAULT_COLOR CSI "49m"
> > 
> > >From Emacs experience, these two cause trouble with quite a few
> > >terminals.
> >
> > FWIW, "ls --color" uses "\33[0m" to restore the original colors.
> 
> This restores default rendering, resetting bold and underline
> attributes also.  Theoretically, it is possible to use "ESC [ 0 m"
> only (setting all affected attributes again), but this is an awful
> hack, causing much more escape sequences.

True, but that hack is better than not being able to restore the
default colors at all (which happens with too many terminals that
don't support \033[49m and \033[39m).



reply via email to

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