Move start_stop_daemon to debianutils.
[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 montly 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 owership 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 too 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 uses 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_LENGTH
222         bool "length"
223         default n
224         help
225           length is used to print out the length of a specified string.
226
227 config CONFIG_LN
228         bool "ln"
229         default n
230         help
231           ln is used to create hard or soft links between files.
232
233 config CONFIG_LOGNAME
234         bool "logname"
235         default n
236         help
237           logname is used to print the current user's login name.
238
239 config CONFIG_LS
240         bool "ls"
241         default n
242         help
243           ls is used to list the contents of directories.
244
245 config CONFIG_FEATURE_LS_FILETYPES
246         bool "  Enable filetyping options (-p and -F)"
247         default y
248         depends on CONFIG_LS
249         help
250           Enable the ls options (-p and -F).
251
252 config CONFIG_FEATURE_LS_FOLLOWLINKS
253         bool "  Enable symlinks dereferencing (-L)"
254         default y
255         depends on CONFIG_LS
256         help
257           Enable the ls option (-L).
258
259 config CONFIG_FEATURE_LS_RECURSIVE
260         bool "  Enable recursion (-R)"
261         default y
262         depends on CONFIG_LS
263         help
264           Enable the ls option (-R).
265
266 config CONFIG_FEATURE_LS_SORTFILES
267         bool "  Sort the file names"
268         default y
269         depends on CONFIG_LS
270         help
271           Allow ls to sort file names alphabetically.
272
273 config CONFIG_FEATURE_LS_TIMESTAMPS
274         bool "  Show file timestamps"
275         default y
276         depends on CONFIG_LS
277         help
278           Allow ls to display timestamps for files.
279
280 config CONFIG_FEATURE_LS_USERNAME
281         bool "  Show username/groupnames"
282         default y
283         depends on CONFIG_LS
284         help
285           Allow ls to display username/groupname for files.
286
287 config CONFIG_FEATURE_LS_COLOR
288         bool "  Use color to identify file types"
289         default y
290         depends on CONFIG_LS
291         help
292           Allow ls to use color when displaying files.
293
294 config CONFIG_MD5SUM
295         bool "md5sum"
296         default n
297         help
298           md5sum is used to print or check MD5 checksums.
299
300 config CONFIG_MKDIR
301         bool "mkdir"
302         default n
303         help
304           mkdir is used to create directories with the specified names.
305
306 config CONFIG_MKFIFO
307         bool "mkfifo"
308         default n
309         help
310           mkfifo is used to create FIFOs (named pipes).
311           The `mknod' program can also create FIFOs.
312
313 config CONFIG_MKNOD
314         bool "mknod"
315         default n
316         help
317           mknod is used to create FIFOs or block/character special
318           files with the specified names.
319
320 config CONFIG_MV
321         bool "mv"
322         default n
323         help
324           mv is used to move or rename files or directories.
325
326 config CONFIG_OD
327         bool "od"
328         default n
329         help
330           od is used to dump binary files in octal and other formats.
331
332 config CONFIG_PRINTF
333         bool "printf"
334         default n
335         help
336           printf is used to format and print specified strings.
337           It's similar to `echo' except it has more options.
338
339 config CONFIG_PWD
340         bool "pwd"
341         default n
342         help
343           pwd is used to print the current directory.
344
345 config CONFIG_REALPATH
346         bool "realpath"
347         default n
348         help
349           Return the canonicalized absolute pathname.
350           This isnt provided by GNU shellutils, but where else does it belong.
351
352 config CONFIG_RM
353         bool "rm"
354         default n
355         help
356           rm is used to remove files or directories.
357
358 config CONFIG_RMDIR
359         bool "rmdir"
360         default n
361         help
362           rmdir is used to remove empty directories.
363
364 config CONFIG_SHA1SUM
365         bool "sha1sum"
366         default n
367         help
368           Compute and check SHA1 message digest
369
370 config CONFIG_FEATURE_SHA1SUM_CHECK
371         bool "  Enale -c and -w options"
372         default n
373         help
374           Enabling the -c and -w options allow files to be checked
375           against pre-calculated hash values.
376
377 config CONFIG_SLEEP
378         bool "sleep (single integer arg with no suffix)"
379         default n
380         help
381           sleep is used to pause for a specified number of seconds,
382
383 config CONFIG_FEATURE_FANCY_SLEEP
384         bool "  Enable multiple integer args and optional time suffixes"
385         default n
386         depends on CONFIG_SLEEP
387         help
388           Allow sleep to pause for specified minutes, hours, and days.
389
390 config CONFIG_SORT
391         bool "sort"
392         default n
393         help
394           sort is used to sort lines of text in specified files.
395
396 config CONFIG_FEATURE_SORT_REVERSE
397         bool "  Enable reverse sort"
398         default y
399         depends on CONFIG_SORT
400         help
401           Enable the `-r' option that allows sort to sort lines of
402           text in reverse.
403
404 config CONFIG_FEATURE_SORT_UNIQUE
405         bool "  Enable unique sort"
406         default y
407         depends on CONFIG_SORT
408         help
409           Enable the `-u' option that allows sort to only sort lines
410           that are uniq. 
411
412 config CONFIG_STTY
413         bool "stty"
414         default n
415         help
416           stty is used to change and print terminal line settings.
417
418 config CONFIG_SYNC
419         bool "sync"
420         default n
421         help
422           sync is used to flush filesystem buffers.
423
424 config CONFIG_TAIL
425         bool "tail"
426         default n
427         help
428           tail is used to print the last specified number of lines
429           from files.
430
431 config CONFIG_FEATURE_FANCY_TAIL
432         bool "  Enable extra tail options (-c, -q, -s, and -v)"
433         default y
434         depends on CONFIG_TAIL
435         help
436           Enable tail options (-c, -q, -s, and -v).
437
438 config CONFIG_TEE
439         bool "tee"
440         default n
441         help
442           tee is used to read from standard input and write
443           to standard output and files.
444
445 config CONFIG_FEATURE_TEE_USE_BLOCK_IO
446         bool "  Enable block i/o (larger/faster) instead of byte i/o."
447         default n
448         depends on CONFIG_TEE
449         help
450           Enable this option for a faster tee, at expense of size.
451
452 if CONFIG_ASH || CONFIG_HUSH || CONFIG_LASH || CONFIG_MSH
453         config CONFIG_TEST
454                 default y
455         comment "test (forced enabled for use with shell)"
456 endif
457
458 if !CONFIG_ASH && !CONFIG_HUSH && !CONFIG_LASH && !CONFIG_MSH
459     config CONFIG_TEST
460             bool "test"
461             default n
462             help
463               test is used to check file types and compare values,
464               returning an appropriate exit code. The shells (ash
465               and bash have test builtin).
466 endif
467
468 config CONFIG_TOUCH
469         bool "touch"
470         default n
471         help
472           touch is used to create or change the access and/or
473           modification timestamp of specified files.
474
475 config CONFIG_TR
476         bool "tr"
477         default n
478         help
479           tr is used to squeeze, and/or delete characters from standard
480           input, writing to standard output.
481
482 if CONFIG_HUSH || CONFIG_LASH || CONFIG_MSH
483         config CONFIG_TRUE
484                 default y
485         comment "true (forced enabled for use with shell)"
486 endif
487
488 if !CONFIG_HUSH && !CONFIG_LASH && !CONFIG_MSH
489     config CONFIG_TRUE
490             bool "true"
491             default n
492             help
493               true returns an exit code of TRUE (0).
494
495 endif
496
497 config CONFIG_TTY
498         bool "tty"
499         default n
500         help
501           tty is used to print the name of the current terminal to
502           standard output.
503
504 config CONFIG_UNAME
505         bool "uname"
506         default n
507         help
508           uname is used to print system information.
509
510 config CONFIG_UNIQ
511         bool "uniq"
512         default n
513         help
514           uniq is used to remove duplicate lines from a sorted file.
515
516 config CONFIG_USLEEP
517         bool "usleep"
518         default n
519         help
520           usleep is used to pause for a specified number of microseconds.
521
522 config CONFIG_UUDECODE
523         bool "uudecode"
524         default n
525         help
526           uudecode is used to decode a uuencoded file.
527
528 config CONFIG_UUENCODE
529         bool "uuencode"
530         default n
531         help
532           uuencode is used to uuencode a file.
533
534 config CONFIG_WATCH
535         bool "watch"
536         default n
537         help
538           watch is used to execute a program periodically, showing
539           output to the screen.
540
541 config CONFIG_WC
542         bool "wc"
543         default n
544         help
545           wc is used to print the number of bytes, words, and lines,
546           in specified files.
547
548 config CONFIG_WHO
549         bool "who"
550         default n
551         help
552           who is used to show who is logged on.
553
554 config CONFIG_WHOAMI
555         bool "whoami"
556         default n
557         help
558           whoami is used to print the username of the current
559           user id (same as id -un).
560
561 config CONFIG_YES
562         bool "yes"
563         default n
564         help
565           yes is used to repeatedly output a specific string, or
566           the default string `y'.
567
568 comment "Common options for cp and mv"
569     depends on CONFIG_CP || CONFIG_MV
570
571 config CONFIG_FEATURE_PRESERVE_HARDLINKS
572         bool "  Preserve hard links"
573         default n
574         depends on CONFIG_CP || CONFIG_MV
575         help
576           Allow cp and mv to preserve hard links.
577
578 comment "Common options for ls and more"
579     depends on CONFIG_LS || CONFIG_MORE
580
581 config CONFIG_FEATURE_AUTOWIDTH
582         bool "  Calculate terminal & column widths"
583         default n
584         depends on CONFIG_LS || CONFIG_MORE
585         help
586           Allow ls and more to calculate terminal and column widths.
587
588 comment "Common options for df, du, ls"
589     depends on CONFIG_DF || CONFIG_DU || CONFIG_LS
590
591 config CONFIG_FEATURE_HUMAN_READABLE
592         bool "  Support for human readable output (example 13k, 23M, 235G)"
593         default n
594         depends on CONFIG_DF || CONFIG_DU || CONFIG_LS
595         help
596           Allow df, du, and ls to have human readable output.
597
598 endmenu