From: Martin H. <hor...@Fr...> - 2002-11-28 10:14:21
|
Hi, MINAMI Hirokazu (2002-11-28 01:23 +0900): > On Wed, 27 Nov 2002 15:44:32 +0100 (CET) > Martin Horcicka <hor...@Fr...> wrote: > > > I am experiencing a problem with mlterm - bad reaction to dead keys. I have > > set up Czech locale and whenever I press the key for accent, mlterm does not > > wait for the next key saying which character should be accented and prints the > > accent alone. The same problem I have with aterm and wterm but xterm, rxvt or > > Eterm works well. Is it a bug in mlterm or rather some failure in my > > configuration? > > It's reported in the past and should be a mlterm's problem. > Would you test whether following patch makes some change? no, it does not make any change. I've heard something about using XmbLookupString rather than XLookupString in relation with this problem but I am not X programmer. rxvt had this problem in the past and now it has not - maybe it would be helpful to compare it's older and present sources. Regards Martin > --- x_window.c 21 Nov 2002 14:02:57 -0000 1.29 > +++ x_window.c 27 Nov 2002 16:08:20 -0000 > @@ -2179,13 +2179,14 @@ > ) > { > size_t len ; > - > + static XComposeStatus compose_status = {NULL, 0} ; > + > if( ( len = x_xic_get_str( win , seq , seq_len , parser , keysym , event)) > 0) > { > return len ; > } > > - if( ( len = XLookupString( event , seq , seq_len , keysym , NULL)) > 0) > + if( ( len = XLookupString( event , seq , seq_len , keysym , &compose_status)) > 0) > { > *parser = NULL ; > |