Revision: | 1.1 |
Committed: | Mon Nov 24 17:28:08 2003 UTC (20 years, 7 months ago) by pcg |
Branch: | MAIN |
CVS Tags: | rel-7_0, post_menubar_removal, rel-6_2, rel-6_3, rel-6_0, rel-6_1, rel-2_1_0, rel-5_5, rel-5_4, rel-5_7, rel-5_1, rel-5_0, rel-5_3, rel-5_2, rel-4_4, rel-4_6, rel-4_7, rel-5_9, rel-5_8, rel-4_2, rel-4_3, rel-3_7, rel-3_8, rel-3_5, rel-3_4, rel-3_3, rel-3_2, rel-2_8, rel-3_0, rel-4_0, rel-2_4, rel-2_5, rel-2_2, rel-2_3, rel-2_0, rel-4_1, rel-1-9, rel-1-3, rel-1-2, rxvt-2-0, rel-1_9, rel-3_6, rel-2_7, rel-4_8, rel-4_9 |
Log Message: | *** empty log message *** |
# | Content |
---|---|
1 | This example illustrates how several menus could be combined together |
2 | |
3 | command = "[read:example]" |
4 | |
5 | read the file starting at "[menu]" or "[menu:???]" |
6 | and continue until it "[done]" |
7 | |
8 | command = "[read:example;pico]" or "[read:example;shell]" |
9 | |
10 | read the file starting at "[menu:pico]" or "[menu:shell]", |
11 | respectively and continue until "[done:pico]" or [done:shell]", |
12 | respectively. |
13 | |
14 | #------------------------------------------------------------------------- |
15 | |
16 | [menu:pico] |
17 | [clear] |
18 | [title:Pico (%n-%v)] |
19 | |
20 | # a menu for the pico editor |
21 | # mostly a demonstration, I don't know why anyone would need it |
22 | |
23 | # Prior/Next & Home/End are messed up |
24 | <l>^A<r>^E<u>^Y<d>^V |
25 | |
26 | /File/* |
27 | {Insert File}{^R} |
28 | {Save As}{^O} |
29 | {-} |
30 | {Suspend}{^Z} |
31 | {Exit}{^X} |
32 | |
33 | /Edit/* |
34 | {Find}{^W} |
35 | {-} |
36 | {Del Char}{^D} |
37 | {Mark}{^^} |
38 | {Kill Line}{^K} |
39 | {Paste}{^U} |
40 | |
41 | /Basics/* |
42 | {Forward}{^F} |
43 | {Backward}{^B} |
44 | {-} |
45 | {Prev}{^P} |
46 | {Next}{^N} |
47 | {-} |
48 | {Beg-of-Line}{^A} |
49 | {End-of-Line}{^E} |
50 | {-} |
51 | {Prev Page}{^Y} |
52 | {Next Page}{^V} |
53 | |
54 | /Buffer/* |
55 | {Reformat}{^J} |
56 | {Position}{^C} |
57 | {Refresh}{^L} |
58 | {Spell}{^T} |
59 | |
60 | [read:terminal] |
61 | |
62 | /?/* |
63 | {Help}{^G} |
64 | |
65 | [show] |
66 | [done:pico] |
67 | |
68 | #------------------------------------------------------------------------- |
69 | |
70 | [menu:shell] |
71 | [clear] |
72 | [title:shell] |
73 | # [pixmap:name] |
74 | |
75 | # not necessarily useful, but an example of using the rxvt menuBar |
76 | |
77 | # assuming we have ksh with Emacs bindings |
78 | <u>^P<d>^N<r>^F<l>^B |
79 | |
80 | /Programs/* |
81 | {Edit} ${EDITOR:-vi}\r |
82 | {Mail} Mail\r |
83 | {News} slrn\r |
84 | {Rxvt-News} rxvt -e slrn& |
85 | {Commander} mc\r |
86 | |
87 | /Shell/{finger} finger\r |
88 | {.name} invisible label! |
89 | / |
90 | |
91 | [read:terminal] |
92 | [show] |
93 | [done:shell] |
94 | |
95 | #--------------------------------------------------------------------- eof |