LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-04-2007, 11:11 AM   #1
teek
Member
 
Registered: Jun 2004
Location: The Netherlands; Dordrecht
Distribution: Arch (at the moment)
Posts: 110

Rep: Reputation: 16
"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!
 
Old 12-04-2007, 12:57 PM   #2
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
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
 
Old 12-04-2007, 03:50 PM   #3
teek
Member
 
Registered: Jun 2004
Location: The Netherlands; Dordrecht
Distribution: Arch (at the moment)
Posts: 110

Original Poster
Rep: Reputation: 16
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??
 
Old 12-04-2007, 04:10 PM   #4
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
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
 
Old 12-04-2007, 04:19 PM   #5
teek
Member
 
Registered: Jun 2004
Location: The Netherlands; Dordrecht
Distribution: Arch (at the moment)
Posts: 110

Original Poster
Rep: Reputation: 16
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.
 
Old 12-04-2007, 04:20 PM   #6
forrestt
Senior Member
 
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
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
"\e[6~": history-search-forward
log out, and then log back in.

HTH

Forrest
 
Old 12-04-2007, 05:02 PM   #7
teek
Member
 
Registered: Jun 2004
Location: The Netherlands; Dordrecht
Distribution: Arch (at the moment)
Posts: 110

Original Poster
Rep: Reputation: 16
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.

Last edited by teek; 12-04-2007 at 05:04 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squirrelmail "error in login page"" when content advisor is enabled simi_virgo Linux - Networking 4 08-21-2008 01:25 PM
LXer: Shuttleworth tips Ubuntu "Gutsy Gibbon" plans LXer Syndicated Linux News 0 04-13-2007 07:31 PM
Suggestion: for "subscribed threads" & "top of page" buttons Old_Fogie LQ Suggestions & Feedback 7 07-10-2006 05:10 PM
my web browser "mozilla fire fox" isn't rendering the page, rather opening the page amolgupta Linux - Software 2 07-26-2005 12:41 AM
"segmentation error" when issuing "useradd" command through terminal with RH 9.0 kaihuang Linux - General 0 10-21-2003 11:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration