On Sat, Nov 10, 2001 at 12:36:31AM +0600, Andrey R. Urazov wrote: > 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.
xterm implements a vt220, which treats characters in the range 128-159 as control characters (known as c1 control characters). linux console used to do this, but it was dropped when the utf-8 support was added. You can run xterm in UTF-8 mode and it won't respond to c1 controls. > Maybe compiling with SLang would solve the problem? no, actually compiling with slang tends to make this sort of problem worse. -- Thomas E. Dickey <[EMAIL PROTECTED]> http://invisible-island.net ftp://invisible-island.net
