bug-ncurses
[Top][All Lists]
Advanced

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

changing ncurses colors


From: Ignasi Villagrasa
Subject: changing ncurses colors
Date: Thu, 26 Sep 2002 16:44:41 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; es-ES; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1

Hi everyone,

I'm trying to use ncurses (5.2) under RH 7.2 and I noticed the colors for TERM=linux change in respect of those in SVr4 or Windows console applications. Color number 1 is red, 4 is blue, 3 is yellow and 6 is cyan. This is specially annoying for compatibility purposes if I have programs that select colors in many places using numeric information.

I saw in ncurses documentation different ways to change the colors. At first, I tried to use can_change_color and init_color from the program with no results. After that, I tried to change terminfo linux.ti file, using initc in order to configure color parameters. But I couldn't solve the problem. I tested several terminfo configurations with no results. At the moment I'm not sure about what's the right way I should follow, and so I'd be very glad if someone could guide me.

Thanks in advance,


Ignasi Villagrasa.







reply via email to

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