"Page up" in Gutsy terminal
People,
I used to run Gentoo and got used to the command line there. Although I don't use it that often in Gutsy now, I still miss one key-functionality: The Page up key... in Gentoo it gave me the last time I used the command of which I had just typed the first letters. Sorry, very unclear description, an example: I would type "ssh" on the command line and with page up I could go through all the commands that I typed before starting with ssh (like ssh, sshfs, ssh -X 192.168.2.2, etc.) whereas the up arrow cycles through all commands I have given. Hope it's it clear now :)? Thanx in advance! |
This is probably due to the shell you were using on Gentoo vs. the shell you are running on Gutsy. Do you remember what shell you used?
Forrest |
He forrestt, thanx for the reply.
I was using gnome-terminal on both Gentoo en Gutsy, the only difference was that on Gentoo I used gnome 2.16 and now 2.18... that can't be it (right?). Any further ideas?? |
No, gnome-terminal is the terminal emulator you used. The shell would be the command line interface that is brought up after the terminal is opened. Examples would be bash, tcsh, csh, zsh, ash.
Forrest |
Ah, I see Ubuntu uses dash where gentoo uses bash...
Ok that would explain it. Thanx. If you or anyone has an idea on how to enable this feature in dash, your are more then welcome to post it here :) For now, I have a new direction to look for, thanx for that. |
You can always change your default shell to bash.
Also, according to this page Edit a file called .inputrc in your home directory and add the following lines: Code:
"\e[5~": history-search-backward HTH Forrest |
Aha, they are working on it:
https://wiki.ubuntu.com/Spec/EnhancedBash Lets hope this great great feature makes it into dash fast ;) Edit... just read your last comment... I believe that will make you search your history but not history for the just partially typed command. |
All times are GMT -5. The time now is 04:57 AM. |