From 1f675884f7383fc8fb6dc4c625b7a0c38d3a66a0 Mon Sep 17 00:00:00 2001 From: Sebastian Zagrodzki Date: Mon, 9 Oct 2000 18:22:20 +0000 Subject: [PATCH] - removed unneccessary lines with "echo" from TextConfig output Changed files: SVGATextMode-stmmenu.patch -> 1.1 --- SVGATextMode-stmmenu.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 SVGATextMode-stmmenu.patch diff --git a/SVGATextMode-stmmenu.patch b/SVGATextMode-stmmenu.patch new file mode 100644 index 0000000..c8d99fe --- /dev/null +++ b/SVGATextMode-stmmenu.patch @@ -0,0 +1,20 @@ +--- SVGATextMode-1.10-/STMmenu Fri Nov 17 20:03:37 1995 ++++ SVGATextMode-1.10/STMmenu Mon Oct 9 19:15:44 2000 +@@ -8,7 +8,7 @@ + # + # + +-if [ "_$1" = "_-h" ]; then ++if [ "_$1" = "_-h" -o "_$1" = "_--help" ]; then + echo + echo "\`$0' is a dialog script that will show a menu of all" + echo "SVGATextMode modes that are allowed on your set-up," +@@ -26,7 +26,7 @@ + + STM=/usr/sbin/SVGATextMode + +-ModeDB=`$STM -s | awk '{ printf("%s \"%10s %8s %6s %18s\" "),$1,$3,$5,$7,$9}' ` ++ModeDB=`$STM -s | awk '/Clock:.*Size:.*Refresh:.*/ { printf("%s \"%10s %8s %6s %18s\" "),$1,$3,$5,$7,$9}' ` + + select_mode() { + MODE=`eval "dialog --title 'SVGATextMode: select a TextMode' \ -- 2.44.0