Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] inputrc change

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Daniel Goller <dgoller AT satx.rr.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] inputrc change
  • Date: Sat, 24 Jun 2006 17:48:49 -0500

On Sat, 2006-06-24 at 15:37 -0700, Andrew wrote:
> On Sat, Jun 24, 2006 at 11:06:40PM +0300, Juuso Alasuutari wrote:
> > I wanted to ask here if anyone objects to a change to inputrc that Daniel
> > told
> > me about. It would be to replace the present behavior of page up & page
> > down
> > keys in readline - now they go to beginning and end of history, when they
> > could be used as search buttons. Here's a quote from #sourcemage:
> >
> > <+morfic> "\e[5~": history-search-backward and "\e[6~":
> > history-search-forward change them to that
> > <+iuso> morfic: hm, searching forward & backward is different than using
> > up
> > and down keys?
> > <+iuso> morfic: oh i get it, search finds the previous/next command in
> > history
> > corresponding to what's presently written?
> > <+morfic> iuso: comment the original lines, add the ones i pasted, then
> > start typing a command you use a lot but have not typed in a while, hit
> > pageup, if it is still in history, it's ready to use
> > <+morfic> iuso: exactly
> >
>
> Since it modifies default behavior, it needs to be optional.
> That is our philosophy.
>
> -Andrew
>

Would that mean the elegant solution would be to add a query in readline
to "Use pageup/pagedown for searching history?" [n]
Which allows users to notice the choice easier than finding the comments
in the file?

-Daniel

Attachment: signature.asc
Description: This is a digitally signed message part




Archive powered by MHonArc 2.6.24.

Top of Page