Path: utzoo!attcan!uunet!cs.utexas.edu!usc!apple!oracle!news From: jlange@oracle.com (J Lange) Newsgroups: comp.emacs Subject: Re: Help with keyboard setup on VT320 Message-ID: Date: 10 Apr 90 19:58:11 GMT References: <8797@lindy.Stanford.EDU> Sender: news@oracle.com Organization: Oracle Corp., Belmont CA Lines: 28 In-reply-to: LC.YRS@forsythe.stanford.edu's message of 5 Apr 90 00:43:18 GMT Unfortunately, there appears to be no way to disable the action of C-s and C-q on the VT320. Therefore you must remap the functions normally assigned to these keys (and any other sequence that includes these, i.e. C-x C-s) to some other key. I have isearch-forward assigned to C-z and quoted-insert assigned to C-\, for example. The F11 key on the VT320 sends either an escape or the sequence ESC[23~ depending on the setup parameters. In VT100 mode, it should send ESC (and all other function keys should be disabled), in VT320 mode, it will send ESC[23~ and the other function keys will send a similar sequence. If you would like the use the function keys and/or the application keypad, you must use VT320 mode, and have three options for handling ESC. 1) Assign the function ESC-prefix to function key F11. one way: (global-set-key "\e[23~" 'ESC-prefix) 2) In the keyboard section of the terminal setup, set the backquote/ tilde (`~) key to send ESC and (optionally) the key to send `/~ and shift-, & shift-. to send < >. 3) Assign ESC-prefix to the backquote key. Then if you need to actually type a backquote, you must use quoted-insert first. I use both 1 and 2 above. Jim Lange jlange@oracle.com uunet!oracle!jlange