do not fail build if MAXSYMLINKS isn't defined
[oweals/busybox.git] / shell / Config.src
index 6389d943ae71ee87159298637dedaeebeea0d31c..b31e62ddac3ae76b8322baf4c2d17ae9afe6dd3a 100644 (file)
@@ -62,29 +62,6 @@ config FEATURE_BASH_IS_NONE
 endchoice
 
 
-config LASH
-       bool "lash (deprecated: aliased to hush)"
-       default n
-       select HUSH
-       help
-         lash is deprecated and will be removed, please migrate to hush.
-
-config MSH
-       bool "msh (deprecated: please use hush)"
-       default n
-       select HUSH
-       help
-         msh is deprecated and will be removed, please migrate to hush.
-         If there is a feature msh has but hush does not, please let us know.
-
-#        The minix shell (adds just 30k) is quite complete and handles things
-#        like for/do/done, case/esac and all the things you expect a Bourne
-#        shell to do. It is not always pedantically correct about Bourne
-#        shell grammar (try running the shell testscript "tests/sh.testcases"
-#        on it and compare vs bash) but for most things it works quite well.
-#        It uses only vfork, so it can be used on uClinux systems.
-
-
 config SH_MATH_SUPPORT
        bool "POSIX math support"
        default y
@@ -146,9 +123,9 @@ config FEATURE_SH_NOFORK
        default n
        depends on (HUSH || ASH) && FEATURE_PREFER_APPLETS
        help
-         This option causes busybox shells [currently only ash]
-         to not execute typical fork/exec/wait sequence, but call <applet>_main
-         directly, if possible. (Sometimes it is not possible: for example,
+         This option causes busybox shells to not execute typical
+         fork/exec/wait sequence, but call <applet>_main directly,
+         if possible. (Sometimes it is not possible: for example,
          this is not possible in pipes).
 
          This will be done only for some applets (those which are marked
@@ -156,42 +133,17 @@ config FEATURE_SH_NOFORK
 
          This may significantly speed up some shell scripts.
 
-         This feature is relatively new. Use with care.
+         This feature is relatively new. Use with care. Report bugs
+         to project mailing list.
 
-config CTTYHACK
-       bool "cttyhack"
+config FEATURE_SH_HISTFILESIZE
+       bool "Use $HISTFILESIZE"
        default y
+       depends on HUSH || ASH
        help
-         One common problem reported on the mailing list is "can't access tty;
-         job control turned off" error message which typically appears when
-         one tries to use shell with stdin/stdout opened to /dev/console.
-         This device is special - it cannot be a controlling tty.
-
-         Proper solution is to use correct device instead of /dev/console.
-
-         cttyhack provides "quick and dirty" solution to this problem.
-         It analyzes stdin with various ioctls, trying to determine whether
-         it is a /dev/ttyN or /dev/ttySN (virtual terminal or serial line).
-         If it detects one, it closes stdin/out/err and reopens that device.
-         Then it executes given program. Opening the device will make
-         that device a controlling tty. This may require cttyhack
-         to be a session leader.
-
-         Example for /etc/inittab (for busybox init):
-
-         ::respawn:/bin/cttyhack /bin/sh
-
-         Starting an interactive shell from boot shell script:
-
-         setsid cttyhack sh
-
-         Giving controlling tty to shell running with PID 1:
-
-         # exec cttyhack sh
-
-         Without cttyhack, you need to know exact tty name,
-         and do something like this:
+         This option makes busybox shells to use $HISTFILESIZE variable
+         to set shell history size. Note that its max value is capped
+         by "History size" setting in library tuning section.
 
-         # exec setsid sh -c 'exec sh </dev/tty1 >/dev/tty1 2>&1'
 
 endmenu