David DeSimone <[EMAIL PROTECTED]> wrote:
>That's interesting, because it does *not* work fine here.
>
>    Mutt 0.96.6i (1999-08-31)
>    System: HP-UX B.10.20 [using slang 9938]
>
>Perhaps that Slang upgrade that I've been putting off, would be a good
>idea...  :)

Maybe, or maybe not.  The simple truth is that this is neither an
ncurses, slang, nor a mutt problem.  The root of the problem is with
the terminal itself second guessing the context of what is on the
screen.  Not even the screen management software itself knows this
context.  Its only role is to update the display in a way that is as
efficient as possible based upon the capabilities of the terminal.  If
it is more efficient to write spaces, then spaces will be preferred
over an escape sequence.  Perhaps a combination of tabs and spaces
will be more efficient.  In fact, until the BCE capability was
implemented in the X11R6 xterm (Dickey's version), it was impossible
clear to the end of a line in a color other than the default without
writing spaces.

As I said, the problem is with the terminal.  A while back, I posted a
patch for rxvt that fixes the problem.  A better solution would be for
xterm or rxvt to change its behavior depending upon the screen in use.
All applications that use curses or slang will usually use the second
screen and switch to the primary upon suspension or exit.  The primary
screen is used by mainly by the shell.
-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    One Hampshire St., Building NE80-6019
http://space.mit.edu/~davis     Cambridge, MA  02139-4307

Reply via email to