bug-bash
[Top][All Lists]
Advanced

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

Re: keybindings bug


From: Padraig Brady
Subject: Re: keybindings bug
Date: Thu, 29 Aug 2002 13:58:05 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020827

Padraig Brady wrote:
bash version: 2.05a.0(1)-release (RH7.3)

OK when I add the following to my .inputrc

"\e[B": history-search-forward
"\e[A": history-search-backward

The bindings are lost for left & right (\e[D & \e[C) ?

Here's a diff from `bind -p` before and after.
The first set of diffs are the problem. Is this a bug?

[padraig@pixelbeat padraig]$ diff without with
< "\e[D": backward-char
 > "\e[C": do-lowercase-version
 > "\e[D": do-lowercase-version
< "\e[C": forward-char

< # history-search-backward (not bound)
< # history-search-forward (not bound)
 > "\e[A": history-search-backward
 > "\e[B": history-search-forward
< "\e[B": next-history
< "\e[A": previous-history

More info.
The problem only occurs when TERM=xterm.
Just doing export TERM=linux in a xterm
"fixes" things?

Pádraig.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]