> Is there a way to use shell variables in .fvwm2rc ? I'd rather not
> preprocess the file using FvwmM4, since the same user may log in to
> multiple machines, and thus multiple architectures, at
> once. (However, I haven't even figured out how to do *that* yet
> either, so pointers in that direction would also be appreciated.)
Actually, processing with FvwmM4 is ideal for this situation. FvwmM4
predefines an OSTYPE variable so you can choose your paths based on
that. If you want more granularity than that, and have an environment
variable set up for it (call it $ARCH for example), you can do
something like this:
fvwm2 -cmd "FvwmM4 -m4-squote { -m4-equote } -m4-opt -DARCH=$ARCH .fvwm2rc"
> P.S. I'm currently using 2.0.46. Will the same .fvwm2rc files work
> with 2.2, 2.2.2, etc., aside from changing the module paths and
> such?
Mine required only a few minor tweaks when I moved to 2.2 and none for
the move from 2.2 to 2.2.2 except for removing a workaround for a bug
in 2.2 that's fixed in 2.2.2. I haven't tried the 2.3.* yet, but I've
read the manual. I suspect that some tweaking would be necessary
there too, but it doesn't look like anything major. In fact things
appear simple enough that with FvwmM4 you could easily have a .fvwm2rc
that supported both versions.
--
Dave Goldberg
Post: The Mitre Corporation\MS B325\202 Burlington Rd.\Bedford, MA 01730
Phone: 781-271-3887
Email: dsg_at_mitre.org
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri Aug 13 1999 - 08:39:46 BST