Re: FVWM: FvwmPerl preprocessing

From: <romildo_at_uber.com.br>
Date: Sat, 13 Sep 2003 22:02:36 -0300

On Sun, Sep 14, 2003 at 03:06:15AM +0300, Mikhael Goikhman wrote:
> On 13 Sep 2003 20:41:57 -0300, romildo_at_uber.com.br wrote:
> > ==========================================================
> > AddToFunc StartFunction
> > + I Module FvwmPerl
> >
> > DestroyFunc .
> > AddToFunc .
> > + I SendToModule FvwmPerl preprocess -c -- $*
> > ==========================================================
> >
> > The . function would preprocess its argument prior
> > to delivering it to Fvwm.
> >
> > When I try the following
> >
> > . Echo %{ $[vp.width] - 100 }%
> >
> > in FvwmConsolde, it does work and I get
> >
> > [FVWM][Echo]: 1300
> >
> > as the output.
> >
> > But if I put that command in my configuration file, it
> > does not work when I restart Fvwm.

Any explanation for this behaviour (works in FvwmConsole only)?

> Make sure FvwmPerl is running when you use "." function.

FvwmPerl is running:

$ ps x | grep FvwmPerl
25356 vc/1 S 0:00 /usr/bin/perl -w /usr/lib/fvwm/2.5.7/FvwmPerl 7 4 none 0 8

> Use ModuleSynchronous, not Module command as suggested in the man page.

Using ModuleSynchronous now:

AddToFunc StartFunction
+ I ModuleSynchronous FvwmPerl

Romildo

--
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 Sat Sep 13 2003 - 20:52:29 BST

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