| 1 | config FWRT_PACKAGE_MKSH
|
|---|
| 2 | prompt "mksh.............................. The MirBSD enhanced Korn Shell"
|
|---|
| 3 | tristate
|
|---|
| 4 | default n
|
|---|
| 5 | help
|
|---|
| 6 | mksh is the MirBSD enhanced version of the Public Domain Korn
|
|---|
| 7 | shell (pdksh), a Bourne-compatible shell which is largely si-
|
|---|
| 8 | milar to the original AT&T Korn shell; mksh is the only pdksh
|
|---|
| 9 | derivate currently being actively developed. It includes bug
|
|---|
| 10 | fixes and feature improvements, in order to produce a modern,
|
|---|
| 11 | robust shell good for interactive and especially script use.
|
|---|
| 12 | mksh has UTF-8 support (in substring operations and the Emacs
|
|---|
| 13 | editing mode) and - while R48 corresponds to OpenBSD 5.1-cur-
|
|---|
| 14 | rent ksh (without GNU bash-like PS1 and fancy character clas-
|
|---|
| 15 | ses) - adheres to SUSv4 and is much more robust. The code has
|
|---|
| 16 | been cleaned up and simplified, bugs fixed, standards compli-
|
|---|
| 17 | ance added, and several enhancements (for extended compatibi-
|
|---|
| 18 | lity to other modern shells - as well as a couple of its own)
|
|---|
| 19 | are available. It has sensible defaults as usual with BSD.
|
|---|
| 20 |
|
|---|
| 21 | This package also adds /bin/mksh to /etc/shells and creates
|
|---|
| 22 | a /etc/mkshrc file, which can be used to further customise
|
|---|
| 23 | the shell's look and feel, in order to create a consistent
|
|---|
| 24 | working environment.
|
|---|
| 25 |
|
|---|
| 26 | http://mirbsd.de/mksh
|
|---|
| 27 |
|
|---|
| 28 | config FWRT_PACKAGE_MKSH_FULL
|
|---|
| 29 | bool " Include all features"
|
|---|
| 30 | depends FWRT_PACKAGE_MKSH
|
|---|
| 31 | default n
|
|---|
| 32 | help
|
|---|
| 33 | Disable this to remove a few functions from mksh to make it smaller.
|
|---|
| 34 | Ideal for embedded systems. However, be aware you will lose some
|
|---|
| 35 | functionality you'd otherwise expect, among these is the vi command
|
|---|
| 36 | line editing mode, some builtins, language features, etc.
|
|---|
| 37 |
|
|---|
| 38 | config FWRT_PACKAGE_MKSH_AS_BINASH
|
|---|
| 39 | bool " Install mksh as /bin/ash"
|
|---|
| 40 | depends FWRT_PACKAGE_MKSH
|
|---|
| 41 | depends !BUSYBOX_CONFIG_ASH
|
|---|
| 42 | default y
|
|---|
| 43 | help
|
|---|
| 44 | Enable this, because some scripts use #!/bin/ash so FreeWRT needs a
|
|---|
| 45 | working /bin/sh and /bin/ash all the time, which can be either of
|
|---|
| 46 | mksh or busybox ash.
|
|---|
| 47 |
|
|---|
| 48 | comment " Disable ash above to be able to install mksh as /bin/ash if desired"
|
|---|
| 49 | depends FWRT_PACKAGE_MKSH
|
|---|
| 50 | depends BUSYBOX_CONFIG_ASH
|
|---|