[gnu.bash.bug] keypad support?

jjd@ALEXANDER.BBN.COM (James J Dempsey) (08/23/89)

I personally don't use arrow keys, but there are people I support who
love to use keypad keys and arrow keys.  Unfortunately, I can't figure
out how to get bash to accept bindings for arbitrary keyboard
sequences.

For example, one user has terminal which generates <Esc>[A when the
up-arrow key is pressed.  The user would like this key to execute the
previous-history command.  The only thing I could think of to try to
get this to work was to put:

M-[-A: previous-history

or 

M-[A: previous-history

in .inputrc, neither of which has the desired effect.  Can you bind
arbitrary keyboard sequences to bash functions?  Is there a way of
defining a "M-[" keymap?  

In addition, perhaps bash should check TERMCAP for the presence of
arrow keys and automatically define them to do the canonical things if
they exist.

I also will reiterate my request for a builtin to list all keyboard
bindings.

Thanks,

		--Jim Dempsey--
		BBN Communications
		jjd@bbn.com (ARPA Internet)
                ..!{decvax, harvard, wjh12, linus}!bbn!jjd

P.S.  When will 1.03 be released?