Re: FvwmScript - WriteToFile seems not working

2013-12-11 Thread Dominique Michel
Le Wed, 11 Dec 2013 20:29:22 +0100,
Thomas Funk  a écrit :

> Hi!
> 
> I'm working on a composite configurator with FvwmScript and getting an
> issue with WriteToFile command. It only writes '#end' into the file.

I get the same issue yesterday. I use a Piperead for now. The script is
here:
http://sourceforge.net/p/fvwm-crystal/code/HEAD/tree/fvwm/scripts/PrefVars/PrefVars

The commented out WriteToFile is into Widget 23.

This is with fvwm-2.6.6 from cvs and gentoo.

Dominique

> 
> First I thought I've done something wrong but I do the same as in
> FvwmScript-BaseConfig. So I started a test with FvwmScript-BaseConfig
> and the same happens. Used FVWM is 2.6.5. This happens under Fedora
> 19, too.
> 
> My next thought was something has changed in WriteToFile source since 
> creation of FvwmScript-BaseConfig - 2007-08-07. So I compared the
> code from 2.5.22 and CVS but nothing has changed.
> 
> So, what could be the problem?
> 
> - Thomas -
> 



Re: FvwmScript - WriteToFile seems not working

2013-12-11 Thread Dan Espen
Thomas Funk  writes:

> Hi!
>
> I'm working on a composite configurator with FvwmScript and getting an
> issue with WriteToFile command. It only writes '#end' into the file.
>
> First I thought I've done something wrong but I do the same as in
> FvwmScript-BaseConfig. So I started a test with FvwmScript-BaseConfig
> and the same happens. Used FVWM is 2.6.5. This happens under Fedora 19,
> too.
>
> My next thought was something has changed in WriteToFile source since 
> creation of FvwmScript-BaseConfig - 2007-08-07. So I compared the code 
> from 2.5.22 and CVS but nothing has changed.
>
> So, what could be the problem?

We'd probably have to see the script but you could always resort to
adding printfs in Instructions.c.

Start with determining if it gets NbArg right.
Just seeing #end is an indication that it doesn't
see the args after the filename.


-- 
Dan Espen



FvwmScript - WriteToFile seems not working

2013-12-11 Thread Thomas Funk
Hi!

I'm working on a composite configurator with FvwmScript and getting an
issue with WriteToFile command. It only writes '#end' into the file.

First I thought I've done something wrong but I do the same as in
FvwmScript-BaseConfig. So I started a test with FvwmScript-BaseConfig
and the same happens. Used FVWM is 2.6.5. This happens under Fedora 19,
too.

My next thought was something has changed in WriteToFile source since 
creation of FvwmScript-BaseConfig - 2007-08-07. So I compared the code 
from 2.5.22 and CVS but nothing has changed.

So, what could be the problem?

- Thomas -