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