Top, winecfg and possibly other programs break custom bashrc bindings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce (in terminal):
1. bind '"\e[A": history-
2. ls bla
3. echo bla
4. ls ble
5. write "l" and pres upper arrow: ls ble and upon another press ls bla should appear (sidesteping echo bla)
6. run top and close it
7. repeat steps 2-5
Result:
echo is not skippen when listing history.
Expected result:
echo is skippend when doing hisotry-
Tested in gnome-terminal, xterm, on my account and on a guest account all on 12.10.
My -bashrc on top of stok ubuntu .bashrc is this:
bind '"\e[A": history-
bind '"\e[B": history-
# that behaviour is for pageup and pagedown
bind '"\e[5~": previous-history'
bind '"\e[6~": next-history'
# show possibilities if tab ambigious
set show-all-
# ignore case when completing, lets see how it works
set completion-
shopt -s cdspell
HISTSIZE=10000
HISTCONTROL=
HISTFILESIZE=10001
HISTTIMEFORMAT=
shopt -s histappend
PROMPT_