With an executable filename of ksh in /bin, this has also be abbreviated as pdksh or oksh.
OpenBSD's FAQ 10 (ksh section) cites this being the same executable as sh. It appears to be a bit simpler of software than bash, but still supporting key popular features such as tab completion, command line editing, and so forth. OpenBSD's implementation is based on pdksh which has only for pdksh's simple licensing requirements.
A port called
oksh: OpenBSDs ksh for Linux has
been made, adding the restrictions of GPLv3. A Debian package (which
unsurprisingly works on something called Debian, and also Ubuntu) has been made
for Debian Etch. The web site gives an example of setting PS1: Apparently
running:
export PS1='\u@\h#'
to get a prompt showing the username and
hostname followed by a pound sign, isn't something all ksh implementations can
use.
Another alternative, used in 2BSD in 1979 to replace the Bourne shell.
Instead of using sh's syntax:
VARNAME=newval
(or perhaps “
export VARNAMEexport VARNAME=newval “)
in csh, the commonly used syntax is:
“ setenv VARNAME=newval ”
(referencing
ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-4.0/i386/INSTALL.html
for comparison)
There is also tcsh ( Tenex-csh according to NetBSD 4.0 i386 INSTALL.html )
DOSKey comparison chart compares DOSKey to 4DOS and a regular prompt. DOSKey supports command line history, and keyboard aliases. So does 4DOS.
There are some freeware/shareware products that also perform such a thing.