Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: XIM, kinput2 & Tk
- To: tlug@example.com
- Subject: Re: XIM, kinput2 & Tk
- From: Mike Fabian <mfabian@example.com>
- Date: 10 Apr 2001 18:58:48 +0200
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: jwb@example.com's message of "Tue, 10 Apr 2001 16:37:16 +0900 (JST)"
- References: <200104100737.QAA17630@example.com>
- Reply-To: mfabian@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <x5Zu9B.A.sYF.Uvz06@example.com>
- Resent-Sender: tlug-request@example.com
- Sender: mfabian@example.com
- User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.2 (Urania)
jwb@example.com (Jim Breen) writes: > >> From: "Stephen J. Turnbull" <turnbull@example.com> > >> (2) It explicitly opens an X Input Method: > >> > >> (a) It sets the program's locale using the standard library > >> function setlocale(), either from the environment (default) or > >> explicitly. Eg, "ja_JP.eucJP". I think it specifically looks > >> at the LANG and LC_ALL variables, but not at any of the > >> subcategories. > > Where in the configuration is LANG, etc. set? I note that in my > /etc/X11/xinit/xinitrc.d/xinput it looks at LC_ALL and if it contains > ja_JP it starts kinput2. Presumably LC_ALL gets set before then, but > where? On a RedHat system, it is set in /etc/sysconfig/i18n: mfabian@example.com:/etc/sysconfig$ cat /etc/issue Red Hat Linux release 6.2 (Zoot) Kernel 2.2.16 on an i686 mfabian@example.com:/etc/sysconfig$ cat i18n LANG="ja_JP.eucJP" mfabian@example.com:/etc/sysconfig$ seems to be still the same on 7.0: mfabian@example.com:/etc/sysconfig$ cat /etc/issue Red Hat Linux release 7.0 (Guinness) Kernel 2.2.16-22 on an i586 mfabian@example.com:/etc/sysconfig$ cat i18n LANG="de_DE" mfabian@example.com:/etc/sysconfig$ > >> In your case, you need (a) XMODIFIERS="@example.com=kinput2" > > Got that. > > >> and (b) > >> LANG="ja_JP.eucJP" (probably, works for me but YYMV) in your > >> environment or you will lose. Of course, you may lose anyway; this is > >> XIM. > > Doesn't work. Possibly because LC_ALL contains "C", according to the > return from setlocale(). Yes, probably. LC_ALL overrides all LC_* variables. -- Mike Fabian <mfabian@example.com> http://www.suse.de/~mfabian
- References:
- Re: XIM, kinput2 & Tk
- From: jwb@example.com (Jim Breen)
Home | Main Index | Thread Index
- Prev by Date: Re: ADSL problems with LAN hub
- Next by Date: Re: XIM, kinput2 & Tk
- Prev by thread: Re: XIM, kinput2 & Tk
- Next by thread: Re: XIM, kinput2 & Tk
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links