bug-ncurses
[Top][All Lists]
Advanced

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

Bright background on xterm


From: Pavel Roskin
Subject: Bright background on xterm
Date: Mon, 24 Feb 2003 01:59:20 -0500 (EST)

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.

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?

-- 
Regards,
Pavel Roskin




reply via email to

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