diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-13 11:16:09 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-13 11:16:09 +0000 |
commit | c7497ea31b84eb3261a64a2e1a8e80643c26fd9d (patch) | |
tree | 4bd058053b81d7d6b829ef684d6be298f4a5c04f /Config.in | |
parent | 25b463079d963ae4f482db7ced14d14c28b907b8 (diff) | |
download | busybox-w32-c7497ea31b84eb3261a64a2e1a8e80643c26fd9d.tar.gz busybox-w32-c7497ea31b84eb3261a64a2e1a8e80643c26fd9d.tar.bz2 busybox-w32-c7497ea31b84eb3261a64a2e1a8e80643c26fd9d.zip |
build system: introduce FEATURE_ASSUME_UNICODE
ls: use it. also do G trick. with UNICODE off:
function old new delta
ls_main 843 871 +28
show_color 1 - -1
showdirs 500 497 -3
my_stat 100 97 -3
terminal_width 4 - -4
tabstops 4 - -4
status 122 118 -4
static.dotdir 4 - -4
current_time_t 4 - -4
all_fmt 4 - -4
------------------------------------------------------------------------------
(add/remove: 0/6 grow/shrink: 1/3 up/down: 28/-31) Total: -3 bytes
Also was tested with UNICODE on with glibc.
Diffstat (limited to 'Config.in')
-rw-r--r-- | Config.in | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -21,6 +21,18 @@ config DESKTOP | |||
21 | Select this only if you plan to use busybox on full-blown | 21 | Select this only if you plan to use busybox on full-blown |
22 | desktop machine with common Linux distro, not on an embedded box. | 22 | desktop machine with common Linux distro, not on an embedded box. |
23 | 23 | ||
24 | config FEATURE_ASSUME_UNICODE | ||
25 | bool "Assume that 1:1 char/glyph correspondence is not true" | ||
26 | default n | ||
27 | help | ||
28 | This makes various applets aware that one byte is not | ||
29 | one character on screen. | ||
30 | |||
31 | Busybox aims to eventually work correctly with Unicode displays. | ||
32 | Any older encodings are not guaranteed to work. | ||
33 | Probably by the time when busybox will be fully Unicode-clean, | ||
34 | other encodings will be mainly of historic interest. | ||
35 | |||
24 | choice | 36 | choice |
25 | prompt "Buffer allocation policy" | 37 | prompt "Buffer allocation policy" |
26 | default FEATURE_BUFFERS_USE_MALLOC | 38 | default FEATURE_BUFFERS_USE_MALLOC |