
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tlug] Bash 4.1 question
- Date: Wed, 28 Sep 2011 09:44:23 -0500
- From: "Daniel A. Ramaley" <daniel.ramaley@example.com>
- Subject: [tlug] Bash 4.1 question
- Organization: Drake University
- User-agent: KMail/1.13.7 (Linux/3.0.0-1-amd64; KDE/4.6.5; x86_64; ; )
I'm trying to get control-backspace mapped in bash so that it deletes
the previous word, like it does in most GUI applications. I've tried
setting these in .inputrc to no effect:
"\C-\b": backward-kill-word
Control-Rubout: backward-kill-word
"bind -P" shows that:
backward-kill-word can be found on "\e\C-h", "\e\C-?".
Those mean that escape followed by backspace will delete the previous
word (and i've tried that, and it does indeed work), but i'd really like
to add control-backspace to that list. Unfortunately, it seems bash
thinks backspace is really control-h so it is difficult to map an extra
control onto that.
Any ideas?
__
Daniel A. Ramaley
Network Engineer 2
Dial Center 112, Drake University
2407 Carpenter Ave / Des Moines IA 50311 USA
Tel: +1 515 271-4540
Fax: +1 515 271-1938
E-mail: daniel.ramaley@example.com
Home |
Main Index |
Thread Index