Re: FVWM: 2.0.43 dies horribly

From: Charles Hines <chuck_hines_at_VNET.IBM.COM>
Date: Tue, 16 Jul 1996 16:41:45 -0400

>>>>> "Marco" == Marco Mariani <m.mariani_at_imola.nettuno.it> writes:

Marco> Hi all!
Marco> The following worked perfectly under 2.0.40, but kills 2.0.43 horribly.

Marco> AddToFunc RxvtSmall
Marco> + "I" exec rxvt -ls -fat -bg Black -fg White -font -b\&h-lucidatypewriter-medium-*-*-*-12-*-*-*-*-*-*-* -8 -sl 512 &
....
Marco> AddToMenu Rxvt "Rxvt" Title
Marco> + "%small.xpm%" RxvtSmall
....
Marco> Fvwm does not even launch the init function, just exists
Marco> without any message.

Well, although it shouldn't die (and I'll look into that when I get a
chance), you really have a syntax error there. The first entry of the
function belongs on the the AddToFunc line, like so:

AddToFunc RxvtSmall "I" exec rxvt -ls -fat -bg Black -fg White -font -b\&h-lucidatypewriter-medium-*-*-*-12-*-*-*-*-*-*-* -8 -sl 512 &

Or, since those functions are only doing one thing anyways, why not
have the menu items just call the 'exec rxvt' directly instead of a
function call? Or perhaps better, set up a function that takes font
to use as a parameter and have the menu call that passing in the font
size?

Chuck
--
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 Tue Jul 16 1996 - 16:40:19 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:59 BST