[EMAIL PROTECTED] writes: > > Hi Dan : > > Could you please expand please ? I understand the principal and use of piped > output but how would you use them in this instance?
Sure. The shell "MyShell": echo "SetEnv MYVAR test" In your .fvwm2rc: PipeRead "MyShell" Exec echo "MYVAR has been set to $$MYVAR" The SetEnv command comes out of piperead to fvwm, where fvwm executes it as an Fvwm command. Check the man page for SetEnv. Then anything Fvwm executes will inherit Fvwm's environment and see the variable. In the echo I used above, I used 2 dollar signs so that the shell would expand MYVAR, otherwise, fvwm expands it. It would work either way. -- Dan Espen E-mail: [EMAIL PROTECTED] -- Visit the official FVWM web page at <URL: http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
