applying fix for:
[oweals/busybox.git] / coreutils / 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 "Coreutils"
7
8 config CONFIG_BASENAME
9         bool "basename"
10         default n
11         help
12           basename is used to strip the directory and suffix from filenames,
13           leaving just the filename itself.  Enable this option if you wish
14           to enable the 'basename' utility.
15
16 config CONFIG_CAL
17         bool "cal"
18         default n
19         help
20           cal is used to display a monthly calender.
21
22 config CONFIG_CAT
23         bool "cat"
24         default n
25         help
26           cat is used to concatenate files and print them to the standard
27           output.  Enable this option if you wish to enable the 'cat' utility.
28
29 config CONFIG_CHGRP
30         bool "chgrp"
31         default n
32         help
33           chgrp is used to change the group ownership of files.
34
35 config CONFIG_CHMOD
36         bool "chmod"
37         default n
38         help
39           chmod is used to change the access permission of files.
40
41 config CONFIG_CHOWN
42         bool "chown"
43         default n
44         help
45           chown is used to change the user and/or group ownership
46           of files.
47
48 config CONFIG_CHROOT
49         bool "chroot"
50         default n
51         help
52           chroot is used to change the root directory and run a command.
53           The default command is `/bin/sh'.
54
55 config CONFIG_CMP
56         bool "cmp"
57         default n
58         help
59           cmp is used to compare two files and returns the result
60           to standard output.
61
62 config CONFIG_COMM
63         bool "comm"
64         default n
65         help
66           comm is used to compare two files line by line and return
67           a three-column output.
68
69 config CONFIG_CP
70         bool "cp"
71         default n
72         help
73           cp is used to copy files and directories.
74
75 config CONFIG_CUT
76         bool "cut"
77         default n
78         help
79           cut is used to print selected parts of lines from
80           each file to stdout.
81
82 if CONFIG_WATCH
83         config CONFIG_DATE
84                 default y
85         comment "date (forced enabled for use with watch)"
86 endif
87
88 if !CONFIG_WATCH
89     config CONFIG_DATE
90             bool "date"
91             default n
92             help
93               date is used to set the system date or display the
94               current time in the given format.
95 endif
96
97 config CONFIG_FEATURE_DATE_ISOFMT
98         bool "  Enable ISO date format output (-I)"
99         default y
100         depends on CONFIG_DATE
101         help
102           Enable option (-I) to output an ISO-8601 compliant
103           date/time string.
104
105 config CONFIG_DD
106         bool "dd"
107         default n
108         help
109           dd copies a file (from standard input to standard output,
110           by default) using specific input and output blocksizes,
111           while optionally performing conversions on it.
112
113 config CONFIG_DF
114         bool "df"
115         default n
116         help
117           df reports the amount of disk space used and available
118           on filesystems.
119
120 config CONFIG_DIRNAME
121         bool "dirname"
122         default n
123         help
124           dirname is used to strip a non-directory suffix from
125           a file name.
126
127 config CONFIG_DOS2UNIX
128         bool "dos2unix/unix2dos"
129         default n
130         help
131           dos2unix is used to convert a text file from DOS format to
132           UNIX format, and vice versa.
133
134 config CONFIG_UNIX2DOS
135         bool
136         default y
137         depends on CONFIG_DOS2UNIX
138
139 config CONFIG_DU
140         bool "du (default blocksize of 512 bytes)"
141         default n
142         help
143           du is used to report the amount of disk space used
144           for specified files.
145
146 config CONFIG_FEATURE_DU_DEFALT_BLOCKSIZE_1K
147         bool "  Use a default blocksize of 1024 bytes (1K)"
148         default y
149         depends on CONFIG_DU
150         help
151           Use a blocksize of (1K) instead of the default 512b.
152
153 config CONFIG_ECHO
154         bool "echo (basic SUSv3 version taking no options)"
155         default n
156         help
157           echo is used to print a specified string to stdout.
158
159 config CONFIG_FEATURE_FANCY_ECHO
160         bool "  Enable echo options (-n and -e)"
161         default y
162         depends on CONFIG_ECHO
163         help
164           This adds options (-n and -e) to echo.
165
166 config CONFIG_ENV
167         bool "env"
168         default n
169         help
170           env is used to set an environment variable and run
171           a command; without options it displays the current
172           environment.
173
174 config CONFIG_PRINTENV
175         bool "printenv"
176         default n
177         help
178           printenv is used to print all or part of environment.
179
180 config CONFIG_EXPR
181         bool "expr"
182         default n
183         help
184           expr is used to calculate numbers and print the result
185           to standard output.
186
187 if CONFIG_HUSH || CONFIG_LASH || CONFIG_MSH
188         config CONFIG_FALSE
189                 default y
190         comment "false (forced enabled for use with shell)"
191 endif
192
193 if !CONFIG_HUSH && !CONFIG_LASH && !CONFIG_MSH
194     config CONFIG_FALSE
195             bool "false"
196             default n
197             help
198               false returns an exit code of FALSE (1).
199 endif
200
201 config CONFIG_FOLD
202         bool "fold"
203         default n
204         help
205           Wrap text to fit a specific width.
206
207 config CONFIG_HEAD
208         bool "head"
209         default n
210         help
211           head is used to print the first specified number of lines
212           from files.
213
214 config CONFIG_FEATURE_FANCY_HEAD
215         bool "  Enable head options (-c, -q, and -v)"
216         default n
217         depends on CONFIG_HEAD
218         help
219           This enables the head options (-c, -q, and -v).
220
221 config CONFIG_HOSTID
222         bool "hostid"
223         default n
224         help
225           hostid prints the numeric identifier (in hexadecimal) for
226           the current host.
227
228 config CONFIG_ID
229         bool "id"
230         default n
231         help
232           id displays the current user and group ID names.
233
234 config CONFIG_INSTALL
235         bool "install"
236         default n
237         help
238           Copy files and set attributes.
239
240 config CONFIG_LENGTH
241         bool "length"
242         default n
243         help
244           length is used to print out the length of a specified string.
245
246 config CONFIG_LN
247         bool "ln"
248         default n
249         help
250           ln is used to create hard or soft links between files.
251
252 config CONFIG_LOGNAME
253         bool "logname"
254         default n
255         help
256           logname is used to print the current user's login name.
257
258 config CONFIG_LS
259         bool "ls"
260         default n
261         help
262           ls is used to list the contents of directories.
263
264 config CONFIG_FEATURE_LS_FILETYPES
265         bool "  Enable filetyping options (-p and -F)"
266         default y
267         depends on CONFIG_LS
268         help
269           Enable the ls options (-p and -F).
270
271 config CONFIG_FEATURE_LS_FOLLOWLINKS
272         bool "  Enable symlinks dereferencing (-L)"
273         default y
274         depends on CONFIG_LS
275         help
276           Enable the ls option (-L).
277
278 config CONFIG_FEATURE_LS_RECURSIVE
279         bool "  Enable recursion (-R)"
280         default y
281         depends on CONFIG_LS
282         help
283           Enable the ls option (-R).
284
285 config CONFIG_FEATURE_LS_SORTFILES
286         bool "  Sort the file names"
287         default y
288         depends on CONFIG_LS
289         help
290           Allow ls to sort file names alphabetically.
291
292 config CONFIG_FEATURE_LS_TIMESTAMPS
293         bool "  Show file timestamps"
294         default y
295         depends on CONFIG_LS
296         help
297           Allow ls to display timestamps for files.
298
299 config CONFIG_FEATURE_LS_USERNAME
300         bool "  Show username/groupnames"
301         default y
302         depends on CONFIG_LS
303         help
304           Allow ls to display username/groupname for files.
305
306 config CONFIG_FEATURE_LS_COLOR
307         bool "  Use color to identify file types"
308         default y
309         depends on CONFIG_LS
310         help
311           Allow ls to use color when displaying files.
312
313 config CONFIG_MD5SUM
314         bool "md5sum"
315         default n
316         help
317           md5sum is used to print or check MD5 checksums.
318
319 config CONFIG_MKDIR
320         bool "mkdir"
321         default n
322         help
323           mkdir is used to create directories with the specified names.
324
325 config CONFIG_MKFIFO
326         bool "mkfifo"
327         default n
328         help
329           mkfifo is used to create FIFOs (named pipes).
330           The `mknod' program can also create FIFOs.
331
332 config CONFIG_MKNOD
333         bool "mknod"
334         default n
335         help
336           mknod is used to create FIFOs or block/character special
337           files with the specified names.
338
339 config CONFIG_MV
340         bool "mv"
341         default n
342         help
343           mv is used to move or rename files or directories.
344
345 config CONFIG_NICE
346         bool "nice"
347         default n
348         help
349           nice runs a program with modified scheduling priority.
350
351 config CONFIG_OD
352         bool "od"
353         default n
354         help
355           od is used to dump binary files in octal and other formats.
356
357 config CONFIG_PRINTF
358         bool "printf"
359         default n
360         help
361           printf is used to format and print specified strings.
362           It's similar to `echo' except it has more options.
363
364 config CONFIG_PWD
365         bool "pwd"
366         default n
367         help
368           pwd is used to print the current directory.
369
370 config CONFIG_REALPATH
371         bool "realpath"
372         default n
373         help
374           Return the canonicalized absolute pathname.
375           This isn't provided by GNU shellutils, but where else does it belong.
376
377 config CONFIG_RM
378         bool "rm"
379         default n
380         help
381           rm is used to remove files or directories.
382
383 config CONFIG_RMDIR
384         bool "rmdir"
385         default n
386         help
387           rmdir is used to remove empty directories.
388
389 config CONFIG_SEQ
390         bool "seq"
391         default n
392         help
393           print a sequence of numbers
394
395 config CONFIG_SHA1SUM
396         bool "sha1sum"
397         default n
398         help
399           Compute and check SHA1 message digest
400
401 config CONFIG_SLEEP
402         bool "sleep (single integer arg with no suffix)"
403         default n
404         help
405           sleep is used to pause for a specified number of seconds,
406
407 config CONFIG_FEATURE_FANCY_SLEEP
408         bool "  Enable multiple integer args and optional time suffixes"
409         default n
410         depends on CONFIG_SLEEP
411         help
412           Allow sleep to pause for specified minutes, hours, and days.
413
414 config CONFIG_SORT
415         bool "sort"
416         default n
417         help
418           sort is used to sort lines of text in specified files.
419
420 config CONFIG_SORT_BIG
421         bool "  full SuSv3 compliant sort (Support -ktcsbdfiozgM)"
422         default y
423         depends on CONFIG_SORT
424         help
425           Without this, sort only supports  -r, -u, and an integer version
426           of -n.  Selecting this adds sort keys, floating point support, and
427           more.  This adds a little over 3k to a nonstatic build on x86.
428
429           The SuSv3 sort standard is available at:
430           http://www.opengroup.org/onlinepubs/007904975/utilities/sort.html
431
432 config CONFIG_STAT
433         bool "stat"
434         default n
435         help
436           display file or filesystem status.
437
438 config CONFIG_FEATURE_STAT_FORMAT
439         bool "  Enable custom formats (-c)"
440         default n
441         depends on CONFIG_STAT
442         help
443           Without this, stat will not support the '-c format' option where 
444           users can pass a custom format string for output.  This adds about 
445           7k to a nonstatic build on amd64.
446
447 config CONFIG_STTY
448         bool "stty"
449         default n
450         help
451           stty is used to change and print terminal line settings.
452
453 config CONFIG_SUM
454         bool "sum"
455         default n
456         help
457           checksum and count the blocks in a file
458
459 config CONFIG_SYNC
460         bool "sync"
461         default n
462         help
463           sync is used to flush filesystem buffers.
464
465 config CONFIG_TAIL
466         bool "tail"
467         default n
468         help
469           tail is used to print the last specified number of lines
470           from files.
471
472 config CONFIG_FEATURE_FANCY_TAIL
473         bool "  Enable extra tail options (-q, -s, and -v)"
474         default y
475         depends on CONFIG_TAIL
476         help
477           The options (-q, -s, and -v) are provided by GNU tail, but
478           are not specific in the SUSv3 standard.
479
480 config CONFIG_TEE
481         bool "tee"
482         default n
483         help
484           tee is used to read from standard input and write
485           to standard output and files.
486
487 config CONFIG_FEATURE_TEE_USE_BLOCK_IO
488         bool "  Enable block i/o (larger/faster) instead of byte i/o."
489         default n
490         depends on CONFIG_TEE
491         help
492           Enable this option for a faster tee, at expense of size.
493
494 if CONFIG_ASH || CONFIG_HUSH || CONFIG_LASH || CONFIG_MSH
495         config CONFIG_TEST
496                 default y
497         comment "test (forced enabled for use with shell)"
498 endif
499
500 if !CONFIG_ASH && !CONFIG_HUSH && !CONFIG_LASH && !CONFIG_MSH
501     config CONFIG_TEST
502             bool "test"
503             default n
504             help
505               test is used to check file types and compare values,
506               returning an appropriate exit code. The shells (ash
507               and bash) have test builtin.
508 endif
509
510 config CONFIG_FEATURE_TEST_64
511         bool "  Extend test to 64 bit"
512         default n
513         depends on CONFIG_TEST
514         help
515           Enable 64-bit support in test.
516
517 config CONFIG_TOUCH
518         bool "touch"
519         default n
520         help
521           touch is used to create or change the access and/or
522           modification timestamp of specified files.
523
524 config CONFIG_TR
525         bool "tr"
526         default n
527         help
528           tr is used to squeeze, and/or delete characters from standard
529           input, writing to standard output.
530
531 if CONFIG_HUSH || CONFIG_LASH || CONFIG_MSH
532         config CONFIG_TRUE
533                 default y
534         comment "true (forced enabled for use with shell)"
535 endif
536
537 if !CONFIG_HUSH && !CONFIG_LASH && !CONFIG_MSH
538     config CONFIG_TRUE
539             bool "true"
540             default n
541             help
542               true returns an exit code of TRUE (0).
543
544 endif
545
546 config CONFIG_TTY
547         bool "tty"
548         default n
549         help
550           tty is used to print the name of the current terminal to
551           standard output.
552
553 config CONFIG_UNAME
554         bool "uname"
555         default n
556         help
557           uname is used to print system information.
558
559 config CONFIG_UNIQ
560         bool "uniq"
561         default n
562         help
563           uniq is used to remove duplicate lines from a sorted file.
564
565 config CONFIG_USLEEP
566         bool "usleep"
567         default n
568         help
569           usleep is used to pause for a specified number of microseconds.
570
571 config CONFIG_UUDECODE
572         bool "uudecode"
573         default n
574         help
575           uudecode is used to decode a uuencoded file.
576
577 config CONFIG_UUENCODE
578         bool "uuencode"
579         default n
580         help
581           uuencode is used to uuencode a file.
582
583 config CONFIG_WATCH
584         bool "watch"
585         default n
586         help
587           watch is used to execute a program periodically, showing
588           output to the screen.
589
590 config CONFIG_WC
591         bool "wc"
592         default n
593         help
594           wc is used to print the number of bytes, words, and lines,
595           in specified files.
596
597 config CONFIG_WHO
598         bool "who"
599         default n
600         select CONFIG_FEATURE_UTMP
601         help
602           who is used to show who is logged on.
603
604 config CONFIG_WHOAMI
605         bool "whoami"
606         default n
607         help
608           whoami is used to print the username of the current
609           user id (same as id -un).
610
611 config CONFIG_YES
612         bool "yes"
613         default n
614         help
615           yes is used to repeatedly output a specific string, or
616           the default string `y'.
617
618 comment "Common options for cp and mv"
619     depends on CONFIG_CP || CONFIG_MV
620
621 config CONFIG_FEATURE_PRESERVE_HARDLINKS
622         bool "  Preserve hard links"
623         default n
624         depends on CONFIG_CP || CONFIG_MV
625         help
626           Allow cp and mv to preserve hard links.
627
628 comment "Common options for ls and more"
629         depends on CONFIG_LS || CONFIG_MORE
630
631 config CONFIG_FEATURE_AUTOWIDTH
632         bool "  Calculate terminal & column widths"
633         default y
634         depends on CONFIG_LS || CONFIG_MORE
635         help
636           This option allows utilities such as 'ls' and 'more' to determine the
637           width of the screen, which can allow them to display additional text
638           or avoid wrapping text onto the next line.  If you leave this
639           disabled, your utilities will be especially primitive and will be
640           unable to determine the current screen width.
641
642 comment "Common options for df, du, ls"
643     depends on CONFIG_DF || CONFIG_DU || CONFIG_LS
644
645 config CONFIG_FEATURE_HUMAN_READABLE
646         bool "  Support for human readable output (example 13k, 23M, 235G)"
647         default n
648         depends on CONFIG_DF || CONFIG_DU || CONFIG_LS
649         help
650           Allow df, du, and ls to have human readable output.
651
652 comment "Common options for md5sum, sha1sum"
653     depends on CONFIG_MD5SUM || CONFIG_SHA1SUM
654
655 config CONFIG_FEATURE_MD5_SHA1_SUM_CHECK
656         bool "  Enable -c, -s and -w options"
657         default n
658         depends on CONFIG_MD5SUM || CONFIG_SHA1SUM
659         help
660           Enabling the -c options allows files to be checked
661           against pre-calculated hash values.
662
663           -s and -w are useful options when verifying checksums.
664
665 endmenu