* 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 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 vi. It even works fine with up+down keys in bash on > OpenBSD - so what do I need to do in ksh to make up+down-keys work (apart > from doing "set -o emacs")??
You can recompile ksh with my unportable hack if you really want to: http://plhk.ru/trash/ksh/0008-ksh-vi-arrow-keys-support.patch -- Alexander Polakov | plhk.ru