[Bug 1015744] Re: Bash history navigation keys should be enabled in the config
Alexander Kabakow
ak.anapa at gmail.com
Sun Aug 5 16:52:40 UTC 2012
I tested this patch on windows.
It works. I used MSys/MinGW environment that comes with windows version of git
By the way: forward-search-history is completely different feature from
history-search-forward. They are just different
So why it is good to have this feature enabled by default:
* Ubuntu - Linux for Human Beings, so it is must have friendly default configurations
* Proposed configuration is well tested: Gentoo Linux have this feature enabled for years
* Proposed configuration works even in Windows
* New users may found this keystrokes easy to learn
* Part of bash users are moving to zsh because they don't now how to enable this feature
Here is blog post http://www.electrictoolbox.com/pageup-history-auto-completion-bash-shell/
Author of post describes how history-search-backward/history-search-forward features works
So. For example you have history:
* ssh host-a
* cd ~/tmp/some
* mkdir test
* cd test
* vim host-a.conf
* ssh host-b
* ls
* cd ~/projects/kde-base
* make
You want to connect by ssh to host-a now
You can:
* Type ssh and press PageUp two times
* Type whole command by hands
* Press up arrow 8 times
* Use reverse search (C-r) supplying 'host-a' as params (It fails when it founds vim host-a.conf)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to readline6 in Ubuntu.
https://bugs.launchpad.net/bugs/1015744
Title:
Bash history navigation keys should be enabled in the config
Status in “readline6” package in Ubuntu:
New
Bug description:
Default bash shell setup should allow history navigation with page up and page down keys.
Default Gentoo /etc/inputrc do this.
There are bugs referencing this problem: #103986, #89235
By the way #103986 is almost five years old
Dear Matthias Klose,
Please apply this patch to the Precise Pangolin version package.
As far I see patch is working for my bash instance
Regards, Alex
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/readline6/+bug/1015744/+subscriptions
More information about the foundations-bugs
mailing list