File: README.menu

package info (click to toggle)
rxvt 1%3A2.4.5-16
  • links: PTS
  • area: main
  • in suites: slink
  • size: 1,128 kB
  • ctags: 1,296
  • sloc: ansic: 12,852; makefile: 521; sh: 411
file content (55 lines) | stat: -rw-r--r-- 2,014 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
A few examples of constructing menubars for rxvt.  Used in conjuction
with the reference material (refer.html/txt), it should be possible to
piece together some useful menus without too much time.

C-shell users be warned.
Some of the menu items contain bsh/ksh constructs like ${EDITOR:-vi}\r
which will cause your shell to gag.
----------------------------------------------------------------------

example.menu:
	simple menus for Pico and the Shell

jedmenu.sl:
	(almost) self-contained SLang code for loading up a menubar
	for the Jed editor.  It doesn't need terminal.menu,
	but looks a bit better with it.

	Note for JED users:
	    since rxvt provides an escape sequence to override the
	    normal XTerm interpretation of Shift-Insert/Prev/Next,
	    "wmark.sl" (MS-windows-style shift marking) works really
	    well and is a nice bonus for those forced to switch
	    to/from MS-windows

terminal.menu
	common rxvt terminal functions used by the other menus

menu:
	a small shell script to reduce the pain of typing
	echo "ESC]10; ... BEL" for every menubar command.
	It also contains a sample "default" menu at the bottom.

rxvt.menu:
	A nice script that allows a convenient way to have different
	menubars used for rlogin|telnet to a machine.
	Of course to get it to work, you'll need to add your own
	machine names (and remove mine).

	The script is set up so that "rxvt" will be called if the first
	argument to the script does not contain "rxvt".
	So
		rxvt.menu [options]
	is the same as
		rxvt.menu rxvt [options]

	To always have this script act as the front-end for rxvt:
	  1) install the rxvt binary somewhere not in your path
	  2) set the `exe' in menu.script to point to this binary
	     eg,
		exe="/usr/local/X11/rxvt-2.21/rxvt"
		# default program to execute
	  3) have rxvt.menu linked somewhere in your path as `rxvt'
	  4) add all the various machines/menus combinations to
	     rxvt.menu, or else make a separate database and change
	     the `menu' variable in rxvt.menu to suit.