reconfiguring key bindings in bash -- help

reconfiguring key bindings in bash -- help

Post by Michael J. Sciabi » Tue, 23 Jul 1996 04:00:00



I want to remap my END key (the grey one -- not the one on the numeric
keypad) to `history-search-backward' under bash. I don't know how to
represent the key. If I do a control-v and hit the END key, I get
^[[4~. So, I tried:

bind ^[[4~:history-search-backward

This does not work. I also tried variants on this, like putting the
sequence in quotes, escaping various characters, but to no avail. I
also though that

bind \e[4~:history-search-backward

might work, but no go here either. I have no problem with

bind \C-b:history-search-backward

So, I guess I just don't know the format to specify that I want the
END key, or any other `special' key for that matter.

Any help would be appreciated.

Mike.

 
 
 

1. BASH BASH BASH BASH BASH BASH BASH BASH BASH BASH

Is there a proper fixed bash on any of the FTP sites out there?

I know there bash is on the usual sites but I don't know if they are
bugged or not :(

Regards,

Neil.

--


------------------------------------| Edinburgh, EH14 2DE, United Kingdom
**Domino: There`s nothing you can do when you`re the next in line: Domino**

2. 24 hour processing; not time to do sys maintenance

3. key binding in bash

4. OS/2 NFS client and Linux NFS Server help needed

5. bash key binding

6. DOS partition mounting problems

7. Setting bash key bindings in .inputrc

8. LILO not installing -- help!

9. Key Bindings in bash

10. bash command line editing with vi key bindings

11. bash key binding problem

12. bash edit key binding question

13. Bash key bindings