On Fri, Nov 09, 2001 at 01:01:11PM -0500, Daniel Eisenbud wrote: > On Fri, Nov 09, 2001 at 03:55:51PM +0600, Andrey R. Urazov <[EMAIL PROTECTED]> wrote: > > Sometimes I receive letters which contain undisplayable characters which > > affect my terminal state. After displaying such a message on the screen > > the terminal refuses to delete anything from the screen and this yields > > in lots of garbage on the display, because new information which is > > being displayed is written on top of the old. I know that Pine is > > capable of preventing such a damage by default, it outputs all dangerous > > characters as circumflexes (^^). Is it possible to do something like > > that with mutt? > > Other people have already responded to that, but another point is that Oh, guys, thanks a lot for all your replies. Maybe displaying of these characters depends on terminal settings. For example, nothing terrible happens if I execute mutt on my linux virtual console, those codes are just represented as some characters from the current font. But when running in xterm all the bad things mentioned happen.
> if your screen does get messed up, control-L is a useful way to redraw
> it.
No, it's not that simple. Those characters affect the terminal clear
screen function, I reckon, so C-L does nothing.
Maybe you guys have some special compile time options? What `mutt -v'
says in my installation follows:
Mutt 1.2.5i (2000-07-28)
Copyright (C) 1996-2000 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.
System: Linux 2.2.14-5.0 [using ncurses 4.0]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL +USE_SETGID +USE_DOTLOCK +USE_FCNTL -USE_FLOCK
-USE_IMAP -USE_GSS -USE_SSL -USE_POP +HAVE_REGCOMP -USE_GNU_REGEX
+HAVE_COLOR +HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS +ENABLE_NLS
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/spool/mail"
SHAREDIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
ISPELL="/usr/bin/ispell"
Maybe compiling with SLang would solve the problem?
Yours sincerely, Andrey Urazov
--
Predestination was doomed from the start.
--
Saturday, November 10, 2001, 00:33:29 +0600 - Andrey R. Urazov (mailto:[EMAIL PROTECTED])
msg20325/pgp00000.pgp
Description: PGP signature
