On Sat, 27 Nov 1999, Timothy Ball wrote:
> I've noticed a small difference (potentially major) difference
> between the slang and ncurses interface. In ncurses if I use the bg
> color of "default" mutt will use transperent backgrounds in
> gnome-terminal (or Eterm) but if I use slang 1) default goes to
> "black" and 2) Colors look wierd.
If you want SLang to work correct with "default" color, you need to
set the environment variable COLORFGBG first:
If your terminal supports it, the special keyword default can be used
as a transparent color. The value brightdefault is also valid. If
Mutt is linked against the S-Lang library, you also need to set the
COLORFGBG environment variable to the default colors of your terminal
for this to work; for example (for Bourne-like shells):
set COLORFGBG="green;black"
export COLORFGBG
> So I thought I'd ask which interface is preferred? ncurses or slang?
I personally prefer ncures, because I don't have to set COLORFGBG
depending on the colors of my terminals and because copy&paste with
the mouse works better with ncurses (with S-Lang in some terminals the
copy includes the spaces at the end of the line). The disadvantage of
ncurses is, that it sends more bytes to the terminal than S-Lang which
may make it slower on slow lines.
Ciao
Roland
--
* [EMAIL PROTECTED] * http://www.spinnaker.de/ *