OpenBSDs Korn Shell (ksh) for GNU/Linux

What is it?

The OpenBSD people have cleaned up and enhanced the original PD ksh with great features. E. g.

works like under bash (try this with a standard PD ksh).

So I ported the OpenBSD version of ksh to GNU/Linux.

What's new?

In version 0.5.9 from 22.07.2016

In Version 0.5.0 from 26.09.2014

In Version 0.4.1 from 27.08.2010

In Version 0.4 from 23.08.2010

In Version 0.3

In Version 0.2


Here are the sources and md5sum. To build and install use the usual ./configure && make && make install.

ConochaetOS slackn-n-free repo has binary packages for Slackware 14.1 and 14.2 based distros, both 32 and 64 bit (series a). A SlackBuild script is available in the sources repo

There is a PKGBUILD for Arch Linux


Cursor keys for scrolling through the history aren't working

Do you have EDITOR variable set to vi,vim or something similar? Then ksh switches to vi mode, where this feature isn't available. Do "set -o emacs" in your .profile, and it should work like you're expecting

Meanwhile there are other ports of OpenBSD's ksh to Linux. So, what is the difference to this port?