On Thu, 12 Jul 2007, Dominik Vogt wrote:

On Thu, Jul 12, 2007 at 03:41:38PM +1000, Scott Smedley wrote:
I need confirmation I'm not crazy.

This works ok (substitute rxvt for xterm if appropriate):

AddToFunc fn I Exec exec rxvt $*
fn -e sleep 4

this is ok too:

AddToFunc fn3 I Test (x rxvt) Exec exec rxvt $*
fn3 -e sleep 4

but this isn't:

AddToFunc fn2
Test (x rxvt) + I Exec exec rxvt $*
fn2 -e sleep 4

The Test command expands the $* when it is executed.  Try

 Test (x rxvt) + I Exec exec rxvt $$*
                                 ^^^^


It is also possible to use

   - Test (x xterm)  + I Exec exec xterm $*
  ^^^

/Viktor

Reply via email to