Re: Page-up/Page-down keys and shell history
* David Wright <d.wright@open.ac.uk> [May 08. 2001 18:41]:
> Quoting Lindsay Allen (allen@cbcfreo.wa.edu.au):
> >
> > On Sat, 5 May 2001, Joost van der Lugt wrote:
> >
> > > I've been looking into this for a litle bit and am unable to find an
> > > answer. This is a feature AFAIK only implemented by SuSE:
> > >
> > > At a prompt type one or more characters then use Page Up/Page Down
> > > to scroll through all commands that started with these characters.
> > > So typing:
> > >
> > > cd
> > >
> > > would then give a 'scrollable' list of anything that started with cd
> > > simply hit enter when you reach the command you were looking for.
>
> Yes, that's what I do, only I use up/down arrow because my fingers
> are used to that (the Debian default, and Dec VMS before that).
>
> > "\e[B": history-search-forward
> > "\e[A": history-search-backward
> > ----------------------------------------------------------------------------
> >
> >
> > This worked flawlessly in potato, but is messy in sid. No, I don't know
> > why, but I would like any hints on how to fix it.
>
> I'm not sure what hints to give, when I have no idea what you
> mean by "messy".
Well finally had some time, and as said it seems all to be in the inputrc:
"\e[5~":history-search-backward
"\e[6~":history-search-forward
this made Page up/down do the desired, but suddenly also the arrows keys
displayed similar behaviour:-) (then you don't have it and then you have it
double)
However since the left/right arrows in my aterm have been screwed for a
while I 've decided to just put suse's complete inputrc in my
home directory, which is kind of funny, but it works.
>
> Cheers,
>
> --
> Email: d.wright@open.ac.uk Tel: +44 1908 653 739 Fax: +44 1908 655 151
> Snail: David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
> Disclaimer: These addresses are only for reaching me, and do not signify
> official stationery. Views expressed here are either my own or plagiarised.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
--
Cheers,
Joost van der Lugt
Reply to: