#
# WINTERP Copyright 1989, 1990, 1991 Hewlett-Packard Company (by Niels Mayer).
# XLISP version 2.1, Copyright (c) 1989, by David Betz.
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
# the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation, and that the name of Hewlett-Packard and David Betz not be
# used in advertising or publicity pertaining to distribution of the software
# without specific, written prior permission.  Hewlett-Packard and David Betz
# make no representations about the suitability of this software for any
# purpose. It is provided "as is" without express or implied warranty.
#

To: uunet!hplabs!hplnpm!winterp@uunet.UU.NET
Subject: FYI... [ WINTERP-based menu server ][ BETA ]
X-Mailer: mh6.6 [ GNU mh-e ]
Date: Wed, 08 May 91 15:50:31 -0700
From: Richard Hess <cimshop!pleione!rhess@uunet.UU.NET>


  The following shar file contains the "beta" release of a WINTERP-based "menu
server" which I've been working on.  The release includes;

  -- a WINTERP src-server patch...  [ new WINTERP primitive ]
  -- initialization and library files for WINTERP...  [ menu server specific ]
  -- a sample app-defaults file for the menu server...
  -- several shell scripts which start/stop/query the menu server...
  -- a GNU Emacs interface to the menu server...  [ plus examples ]
  -- a Perl interface to the menu server...

  The menu server allows the user to create menu's in a "menu cache" and then
pop them up when need by calling the server with the menu's "key".  This
allows for the creation of a collection of re-usable menus for such things as
command menus in GNU emacs or menu driven shell scripts.  Any menu in the
server can be accessed thru either the GNU or Perl interface (you just need to
know the menu's "key").

NOTE:   The menu server currently uses a file-based mechanism [ HACK ] to
	return the menu "pick" to the requestor.  One alternative to this
	might be to incorporate a "SEND" mechanism similar to the one used
	in the TK toolkit developed by John Ousterhout...
					(ouster@sprite.Berkeley.EDU)

Dick...

ps.	it seems to be very responsive, even on my Sun3/60... [ cg4 ]	;-)

+------------------------------------------------------------------------------
WHO:	Richard Hess			CORP:	Consilium
TITLE:	Staff Engineer			VOICE:	[415] 691-6342
    [ X-SWAT Team:  Special Projects ]	USNAIL:	640 Clyde Court
UUCP:	...!uunet!cimshop!rhess			Mountain View, CA 94043
+------------------------------------------------------------------------------

# This shar contains:
# length  mode       name		    notes
# ------ ---------- ---------------------  ------------------------------------
#   2461 -r--r--r-- xmu/server.diff	   diffs to WINTERP src-server code
#   1183 -r--r--r-- xmu/gnu-hooks.lsp	   create GNU hooks in the menu server
#    633 -r--r--r-- xmu/Xmu.ad		   app-defaults file for menu server
#   1802 -r--r--r-- xmu/xmu-cache.lsp	   initialize the menu cache
#   2125 -r-xr-xr-x xmu/bin/xmu		   shell script to talk to menu server
#    637 -r-xr-xr-x xmu/bin/xmu_nuke	   shell script to shutdown the server
#    973 -r-xr-xr-x xmu/bin/xmu_server	   shell script to startup the server
#   1763 -r-xr-xr-x xmu/bin/xmenu.pl	   perl interface to menu server
#   3962 -r--r--r-- xmu/xmu-init.lsp	   WINTERP intialization file
#   5099 -r--r--r-- xmu/xmu-menu.lsp	   the menu server xlisp library
#   8298 -r--r--r-- xmu/GNU/winterp.el	   a variant winterp.el file
#   1068 -r--r--r-- xmu/GNU/xmenu-demo.el  demo:  xmenu-buffer-select
#   3404 -r--r--r-- xmu/GNU/xmenu-lib.el   the "xmenu" elisp library
#    864 -r--r--r-- xmu/GNU/xmu-demo.el	   demo:  xmu-demo
#   3328 -r--r--r-- xmu/GNU/xmu-menu.el	   the "xmu" elisp library
#   3179 -r--r--r-- xmu/GNU/gnus-menus.el  popup menus for GNUS newsreader
#

==============================================================================

Note from Niels:

By default, Motif popup menus select on button 3. If you want the Xmu popup
menus to select on button 1, you might want to set the following resource:

	Xmu*menuPost: <Btn1Down>,<Btn1Up>
