[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#687699: screen output



On Tue, Sep 18, 2012 at 08:19:29AM +0200, Harald Dunkel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> A am using C on the shell:
> 
> % env | egrep LANG\|LC
> LC_ALL=C
> LANG=C
> 
> The ctrl-right-mouse-button memu shows no mark at
> utf-encoding and ut-font, either.
> 
> I do not see what pbuilder uses inside, but should this
> matter? Any guess about the used locale might be wrong.
> I don't expect xterm to output _everything_. It just
> shouldn't refuse to output 7bit ASCII.

However, your example isn't 7bit ASCII.  It contains 8 non-ASCII bytes
(all from the 128-255 range).

One of those bytes is 0x9f, which happens to be a C1 control character.

xterm has an option allowing you to suppress this behavior:

       -k8     This   option   sets   the   allowC1Printable  resource.   When
               allowC1Printable is set, xterm overrides the mapping of C1 con‐
               trol characters (code 128-159) to treat them as printable.

but the 0x9f would not produce output in this case unless your font happened
to be one of the less-used ones that provides a glyph in that position.

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


Reply to: