:Matt Dillon writes:
:>     if ( $?tcsh ) then
:>         bindkey "^W" backward-delete-word
:>         bindkey -k up history-search-backward
:>         bindkey -k down history-search-forward
:>     endif
:Why do you need the 'up' and 'down' ones.. doesn't it already do that
:without explicit configuration?

    This is the history *search* function.  Lets say you did a complex
    'find' command 5 minutes ago and a hundred intervening commands since,
    and you want to run the 'find' again.  

    You type:

    % fin<up-arrow>

    If you did a bunch of find's, hit up arrow as many times as necessary.
    You can type as few or as many characters as you like prior to hitting
    the up arrow, depends on what you are looking for.

    If you just hit the up or down arrow without having partial text on the
    line, it works just like normal history.  Once you start using it,
    you will never be able to go back.

    This is how the Amiga used to do it.  It's the only right way.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to