Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!agate!ucbvax!Chris From: Chris L. Fouts Newsgroups: comp.sys.sgi Subject: Re: xterm key mapping in 3.3.1 Message-ID: <9010151301.AA10693@inetg1.arco.com> Date: 15 Oct 90 13:01:09 GMT References: <16123@yunexus.YorkU.CA> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 30 > > 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 \ BackSpace: string(0x7f) \n\ Num_Lock: string(0x1b) string("OP") \n\ KP_Divide: string(0x1b) string("OQ") \n\ KP_Multiply: string(0x1b) string("OR") \n\ KP_Subtract: string(0x1b) string("OS") \n\ -- Chris L. Fouts Email: fouts@inetg1.arco.com Systems Engineer Phone: 214-754-3850 Silicon Graphics Computer Systems