FVWM: ExitFunction?

From: Andrew Sullivan <ajs_at_keynes.cis.mcmaster.ca>
Date: Wed, 21 Feb 2001 09:59:19 -0500

Hi,

I'm trying to get something to work with ExitFunction, and it's not
happening. I wonder whether I mightn't be doing something wrong.
I've looked for example .fvwm2rc files that use this function, and
haven't had any luck.

I have a shell script that a user wants to move her .forward file out
of the way when she logs in, and move it back when she leaves.
Simple enough; but she always logs in through X, and (of course) I
don't want the script to run every time she closes a shell.

I figured the answer was ExitFunction, since the man page says

        Fvwm also has a special exit function: ExitFunction, exe­
       cuted when exiting or restarting before actually quitting
       or anything else.

But when I run the script, it has no effect. (The script works
otherwise.) Initially I thought there might be an issue with
ExitFunction passing arguments, but that doesn't seem to be the case,
because there are no errors of any kind generated. Here's the call:
 
AddToFunc ExitFunction "I" Exec /home/ajs/moveforward mvback-ni

Any suggestions welcome.

A

-- 
Andrew Sullivan                       |     McMaster University
Research Computing Support, CIS       |   1280 Main Street West
ajs_at_keynes.cis.mcmaster.ca            |       Hamilton, Ontario
+1 905 525 9140 x 27601               |                 L8S 4L8
--
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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Feb 21 2001 - 08:58:33 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:51 BST