Subject: pkg/7391: mutt pkg with ncurses flakes under certain circumstances
To: None <gnats-bugs@gnats.netbsd.org>
From: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
List: netbsd-bugs
Date: 04/14/1999 18:20:59
>Number:         7391
>Category:       pkg
>Synopsis:       mutt pkg with ncurses flakes under certain circumstances
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 14 18:20:01 1999
>Last-Modified:
>Originator:     Mason Loring Bliss
>Organization:
Mason Loring Bliss             ((  "In the drowsy dark cave of the mind dreams
mason@acheron.middleboro.ma.us  ))  build  their nest  with fragments  dropped
http://acheron.ne.mediaone.net ((   from day's caravan." - Rabindranath Tagore
>Release:        1999.04.14
>Environment:
	
System: NetBSD acheron.middleboro.ma.us 1.4_ALPHA NetBSD 1.4_ALPHA (MLB) #0: Sun Apr 11 11:26:28 EDT 1999 root@acheron.middleboro.ma.us:/usr/src/sys/arch/i386/compile/MLB i386


>Description:

The Mutt package, when built with ncurses, shows strange screen artifacts
when going from index mode to pager mode when the message it's showing is
the last in the index and it is very short, in this case a one-liner.

I've got this listed as a pkg problem, but it is more likely system related,
somehow. The same versions of mutt and ncurses were built on a 1.4_ALPHA
box from a day or so ago and seem to work without exhibiting this behaviour.
Termcap database checksums are the same, FWIW. Also, FWIW, this behaviour
doesn't show itself when the Mutt package is built against libslang instead
of ncurses.

Artifacts include having the normally inverse "i:Exit  -:PrevPg  <Space>:Ne"
line drawn along the bottom line of the screen instead of the second to
bottom (that's how it is in my .muttrc, anyway) and having a block of
inverse blank space near the bottom left side of the window.

It's conceivable that this is part of a larger terminal emulation problem,
as I've also recently seen glitches with wscons terminal emulation.

I'll happily provide more information if it's useful and anyone wants it. I
realise this is vague, but I haven't had time to explore any of this to my
satisfaction.

>How-To-Repeat:

Build Mutt from the package system. Send yourself several messages, until
your index is nearly full. Send a message that has only one line in the
body, or thereabouts. Locate it in your index, and press return.

Probably this is a bit too specific.

>Fix:

Unknown.

>Audit-Trail:
>Unformatted: