I'm using SXCE snv_72, on amd64.

How do I input ASCII control characters like 0x1b (ESC), 0x1c (FS) or 0x1d (GS)
with gnome-terminal, using a german layout USB keyboard?  These are used
for example as the terminal's default "quit" key (0x1c / ASCII FS; sends SIGQUIT
signal to the process using the terminal), or as escape character in programs 
like
telnet or xen's "xm console" (0x1d, ASCII GS).

With an US keyboard layout, these can be typed as "Control  [ " or "Control \ "
or "Control ]".

With the German keyboard layout, I have to use "AltGr 8 " to get " [ ",
"AltGr ?" to get " \"   or  "AltGr 9 " to get " ] ".  But when adding the
control modifier key to these AltGr sequences, the translation done
by gnome terminal changes to

    Control AltGr 8   ==>  8
    Control AltGr 9   ==>  9
    Control AltGr ?   ==>  ?

That is, I can't input ASCII control sequences ESC/FS/GS into a gnome-terminal.

My current workaround is to use dtterm instead of gnome-terminal;
in dtterm it works as expected:

    Control AltGr 8   ==>  ^[    (0x1b / ESC) 
    Control AltGr 9   ==>  ^]    (0x1d / GS)
    Control AltGr ?   ==>  ^\    (0x1c / FS)


Btw. when the snv_72 gnome-terminal displays to a remote linux box
with german layout keyboard, the "Control AltGr 8 / 9 / ? " sequences
work as expected.
 
 
This message posted from opensolaris.org

Reply via email to