4.3BSD/usr/contrib/B/src/libbed/.Bed_924

# B Editor Key definitions for Televideo 924 terminal.
#
# Function keys send ^A upper case letter ^M (f1=^A @ ^M)
# Shifted function keys send ^A lower case letter ^M (s-f1= ^A ` ^M)

# delete= DEL key (if it's not the current interrupt character)
delete=0177

# redraw is clear/home (unshifted: ^^; shifted is ^Z, so impossible to catch)
# redraw=look
look=^^

# Put accept on TAB key
accept=^I
# Back tab means the same:
accept=^[ I

# Unshifted function keys send ^A @ ^M, ^A A ^M, etc.

widen   =^A 0100 ^M
extend  =^A A ^M
first   =^A B ^M
last    =^A C ^M
down    =^A D ^M
up      =^A E ^M
previous=^A F ^M
next    =^A G ^M
copy    =^A H ^M
copy    =^A I ^M
record  =^A J ^M
play    =^A K ^M
ignore  =^A L ^M
ignore  =^A M ^M
ignore  =^A N ^M
undo    =^A O ^M

# Shifted function keys send ^A ` ^M, ^A a ^M, etc.

exit   =^A 0140 ^M
help   =^A a ^M
ignore =^A b ^M
ignore =^A c ^M
ignore =^A d ^M
ignore =^A e ^M
ignore =^A f ^M
ignore =^A g ^M
ignore =^A h ^M
ignore =^A i ^M
ignore =^A j ^M
ignore =^A k ^M
ignore =^A l ^M
ignore =^A m ^M
ignore =^A n ^M
redo   =^A o ^M

# Reprogram left arrow key to allow BACKSPACE to be the UNDO function

term_init="\e0C\eKL"
term_done="\e0C\b\200\200" # (Use NUL with high bit set to send a NUL)

previous ="\eKL"
undo     ="\b"