From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from burdell.cc.gatech.edu ([130.207.3.207]) by hawkwind.utcs.utoronto.ca with SMTP id <24018>; Mon, 28 Nov 1994 12:20:00 -0500 Received: from penfold.cc.gatech.edu (arnold@penfold.cc.gatech.edu [130.207.3.249]) by burdell.cc.gatech.edu (8.6.9/8.6.9) with ESMTP id MAA16684 for ; Mon, 28 Nov 1994 12:19:48 -0500 Received: (from arnold@localhost) by penfold.cc.gatech.edu (8.6.9/8.6.9) id MAA26765 for sam-fans@hawkwind.utcs.toronto.edu; Mon, 28 Nov 1994 12:19:46 -0500 Date: Mon, 28 Nov 1994 12:19:46 -0500 From: arnold@cc.gatech.edu (Arnold Robbins) Message-Id: <199411281719.MAA26765@penfold.cc.gatech.edu> To: sam-fans@hawkwind.utcs.toronto.edu Subject: 9menu program available With considerable help from David Hogan, I have written `9menu.' It is like xmenu, in that you provide menu items and commands that go with them on the command line. 9menu pops up a window containing the list of items, and executes the corresponding command when a button is pressed. It was inspired by the GWM blit code's way of starting up remote windows, I wanted something similar to use under 9wm (yes, it exists, and is due to be released RSN. I've been beta-testing it). 9menu allows you to write your own menus and customize the behavior to suit you, without the headaches of a .twmrc or .mwmrc. It is real easy to have one item spawn another, giving a similar effect to pull-right menus. Here is how I use it, one for remote systems, the other for programs I may want to run. Being lazy, I have xterm in both. I still use the 'rxterm' script, but that's mostly for convenience. (This is from my .xinitrc. The -geometry strings are to get 9wm to place the windows iconified.) 9menu -geometry 67x136-4+477 -iconic -popdown -label Remotes \ 'solaria:rxterm solaria.cc.gatech.edu' \ 'burdell:rxterm burdell.cc.gatech.edu' \ 'chrome:rxterm chrome.cc.gatech.edu' \ 'emory:rxterm emory.mathcs.emory.edu' \ 'acme:rxterm acme.gatech.edu' \ 'gnu:rxterm gate.gnu.ai.mit.edu' \ 'xterm:rxterm xterm' \ exit & 9menu -geometry 103x102-3+624 -iconic -popdown -label 'X programs' \ 'xterm:rxterm xterm' \ xtetris xlock '9wm restart:9wm restart' '9wm exit:9wm exit' exit & This isn't as earth-shattering as sam, 9term, or 9wm, but for me, at least, it fills a previously empty hole in the total environment. Oh yes, where to get it: ftp.cc.gatech.edu:/pub/people/arnold/9menu.shar.gz Let me know if there are any questions are problems, I've only tested it under SunOS 4.1.3 with X11R5. Arnold