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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1015744

Title:
  Bash history navigation keys should be enabled in the config

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/readline6/+bug/1015744/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to