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.