Re: up/down in pdksh-history with set -o vi

2013-04-12 Thread Christian Weisgerber
Ted Unangst t...@tedunangst.com wrote: On the other hand, strictly speaking, vi doesn't support arrow keys. vim in compatible mode or the stock vi on hpux (shudder) will just dump control characters in your file for example. Traditional vi does support arrow keys in command mode, just not in

Re: up/down in pdksh-history with set -o vi

2013-04-11 Thread Anthony J. Bentley
Stefan Olsson writes: Hello, I suspect my problem is not entirely OpenBSD-related but more to do with pdksh and keybindings. I usually do set -o vi in my .profile. In bash on OS/X it then works to go up and down in history with both j+k or up+down-keys. If I ssh to a OpenBSD host from my

Re: up/down in pdksh-history with set -o vi

2013-04-11 Thread Alexander Polakov
* Stefan Olsson stefan.karl.ols...@gmail.com [130412 03:50]: Hello, I suspect my problem is not entirely OpenBSD-related but more to do with pdksh and keybindings. I usually do set -o vi in my .profile. In bash on OS/X it then works to go up and down in history with both j+k or

Re: up/down in pdksh-history with set -o vi

2013-04-11 Thread Ted Unangst
On Fri, Apr 12, 2013 at 00:05, Stefan Olsson wrote: I usually do set -o vi in my .profile. In bash on OS/X it then works to go up and down in history with both j+k or up+down-keys. If I ssh to a OpenBSD host from my Mac, I can NOT use up+down in the shell (ksh), but it works fine in less or