bug-ncurses
[Top][All Lists]
Advanced

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

Re: Bright background on xterm


From: Thomas Dickey
Subject: Re: Bright background on xterm
Date: Mon, 24 Feb 2003 18:14:05 -0500
User-agent: Mutt/1.3.27i

On Mon, Feb 24, 2003 at 01:59:20AM -0500, Pavel Roskin wrote:
> Hello!
> 
> The sequences for setting bright colors (i.e. colors 8-15) are documented
> in the xterm specification:
> 
> http://ftp.xfree86.org/pub/XFree86/4.2.1/doc/ctlseqs.TXT
> 
> (look for "bright").  For example, this command:
> 
> echo -e '\e[101m'
> 
> sets the background to bright red (tested in xterm, rxvt, konsole and
> gnome-terminal).  "infocmp" (ncurses 5.2) doesn't have "[10" in the
> output, so presumably this feature is not supported in terminfo.

see the xterm-16color terminfo description (with ncurses and XFree86 xterm).

also aixterm, of course.

> Nevertheless, if would be nice to have some kind of support for bright
> backgrounds provided that the user supplies the rule to set them.
> 
> It's asked quite often if it's possible to have dark gray (color 8)
> background in GNU Midnight Commander (it's the default in DOS Navigator -
> see http://www.red-bean.com/proski/pictures/dn/dn.png), and I have to
> disappoint the users, even though the terminal supports bright colors.
> I would like to avoid writing anything on the screen without ncurses (or
> S-Lang) being aware of it.
> 
> Can we define capabilities for setting bright background (and while we are
> at that, also for bright foreground)?  Who is the authority responsible
> for new terminal capabilities?

There's no such thing.  Bright backgrounds are redundant because terminfo
can already cover that.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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