[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: |
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).
- Re: [Groff] Re: new grotty format, (continued)
Re: new grotty format, Karl Berry, 2002/02/10
- Re: new grotty format, Eli Zaretskii, 2002/02/10
- Re: new grotty format, Eli Zaretskii, 2002/02/10
- Re: new grotty format, Werner LEMBERG, 2002/02/11
- Re: new grotty format, Eli Zaretskii, 2002/02/11
- Re: new grotty format, Werner LEMBERG, 2002/02/12
- Re: new grotty format,
Eli Zaretskii <=
- Re: new grotty format, Werner LEMBERG, 2002/02/13
- Re: new grotty format, Eli Zaretskii, 2002/02/13
- Re: new grotty format, Werner LEMBERG, 2002/02/13
Re: new grotty format, Eli Zaretskii, 2002/02/24