Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 1 | # |
| 2 | # For a description of the syntax of this configuration file, |
| 3 | # see scripts/kbuild/config-language.txt. |
| 4 | # |
| 5 | |
Glenn L McGrath | fdbbb04 | 2002-12-09 11:10:40 +0000 | [diff] [blame] | 6 | menu "Another Bourne-like Shell" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 7 | |
| 8 | choice |
| 9 | prompt "Choose your default shell" |
Eric Andersen | a6b9051 | 2002-12-06 21:49:59 +0000 | [diff] [blame] | 10 | default "none" |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 11 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 12 | Choose a shell. The ash shell is the most bash compatible |
| 13 | and full featured. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 14 | |
| 15 | config CONFIG_FEATURE_SH_IS_ASH |
| 16 | bool "ash" |
| 17 | |
| 18 | config CONFIG_FEATURE_SH_IS_HUSH |
| 19 | bool "hush" |
| 20 | |
| 21 | config CONFIG_FEATURE_SH_IS_LASH |
| 22 | bool "lash" |
| 23 | |
| 24 | config CONFIG_FEATURE_SH_IS_MSH |
| 25 | bool "msh" |
| 26 | |
Eric Andersen | a6b9051 | 2002-12-06 21:49:59 +0000 | [diff] [blame] | 27 | config CONFIG_FEATURE_SH_IS_NONE |
| 28 | bool "none" |
| 29 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 30 | endchoice |
| 31 | |
| 32 | if CONFIG_FEATURE_SH_IS_ASH |
| 33 | config CONFIG_ASH |
| 34 | default y |
| 35 | |
| 36 | comment "ash (forced enabled as default shell)" |
| 37 | endif |
| 38 | |
| 39 | if !CONFIG_FEATURE_SH_IS_ASH |
| 40 | config CONFIG_ASH |
| 41 | bool "ash" |
| 42 | default y |
| 43 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 44 | Make sh a link to ash. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 45 | endif |
| 46 | |
| 47 | comment "Ash Shell Options" |
| 48 | depends on CONFIG_ASH |
| 49 | |
| 50 | config CONFIG_ASH_JOB_CONTROL |
| 51 | bool " Enable Job control" |
| 52 | default y |
| 53 | depends on CONFIG_ASH |
| 54 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 55 | Enable job control in the ash shell. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 56 | |
| 57 | config CONFIG_ASH_ALIAS |
| 58 | bool " Enable alias support" |
| 59 | default y |
| 60 | depends on CONFIG_ASH |
| 61 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 62 | Enable alias support in the ash shell. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 63 | |
| 64 | config CONFIG_ASH_MATH_SUPPORT |
| 65 | bool " Enable Posix math support" |
| 66 | default y |
| 67 | depends on CONFIG_ASH |
| 68 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 69 | Enable math support in the ash shell. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 70 | |
| 71 | config CONFIG_ASH_GETOPTS |
| 72 | bool " Enable getopt builtin to parse positional parameters" |
| 73 | default n |
| 74 | depends on CONFIG_ASH |
| 75 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 76 | Enable builtin getopt in the ash shell. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 77 | |
| 78 | config CONFIG_ASH_CMDCMD |
| 79 | bool " Enable cmdcmd to override shell builtins" |
| 80 | default n |
| 81 | depends on CONFIG_ASH |
| 82 | help |
Eric Andersen | 3857a18 | 2003-07-22 10:14:32 +0000 | [diff] [blame] | 83 | Enable support for the ash 'command' builtin, which allows |
| 84 | you to run the specified command with the specified arguments, |
| 85 | even when there is an ash builtin command with the same name. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 86 | |
| 87 | config CONFIG_ASH_MAIL |
| 88 | bool " Check for new mail on interactive shells" |
| 89 | default y |
| 90 | depends on CONFIG_ASH |
| 91 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 92 | Enable "check for new mail" in the ash shell. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 93 | |
| 94 | config CONFIG_ASH_OPTIMIZE_FOR_SIZE |
| 95 | bool " Optimize for size instead of speed" |
| 96 | default y |
| 97 | depends on CONFIG_ASH |
| 98 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 99 | Compile ash for reduced size at price of speed. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 100 | |
| 101 | if CONFIG_FEATURE_SH_IS_HUSH |
| 102 | config CONFIG_HUSH |
| 103 | default y |
| 104 | |
| 105 | comment "hush (forced enabled as default shell)" |
| 106 | endif |
| 107 | |
| 108 | if !CONFIG_FEATURE_SH_IS_HUSH |
| 109 | config CONFIG_HUSH |
| 110 | bool "hush" |
| 111 | default n |
| 112 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 113 | Make sh a link to hush. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 114 | endif |
| 115 | |
| 116 | if CONFIG_FEATURE_SH_IS_LASH |
| 117 | config CONFIG_LASH |
| 118 | default y |
| 119 | |
| 120 | comment "lash (forced enabled as default shell)" |
| 121 | endif |
| 122 | |
| 123 | if !CONFIG_FEATURE_SH_IS_LASH |
| 124 | config CONFIG_LASH |
| 125 | bool "lash" |
| 126 | default n |
| 127 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 128 | Make sh a link to lash. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 129 | endif |
| 130 | |
| 131 | if CONFIG_FEATURE_SH_IS_MSH |
| 132 | config CONFIG_MSH |
| 133 | default y |
| 134 | |
| 135 | comment "msh (forced enabled as default shell)" |
| 136 | endif |
| 137 | |
| 138 | if !CONFIG_FEATURE_SH_IS_MSH |
| 139 | config CONFIG_MSH |
| 140 | bool "msh" |
| 141 | default n |
| 142 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 143 | Make sh a link to msh. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 144 | endif |
| 145 | |
| 146 | |
| 147 | comment "Bourne Shell Options" |
| 148 | depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH |
| 149 | |
| 150 | config CONFIG_FEATURE_COMMAND_EDITING |
| 151 | bool "command line editing" |
| 152 | default n |
| 153 | depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH |
| 154 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 155 | Enable command editing in shell. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 156 | |
Glenn L McGrath | fdbbb04 | 2002-12-09 11:10:40 +0000 | [diff] [blame] | 157 | config CONFIG_FEATURE_COMMAND_SAVEHISTORY |
| 158 | bool " history saving" |
| 159 | default n |
| 160 | depends on CONFIG_ASH |
| 161 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 162 | Enable history saving in ash shell. |
Glenn L McGrath | fdbbb04 | 2002-12-09 11:10:40 +0000 | [diff] [blame] | 163 | |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 164 | config CONFIG_FEATURE_COMMAND_TAB_COMPLETION |
| 165 | bool "tab completion" |
| 166 | default n |
| 167 | depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH |
| 168 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 169 | Enable tab completion in shell. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 170 | |
| 171 | config CONFIG_FEATURE_COMMAND_USERNAME_COMPLETION |
| 172 | bool "username completion" |
| 173 | default n |
| 174 | depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH |
| 175 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 176 | Enable username completion in shell. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 177 | |
| 178 | config CONFIG_FEATURE_COMMAND_HISTORY |
| 179 | int "history size" |
| 180 | default 15 |
| 181 | depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH |
| 182 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 183 | Specify command history size in shell. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 184 | |
| 185 | config CONFIG_FEATURE_SH_STANDALONE_SHELL |
| 186 | bool "Standalone shell" |
| 187 | default n |
| 188 | depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH |
| 189 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 190 | Have all the busybox commands built into the shell, creating |
| 191 | a standalone shell. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 192 | |
| 193 | config CONFIG_FEATURE_SH_APPLETS_ALWAYS_WIN |
| 194 | bool "Standalone shell -- applets always win" |
| 195 | default n |
| 196 | depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH |
| 197 | help |
Eric Andersen | e564211 | 2003-07-14 19:37:08 +0000 | [diff] [blame] | 198 | Use a command builtin to the shell over one with the same name, |
| 199 | that may be on the system. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 200 | |
| 201 | config CONFIG_FEATURE_SH_FANCY_PROMPT |
| 202 | bool "Fancy shell prompts" |
| 203 | default n |
| 204 | depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH |
| 205 | help |
Eric Andersen | 9c3c38d | 2003-07-22 09:59:34 +0000 | [diff] [blame] | 206 | Setting this option allows for prompts to use things like \w and |
| 207 | \$ and also using escape codes. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 208 | |
| 209 | config CONFIG_FEATURE_SH_EXTRA_QUIET |
| 210 | bool "Hide message on interactive shell startup" |
| 211 | default n |
| 212 | depends on CONFIG_MSH || CONFIG_LASH || CONFIG_HUSH || CONFIG_ASH |
| 213 | help |
Eric Andersen | 9c3c38d | 2003-07-22 09:59:34 +0000 | [diff] [blame] | 214 | Remove the busybox introduction when starting a shell. |
Eric Andersen | c9f20d9 | 2002-12-05 08:41:41 +0000 | [diff] [blame] | 215 | |
| 216 | endmenu |
| 217 | |