The kernel version being configured will now be displayed in the title
line.
Linus, please add this to any forthcoming 2.0 and 2.1 patches.
...........................................................................
--- linux/scripts/Menuconfig-2.0.23 Sun Sep 15 23:25:49 1996
+++ linux/scripts/Menuconfig Fri Oct 25 16:47:52 1996
@@ -860,11 +860,11 @@
#
# Load config options from a file.
-# Converts all "# OPTION is not set" lines to "OPTION=" lines
+# Converts all "# OPTION is not set" lines to "OPTION=n" lines
#
function load_config_file () {
awk '
- /# .* is not set.*/ { printf("%s=\n", $2) }
+ /# .* is not set.*/ { printf("%s=n\n", $2) }
! /# .* is not set.*/ { print }
' $1 >.tmpconfig
@@ -1119,12 +1119,12 @@
Please enter a hexadecimal value. \
Use the <TAB> key to move from the input field to the buttons below it."
-backtitle="Linux Kernel Configuration"
-
DIALOG="./scripts/lxdialog/lxdialog"
kernel_version="${VERSION}.${PATCHLEVEL}.${SUBLEVEL}"
+backtitle="Linux Kernel v$kernel_version Configuration"
+
trap "cleanup ; rm -f .menuconfig ; exit 1" 1 2 15
@@ -1146,7 +1146,7 @@
echo "#"
echo "# Using defaults found in" $DEFAULTS
echo "#"
- . $DEFAULTS
+ load_config_file $DEFAULTS
else
echo "#"
echo "# No defaults found"
__
William E. Roadcap mailto:roadcapw@cfw.com
TITUS Software ftp://titus.cfw.com/pub
Waynesboro, Va (USA) http://www.cfw.com/~roadcapw