On Sun, Nov 01, 2026 at 11:58:04AM -0500, Chuck Cranor wrote: > hi- > > I'm seeing issues with pkgsrc mail/mutt under NetBSD 11 > displaying text with the wrong colors. The terminal/xterm > default colors are leaking through in places where they are > not supposed to! If I recompile mail/mutt to use ncurses, > then it displays properly -- so the bugs are in NetBSD libcurses. >
Aha, I have had others complain about the same thing but hadn't figured out what was going on. > Working with NetBSD libcurses from trunk, I've tracked the > the issue down to two main issues: > > - the handling of "orig_pair" in color.c > - the handling of "exit_attribute_mode" in refresh.c > > I have fixes for both that I'm hoping someone more familiar > with NetBSD curses can double check so we can get this fixed. > Your reasoning is sound and the diff looks correct with a quick reading. I can have a closer look and do some testing in a couple of days. If all is well I will commit the changes and request some pull ups. Thanks for digging in to this. -- Brett Lymn -- Sent from my NetBSD device. "We are were wolves", "You mean werewolves?", "No we were wolves, now we are something else entirely", "Oh"
