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

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



On Sun, May 06, 2001 at 09:16:15AM +0000, Joost van der Lugt wrote:
> * Lindsay Allen (allen@cbcfreo.wa.edu.au) [010506 08:53]:
> >Try this in your .~/inputrc :-
> >---------------------------------------------------------------------------
> ># set show-all-if-ambiguous	On
> >"\e[1~": beginning-of-line
> >"\e[3~": delete-char
> >"\e[4~": end-of-line
> >
> ># Invoke these to implement 4DOS style command search using Home and End keys
> >"\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.
> 
> Mmm, tried this, does not work directly, but it does give me a point
> to start looking from, I will be reading some info about libreadline,
> see what that brings up. thanks for the hint. I will post it if I find
> something.

also "pinfo rluserman" (go figure) for details.

plus your shell (bash? tcsh? zsh?) may have some features that
interfere. tcsh/bindkey for example...

-- 
DEBIAN NEWBIE TIP #10 from Will Trillich <will@serensoft.com> 
:
Looking to run a command or two at REGULAR INTERVALS?  Try
"crontab -e" for starters (see "man cron" or "man crontab").
You might also investigate the "anacron" package.

Also see http://newbieDoc.sourceForge.net/ ...



Reply to: