Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] [sm-discuss] accented chars not working on X terminals, but working on console?

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Javier Vasquez <j.e.vasquez.v AT gmail.com>
  • To: Sukneet Basuta <sukneet AT gmail.com>
  • Cc: "sm, discuss" <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] [sm-discuss] accented chars not working on X terminals, but working on console?
  • Date: Tue, 15 Jan 2013 10:07:50 -0600

On Mon, Jan 14, 2013 at 9:47 PM, Sukneet Basuta <sukneet AT gmail.com> wrote:
> Perhaps check the output of "setxkbmap -print" to make sure the level
> 3 key is being set correctly in terminals. Doing something like
> http://shtrom.ssji.net/skb/xorg-ligatures.html works for me.


I forgot to provide setxkbmap output:

% setxkbmap -print
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols { include
"pc+latam+us:2+inet(evdev)+group(alt_shift_toggle)+level3(ralt_switch)"
};
xkb_geometry { include "pc(pc104)" };
};

It looks as I wanted it. BTW, I changed to pc105, and that made no
change at all. I also tried the intl variant, which didn't work, and
used ralt_switch_multikey instead of ralt_switch. Nothing seems to
change the current behavior.

To me alt-gr keys are working OK... The tip to use xev reveals for
typing í (´ followed by i):

KeyRelease event, serial 27, synthetic NO, window 0x2000001,
root 0x137, subw 0x2000002, time 2062916, (40,45), root:(1765,375),
state 0x0, keycode 34 (keysym 0xfe51, dead_acute), same_screen YES,
XLookupString gives 2 bytes: (c2 b4) "´"
XFilterEvent returns: False

KeyPress event, serial 27, synthetic NO, window 0x2000001,
root 0x137, subw 0x2000002, time 2068556, (40,45), root:(1765,375),
state 0x0, keycode 31 (keysym 0x69, i), same_screen YES,
XLookupString gives 1 bytes: (69) "i"
XFilterEvent returns: False

When I copied/pasted the output, where it said "´" it pasted instead
"?", however urxvt showed correctly "´". Something weird as well is
that I can copy accented chard from gtk+ applications to urxvt/xterm.

However I'm not sure if the right behavior with xev should have been
to show a combined "í" instead of 2 chars... That's what I expected
to be shown by urxvt/xterm, but the events would reflect the accent
key and then the i key, which happen in that order, so it might be xev
is showing the events OK...

Any other thoughts/hints/suggestions?


Thanks,


--
Javier.




Archive powered by MHonArc 2.6.24.

Top of Page