On Sat, Oct 30, 1999 at 09:33:59PM +0200, Jim Mintha wrote: > > On Fri, Oct 29, 1999 at 09:14:33PM -0400, Branden Robinson wrote: > > On Fri, Oct 29, 1999 at 06:16:49PM +0200, Marco d'Itri wrote: > > > >Why is mutt linked with ncurses? Why not slang anymore? > > > The author likes more ncurses, but I had so many bug reports I will > > > compile 1.0 with slang again. > > > > No, please don't. slang introduces stupid color bugs. ncurses does not. > > > > People who filed bug reports are probably just used to slang's buggy > > behavior. > > Hmmm, slang is one that got colours correct for me. If there is > something that is buggy, please file a bug report, or let me know and > I'll look into it. All I can say is, the following color stuff works correctly in ncurses for me. With slang, stuff like bad PGP signatures would highlight all the way to the right edge of the screen even if the text didn't go that far. There were other bugs, but I can't remember them now. I'm trying to forget them. Also, IMO, slang has a deep design flaw with this $COLORFGBG nonsense. ncurses can get it right without any such kludge. Admittedly, a few years ago when ncurses was effectively unmaintained, that wasn't the case. But it is now. I don't suppose the slang maintainers would consider porting their screen drawing functions to be wrappers around ncurses calls? At the very least, this could be introduced as an alternative interface. I'm unhappy with the inconsistency and I don't think I am alone. If people needed an embedded stack language, they should use slang. If they need to draw on a terminal screen, they should use ncurses. # color settings for index color error brightred default # color index color indicator brightyellow red color message brightcyan default color status brightyellow blue color tree magenta default # the thread tree in the index menu # color settings for pager color attachment magenta default color body brightyellow default "<?(ftp|http)://[^ ]+>?" # point out URLs color body brightyellow default "^(gpg: )?Good signature" # good digital signatures color body brightwhite red "^(gpg: )?(Bad|BAD) signature from.*" # bad digital signatures color body brightred default <?[-a-z_0-9.]+@[-a-z_0-9.]+>? # e-mail addresses color hdrdefault yellow default color header brightgreen default "^(Date|From|To|Reply-to):.*" color header brightmagenta default "^Subject:.*" color markers brightcyan default color quoted cyan default color quoted1 brightcyan default color quoted2 cyan default color quoted3 brightcyan default color quoted4 cyan default color quoted5 brightcyan default color search default green color signature brightred default color tilde brightcyan default color underline brightgreen default -- G. Branden Robinson | The only way to get rid of a temptation Debian GNU/Linux | is to yield to it. branden@ecn.purdue.edu | -- Oscar Wilde cartoon.ecn.purdue.edu/~branden/ |
Attachment:
pgpgcZ4IVCuoX.pgp
Description: PGP signature