Quote:
Originally Posted by dickey
In xterm, that's usually done with the "translations" resource.
|
thansk
http://www.geocities.com/h2428/petar/bash_bind.htm
I think that I would use bind (bash) for it, it is simple, you can simply use eg.:
Code:
bind "\C-?": backward-delete-char
However would you know how to detect this
"\C-?" with something like xev but for the xterm?
and also to exec a command with bind ?
Quote:
$ bind --help
bash: bind: --: invalid option
bind: usage: bind [-lpvsPVS] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-x keyseq:shell-command] [keyseq:readline-function or readline-command]
|
OK, got it with read:
<escape> is : ^[
is not working