[net.emacs] cursor macro for vt100

mlh@phs.UUCP (01/17/84)

emacs macros
  Below is a vt100 cursor macro
which can easily be extended to utilize other keypad keys.  The M-(char)
stands for an escaped character and ^(char) stands for a control character.
The problem is that it's so slow, even with verbose turned off, that,
when repeated for a few seconds (vt100 sends 30 sequences/second),
the tty input buffer
fills up and starts dropping part of the escape sequence.
     Does anyone know how to speed it up (or else have the tty handler
send XON XOFF to the vt100 when its buffer gets full)?

Mike Hines duke!phs!mlh

M-[^\keypad control - next line is start of case and gets char
^X!M-{^[-1^X<
	M-{A^PM-}^\cursor up
	M-{B^NM-}^\down
	M-{C^FM-}^\forward
	M-{D^BM-}^\backward
	M-}^Z

Note: keypad escape sequence is M-O(char) so map it to M-[ if
keypad keys are added to case statement.