F2 key programming
Hello Thomas, Further to e-mail from Julio Merino on how to make the F2
key emit "|more\C-m"
(i.e. put into ~.inputrc the line "\e[[B": "|more\C-m" ) I found,
after much fruitless searching, that
my F2 key has the string "\eOQ" instead attached and F10 has "\e[21~" .
I found this via a small C-program which I wrote. I now have the two
lines in my ~.inputrc
"\eOQ":"|more\C-m"
"\e[21~":"ls -l" #F10 emits "ls-l"
and all is well!
This shows one of the problems with Linux: some necessary information
is very hard to find.
Ivan
Reply to: