On Mon, Oct 30, 2017 at 09:47:22AM -0500, Dan Mack wrote:
> ...
> I use ESC-P / ESC-N a lot; it's a neat feature that tcsh has had for a
> long time, maybe since the beginning.  However it's a tcsh feature, not
> sh, bash, or csh IIRC.  But csh is actually tcsh on FreeBSD but I'm sure
> most people already know this on this list.

It is the same as up/down arrows?  Yeah, one of the best tcsh(1) features!

> To emulate this behaviour in bash, I simply create a .inputrc file in my
> $HOME with the following contents:
> 
>  # .inputrc field
>  "\ep": history-search-backward
>  "\en": history-search-forward

On GNU/Linux boxes mine has:

  "\e[A": history-search-backward
  "\e[B": history-search-forward

./danfe
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to