Upgrade busybox to 1.7.2
[openwrt-10.03/.git] / package / busybox / config / editors / Config.in
index 3c1a320bc375bf09ff8f110f2c60d3939efc69af..6d1f6f2bc4298f511f9e3340616dfde6b747739f 100644 (file)
@@ -12,6 +12,13 @@ config BUSYBOX_CONFIG_AWK
          Awk is used as a pattern scanning and processing language.  This is
          the BusyBox implementation of that programming language.
 
+config BUSYBOX_CONFIG_AWX
+       bool "Enable awx (awk web extension)"
+       default y
+       depends on BUSYBOX_CONFIG_AWK
+       help
+         awx - awk web extension
+
 config BUSYBOX_CONFIG_FEATURE_AWK_MATH
        bool "Enable math functions (requires libm)"
        default y
@@ -20,6 +27,45 @@ config BUSYBOX_CONFIG_FEATURE_AWK_MATH
          Enable math functions of the Awk programming language.
          NOTE: This will require libm to be present for linking.
 
+config BUSYBOX_CONFIG_CMP
+       bool "cmp"
+       default n
+       help
+         cmp is used to compare two files and returns the result
+         to standard output.
+
+config BUSYBOX_CONFIG_DIFF
+       bool "diff"
+       default y
+       help
+         diff compares two files or directories and outputs the
+         differences between them in a form that can be given to
+         the patch command.
+
+config BUSYBOX_CONFIG_FEATURE_DIFF_BINARY
+       bool "Enable checks for binary files"
+       default n
+       depends on BUSYBOX_CONFIG_DIFF
+       help
+         This option enables support for checking for binary files
+         before a comparison is carried out.
+
+config BUSYBOX_CONFIG_FEATURE_DIFF_DIR
+       bool "Enable directory support"
+       default n
+       depends on BUSYBOX_CONFIG_DIFF
+       help
+         This option enables support for directory and subdirectory
+         comparison.
+
+config BUSYBOX_CONFIG_FEATURE_DIFF_MINIMAL
+       bool "Enable -d option to find smaller sets of changes"
+       default n
+       depends on BUSYBOX_CONFIG_DIFF
+       help
+         Enabling this option allows the use of -d to make diff
+         try hard to find the smallest possible set of changes.
+
 config BUSYBOX_CONFIG_ED
        bool "ed"
        default n
@@ -50,6 +96,16 @@ config BUSYBOX_CONFIG_VI
          learning curve.  If you are not already comfortable with 'vi'
          you may wish to use something else.
 
+config BUSYBOX_CONFIG_FEATURE_VI_MAX_LEN
+       int "Maximum line length in vi"
+       range 256 16384
+       default 1024
+       depends on BUSYBOX_CONFIG_VI
+       help
+         vi uses on-stack buffers for intermediate line buffers.
+         You may want to decrease this parameter if your target machine
+         benefits from smaller stack usage.
+
 config BUSYBOX_CONFIG_FEATURE_VI_COLON
        bool "Enable \":\" colon commands (no \"ex\" mode)"
        default y
@@ -127,5 +183,12 @@ config BUSYBOX_CONFIG_FEATURE_VI_OPTIMIZE_CURSOR
          This will make the cursor movement faster, but requires more memory
          and it makes the applet a tiny bit larger.
 
-endmenu
+config BUSYBOX_CONFIG_FEATURE_ALLOW_EXEC
+       bool "Allow vi and awk to execute shell commands"
+       default y
+       depends on BUSYBOX_CONFIG_VI || BUSYBOX_CONFIG_AWK
+       help
+         Enables vi and awk features which allows user to execute
+         shell commands (using system() C call).
 
+endmenu