sam-fans - fans of the sam editor
 help / color / mirror / Atom feed
From: arnold@cc.gatech.edu (Arnold Robbins)
To: sam-fans@hawkwind.utcs.toronto.edu
Subject: 9menu program available
Date: Mon, 28 Nov 1994 12:19:46 -0500	[thread overview]
Message-ID: <199411281719.MAA26765@penfold.cc.gatech.edu> (raw)

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



             reply	other threads:[~1994-11-28 17:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-11-28 17:19 Arnold Robbins [this message]
1994-11-29  9:32 Steve_Kilbane
1994-11-29  9:47 Steve_Kilbane

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199411281719.MAA26765@penfold.cc.gatech.edu \
    --to=arnold@cc.gatech.edu \
    --cc=sam-fans@hawkwind.utcs.toronto.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).