Trying to get a spec implemented

If people could review, make comments etc, or help me out implementing this that would be great. Basically, this is the default behavior of page up and page down in suse, and it works great. For example:

At the command line I type “ssh” then hit page up and it will come up with “ssh sharms@sharms.org”. Hitting page up again will come up with “ssh sharms@test.com”. It takes a partial command from the command line, and matches it with history entries. This is awesome with respect to saving time typing.

This is also a great opportunity to try and get other features into bash that make it easier to use (there is a good comment on the spec with more useful changes).

https://wiki.ubuntu.com/Spec/EnhancedBash

Update: Test run
If you wonder what the heck I am talking about, follow these steps:

  • Edit file “.inputrc” in your home directory
  • Paste the following lines:
  • "\e[5~": history-search-backward
    "\e[6~": history-search-forward

  • Open up a new shell
  • Type “history”
  • Find a command that you have recently used
  • Now type part of that command (ex ss) then hit page up and it will come up with the most recent match
  • Keep hitting page-up for more matches, or hit page down to go back to the last match
  • Advocate getting this spec implemented!

Related posts:

  1. Make your bash shell cool again
  2. Bash frequently used commands
  3. Connecting to Ubuntu from Windows
  4. No pony
  5. Explaining a simple argument