Changeset bc417a4 in freewrt


Ignore:
Timestamp:
Jul 27, 2006, 2:10:07 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
9a87912
Parents:
6be9a4d9
Message:

flesh out shell stuff into extra file

git-svn-id: svn://www.freewrt.org/trunk/freewrt@438 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
package
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • package/Config.in

    r6be9a4d9 rbc417a4  
    1 #
     1# $FreeWRT$
    22
    33menu "Package Selection"
     
    1616source "package/nvram/Config.in"
    1717source "package/webif/Config.in"
    18 comment "/bin/sh"
    19 choice
    20         prompt "Choose your default shell"
    21         default BUSYBOX_CONFIG_FEATURE_SH_IS_ASH
    22         help
    23           Choose a shell which is to be used for /bin/sh.
    24           The ash shell is the most bash-compatible shell
    25           and full-featured one in busybox; mksh is a bit
    26           more heavy-weight but feature-complete.
    27 
    28 config BUSYBOX_CONFIG_FEATURE_SH_IS_ASH
    29         select BUSYBOX_CONFIG_ASH
    30         bool "ash (busybox)"
    31         help
    32           Tha 'ash' shell adds about 60k in the default configuration and is
    33           the most complete and most pedantically correct shell included with
    34           busybox.  This shell is actually a derivative of the Debian 'dash'
    35           shell (by Herbert Xu), which was created by porting the 'ash' shell
    36           (written by Kenneth Almquist) from NetBSD.
    37 
    38 config FWRT_PACKAGE_MKSH_AS_BINSH
    39         select FWRT_PACKAGE_MKSH
    40         select BUSYBOX_CONFIG_FEATURE_SH_IS_NONE
    41         bool "mksh"
    42         help
    43           mksh is the MirBSD enhanced version of the Public Domain Korn
    44           shell (pdksh), a bourne-compatible shell which is largely similar
    45           to the original AT&T Korn shell. It includes bug fixes and
    46           feature improvements in order to produce a modern, robust shell
    47           good for interactive and especially script use. Some sh/ksh/pdksh
    48           compatibility kludges have been removed.
    49 
    50 config BUSYBOX_CONFIG_FEATURE_SH_IS_HUSH
    51         select BUSYBOX_CONFIG_HUSH
    52         bool "hush (busybox)"
    53         help
    54           hush is a very small shell (just 18k) and it has fairly complete
    55           Bourne shell grammar.  It even handles all the normal flow control
    56           options such as if/then/elif/else/fi, for/in/do/done, while loops,
    57           etc.
    58 
    59           It does not handle case/esac, select, function, here documents ( <<
    60           word ), arithmetic expansion, aliases, brace expansion, tilde
    61           expansion, &> and >& redirection of stdout+stderr, etc.
    62 
    63 config BUSYBOX_CONFIG_FEATURE_SH_IS_LASH
    64         select BUSYBOX_CONFIG_LASH
    65         bool "lash (busybox)"
    66         help
    67           lash is the very smallest shell (adds just 10k) and it is quite
    68           usable as a command prompt, but it is not suitable for any but the
    69           most trivial scripting (such as an initrd that calls insmod a few
    70           times) since it does not understand any Bourne shell grammar.  It
    71           does handle pipes, redirects, and job control though.  Adding in
    72           command editing makes it a very nice lightweight command prompt.
    73 
    74 config BUSYBOX_CONFIG_FEATURE_SH_IS_MSH
    75         select BUSYBOX_CONFIG_MSH
    76         bool "msh (busybox)"
    77         help
    78           The minix shell (adds just 30k) is quite complete and handles things
    79           like for/do/done, case/esac and all the things you expect a Bourne
    80           shell to do.  It is not always pedantically correct about Bourne
    81           shell grammar (try running the shell testscript "tests/sh.testcases"
    82           on it and compare vs bash) but for most things it works quite well.
    83           It also uses only vfork, so it can be used on uClinux systems.
    84 
    85 endchoice
     18source "package/Config.shell"
    8619endmenu
    8720
Note: See TracChangeset for help on using the changeset viewer.