Re: FVWM: Extracting an Environment Variable from FVWM]

2011-08-26 Thread Thomas Adam
Hi, On Fri, Aug 26, 2011 at 11:08:15AM -0700, msib...@crosswire.com wrote: > Heres the wrapper if anybody is interested. It seems to work. What I was getting at before, was something like this: FvwmCommand -i2 'Test (EnvIsSet FOO) \ SendToModule FvwmCommandS $[FOO]' | awk '$2 ~ string {

Re: FVWM: Extracting an Environment Variable from FVWM]

2011-08-26 Thread msibley
Original Message Subject: RE: FVWM: Extracting an Environment Variable from FVWM From: Date: Fri, August 26, 2011 2:07 pm To: "Thomas Adam" > >> As I said before: I'd rather not have to wrap FvwmCommand. So if there >> is a programatic w

Re: FVWM: Extracting an Environment Variable from FVWM

2011-08-26 Thread Thomas Adam
Hi, On Fri, Aug 26, 2011 at 07:09:35AM -0700, msib...@crosswire.com wrote: > Not a problem so much as a feature. If I can read/write to FVWMs > environment space, I can use it for token passing between scripts. You can -- although be extremely careful here. If you're using variables for state wh

Re: FVWM: Extracting an Environment Variable from FVWM

2011-08-26 Thread msibley
> > > Original Message >Subject: Re: FVWM: Extracting an Environment Variable from FVWM >From: Thomas Adam >Date: Thu, August 25, 2011 2:24 pm >To: msib...@crosswire.com >Cc: fvwm@fvwm.org > >On Thu, Aug 25, 2011 at 11:07:04AM -0700, msib...

Re: FVWM: Extracting an Environment Variable from FVWM

2011-08-25 Thread Thomas Adam
On Thu, Aug 25, 2011 at 11:07:04AM -0700, msib...@crosswire.com wrote: > Howdy, > > I'd like to be able to read FVWM's environment variables from an outside > script. I can set variables with: > > FvwmCommand Foo bar No. You set them with: FvwmCommand 'SetEnv FOO bar' > And can pass through t

FVWM: Extracting an Environment Variable from FVWM

2011-08-25 Thread msibley
Howdy, I'd like to be able to read FVWM's environment variables from an outside script. I can set variables with: FvwmCommand Foo bar And can pass through to another script by doing something like this: FvwmCommand Test (EnvIsSet Foo) Exec somescript $[Foo] But I want to be able to do set/get