| 1 |
# This is the genuine, original, vt100 |
| 2 |
|
| 3 |
# define macro to display TERMinal-specific keychart file |
| 4 |
define-macro keychart ^[xpushlibd^M^U^[xshell-command-with-typeout cat keychart.$TERM^M^[xpopd^M |
| 5 |
|
| 6 |
# PF keys |
| 7 |
bind-to-key backward-word ^[OP |
| 8 |
bind-to-key forward-word ^[OQ |
| 9 |
bind-to-key beginning-of-line ^[OR |
| 10 |
bind-to-key end-of-line ^[OS |
| 11 |
|
| 12 |
# ESCaped versions |
| 13 |
bind-to-key split-current-window ^[^[OP |
| 14 |
bind-to-key next-window ^[^[OQ |
| 15 |
bind-to-key delete-other-window ^[^[OR |
| 16 |
bind-to-key grow-window ^[^[OS |
| 17 |
|
| 18 |
# Arrow keys |
| 19 |
bind-to-key backward-character ^[OD |
| 20 |
bind-to-key previous-line ^[OA |
| 21 |
bind-to-key next-line ^[OB |
| 22 |
bind-to-key forward-character ^[OC |
| 23 |
|
| 24 |
# Numeric Keypad |
| 25 |
bind-to-key yank ^[Ow |
| 26 |
bind-to-key copy-region ^[Ox |
| 27 |
bind-to-key kill-region ^[Oy |
| 28 |
bind-to-key previous-page ^[Om |
| 29 |
bind-to-key spell-buffer ^[Ot |
| 30 |
bind-to-key fill-paragraph ^[Ou |
| 31 |
bind-to-key auto-fill-mode ^[Ov |
| 32 |
bind-to-key next-page ^[Ol |
| 33 |
bind-to-key list-buffers ^[Oq |
| 34 |
bind-to-key select-buffer ^[Or |
| 35 |
bind-to-key find-file ^[Os |
| 36 |
bind-to-key shell ^[OM |
| 37 |
bind-to-key execute-named-command ^[Op |
| 38 |
bind-to-key over-write-mode ^[On |
| 39 |
|
| 40 |
# ESCaped versions |
| 41 |
bind-to-key set-mark ^[^[Ow |
| 42 |
bind-to-key exchange-point-and-mark ^[^[Oy |
| 43 |
bind-to-key newline-and-backup ^[^[Oq |
| 44 |
bind-macro-to-key kill-line ^[^[Os |
| 45 |
|
| 46 |
# Real vt100 might have needed flow control to throttle |
| 47 |
# output from the computer, but unlikely to be needed |
| 48 |
# for any modern vt100-emulator. |
| 49 |
# set allow-^S-and-^Q off |