[comp.windows.x] menuwm/XMenu on prang

poepping@sei.cmu.edu.UUCP (04/08/87)

Since I received several requests,

Menuwm is now available on prang (128.32.152.59).
Slightly modified XMenu also available.

A short description follows..

Menuwm differs from uwm in two basic ways.
 - XMenu for popup menus.  This means you get deck of cards
	stacking at the cost of flexibility with colors.
	Menu definition syntax (in rc files) has been changed
	to enable you to add new panes to existing menus, or
	add a new menu with multiple panes.
 - Doesn't GRAB the mouse button if 'root' context is specified in a
	 binding.  So, you can have simple buttons go to applications
	 and still bind them to an action on the root window.  It's
	 convenient to have a menu on a shiftless (sic) button on the
	 root window, that way novices can use a simple button to pick
	 window management operations from a menu (this has benn very
	 useful).

Other changes/enhancements/fixes:
 - f.quit pseudo-function to exit menuwm (as posted to net).
 - shell actions are ALWAYS run asynchronously from menuwm..
	This was done to allow processes to 'correctly' run
	asynchronously.  When starting a shell command from uwm,
	if it is put in the background (only way to get asynchronous
	operation), it ignores interrupts, which isn't what you may
	expect.  No need to delve into details here.
 - menuwm uses the default configuration file provided, it doesn't ask
	 you to keep a compiled-in version consistent with the file copy
	 as does uwm. (Bindings.c vs. /usr/new/lib/X/uwm/default.uwmrc).
 - menuwm does provide a small compiled-in default in case it can't find
	any menuwmrc...
 - most all previous reference to uwm are now menuwm...
 - icon_str problems fixed as posted to net.
 - fix icon border width as posted to net.
 - NULL dereference problems have been fixed as posted to net.
 - eliminate bind() conflict. bind --> bind_action (avoid religious
	issues about u/l case).

Changes to XMenu:
 - removed definitions of FAILURE and SUCCESS.  They were different than
	the Xlib definitions, and were NOT used within the library (since
	the addition of XM_FAILURE, etc.
 - XMenuActivate now moves menus to be wholly within parent (if possible).
	Particularly useful with menuwm when you pop up a menu from the
	root window (since there's usually rootwindow space near edges of
	the display) it's convenient to have the whole menu available.

Distribution format:
 - XMenu and menuwm are available in the home directory on prang as XMenu
	and menuwm (surprise).  Both have SCCS and RCS control files for
	all modifications.  menuwm is based on V10R4+ uwm, XMenu is also
	from V10R4+.

Testing:
 - menuwm (with XMenu changes) has been compiled and tested on a MicroVax
	II running Ultrix 1.2 and T2.0-1, and MACH.  It also compiles and
	runs on a SUN 3 running 3.0 and 3.2.

Problems or comments --> poepping@sei.cmu.edu
			 sun!poepping@sei.cmu.edu
mark poepping.
		BTW. kishore, your address was bogus. gatech.gatech.edu
			claimed that it didn't know you.