Is it possible to use reverse-i-search through SSH?
Sim. Eu uso isso diariamente através de SSH, embora não em ksh
.
Do I have to configure/install anything?
Seu shell é ksh
. Este Linux & A questão SE Unix se aplica: Por que a Korn Shell não pode fazer ctrl-r?
Da resposta aceita:
Ctrl+R works with
ksh
inemacs
mode (ksh -o emacs
orset -o emacs
withinksh
), and it was most probably the first shell to support it. Only it's not as interactive as inzsh
orbash
ortcsh
'si-search-back
widget.In
ksh
(bothksh88
andksh93
), you type Ctrl+Rtext
Return. And Ctrl+RReturn to search again with the same text.
Outra resposta esclarece:
Now if you press CtrlR, the shell will print
^R
; type your search, hit Enter, and the shell will show you the closest matching history entry. You can hit Enter again to run it as-is, or edit it.
Eu testei em ksh
no meu Debian, funciona.