FVWM: Re: FVWM question

From: Charles Hines <>
Date: Thu, 14 Dec 1995 11:44:46 -0500

>>>>> "Chuck" == Chuck Thompson <cthomp_at_cs.uiuc.edu> writes:

Chuck> Wasn't beta testing XEmacs enough for you :-)

Apparently not, eh? ;^)

I haven't been doing much of that lately, actually, which I imagine
you noticed from my lack of input to the beta list. Work has been
pretty hectic (and my activities outside of work too) . I apologize
for slacking off there and promise to return to beta testing ASAP...

I'm hoping to upgrade my Linux system very shortly to allow me to do
more work on fvwm and XEmacs at home. I only have about 10Mb to do
development with on my Linux box. Roomy enough for fvwm, but not for
XEmacs (which I obviously can't even install yet due to the space
constraints).

And since I don't have XEmacs there, I do less work on fvwm at home
than I should...

Chuck> You wouldn't happen to know of the existence of a module that
Chuck> allows for dynamic menus ala OpenWindows (i.e. every time you
Chuck> activate the menu it re-reads a configuration file to build up
Chuck> the menu)?

Nope, unfortunately. The way the module system is set up, having
modules deal with the menus is difficult (for instance, someone else
wanted the FvwmButton module to be able to popup menus on the
ButtonPress, which doesn't work and I wasn't able to find an easy
fix). I'd like to try and address this in the future.

Actually, you should be able to do it using a function. Yup - I just
did the following in my .fvwm2rc:

------------------------------------------------------------
Mouse 2 R MC DynamicMenu

AddToMenu DMenu "Dynamic Menu" Title

AddToFunc DynamicMenu "I" DestroyMenu "DMenu"
+ "I" Read .fvwm2rc-dynmenu
+ "I" Popup DMenu
------------------------------------------------------------

So Alt-Control Middle mouse button rereads the .fvwm2rc-dynmenu file
which was just:

------------------------------------------------------------
AddToMenu DMenu "Dynamic Menu" Title
+ "Rlogin" Module FvwmForm Rlogin
------------------------------------------------------------

Then I changed .fvwm2rc-dynmenu to:

------------------------------------------------------------
AddToMenu DMenu "Dynamic Menu" Title
+ "Rlogin" Module FvwmForm Rlogin
+ "QuitVerify" Module FvwmForm QuitVerify
------------------------------------------------------------

And hit Alt-Control Middle again. Changed Immediately.

This sounds like a good thing to add to the FAQ or to the sample rc
file. I'll copy the FVWM mailing list on this reply too, since there
may be others out there who'd like to do this.

Hope I've been of assistance,
(the other) Chuck

ps - An unrelated subject. Someone should put the latest precompiled
linux version of XEmacs out on sunsite so it makes it into the next
round of CDROMs that go out. They all seem to have just lemacs-19.10.
Time to get the Linux community upgraded!

*******************************************************************************
Charles K. Hines <chuck_hines_at_vnet.ibm.com>
IBM Logic Synthesis developer [BooleDozer (TM)]
Martial Arts Instructor [Modern Arnis, Presas Style Filipino Martial Arts]

IBM Internal email: "Go back to sleep, Chuck. You're
  hines_at_cold.fishkill.ibm.com, just havin' a nightmare--of course,
  HINESC at FISHKILL, HINESC at FSHVMFK1 we are still in Hell." Gary Larson
*******************************************************************************
--
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu Dec 14 1995 - 10:45:04 GMT

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