Rob Landley | 5cf7c2d | 2006-02-21 06:44:43 +0000 | [diff] [blame] | 1 | # |
| 2 | # For a description of the syntax of this configuration file, |
| 3 | # see scripts/kbuild/config-language.txt. |
| 4 | # |
| 5 | |
| 6 | menu "Busybox Library Tuning" |
| 7 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 8 | config PASSWORD_MINLEN |
"Robert P. J. Day" | 087b9d6 | 2006-07-02 18:35:39 +0000 | [diff] [blame] | 9 | int "Minimum password length" |
| 10 | default 6 |
| 11 | range 5 32 |
| 12 | help |
| 13 | Minimum allowable password length. |
| 14 | |
Denis Vlasenko | 7d219aa | 2006-10-05 10:17:08 +0000 | [diff] [blame] | 15 | config MD5_SIZE_VS_SPEED |
Rob Landley | 5cf7c2d | 2006-02-21 06:44:43 +0000 | [diff] [blame] | 16 | int " MD5: Trade Bytes for Speed" |
| 17 | default 2 |
| 18 | range 0 3 |
| 19 | help |
| 20 | Trade binary size versus speed for the md5sum algorithm. |
| 21 | Approximate values running uClibc and hashing |
| 22 | linux-2.4.4.tar.bz2 were: |
| 23 | user times (sec) text size (386) |
| 24 | 0 (fastest) 1.1 6144 |
| 25 | 1 1.4 5392 |
| 26 | 2 3.0 5088 |
| 27 | 3 (smallest) 5.1 4912 |
| 28 | |
Denis Vlasenko | 38f6319 | 2007-01-22 09:03:07 +0000 | [diff] [blame] | 29 | config FEATURE_EDITING |
| 30 | bool "Command line editing" |
| 31 | default n |
| 32 | help |
Denis Vlasenko | e8a0788 | 2007-06-10 15:08:44 +0000 | [diff] [blame] | 33 | Enable line editing (mainly for shell command line). |
| 34 | |
| 35 | config FEATURE_EDITING_MAX_LEN |
| 36 | int "Maximum length of input" |
| 37 | range 128 8192 |
| 38 | default 1024 |
| 39 | depends on FEATURE_EDITING |
| 40 | help |
| 41 | Line editing code uses on-stack buffers for storage. |
| 42 | You may want to decrease this parameter if your target machine |
| 43 | benefits from smaller stack usage. |
Denis Vlasenko | 38f6319 | 2007-01-22 09:03:07 +0000 | [diff] [blame] | 44 | |
| 45 | config FEATURE_EDITING_FANCY_KEYS |
| 46 | bool "Additional editing keys" |
| 47 | default n |
| 48 | depends on FEATURE_EDITING |
| 49 | help |
| 50 | Enable additonal editing keys (Ctrl-E, Ctrl-U etc). |
| 51 | Arrow keys, Home/End/Delete and Ctrl-W work even without this option. |
| 52 | |
| 53 | config FEATURE_EDITING_VI |
| 54 | bool "vi-style line editing commands" |
| 55 | default n |
| 56 | depends on FEATURE_EDITING |
| 57 | help |
| 58 | Enable vi-style line editing. In shells, this mode can be |
| 59 | turned on and off with "set -o vi" and "set +o vi". |
| 60 | |
| 61 | config FEATURE_EDITING_HISTORY |
| 62 | int "History size" |
| 63 | range 0 99999 |
| 64 | default 15 |
| 65 | depends on FEATURE_EDITING |
| 66 | help |
| 67 | Specify command history size. |
| 68 | |
| 69 | config FEATURE_EDITING_SAVEHISTORY |
| 70 | bool "History saving" |
| 71 | default n |
| 72 | depends on ASH && FEATURE_EDITING |
| 73 | help |
| 74 | Enable history saving in ash shell. |
| 75 | |
| 76 | config FEATURE_TAB_COMPLETION |
| 77 | bool "Tab completion" |
| 78 | default n |
| 79 | depends on FEATURE_EDITING |
| 80 | help |
| 81 | Enable tab completion. |
| 82 | |
| 83 | config FEATURE_USERNAME_COMPLETION |
| 84 | bool "Username completion" |
| 85 | default n |
| 86 | depends on FEATURE_TAB_COMPLETION |
| 87 | help |
| 88 | Enable username completion. |
| 89 | |
| 90 | config FEATURE_EDITING_FANCY_PROMPT |
| 91 | bool "Fancy shell prompts" |
| 92 | default n |
| 93 | depends on FEATURE_EDITING |
| 94 | help |
| 95 | Setting this option allows for prompts to use things like \w and |
| 96 | \$ and escape codes. |
| 97 | |
Denis Vlasenko | 459be35 | 2007-06-17 19:09:05 +0000 | [diff] [blame^] | 98 | config MONOTONIC_SYSCALL |
| 99 | bool "Use clock_gettime(CLOCK_MONOTONIC) syscall" |
| 100 | default y |
| 101 | help |
| 102 | Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring |
| 103 | time intervals (time, ping, traceroute etc need this). |
| 104 | Probably requires Linux 2.6+. If not selected, gettimeofday |
| 105 | will be used instead (which gives wrong results if date/time |
| 106 | is reset). |
| 107 | |
Rob Landley | 5cf7c2d | 2006-02-21 06:44:43 +0000 | [diff] [blame] | 108 | endmenu |