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

Re: Problems working with bash.



On Mar 30, Michel Beland wrote
>
[snip]
> 
> In bash, write
> 
> "\e[A":history-search-backward
> "\e[B":history-search-forward
> 
> in your ~/.inputrc file.  There are two problems with bash, though.
> First, if you log on your linux machine with a terminal that does not
> use ESC [ A for the up arrow, you will have to define another sequence. 
> Second, if you have not already typed something on the command line,
> history-search-backward does not match any previous command in the
> history and just beeps.  4DOS and tcsh just match all the commands
> instead and show you the first match.  I have read that this is fixed
> in bash 2.0, at last, but did not try it yet.

Do you mean that they fixed libreadline so that you can now talk about the
'up' key instead of having to insert escape sequences?  That's be
great... IMHO, it's probably libreadline's biggest problem.

  Christian

Attachment: pgpzsgKe7swnk.pgp
Description: PGP signature


Reply to: