PATCH: if - elsif - else - endif syntax

2004-04-29 Thread Scott Smedley
Hi all, I had a go at attempting to implement if-elsif-else-endif syntax for FVWM so I can do things like this in my .fvwm2rc file: (Much more intuitive/maintainable than using PipeRead.) if xdpyinfo | /bin/grep -q XINERAMA Echo "dual head system!" Xinerama on XineramaPr

PATCH: if-elsif-else-endif syntax (v2.0)

2005-01-28 Thread Scott Smedley
Hi all, Someone recently asked me about the status of if-syntax in Fvwm. This inspired me to readdress an earlier patch I wrote (which was somewhat limited in scope & a bit buggy) to identify the issues & hack up a robust implementation. This new patch: - ensures there are no race conditions b/w

PATCH: if-elsif-else-endif syntax (v3.0)

2006-06-09 Thread Scott Smedley
Hi all, An updated version of my if-syntax patch that applies cleanly against current CVS is available at: http://members.optusnet.com.au/scottsmedley/fvwm/if.20060609.patch Example usage: http://members.optusnet.com.au/scottsmedley/fvwm/if.example All feedback welcome. SCoTT. :)

Re: PATCH: if-elsif-else-endif syntax (v2.0)

2005-02-01 Thread Uwe Pross
Hi there, On 29 Jan 2005 at 14:26:03 +1100, Scott Smedley wrote: > Further examples are available at: > > http://users.tpg.com.au/users/scottie7/tmp/config.if > > ... > > Any comments/criticism most welcome. Sorry Scott for the delay. A couple of days ago I had some problems accessing http://

Re: PATCH: if-elsif-else-endif syntax (v2.0)

2005-02-01 Thread Scott Smedley
Hi Uwe, :) > I would mostly use it for statemente like > > AddToMenu my_menu > if ! ShellCmd /opt/myprogram > + "My Program menu" Menu my_program_menu > endif > > This should be possible.? Yup, it works no problem. SCoTT. :) -- Visit the official FVWM web page at http://www.fvwm.org/>. To uns

Re: PATCH: if-elsif-else-endif syntax (v2.0)

2005-02-02 Thread Mikhael Goikhman
On 01 Feb 2005 12:41:25 +0100, Uwe Pross wrote: > > On 29 Jan 2005 at 14:26:03 +1100, Scott Smedley wrote: > > > Further examples are available at: > > > > http://users.tpg.com.au/users/scottie7/tmp/config.if > > > > ... > > > > Any comments/criticism most welcome. > > AddToMenu my_menu > if

Re: PATCH: if-elsif-else-endif syntax (v2.0)

2005-02-02 Thread Rafal Bisingier
On Wed, Feb 02, 2005 at 06:42:19PM +, Mikhael Goikhman wrote: > On 01 Feb 2005 12:41:25 +0100, Uwe Pross wrote: > > > > On 29 Jan 2005 at 14:26:03 +1100, Scott Smedley wrote: > > > > > Further examples are available at: > > > > > > http://users.tpg.com.au/users/scottie7/tmp/config.if > > >