Article View: gnu.bash.bug
Article #486keypad support?
From: James J Dempsey
Date: Tue, 22 Aug 1989 17:22
Date: Tue, 22 Aug 1989 17:22
35 lines
1481 bytes
1481 bytes
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?
Technical Details
Message-ID:
<8908221730.AA01758@life.ai.mit.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ALEXANDER.BBN.COM!jjdShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ALEXANDER.BBN.COM!jjd From: jjd@ALEXANDER.BBN.COM (James J Dempsey) Newsgroups: gnu.bash.bug Subject: keypad support? Message-ID: <8908221730.AA01758@life.ai.mit.edu> Date: 22 Aug 89 17:22:03 GMT Sender: hurt@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 35