blob: 0a3769df2d50f821b40733fa478a29075af533bc [file] [log] [blame]
Rob Landley5cf7c2d2006-02-21 06:44:43 +00001#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6menu "Busybox Library Tuning"
7
Denis Vlasenko7d219aa2006-10-05 10:17:08 +00008config PASSWORD_MINLEN
"Robert P. J. Day"087b9d62006-07-02 18:35:39 +00009 int "Minimum password length"
10 default 6
11 range 5 32
12 help
13 Minimum allowable password length.
14
Denis Vlasenko7d219aa2006-10-05 10:17:08 +000015config MD5_SIZE_VS_SPEED
Rob Landley5cf7c2d2006-02-21 06:44:43 +000016 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 Vlasenko38f63192007-01-22 09:03:07 +000029config FEATURE_EDITING
30 bool "Command line editing"
31 default n
32 help
Denis Vlasenkoe8a07882007-06-10 15:08:44 +000033 Enable line editing (mainly for shell command line).
34
35config 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 Vlasenko38f63192007-01-22 09:03:07 +000044
45config 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
53config 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
61config 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
69config 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
76config FEATURE_TAB_COMPLETION
77 bool "Tab completion"
78 default n
79 depends on FEATURE_EDITING
80 help
81 Enable tab completion.
82
83config FEATURE_USERNAME_COMPLETION
84 bool "Username completion"
85 default n
86 depends on FEATURE_TAB_COMPLETION
87 help
88 Enable username completion.
89
90config 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 Vlasenko459be352007-06-17 19:09:05 +000098config 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 Landley5cf7c2d2006-02-21 06:44:43 +0000108endmenu