You're viewing a comment by staxos and its responses.
You're viewing a comment by staxos and its responses.
I am being sponsored by Syntress since 2007! They bought me an amazing dedicated server to run catonmat on. If you're looking web services in Chicago area, I highly recommend the Syntress guys!
I love to read science books. They make my day and I get ideas for awesome blog posts, such as Busy Beaver, On Functors, Recursive Regular Expressions and many others.
Take a look at my
Amazon wish list, if you're curious about what I have planned reading next, and want to surprise me. :)


I'm surprised no one mentioned this before. This also answers Ix's question (or comes close to it). Put the following in your ~/.inputrc file and save it (not including the dashes):
---------
"\eOA": history-search-backward
"\eOB": history-search-forward
"\eOC": forward-char
"\eOD": backward-char
"\e[A": history-search-backward
"\e[B": history-search-forward
"\e[C": forward-char
"\e[D": backward-char
---------
Now, on the shell, start typing the beginning of a command, and press the Up key. You'll see the history is navigated only within the commands that start with the string you type (I call this the matlab type of history navigation). Very useful if you're used to the Up and Down keys.
Comment Responses
Thanks a lot staxos!! Thats Wonderful & simple!!
Reply To This Comment