patch-1.3.94 linux/scripts/Menuconfig
Next file: linux/CREDITS
Previous file: linux/net/ipv4/ipip.c
Back to the patch index
Back to the overall index
- Lines: 76
- Date:
Mon Apr 22 11:11:13 1996
- Orig file:
v1.3.93/linux/scripts/Menuconfig
- Orig date:
Fri Apr 19 10:08:03 1996
diff -u --recursive --new-file v1.3.93/linux/scripts/Menuconfig linux/scripts/Menuconfig
@@ -36,9 +36,9 @@
[ -z "$BASH" ] && { echo "Menuconfig requires bash" 1>&2; exit 1; }
#
-# Cache function definitions
+# Cache function definitions, turn off posix compliance
#
-set -h
+set -h +o posix
@@ -84,7 +84,7 @@
echo -ne "'$2' '[$flag] $1' " >>MCmenu
- echo -e "function $2 () { l_bool '$2' \"\$1\" }\n" >>MCradiolists
+ echo -e "function $2 () { l_bool '$2' \"\$1\" ;}\n" >>MCradiolists
}
#
@@ -109,7 +109,7 @@
echo -ne "'$2' '<$flag> $1' " >>MCmenu
echo -e "
- function $2 () { l_tristate '$2' \"\$1\" }" >>MCradiolists
+ function $2 () { l_tristate '$2' \"\$1\" ;}" >>MCradiolists
fi
}
@@ -147,7 +147,7 @@
echo -ne "'$2' '($x) $1' " >>MCmenu
- echo -e "function $2 () { l_int '$1' '$2' '$3' '$x' }" >>MCradiolists
+ echo -e "function $2 () { l_int '$1' '$2' '$3' '$x' ;}" >>MCradiolists
}
#
@@ -158,7 +158,7 @@
echo -ne "'$2' '($x) $1' " >>MCmenu
- echo -e "function $2 () { l_hex '$1' '$2' '$3' '$x' }" >>MCradiolists
+ echo -e "function $2 () { l_hex '$1' '$2' '$3' '$x' ;}" >>MCradiolists
}
#
@@ -196,7 +196,7 @@
echo -e "
function $firstchoice () \
- { l_choice '$title' \"$choices\" $current }" >>MCradiolists
+ { l_choice '$title' \"$choices\" $current ;}" >>MCradiolists
}
} # END load_functions()
@@ -331,7 +331,7 @@
echo -ne "'$2' '<$flag> $1' " >>MCmenu
- echo -e "function $2 () { l_mod_bool '$2' \"\$1\" }" >>MCradiolists
+ echo -e "function $2 () { l_mod_bool '$2' \"\$1\" ;}" >>MCradiolists
}
#
@@ -1020,7 +1020,7 @@
set_geometry () {
# Some distributions export these with incorrect values
# which can really screw up some ncurses programs.
- unset LINES COLUMNS
+ LINES= COLUMNS=
ROWS=${1:-24} COLS=${2:-80}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this