| 1 |
config FWRT_PACKAGE_MKSH |
| 2 |
prompt "mksh.............................. The MirBSD enhanced Korn Shell" |
| 3 |
tristate |
| 4 |
default n |
| 5 |
select BUSYBOX_CONFIG_READLINK |
| 6 |
select BUSYBOX_CONFIG_FEATURE_READLINK_FOLLOW |
| 7 |
help |
| 8 |
mksh is the MirBSD enhanced version of the Public Domain Korn |
| 9 |
shell (pdksh), a bourne-compatible shell which is largely si- |
| 10 |
milar to the original AT&T Korn shell. It includes bug fixes |
| 11 |
and feature improvements in order to produce a modern, robust |
| 12 |
shell good for interactive and especially script use. It has |
| 13 |
UTF-8 support in the emacs command line editing mode; corres- |
| 14 |
ponds to OpenBSD 4.2-current ksh sans GNU bash-like $PS1; the |
| 15 |
build environment requirements are autoconfigured; throughout |
| 16 |
code simplification/bugfix/enhancement has been done, and the |
| 17 |
shell has extended compatibility to other modern shells. |
| 18 |
|
| 19 |
This package also adds /bin/mksh to /etc/shells and a $PS1 command |
| 20 |
to /etc/profile in order to create a consistent working environment. |
| 21 |
|
| 22 |
http://mirbsd.de/mksh |
| 23 |
|
| 24 |
config FWRT_PACKAGE_MKSH_FULL |
| 25 |
bool " Include all features" |
| 26 |
depends FWRT_PACKAGE_MKSH |
| 27 |
default n |
| 28 |
help |
| 29 |
Disable this to remove a few functions from mksh to make it smaller. |
| 30 |
Ideal for embedded systems. However, be aware you will lose some |
| 31 |
functionality you'd otherwise expect, among these is the vi command |
| 32 |
line editing mode. |
| 33 |
|
| 34 |
config FWRT_PACKAGE_MKSH_AS_BINASH |
| 35 |
bool " Install mksh as /bin/ash" |
| 36 |
depends FWRT_PACKAGE_MKSH |
| 37 |
depends !BUSYBOX_CONFIG_ASH |
| 38 |
default y |
| 39 |
help |
| 40 |
Enable this, because some scripts use #!/bin/ash so FreeWRT needs a |
| 41 |
working /bin/sh and /bin/ash all the time, which can be either of |
| 42 |
mksh or busybox ash. |
| 43 |
|
| 44 |
comment " Disable ash above to be able to install mksh as /bin/ash if desired" |
| 45 |
depends FWRT_PACKAGE_MKSH |
| 46 |
depends BUSYBOX_CONFIG_ASH |