Re: Color problem
Thomas Dickey <[email protected]> Thu, 19 May 2005 12:00:56 -0400 (EDT)
| Newsgroups | gmane.network.tin.user |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 19 May 2005, Chris Green wrote: > Well I thought it was all sorted, however my new tin installation > seems to have a problem with the colours. > > I copied the .tin/tinrc file and all was well *except* for the default > colours, I have col_normal=-1 and col_back=-1 so that I get the > existing terminal screen colours. This works on the system where I > originally had tin installed but on my home system tin changes the > colours. > > I have my terminal windows set up with a light grey background (almost > white) and use black text for normal text. This works fine with mutt > and when running tin on the remote system but when running tin on my > home system tin changes the background to black and the foreground to > white. Why does it do this with the variables set to -1? > > Where is tin getting these colours from? The -1's represent default color, which is a feature of ncurses. Solaris and other vendor curses implementations don't support that. There's some logic in tin's initialization to make it try to do the right thing when it's reading a -1 on a system that doesn't support it (but that's by reverting it to a black or white color as you have observed). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net