Re: FVWM: syntax check

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Sun, 26 Aug 2001 16:08:34 -0400

Randy Bush <randy_at_psg.com> writes:
> how do i get fvwm2 to syntax check my .fvwm2rc and tell me of any errors?

Most, but not all, of the fvwm commands produce errors on stderr
when there are syntax problems. The idea behind this is that this
is a window manager, not an accounting package.

To force an error, try the Style command with the iconbox argument.
There are lots of error checks there. For example:

Style xxx Iconbox junk

produces this error:

[FVWM][CMD_Style]: <<ERROR>> IconBox requires 4 numbers or geometry! Invalid string <junk>.

Where you see that error depends on how Fvwm is started.
I start fvwm using Exceed like this:

nohup fvwm2

so I see the error in $HOME/nohup.out

When on a Solaris machine, I start my X Server like this:

   xinit -- $MONO -nobanner -ar1 200 -ar2 20 2>&1 | tee /tmp/$USER/xinit.out

So I see the errors on my console app and in the file /tmp/$USER/xinit.out

If you still don't know where your errors are going, indicate the
OS/distribution you are using.

-- 
Dan Espen
444 Hoes Lane  Room RRC 1C-214           E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854                     Phone: (732) 699-5570
--
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 Sun Aug 26 2001 - 15:12:26 BST

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