Quoth Nicolas Williams on Tuesday, 31 August 2010: > BTW, I use screen in gnome-terminal. > > I notice the following: > > - TERM is screen-bce; > > - VIM works fine, handles colors; > > - Mutt built with S-Lang does not start unless I set TERM to xterm or > xterm-color; Mutt complains that "Key sequence is too long", > "SLcurses_initscr: init failed"; > > - If I set TERM=xterm then VIM thinks the terminal is monochrome; > > - If I set TERM=xterm then Mutt does produce colors; > > - If I set TERM=xterm-color then both, VIM and Mutt handle color. > > Weird, no? This is almost certainly a result of using different APIs > (VIM uses curses, Mutt uses S-Lang). I believe my colleague Will F. has > shown that Mutt works fine with curses (ncurses). > > This is all on Solaris. > > Nico > --
You could probably get mutt to start with TERM=screen-bce is termcap has an appropriate entry for it. I found that even though mutt with slang uses terminfo, it queries termcap on startup. -- Sterling (Chip) Camden | [email protected] | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips.com
pgpmauqYnEsg1.pgp
Description: PGP signature
