[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Page-up/Page-down keys and shell history



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".

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.



Reply to: