FVWM: Minor patch to rc conversion program

From: Bill Oswald <wamo_at_VNET.IBM.COM>
Date: Fri, 14 Feb 1997 16:24:35 -0600 (CST)

Don't know how many folks are using the rc converter but judging by the
number of questions still asked about fvwm1.24r there may still be a
need.

It was missing a conversion for StartsOnDesk and also had a bug in the
WindowListSkip conversion (missing newline. *blush*).

I've attached the patch.

Chuck: can you apply this to 2.0.45? It's been tested.

Thanks,
-Bill

--- fvwmrc_convert.orig Thu Aug 1 14:43:11 1996
+++ fvwmrc_convert Fri Feb 14 16:14:55 1997
_at_@ -23,9 +23,12 @@
 # Originally written by Martin Kraemer <Martin.Kraemer_at_mch.sni.de>
 # Corrected, extended, and modified by Grant McDorman <grant_at_isgtec.com>
 # 24 May 95
-# Addtional corrections and extensions by Bill Oswald <wamo_at_vnet.ibm.com>
+# Additional corrections and extensions by Bill Oswald <wamo_at_vnet.ibm.com>
 # 8 Mar 96 thru 18 Jul 96
 # Minor corrections to make it easier to customize by Charles Hines 08/01/96
+# Added conversion for StartsOnDesk and missing newline in WindowListSkip
+# conversion. Bill Oswald <wamo_at_vnet.ibm.com>
+# 13 Feb 97
 #

 echo "fvwmrc-to-fvwm2rc"
_at_@ -284,7 +287,8 @@
         print $0; next;
 }

-/^[ \t]*WindowListSkip[ \t]*/ { printf "Style %s WindowListSkip", $2; next; }
+/^[ \t]*StartsOnDesk[ \t]*/ { printf "Style %s StartsOnDesk %s\n", $2,
$3; next; }
+/^[ \t]*WindowListSkip[ \t]*/ { printf "Style %s WindowListSkip\n", $2;
next; }
 /^[ \t]*WindowFont[ \t]*/ { print $0; next; }
 /^[ \t]*ClickTime[ \t]*/ { print $0; next; }
 /^[ \t]*OpaqueMove[ \t]*/ { print "OpaqueMoveSize " $2; next; }

--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Fri Feb 14 1997 - 16:26:43 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:00 BST