Re: FVWM: Trouble with FvwmCommand / FvwmCommandS (fwd)

From: Jarkko Lietolahti <jappe_at_clinet.fi>
Date: Fri, 30 Apr 1999 19:33:55 +0300 (EEST)

On 30 Apr 1999, Paul D. Smith wrote:

> %% Jarkko Lietolahti <jappe_at_clinet.fi> writes:
>
> jl> I've been trying to get FvwmCommand to work but to no avail.
>
> jl> I load FvwmCommandS from my InitFunction in .fvwm2rc. But it refuses to
> jl> work returning "dead pipe message": "FvwmCommandS: dead pipe".
>
> Are you _sure_ you started as a module, as described in the man page?
>

 Yes, at least i think so. Here's snippet from my .fvrm2rv
AddToFunc InitFvwmCommand "I" Module FvwmCommandS
+ "I" Exec exec $HOME/scripts/focus-link.pl
+ "I" Exec exec $HOME/scripts/focus-Netscape.pl


AddToFunc InitFunction "I" Module FvwmAudio
+ "I" Module FvwmButtons
+ "I" InitFvwmCommand
+ "I" exec rxvt -fn nh10 &
+ "I" exec kohta 10 xscreensaver &
+ "I" exec kohta 5 /home/jappe/bin/xsetroot &

 I did try to replace InitFvwmCommand with Module FvwmCommandS but it
resulted the same.

 Could you send your .fvwm2rc snippet to me? (Just in case ;))

 
> This sounds like what you'd see if you just started it normally. When
> reporting bugs it's always best to cut and paste the problem
> code/text/whatever; in this case please show us your InitFunction. It
> should contain something like:
>
> + "I" Module FvwmCommandS
>
> Note the "Module" here, not "Exec" or similar.
>
> jl> Here's little ptrace from running forced FvwmCommandS 1 1 1 1 1,
>
> You can't do that. You can't invoke a module from the command line like
> that. Modules and FVWM uses pipes to talk to each other; a module
> _MUST_ be spawned by the fvwm program so that these pipes exist
> properly. There's no way to test a module by running it from the
> command line; the error you got is exactly what I'd expect to see.
>

 I know, i known...

> HTH.
>
> --
> -------------------------------------------------------------------------------
> Paul D. Smith <psmith_at_baynetworks.com> Network Management Development
> "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
> -------------------------------------------------------------------------------
> These are my opinions---Nortel Networks takes no responsibility for them.
>

--
jappe_at_iki.fi
--
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 Apr 30 1999 - 11:34:50 BST

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