From: Beni C. <cb...@te...> - 2003-01-06 14:08:12
|
On 2003-01-06, MINAMI Hirokazu wrote: > On Sun, 5 Jan 2003 23:55:48 +0200 (IST) > Beni Cherniavsky <cb...@te...> wrote: > > > On 2003-01-05, MINAMI Hirokazu wrote: > > > > > On Sun, 5 Jan 2003 01:03:59 +0200 (IST) > > > Beni Cherniavsky <cb...@te...> wrote: > > > > > > > I don't seem to get mlterm to read hebrew characters from my keyboard.I > > > > don't run any XIM servers, just plain xkb.xterm in utf-8 mode works > > > > perfectly.I have PC with RedHat 8.0 (XFree86 4.*) - my locale is > > > > en_US.utf-8.Display andcut/paste of hebrew work fine (including bidi). > > > > > > Do you have a reason not to use XIM? > > > > > Never thought I have a reason to use it.After all, xkb solves the issue > > for all programs, why do I need to run some special server then? > > As youhave mentioned that XOpenIM was never called, > I'm assuming that you are explicitly disabling XIM. > Is this correct? > > Without XIM, mlterm cannot can only use XLookupString() to convert keysyms. > As XLookupString only supports Latin-1 and Hebrew is notcovered by Latin-1, > I don't think you can input hebrew without using X(mb|utf8)LookupString. > Those functions require IC(input context) and to call XCreateIC(), > we need valid XIM. > Yes, this is more or less what I figured out. The IC pointer is definitely NULL (but I'm not 100% sure that OpenXIM wasn't executed, I only tried to step around there in the debugger once) so it can't work. So I need to open some "default" XIM (when I said I use no XIM I meant that I don't excplicitly run XIM servers; I have very little knowledge of XIM internals). I didn't explicitly disable XIM however; I also tried to excplicitly enable -X and/or -i, with no effect. -- Beni Cherniavsky <cb...@tx...> |