Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#1497 - bash history not working properly
Attached to Project:
Arch Linux
Opened by David Rosenstrauch (darose) - Tuesday, 21 September 2004, 19:47 GMT
Last edited by Judd Vinet (judd) - Wednesday, 22 September 2004, 15:57 GMT
Opened by David Rosenstrauch (darose) - Tuesday, 21 September 2004, 19:47 GMT
Last edited by Judd Vinet (judd) - Wednesday, 22 September 2004, 15:57 GMT
|
DetailsConsider the following 2 use cases of using bash history:
#1: * open up an xterm (e.g., konsole) * press the up arrow key * the previous command in the bash history will be displayed * press the down arrow key * the command will disappear and there will be an empty command prompt #2: * open up an xterm (e.g., konsole) * press the up arrow key twice * the 2nd previous command in the bash history will be displayed * press the down arrow key twice * the command does not disappear; the previous command is still displayed Problem is with #2; it should work like #1. The previous command should not be displayed; rather there should be an empty command prompt. Workaround: Press Ctrl-C. That will end the bash history session and show another command prompt which will be empty. |
This task depends upon
bash-history.patch
Unfortunately, it's probably an upstream thing.
The patch on that message has got a bit mangled by conversion to HTML, so I've regenerated it.
When rebuilt bash appears to have the correct history behaviour - I haven't tested it extensively as I don't use bash (IMNSHO the best solution for this would be 'ln -sh /bin/zsh /bin/bash' :)
- olly
ftp://ftp.cwru.edu/pub/bash/bash-3.0-patches/
Looks like there are now 13 of them.The one that is supposed to fix down arrow key behaviour is 005.