The problem is almost certainly the empty arguments being passed to
the exec of the FvwmForm module. I trussed my fvwm2 with the follow
option and I see at the execve line:
4754: fork() (returning as child ...) = 2405
4754: close(23) = 0
4754: close(24) = 0
4754: execve("/blackbird/local/openwin/libexec/fvwm/2.2/FvwmForm", 0xEFFF8AB8, 0xEFFFF398) argc = 14
argc should certainly not be 14. I'm passing FvwmForm one argument,
the name of the form. fvwm2 passes it an addition 6 if I remember
correctly. If I call FvwmForm MyXcmd without the wrapper function
argc shows up as 7 as expected. Since I don't want to waste bandwidth
on the list, if anyone wants the truss outputs, I'll be happy to email
them. Hmm. Better yet, I've put them on my web page:
<URL:
http://world.std.com/~dsg/fvwmform-via-wrapper.txt>
<URL:
http://world.std.com/~dsg/fvwmform-native.txt>
--
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 May 21 1999 - 08:34:17 BST