This is my port of the OpenBSD ksh shell for all my machines not running OpenBSD.
Barely compiles and kinda runs (thanks to many ugly hacks) on:
- macOS 10.13
Installing with Homebrew on macOS
Just do it, you know you want to:
$ brew install tamentis/core/openbsd-ksh
- Support 64 bit integers on 32 bit architectures.
- Memory allocation was switched from calloc(3) back to malloc(3), making it easier to recognize uninitialized memory. As a result, a history-related bug in emacs editing mode was discovered and fixed.
- Improved UTF-8 line editing support for Emacs and Vi input mode.
- Partial UTF-8 line editing support for Vi input mode.
- Improve various details of POSIX compliance.
- Partial support for inserting and deleting UTF-8 characters in emacs command line editing mode.
I cannot be held responsible for whatever damage is done to your system from using that code. It is provided AS IS, with NO WARRANTY, either expressed or implied.
- clone the repo for whatever branch you want:
$ cvs -d firstname.lastname@example.org:/cvs co -rOPENBSD_6_3 src/bin/ksh
- hack away, diff, incorporate
- pull request?