@rocx @calvin


# chsh -s /usr/local/bin/mksh saper
chsh: user information updated


we'll see

(but I was using #ksh93 a lot, so...)
Mister Jackpots (@[email protected])

10.3K Toots, 338 Following, 509 Followers · HelllloooOOOOOOOOOOOOOOOO United Empire Loyalist, computer person, learning to appreciate art & philosophy GitHub: NattyNarwhal XMPP: [email protected]

@rocx Ok, two immediate issues with #mksh (as opposed to #ksh93):

- it does not switch to vi mode if EDITOR/VISUAL is explicitly set to something that ends with "vi"

- in vi mode arrows do not work (they should work the same way as in emacs mode).

@calvin
Mister Jackpots (@[email protected])

10.3K Toots, 338 Following, 509 Followers · HelllloooOOOOOOOOOOOOOOOO United Empire Loyalist, computer person, learning to appreciate art & philosophy GitHub: NattyNarwhal XMPP: [email protected]

@rocx

The manual says:

> Note: The vi command-line editing mode is orphaned, yet still functional.

and this was subject to an SO investigation:

https://unix.stackexchange.com/questions/420388/arrow-keys-in-openbsds-ksh-command-line-editing-vi-mode

@calvin

#ksh93 #mksh
Arrow keys in OpenBSD's ksh, command line editing, Vi-mode

I'm using the default ksh on OpenBSD 6.2 (based on pdksh) with Vi command line editing mode enabled. I'm trying to get the arrow keys to work properly as a complement to h, l, j and k (as I'm on a