diff options
Diffstat (limited to 'Config.h')
-rw-r--r-- | Config.h | 25 |
1 files changed, 11 insertions, 14 deletions
@@ -241,7 +241,14 @@ | |||
241 | // | 241 | // |
242 | // Enable command line editing in the shell. | 242 | // Enable command line editing in the shell. |
243 | // Only relevant if BB_SH is enabled. | 243 | // Only relevant if BB_SH is enabled. |
244 | #define BB_FEATURE_SH_COMMAND_EDITING | 244 | #define BB_FEATURE_COMMAND_EDITING |
245 | // | ||
246 | // Enable tab completion in the shell. This is now working quite nicely. | ||
247 | // This feature adds a bit over 4k. Only relevant if BB_SH is enabled. | ||
248 | #define BB_FEATURE_COMMAND_TAB_COMPLETION | ||
249 | // | ||
250 | // Attempts to match usernames in a ~-prefixed path | ||
251 | //#define BB_FEATURE_COMMAND_USERNAME_COMPLETION | ||
245 | // | 252 | // |
246 | //Allow the shell to invoke all the compiled in BusyBox applets as if they | 253 | //Allow the shell to invoke all the compiled in BusyBox applets as if they |
247 | //were shell builtins. Nice for staticly linking an emergency rescue shell, | 254 | //were shell builtins. Nice for staticly linking an emergency rescue shell, |
@@ -258,21 +265,11 @@ | |||
258 | // Only relevant if BB_SH is enabled. | 265 | // Only relevant if BB_SH is enabled. |
259 | #define BB_FEATURE_SH_APPLETS_ALWAYS_WIN | 266 | #define BB_FEATURE_SH_APPLETS_ALWAYS_WIN |
260 | // | 267 | // |
261 | // Enable tab completion in the shell. This is now working quite nicely. | ||
262 | // This feature adds a bit over 4k. Only relevant if BB_SH is enabled. | ||
263 | //#define BB_FEATURE_SH_TAB_COMPLETION | ||
264 | // | ||
265 | // Enable a simpler shell prompt of the form "path #" | ||
266 | // instead of the default "[username@hostname path]#" | ||
267 | // | ||
268 | // Some deeply embedded systems don't have usernames or even hostnames, | 268 | // Some deeply embedded systems don't have usernames or even hostnames, |
269 | // and the default prompt can look rather hideous on them. Uncomment | 269 | // and the default prompt can look rather hideous on them. Uncomment |
270 | // this option for a simpler, path-only prompt (which was the default until | 270 | // this option for a simpler, path-only prompt (which was the default until |
271 | // around BusyBox-0.48): | 271 | // around BusyBox-0.48): |
272 | #define BB_FEATURE_SH_SIMPLE_PROMPT | 272 | #define BB_FEATURE_SIMPLE_PROMPT |
273 | // | ||
274 | // Attempts to match usernames in a ~-prefixed path | ||
275 | //#define BB_FEATURE_SH_USERNAME_COMPLETION | ||
276 | // | 273 | // |
277 | //Turn on extra fbset options | 274 | //Turn on extra fbset options |
278 | //#define BB_FEATURE_FBSET_FANCY | 275 | //#define BB_FEATURE_FBSET_FANCY |
@@ -355,7 +352,7 @@ | |||
355 | #undef BB_MTAB | 352 | #undef BB_MTAB |
356 | #endif | 353 | #endif |
357 | // | 354 | // |
358 | #if defined BB_FEATURE_SH_COMMAND_EDITING && defined BB_SH | 355 | #if defined BB_FEATURE_COMMAND_EDITING && defined BB_SH |
359 | #define BB_CMDEDIT | 356 | #define BB_CMDEDIT |
360 | #endif | 357 | #endif |
361 | // | 358 | // |
@@ -406,7 +403,7 @@ | |||
406 | #define BB_NFSMOUNT | 403 | #define BB_NFSMOUNT |
407 | #endif | 404 | #endif |
408 | // | 405 | // |
409 | #if defined BB_FEATURE_SH_COMMAND_EDITING | 406 | #if defined BB_FEATURE_COMMAND_EDITING |
410 | #ifndef BB_FEATURE_USE_TERMIOS | 407 | #ifndef BB_FEATURE_USE_TERMIOS |
411 | #define BB_FEATURE_USE_TERMIOS | 408 | #define BB_FEATURE_USE_TERMIOS |
412 | #endif | 409 | #endif |