On 20 June 2010 19:28, Thomas Adam <[email protected]> wrote: > Key q R A Echo $$[numofterms] > > And, as in the above, you need to read the thing backwards, just like FVWM > is doing when it parses the line. So first time around (when it encounters > the keyword "Key") FVWM will expand it out like this: > > Key q R A Echo $[numofterms] > > Then, when the action for the "q" binding is encountered, FVWM still sees to > run: > > Echo $[numofterms] > > ... thus honouring the expansion of $[numofterms] for no matter how many > times you might change this environment variable. > > Is that clear? The trick is to read these things backwards -- and you need > two "$"s -- one for the Echo command, the other for the Key command. > > If you, or anyone else, feels this information needs adding to the man page > or making clearer, *please* send me a patch. It would save me a lot of > time. :)
wowza! thanks. how do i go about adding this information to the man page? i dont know anything about how i would do this. where did you learn about this information? also, is there not a wiki? can this information not go there as well? is the wiki officially part of fvwm? wouldnt it be easier to replace the website with it? M. Treibton
