1 |
On 2021-01-14, Grant Taylor <gtaylor@×××××××××××××××××××××.net> wrote: |
2 |
> On 1/13/21 4:06 PM, Grant Edwards wrote: |
3 |
>> I really should try to figure out a control-character that's not used |
4 |
>> by emacs or the tty driver |
5 |
> |
6 |
> I think there are very few, if any, keys used by the TTY driver. I |
7 |
> suspect you are thinking of the line editor in the shell, |
8 |
> e.g. readline. |
9 |
|
10 |
$ stty -a | tr ';' '\n' | fgrep ^ |
11 |
|
12 |
intr = ^C |
13 |
quit = ^\ |
14 |
erase = ^? |
15 |
kill = ^U |
16 |
eof = ^D |
17 |
start = ^Q |
18 |
stop = ^S |
19 |
susp = ^Z |
20 |
rprnt = ^R |
21 |
werase = ^W |
22 |
lnext = ^V |
23 |
discard = ^O |
24 |
|
25 |
Some of the above are shadowed by readline or by bash in emacs mode, |
26 |
but the tty driver uses more than a few control keys. |
27 |
|
28 |
-- |
29 |
Grant |