xterm key mapping in 3.3.1

Chris Chris
Mon Oct 15 23:01:09 AEST 1990


> 
> We have been using xterm supplied with Irix 3.2.1 with the -ibmkbd option
> to provide a full vt100 keypad when using
> the edt-emulation mode of gnu emacs on sgi's and other unix machines
> and when using the edt editor itself on a Vax running VMS.
> 
> The -ibmkbd option is no longer supported by the xterm that comes with Irix
> 3.3.1. We tried the options 'enable application cursor keys/keypad'
> in the xterm VT options menu but they only enable a small number of 
> the needed keys. 
> 
> Does anyone have a solution? Thanks, G. Klaassen
> 
Well this isn't a total solution, but it may get you started.  I have the
following lines in my ~/.Xdefaults file to map the top row of the keypad as
well as the backspace key.

	XTerm*VT100.Translations: #override \
		<Key>BackSpace:         string(0x7f) \n\
		<Key>Num_Lock:          string(0x1b) string("OP") \n\
		<Key>KP_Divide:         string(0x1b) string("OQ") \n\
		<Key>KP_Multiply:       string(0x1b) string("OR") \n\
		<Key>KP_Subtract:       string(0x1b) string("OS") \n\



-- 
Chris L. Fouts				Email: fouts at inetg1.arco.com
Systems Engineer			Phone: 214-754-3850
Silicon Graphics Computer Systems



More information about the Comp.sys.sgi mailing list