[comp.emacs] Help with keyboard setup on VT320

jlange@oracle.com (J Lange) (04/11/90)

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

jlange@oracle.com (J Lange) (04/12/90)

>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 stand corrected.  My VT320 is connected to a network server which acts
upon C-s and C-q so that the host never sees it.  With a direct connection,
or with the server set to ignore ^S/^Q, These keys work just fine.

jmc@inesc.UUCP (Miguel Casteleiro) (04/12/90)

In article <JLANGE.90Apr10125748@ap1seq.oracle.com>, jlange@oracle.com (J Lange) writes:
> Unfortunately, there appears to be no way to disable the action of C-s and C-q
> on the VT320.  [...]

  What???!!!!
  Just hit the Set-Up function key, go to the Communications Set-Up
and disable the XON/XOFF protocol (No XOFF). There you have, C-s and C-q
no longer hold the screen.

-- 
                                                                      __
 Miguel Casteleiro at                                            __  ///
 INESC, Lisboa, Portugal.     "A known signal conveys no         \\\/// Only
 UUCP: ...!mcsun!inesc!jmc     information." - A. Bruce Carlson   \XX/ Amiga