Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] Bash 4.1 question



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

Home Page Mailing List Linux and Japan TLUG Members Links