~On Thu, 10 Sep 1998, Josin Etienne wrote:
> 
> hi,
> 
> i want to ask what is the proper way to use Fvwm variables within
> a shell script for FvwmCommand.  
> 
> Especifically, what about $w ?
> 
> In the shell script i am attaching, in the second if clause,
> i am attempting to use $w, to write a window id to a file.
> 
> I tested the 'Prev' command by itself in FvwmTalk, and it succeeds in writing
> the window id to a file.
> 
> But it does not work from my shell script.  File does not get written.
> (i tried using '$$' and quoting...  -- no luck) 
> 
> BTW, the rest of the script works just fine.  I can toggle back and
> forth between 2 windows in different pages, from the xterms' command line.
> 
> [There must be simpler ways of doing window toggling, 
> but I just wanted to play...]
> 
> - thanks, josin
> 
> _________________________________________________________________________
> In Heaven there will be no DOS, no Intel, and above all, no Bill.
> 
> 
I am not quite sure what you script would do, but...
It looks like you are sending $w evaluated by shell. I think what it
should be single quoted, '$w'.
-----------------------------------------------------
Toshi Isogai    °ë³ÍøÌÀ
KENTEK Information Systems
isogai_at_kentek.com
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu Sep 10 1998 - 15:48:01 BST