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.
The program screen supports scrollback (by pressing Control A, and then up arrow). Other things one can try are PageUp, Shift-PageUp, and/or Control-PageUp. If one or more of those work, keep in mind that changing terminal windows (Alt-Fkey, or is it Alt-Ctrl-Fkey?) may cause the video buffer to lose track of what is stored, eliminating the possibility to scroll back (as much). If one wishes to view the initial boot screen, a program called dmesg may be available.
The program tmux is similar to screen and may have similar functionality, except that Ctrl-B tends to be used instead of Ctrl-A. An older program called window might also be an alternative.
One may be able to scroll back with PgUp or some modifier combinatino involving PgUp (like Shift-PgUp). However, switching terminal windows is likely to lose any such history.
Jason Hood's “Text Mode” program is meant for DOS. (Zipped locally as tm0305z.zip, with changes.html renamed.)
For DOS, Jason recommends also looking at fontman and palman. He also has Console Size: Console Size (C source code) and Console Size (Windows NT/2K/XP executable binary file) (zipped locally as consz101.zip).
Only 16 bytes: 0xb036e64331c0e640e640b003cd10cd20, Ken Silverman's Utilities page (section on NV) says this sets 80x25 text mode (while clearing the screen) and will “fix the IRQ0 timer rate”. Inefficiently, this is distributed as a zip file 126 byte zip file. The description from the author's web site says, “Set to 80*25 text mode, clear the screen, and fix the IRQ0 timer rate, all in 16 bytes.”