4e23b8a969d8794eec63bc60d8542eeb26ec3a17
[openwrt/staging/yousong.git] / package / busybox / config / libbb / Config.in
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
8 config BUSYBOX_CONFIG_PASSWORD_MINLEN
9 int "Minimum password length"
10 default 6
11 range 5 32
12 help
13 Minimum allowable password length.
14
15 config BUSYBOX_CONFIG_MD5_SIZE_VS_SPEED
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
29 config BUSYBOX_CONFIG_FEATURE_FAST_TOP
30 bool "Faster /proc scanning code (+100 bytes)"
31 default y
32 help
33 This option makes top (and ps) ~20% faster (or 20% less CPU hungry),
34 but code size is slightly bigger.
35
36 config BUSYBOX_CONFIG_FEATURE_ETC_NETWORKS
37 bool "Support for /etc/networks"
38 default n
39 help
40 Enable support for network names in /etc/networks. This is
41 a rarely used feature which allows you to use names
42 instead of IP/mask pairs in route command.
43
44 config BUSYBOX_CONFIG_FEATURE_EDITING
45 bool "Command line editing"
46 default y
47 help
48 Enable line editing (mainly for shell command line).
49
50 config BUSYBOX_CONFIG_FEATURE_EDITING_MAX_LEN
51 int "Maximum length of input"
52 range 128 8192
53 default 512
54 depends on BUSYBOX_CONFIG_FEATURE_EDITING
55 help
56 Line editing code uses on-stack buffers for storage.
57 You may want to decrease this parameter if your target machine
58 benefits from smaller stack usage.
59
60 config BUSYBOX_CONFIG_FEATURE_EDITING_FANCY_KEYS
61 bool "Additional editing keys"
62 default y
63 depends on BUSYBOX_CONFIG_FEATURE_EDITING
64 help
65 Enable additonal editing keys (Ctrl-E, Ctrl-U etc).
66 Arrow keys, Home/End/Delete and Ctrl-W work even without this option.
67
68 config BUSYBOX_CONFIG_FEATURE_EDITING_VI
69 bool "vi-style line editing commands"
70 default n
71 depends on BUSYBOX_CONFIG_FEATURE_EDITING
72 help
73 Enable vi-style line editing. In shells, this mode can be
74 turned on and off with "set -o vi" and "set +o vi".
75
76 config BUSYBOX_CONFIG_FEATURE_EDITING_HISTORY
77 int "History size"
78 range 0 99999
79 default 256
80 depends on BUSYBOX_CONFIG_FEATURE_EDITING
81 help
82 Specify command history size.
83
84 config BUSYBOX_CONFIG_FEATURE_EDITING_SAVEHISTORY
85 bool "History saving"
86 default n
87 depends on BUSYBOX_CONFIG_ASH && BUSYBOX_CONFIG_FEATURE_EDITING
88 help
89 Enable history saving in ash shell.
90
91 config BUSYBOX_CONFIG_FEATURE_TAB_COMPLETION
92 bool "Tab completion"
93 default y
94 depends on BUSYBOX_CONFIG_FEATURE_EDITING
95 help
96 Enable tab completion.
97
98 config BUSYBOX_CONFIG_FEATURE_USERNAME_COMPLETION
99 bool "Username completion"
100 default n
101 depends on BUSYBOX_CONFIG_FEATURE_TAB_COMPLETION
102 help
103 Enable username completion.
104
105 config BUSYBOX_CONFIG_FEATURE_EDITING_FANCY_PROMPT
106 bool "Fancy shell prompts"
107 default y
108 depends on BUSYBOX_CONFIG_FEATURE_EDITING
109 help
110 Setting this option allows for prompts to use things like \w and
111 \$ and escape codes.
112
113 config BUSYBOX_CONFIG_MONOTONIC_SYSCALL
114 bool "Use clock_gettime(CLOCK_MONOTONIC) syscall"
115 default n
116 help
117 Use clock_gettime(CLOCK_MONOTONIC) syscall for measuring
118 time intervals (time, ping, traceroute etc need this).
119 Probably requires Linux 2.6+. If not selected, gettimeofday
120 will be used instead (which gives wrong results if date/time
121 is reset).
122
123 config BUSYBOX_CONFIG_IOCTL_HEX2STR_ERROR
124 bool "Use ioctl names rather than hex values in error messages"
125 default y
126 help
127 Use ioctl names rather than hex values in error messages
128 (e.g. VT_DISALLOCATE rather than 0x5608). If disabled this
129 saves about 1400 bytes.
130 endmenu