andy@cadillac.ece.uiuc.edu (Andy Bereson) (04/09/90)
Can anyone please tell me how I can get an emacs window that uses the "applications keypad mode"? I am running emacs 18.55 on a tektronix 4317 workstation. This machine is running a brain-damaged version of berkeley unix and an undisclosed version of X11. MY KEYBOARD HAS NO ARROW KEYS!!! Tek thought that a 'joypad' would be more useful. Joypads (sorta like a joystick, but its a large button) suck!!! I have discovered that if, by pulling down the "modes" menu in an xterm window, I select "applications keypad mode" then the numeric keypad generates escape sequences instead of numbers. This is great. If I run emacs in this window by now typing "emacs -nw" I can trap for these escape sequences and use them to manipulate the cursor and anything else that me little heart desires. Unfortunately, now I can't use the mouse for anything. If I allow emacs to create it's own window, then the numeric keypad will only generate numbers. I can't get a "modes" menu, so I can't turn the "applications keypad mode" on now. I tried telling emacs to start in applications keypad mode through xrdb, however, emacs seems to ignore this, so I am stuck with ^P, ^N, ^F, and ^B for moving the cursor. I would appreciate any suggestions (short of, get a real machine)! Andy