bug-ncurses
[Top][All Lists]
Advanced

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

Re: how to determine startvalue for init_color


From: Folkert van Heusden
Subject: Re: how to determine startvalue for init_color
Date: Sun, 29 Jan 2006 01:54:01 +0100
User-agent: Mutt/1.5.10i

> >Am I right that 'init_color' isn't supported on any terminal at all
> >currently?
> no.  It should be usable on the terminals that have the initc property.
> I've tested it on Linux console (linux-c-nc) and with xterm compiled for
> 88- and 256-colors (xterm-256color).  I see that putty also supports this,
> but I don't recall testing it.

Hmmm. If the terminal-program supports it, is it possible that it still
can't do it because of a compilation-setting in ncurses?

I tested these terminal programs:
ii  aterm                         0.4.2-11                 Afterstep XVT - a 
VT102 emulator for the X w
ii  eterm                         0.9.2-8.1                Enlightened Terminal 
Emulator
ii  gnome-terminal                2.12.0-2                 The GNOME 2 terminal 
emulator application
ii  konsole                       3.3.2-1sarge1            KDE X terminal 
emulator
ii  mrxvt                         0.4.2-1                  lightweight 
multi-tabbed X terminal emulator
ii  multi-aterm                   0.2.1-1                  tabbed terminal 
emulator with efficent pseud
ii  multi-gnome-terminal          1.6.2-11.1               Enhanced the GNOME 
Terminal
ii  pterm                         0.58-3                   PuTTY terminal 
emulator
ii  xterm                         208-3.1                  X terminal emulator
and none of them gave that I could change the colors and more then 8 colors.

This is (part of) the code:
        initscr();
        start_color();
        _hascolors = has_colors();
        _canchangecolor = can_change_color();
        _COLORPAIRS = COLOR_PAIRS;
        _COLORS = COLORS;
(I output these _-variables)

I use these packages from debian unstable:
ii  libncurses5                   5.5-1                    Shared libraries for 
terminal handling
ii  libncursesw5                  5.5-1                    Shared libraries for 
terminal handling (wide
ii  ncurses-base                  5.5-1                    Descriptions of 
common terminal types
ii  ncurses-term                  5.5-1                    Additional terminal 
type definitions
which are the patches of 20051010.


Folkert van Heusden

-- 
Temperature outside:    -2.500000
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com




reply via email to

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