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: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] inputrc change
  • Date: Sat, 24 Jun 2006 22:56:44 +0200

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

I think the keys should do nothing by default. The installed inputrc
should only have the minimum stuff like delete/backsapce, home/end.

--
Arwed v. Merkatz Source Mage GNU/Linux developer
http://www.sourcemage.org




Archive powered by MHonArc 2.6.24.

Top of Page