Making the command line more powerful - configuration help needed

Gábor Iglói mdjake at
Mon Oct 31 05:29:50 UTC 2005

Dear Colin,

Thank you for your easy directions I'm pressing the PgUp/PgDown buttons happily.

I uncommented the appropriate #-s from my /etc/inputrc. I can't think
of a terminal on which this wouldn't work - well I could only try it
on gnome-terminal and xterm both of which are part of the default
Ubuntu installation.

If however such terminals exist there's an elegant method in inputrc:

$if term=xterm
"\e[5~": history-search-backward
"\e[6~": history-search-forward

More information about the ubuntu-users mailing list