Re: need some readline tricks [my part is SOLVED!]

2003-01-15 Thread andrej hocevar
On Sun, Dec 22, 2002 at 03:08:15PM +0100, Michael Naumann wrote: > 20.12.2002 22:26:16, andrej hocevar <[EMAIL PROTECTED]> wrote: > >Besides, how do I represent function keys? > > I think, they are represented just like cursor keys. > Unfortunatly (to my knowledge, which may well be incomplete), t

Re: need some readline tricks

2002-12-22 Thread Bob Proulx
andrej hocevar <[EMAIL PROTECTED]> [2002-12-20 19:26:16 -0200]: > But if I add sequences that already have a meaning (like "\C-s") > it's still the old value that's in effect. Besides, how do I > represent function keys? At one time an example .inputrc file in the bash package contained this templ

Re: need some readline tricks

2002-12-22 Thread Michael Naumann
20.12.2002 22:26:16, andrej hocevar <[EMAIL PROTECTED]> wrote: >On Wed, Dec 18, 2002 at 03:27:42PM +0100, Michael Naumann wrote: >> If you mean readline in bash, you can add >> >> "\M-[A": history-search-backward >> >> to your .inputrc. >> A newly started bash should then handle CURSOR-UP the wa

Re: need some readline tricks

2002-12-20 Thread andrej hocevar
On Wed, Dec 18, 2002 at 03:27:42PM +0100, Michael Naumann wrote: > If you mean readline in bash, you can add > > "\M-[A": history-search-backward > > to your .inputrc. > A newly started bash should then handle CURSOR-UP the way you like. But if I add sequences that already have a meaning (like "

Re: need some readline tricks

2002-12-18 Thread Chun Kit Edwin Lau
Yup, that's it. Thanx. Cool tricks and "\M-[B":history-search-forward for down arrow to search history forward Edwin Lau On Wed, Dec 18, 2002 at 03:27:42PM +0100, Michael Naumann wrote: > On Wednesday 18 December 2002 11:22, Chun Kit Edwin Lau wrote: > > Hi everyone, > > > > I a

Re: need some readline tricks

2002-12-18 Thread Shawn Lamson
On Wed, 18 Dec 2002 05:22:40 -0500 Chun Kit Edwin Lau <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I am looking for a readline trick. Say for example, when I > type an "s" and a arrow key at the prompt, I should be able to scroll > last command that begins with an "s". Is it achievable i

Re: need some readline tricks

2002-12-18 Thread Michael Naumann
On Wednesday 18 December 2002 11:22, Chun Kit Edwin Lau wrote: > Hi everyone, > > I am looking for a readline trick. Say for example, when I > type an "s" and a arrow key at the prompt, I should be able to scroll > last command that begins with an "s". Is it achievable in realine? Short a