On Sat, Jul 14, 2001 at 05:39:05PM +0200, Ionel Mugurel Ciobica wrote: > In Keyboard HOWTO I found this: > > ... > > 8.5. Composing symbols > > One symbol may be constructed using several keystrokes. > > o LeftAlt-press, followed by a decimal number typed on the keypad, > followed by LeftAlt-release, yields the symbol with code given by > this number. (In Unicode mode this same mechanism, but then with 4 > hexadecimal digits, may be used to define a Unicode symbol.) > > ... > > I have tried LeftAlt with numbers from keypad and the others, > I tried RightAlt, windows keys, menu key, anything else I could > imagine. If press LeftAlt key and I type 123 and then I release > LeftAlt I don't get {, but instead I get 123 in the same time I > type it not after I release the LeftAlt key. > > I would like to know if this feature is working for someone > on the list. >
Thank you all for your answers. I have the solution to my problem. I simply needed this: alt keycode 71 = Ascii_7 alt keycode 72 = Ascii_8 alt keycode 73 = Ascii_9 alt keycode 75 = Ascii_4 alt keycode 76 = Ascii_5 alt keycode 77 = Ascii_6 alt keycode 79 = Ascii_1 alt keycode 80 = Ascii_2 alt keycode 81 = Ascii_3 alt keycode 82 = Ascii_0 in my /etc/console/boottime.kmap.gz and now leftAlt + numbers from KP (whatever the status of NumLock is) give the the symbol coresponding to the decimal ascii code I type. LeftAlt press KP_1 KP_2 KP_3 LeftAlt release -> { It would be nice if this feature can be enabled on the X as well, but from the list of symbols in /usr/X11R6/include/X11/keysymdef.h and /usr/X11R6/lib/X11/XKeysymDB it was not possible to find something equivalent to Ascii_1 from the console. Ionel Mugurel Ciobîcă