>Are there any examples which show how I can cycle backwards through
>the command history? For example bash displays the first result when
>pressing ctrl r the first time, the second result searching the
>command history backwards for pressing ctrl r the second time, the
>third result for pressing ctrl r the third time and so on. Does ksh
>have such a feature?

Yes, depending on the mode (vi or emacs). For example in vi mode
(set -o vi) you can hit <Esc> to get into command mode, then the
key 'k' will go to the previous command (key 'j' moves the other
direction), key '/' will search backwards in the history, key 'n'
(key 'N' for the other direction) will jump to the next command
matching the found pattern.

_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to