Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: tlug: Kinput2, canna, kterm and locales
- To: tlug@example.com, sstone@example.com
- Subject: Re: tlug: Kinput2, canna, kterm and locales
- From: "Andrew S. Howell" <andy@example.com>
- Date: Sat, 28 Mar 1998 21:27:35 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: Text/Plain; charset=us-ascii
- In-Reply-To: Your message of "Sat, 28 Mar 1998 19:06:03 +0900"<19980328190603P.andy@example.com>
- References: <19980328190603P.andy@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
>>>>> "Andrew" == Andrew S Howell <andy@example.com> writes: Andrew> Now I'm wondering if the problem isn't that the version of X11 I'm Andrew> using. Its XFree86 3.3.1, straight off the RH CD. I tried to install Andrew> the 3.3.2, but had all sorts of unresolved symbols, so I restored the Andrew> tar of /usr/X11R6 that I'd taken before the install. Both versions Andrew> though, seem to rely on glibc's setlocal, as it is undefined in all Andrew> the libs under X11/lib Sorry for talking to myself here, but I found a few more pieces of the puzzle that might help other out. After searching the web some more, I came across a page by some guy named Craig :) http://www.twics.co.jp/~craig/linux-nihongo/web/ He has a tar file there that that includes a small file called locale.c, which is then compiled to make liblocale.so. All this does is redirect calls to setlocale to XsetLocale, so that X's locale functions are used instead of glibc's. The trick to make this work is to define: export LANG=ja_JP.eucJP export LD_PRELOAD="/some-path/liblocale.so:/lib/libc.so.6" before running the app. I think this should work for kterm, but my X libs don't define XsetLocale, so I guess I'll have to compile up X. That should keep me busy :) Andy --------------------------------------------------------------- Next TLUG Meeting: 11 April Sat, Tokyo Station Yaesu gate 12:30 Featuring Tague Griffith of Netscape i18n talking on source code --------------------------------------------------------------- a word from the sponsor: TWICS - Japan's First Public-Access Internet System www.twics.com info@example.com Tel:03-3351-5977 Fax:03-3353-6096
- References:
- Re: tlug: Kinput2, canna, kterm and locales
- From: "Andrew S. Howell" <andy@example.com>
Home | Main Index | Thread Index
- Prev by Date: tlug: ML archives 0n-line?
- Next by Date: Re: tlug: how to teach gcc to find its own header file.
- Prev by thread: Re: tlug: Kinput2, canna, kterm and locales
- Next by thread: RE: tlug: Kinput2, canna, kterm and locales
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links