Hi all,
I'm trying to fix a display issue when using mutt inside a screen session.
This issue came to my attention when the following posts hit my mailbox:
10723 Mário Gamito [CentOS] Another question Wed, Dec 05, 2007 ( 2.4K 10724 nate Re: [CentOS] Anyone using sendmail? Tue, Dec 04, 2007 ( 4.6K)
The accent in Mario's name (post 10723 in my mailbox) seems to cause havok with the terminal emulation in mutt. I've experimented with the different terminal emulations (xterm, ansi, screen, linux, xterm-color etc) and found that: ansi = garbled screen. xterm = displays layout correctly, however highlight bars (in the index screen within mutt) only drawns a background colour when text is also drawn. xterm-color = displayis an issue is shown when using the up/down arrows over his posts. This corrupts the layout of the screen. usually a blank line is displayed below Mario's name. screen = same as xterm-color linux = same as xterm-color
Does anyone know how I might be able to correct this? Is this an issue with screen or the termcap or maybe even mutt?
On Wed, Dec 05, 2007 at 05:49:21PM +1100, Steven Haigh wrote:
Hi all,
I'm trying to fix a display issue when using mutt inside a screen session.
This issue came to my attention when the following posts hit my mailbox:
10723 Mário Gamito [CentOS] Another question Wed, Dec 05, 2007 ( 2.4K 10724 nate Re: [CentOS] Anyone using sendmail? Tue, Dec 04, 2007 ( 4.6K)
The accent in Mario's name (post 10723 in my mailbox) seems to cause havok with the terminal emulation in mutt. I've experimented with the different terminal emulations (xterm, ansi, screen, linux, xterm-color etc) and found that: ansi = garbled screen. xterm = displays layout correctly, however highlight bars (in the index screen within mutt) only drawns a background colour when text is also drawn. xterm-color = displayis an issue is shown when using the up/down arrows over his posts. This corrupts the layout of the screen. usually a blank line is displayed below Mario's name. screen = same as xterm-color linux = same as xterm-color
Does anyone know how I might be able to correct this? Is this an issue with screen or the termcap or maybe even mutt?
Replying to myself with the fix... Setting PuTTY to use UTF-8 fixes the issue. This is done in the Window -> Translation section. The default is "ISO-8859-1:1998 (Latin-1, West Europe)"
Changing this to UTF-8 fixes all these display corruption issues.
Replying to myself with the fix... Setting PuTTY to use UTF-8 fixes the issue. This is done in the Window -> Translation section. The default is "ISO-8859-1:1998 (Latin-1, West Europe)"
Changing this to UTF-8 fixes all these display corruption issues.
:-O
Surely you mean changing Centos to use C or en_US only!
:-D
On Thu, Dec 06, 2007 at 10:06:25AM +0800, Christopher Chan wrote:
Replying to myself with the fix... Setting PuTTY to use UTF-8 fixes the issue. This is done in the Window -> Translation section. The default is "ISO-8859-1:1998 (Latin-1, West Europe)"
Changing this to UTF-8 fixes all these display corruption issues.
:-O
Surely you mean changing Centos to use C or en_US only!
:-D
Nah. By default (at least on my installs!), CentOS will be set with declare -x LANG="en_US.UTF-8"
This means that most other applications will probably work ok with UTF-8.
PuTTY however doesn't default to UTF-8, which causes weird display corruption when using screen. On a side note, the Mac OSX terminal isn't affected. It handles UTF-8 by default.
Steven Haigh wrote:
On Thu, Dec 06, 2007 at 10:06:25AM +0800, Christopher Chan wrote:
Replying to myself with the fix... Setting PuTTY to use UTF-8 fixes the issue. This is done in the Window -> Translation section. The default is "ISO-8859-1:1998 (Latin-1, West Europe)"
Changing this to UTF-8 fixes all these display corruption issues.
:-O
Surely you mean changing Centos to use C or en_US only!
:-D
Nah. By default (at least on my installs!), CentOS will be set with declare -x LANG="en_US.UTF-8"
This means that most other applications will probably work ok with UTF-8.
PuTTY however doesn't default to UTF-8, which causes weird display corruption when using screen. On a side note, the Mac OSX terminal isn't affected. It handles UTF-8 by default.
Hahaha. I never thought about doing it the other way. But I will now.