Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!pacific.mps.ohio-state.edu!gem.mps.ohio-state.edu!usc!apple!rutgers!columbia!cs!d-yang From: d-yang@cs.columbia.edu (David Yang) Newsgroups: gnu.emacs Subject: Re: vt100 keypad codes on xemacs Summary: Customizing up-arrow, etc. (on HDS-200) Message-ID: <365@cs.columbia.edu> Date: 7 Oct 89 04:33:40 GMT References: <1303@gmdzi.UUCP> Organization: Columbia University Department of Computer Science Lines: 20 On the HDS-200, the up-arrow key is bound to the key sequence ESC [ A. I have tried (define-global-key "\e[A" 'previous-line) which doesn't work-- emacs is still reading ESC [, doing the (backward-paragraph) command, and then printing the letter A. So, 1) Is the define-global-key okay? 2) If the problem is the same one as the vt100 question, how does one get emacs to take the 3-character sequence? (e.g., if it's a termcap problem, it'd be really nice to know what in the termcap to fix, though I suppose that would be a question for comp.terminal.) Thanks in advance, David Yang d-yang@cs.columbia.edu