NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: xsrc/41129: xterm does not like some UTF-8 LC_CTYPE
Hello Jonathan,
On Fri, Apr 03, 2009 at 03:10:01PM +0000, sketch%netbsd.org@localhost wrote:
> $ env LC_CTYPE=en_GB.ISO8859-1 xterm # fine
> $ env LC_CTYPE=en_GB.ISO8859-15 xterm # fine
> $ env LC_CTYPE=en_GB.UTF-8 xterm
> Failed to open input method
I can confirm that on NetBSD 5.0 too, I have in ~/.profile:
[...]
# locale(1) settings
export LANG="it_IT.UTF-8"
export LC_ALL="it_IT.UTF-8"
[...]
And with this settings I need to wait more than 3 seconds too to
open a xterm(1).
I use a script (~/bin/xterm) that set a temporary locale and then via
XTerm*loginShell "true" it come back to my favourite locale:
#!/bin/sh
export LANG="it"
export LC_ALL="it"
/usr/X11R7/bin/xterm "$@"
and here my ~/.Xdefaults:
// xterm
XTerm*foreground: white
XTerm*background: black
XTerm*faceName:
XTerm*faceSize: 13
XTerm*bellIsUrgent: true
XTerm*visualBell: true
XTerm*visualBellDelay: 50
XTerm*altIsNotMeta: true
XTerm*altSendsEscape: true
XTerm*pointerMode: 1
XTerm*charClass: 33:48,35:48,37-38:48,45-47:48,58:48
XTerm*utf8: 2
XTerm*loginShell: true
However, yes, this is a very very dirty workaround.
Ciao, Leonardo
--
Leonardo Taccari | Peace, love and NetBSD. | http://freeshells.ch/~leot/
Home |
Main Index |
Thread Index |
Old Index