On 2021-01-14, Grant Taylor <gtay...@gentoo.tnetconsulting.net> wrote: > On 1/13/21 4:06 PM, Grant Edwards wrote: >> I really should try to figure out a control-character that's not used >> by emacs or the tty driver > > I think there are very few, if any, keys used by the TTY driver. I > suspect you are thinking of the line editor in the shell, > e.g. readline.
$ stty -a | tr ';' '\n' | fgrep ^ intr = ^C quit = ^\ erase = ^? kill = ^U eof = ^D start = ^Q stop = ^S susp = ^Z rprnt = ^R werase = ^W lnext = ^V discard = ^O Some of the above are shadowed by readline or by bash in emacs mode, but the tty driver uses more than a few control keys. -- Grant