Re: strange xterm behavior across platforms
Douglas Allan Tutty <dtutty@porchlight.ca> wrote:
> On Fri, Jan 26, 2007 at 02:33:12PM -0800, Sage Weil wrote:
>> Hi,
>>
>> I'm seeing strange terminal behavior in xterm with output from g++ or even
>> man pages on my amd64 etch installation. Things that are normally quoted
>> are instead surrounded by odd characters that goof up the terminal output.
>> For example, a g++ error looks like
>>
>
>> The strange part is that if I'm using an xterm run off the amd64 box, it
>> looks fine, but if xterm is running from a regular 32bit debian box (or
>> even cygwin) it's garbled. Also, if I view it on the console, it's
>> surrounded by the little square (ASCII 254) instead of quotes.
>>
>> Is this something with terminfo in etch, or with the amd64 port?
>>
> The problem is that Etch amd64 uses UTF-8 (multi-byte per character) vs
> regular one byte per character. You need an xterm that handles utf-i.
uxterm's the shell script that sets up xterm to run in UTF-8 mode.
Referring to "an xterm" is like referring to "a Douglas Tutty"...
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
Reply to: