[Bug 1133507] [NEW] Top, winecfg and possibly other programs break custom bashrc bindings
TomasHnyk
tomashnyk at gmail.com
Tue Feb 26 18:14:59 UTC 2013
Public bug reported:
Steps to reproduce (in terminal):
1. bind '"\e[A": history-search-backward'
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-search-backword.
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-search-backward'
bind '"\e[B": history-search-forward'
# 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-if-ambiguous on
# ignore case when completing, lets see how it works
set completion-ignore-case on
shopt -s cdspell
HISTSIZE=10000
HISTCONTROL=ignoredups
HISTFILESIZE=10001
HISTTIMEFORMAT="%h/%d - %H:%M:%S "
shopt -s histappend
PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
** Affects: bash (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1133507
Title:
Top, winecfg and possibly other programs break custom bashrc bindings
Status in “bash” package in Ubuntu:
New
Bug description:
Steps to reproduce (in terminal):
1. bind '"\e[A": history-search-backward'
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-search-backword.
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-search-backward'
bind '"\e[B": history-search-forward'
# 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-if-ambiguous on
# ignore case when completing, lets see how it works
set completion-ignore-case on
shopt -s cdspell
HISTSIZE=10000
HISTCONTROL=ignoredups
HISTFILESIZE=10001
HISTTIMEFORMAT="%h/%d - %H:%M:%S "
shopt -s histappend
PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1133507/+subscriptions
More information about the foundations-bugs
mailing list