ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.7.html
(Generate patch)

Comparing rxvt-unicode/doc/rxvt.7.html (file contents):
Revision 1.31 by root, Mon Jan 2 21:41:51 2006 UTC vs.
Revision 1.54 by root, Tue Jan 31 00:25:16 2006 UTC

22 <li><a href="#values">Values</a></li> 22 <li><a href="#values">Values</a></li>
23 <li><a href="#escape_sequences">Escape Sequences</a></li> 23 <li><a href="#escape_sequences">Escape Sequences</a></li>
24 <li><a href="#csi__command_sequence_introducer__sequences">CSI (Command Sequence Introducer) Sequences</a></li> 24 <li><a href="#csi__command_sequence_introducer__sequences">CSI (Command Sequence Introducer) Sequences</a></li>
25 <li><a href="#dec_private_modes">DEC Private Modes</a></li> 25 <li><a href="#dec_private_modes">DEC Private Modes</a></li>
26 <li><a href="#xterm_operating_system_commands">XTerm Operating System Commands</a></li> 26 <li><a href="#xterm_operating_system_commands">XTerm Operating System Commands</a></li>
27 <li><a href="#menubar">menuBar</a></li>
28 <ul>
29
30 <li><a href="#overview_of_menubar_operation">Overview of menuBar operation</a></li>
31 <li><a href="#commands">Commands</a></li>
32 <li><a href="#adding_and_accessing_menus">Adding and accessing menus</a></li>
33 <li><a href="#removing_menus">Removing menus</a></li>
34 <li><a href="#quick_arrows">Quick Arrows</a></li>
35 <li><a href="#command_summary">Command Summary</a></li>
36 </ul>
37
38 <li><a href="#xpm">XPM</a></li> 27 <li><a href="#xpm">XPM</a></li>
39 <li><a href="#mouse_reporting">Mouse Reporting</a></li> 28 <li><a href="#mouse_reporting">Mouse Reporting</a></li>
40 <li><a href="#key_codes">Key Codes</a></li> 29 <li><a href="#key_codes">Key Codes</a></li>
41 <li><a href="#configure_options">CONFIGURE OPTIONS</a></li> 30 <li><a href="#configure_options">CONFIGURE OPTIONS</a></li>
42 <li><a href="#authors">AUTHORS</a></li> 31 <li><a href="#authors">AUTHORS</a></li>
65</p> 54</p>
66<hr /> 55<hr />
67<h1><a name="description">DESCRIPTION</a></h1> 56<h1><a name="description">DESCRIPTION</a></h1>
68<p>This document contains the FAQ, the RXVT TECHNICAL REFERENCE documenting 57<p>This document contains the FAQ, the RXVT TECHNICAL REFERENCE documenting
69all escape sequences, and other background information.</p> 58all escape sequences, and other background information.</p>
70<p>The newest version of this document is 59<p>The newest version of this document is also available on the World Wide Web at
71also available on the World Wide Web at
72<a href="http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html">http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html</a>.</p> 60<a href="http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html">http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html</a>.</p>
73<p> 61<p>
74</p> 62</p>
75<hr /> 63<hr />
76<h1><a name="frequently_asked_questions">FREQUENTLY ASKED QUESTIONS</a></h1> 64<h1><a name="frequently_asked_questions">FREQUENTLY ASKED QUESTIONS</a></h1>
77<dl> 65<dl>
66<dt><strong><a name="item_the_new_selection_selects_pieces_that_are_too_big_">The new selection selects pieces that are too big, how can I select
67single words?</a></strong><br />
68</dt>
69<dd>
70Yes. For example, if you want to select alphanumeric words, you can use
71the following resource:
72</dd>
73<dd>
74<pre>
75 URxvt.selection.pattern-0: ([[:word:]]+)</pre>
76</dd>
77<dd>
78<p>If you click more than twice, the selection will be extended
79more and more.</p>
80</dd>
81<dd>
82<p>To get a selection that is very similar to the old code, try this pattern:</p>
83</dd>
84<dd>
85<pre>
86 URxvt.selection.pattern-0: ([^&quot;&amp;'()*,;&lt;=&gt;?@[\\\\]^`{|})]+)</pre>
87</dd>
88<dd>
89<p>Please also note that the <em>LeftClick Shift-LeftClik</em> combination also
90selects words like the old code.</p>
91</dd>
92<p></p>
93<dt><strong><a name="item_i_don_27t_like_the_new_selection_2fpopups_2fhotkey">I don't like the new selection/popups/hotkeys/perl, how do I
94change/disable it?</a></strong><br />
95</dt>
96<dd>
97You can disable the perl extension completely by setting the
98<strong>perl-ext-common</strong> resource to the empty string, which also keeps
99rxvt-unicode from initialising perl, saving memory.
100</dd>
101<dd>
102<p>If you only want to disable specific features, you first have to
103identify which perl extension is responsible. For this, read the section
104<strong>PREPACKAGED EXTENSIONS</strong> in the <code>rxvtperl(3)</code> manpage. For
105example, to disable the <strong>selection-popup</strong> and <strong>option-popup</strong>, specify
106this <strong>perl-ext-common</strong> resource:</p>
107</dd>
108<dd>
109<pre>
110 URxvt.perl-ext-common: default,-selection-popup,-option-popup</pre>
111</dd>
112<dd>
113<p>This will keep the default extensions, but disable the two popup
114extensions. Some extensions can also be configured, for example,
115scrollback search mode is triggered by <strong>M-s</strong>. You can move it to any
116other combination either by setting the <strong>searchable-scrollback</strong> resource:</p>
117</dd>
118<dd>
119<pre>
120 URxvt.searchable-scrollback: CM-s</pre>
121</dd>
122<p></p>
123<dt><strong><a name="item_why_doesn_27t_rxvt_2dunicode_read_my_resources_3f">Why doesn't rxvt-unicode read my resources?</a></strong><br />
124</dt>
125<dd>
126Well, why, indeed? It does, in a way very similar to other X
127applications. Most importantly, this means that if you or your OS loads
128resources into the X display (the right way to do it), rxvt-unicode will
129ignore any resource files in your home directory. It will only read
130<em>$HOME/.Xdefaults</em> when no resources are attached to the display.
131</dd>
132<dd>
133<p>If you have or use an <em>$HOME/.Xresources</em> file, chances are that
134resources are loaded into your X-server. In this case, you have to
135re-login after every change (or run <em>xrdb -merge $HOME/.Xresources</em>).</p>
136</dd>
137<dd>
138<p>Also consider the form resources have to use:</p>
139</dd>
140<dd>
141<pre>
142 URxvt.resource: value</pre>
143</dd>
144<dd>
145<p>If you want to use another form (there are lots of different ways of
146specifying resources), make sure you understand wether and why it
147works. If unsure, use the form above.</p>
148</dd>
149<p></p>
150<dt><strong><a name="item_i_can_27t_get_transparency_working_2c_what_am_i_do">I can't get transparency working, what am I doing wrong?</a></strong><br />
151</dt>
152<dd>
153First of all, transparency isn't officially supported in rxvt-unicode, so
154you are mostly on your own. Do not bug the author about it (but you may
155bug everybody else). Also, if you can't get it working consider it a rite
156of passage: ... and you failed.
157</dd>
158<dd>
159<p>Here are four ways to get transparency. <strong>Do</strong> read the manpage and option
160descriptions for the programs mentioned and rxvt-unicode. Really, do it!</p>
161</dd>
162<dd>
163<p>1. Use inheritPixmap:</p>
164</dd>
165<dd>
166<pre>
167 Esetroot wallpaper.jpg
168 rxvt -ip -tint red -sh 40</pre>
169</dd>
170<dd>
171<p>That works. If you think it doesn't, you lack transparency and tinting
172support, or you are unable to read.</p>
173</dd>
174<dd>
175<p>2. Use a simple pixmap and emulate pseudo-transparency. This enables you
176to use effects other than tinting and shading: Just shade/tint/whatever
177your picture with gimp:</p>
178</dd>
179<dd>
180<pre>
181 convert wallpaper.jpg -blur 20x20 -modulate 30 background.xpm
182 rxvt -pixmap background.xpm -pe automove-background</pre>
183</dd>
184<dd>
185<p>That works. If you think it doesn't, you lack XPM and Perl support, or you
186are unable to read.</p>
187</dd>
188<dd>
189<p>3. Use an ARGB visual:</p>
190</dd>
191<dd>
192<pre>
193 rxvt -depth 32 -fg grey90 -bg rgba:0000/0000/4444/cccc</pre>
194</dd>
195<dd>
196<p>This requires XFT support, and the support of your X-server. If that
197doesn't work for you, blame Xorg and Keith Packard. ARGB visuals aren't
198there yet, no matter what they claim. Rxvt-Unicode contains the neccessary
199bugfixes and workarounds for Xft and Xlib to make it work, but that
200doesn't mean that your WM has the required kludges in place.</p>
201</dd>
202<dd>
203<p>4. Use xcompmgr and let it do the job:</p>
204</dd>
205<dd>
206<pre>
207 xprop -frame -f _NET_WM_WINDOW_OPACITY 32c \
208 -set _NET_WM_WINDOW_OPACITY 0xc0000000</pre>
209</dd>
210<dd>
211<p>Then click on a window you want to make transparent. Replace <code>0xc0000000</code>
212by other values to change the degree of opacity. If it doesn't work and
213your server crashes, you got to keep the pieces.</p>
214</dd>
215<p></p>
78<dt><strong><a name="item_isn_27t_rxvt_supposed_to_be_small_3f_don_27t_all_t">Isn't rxvt supposed to be small? Don't all those features bloat?</a></strong><br /> 216<dt><strong><a name="item_isn_27t_rxvt_supposed_to_be_small_3f_don_27t_all_t">Isn't rxvt supposed to be small? Don't all those features bloat?</a></strong><br />
79</dt> 217</dt>
80<dd> 218<dd>
81I often get asked about this, and I think, no, they didn't cause extra 219I often get asked about this, and I think, no, they didn't cause extra
82bloat. If you compare a minimal rxvt and a minimal urxvt, you can see 220bloat. If you compare a minimal rxvt and a minimal urxvt, you can see
120</dd> 258</dd>
121<dd> 259<dd>
122<p>Compared to e.g. Eterm (5112k), aterm (3132k) and xterm (4680k), this 260<p>Compared to e.g. Eterm (5112k), aterm (3132k) and xterm (4680k), this
123still fares rather well. And compared to some monsters like gnome-terminal 261still fares rather well. And compared to some monsters like gnome-terminal
124(21152k + extra 4204k in separate processes) or konsole (22200k + extra 262(21152k + extra 4204k in separate processes) or konsole (22200k + extra
12543180k in daemons that stay around after exit, plus half aminute of 26343180k in daemons that stay around after exit, plus half a minute of
126startup time, including the hundreds of warnings it spits out), it fares 264startup time, including the hundreds of warnings it spits out), it fares
127extremely well *g*.</p> 265extremely well *g*.</p>
128</dd> 266</dd>
129<p></p> 267<p></p>
130<dt><strong><a name="item_why_c_2b_2b_2c_isn_27t_that_unportable_2fbloated_2">Why C++, isn't that unportable/bloated/uncool?</a></strong><br /> 268<dt><strong><a name="item_why_c_2b_2b_2c_isn_27t_that_unportable_2fbloated_2">Why C++, isn't that unportable/bloated/uncool?</a></strong><br />
172</dd> 310</dd>
173<p></p> 311<p></p>
174<dt><strong><a name="item_does_it_support_tabs_2c_can_i_have_a_tabbed_rxvt_2">Does it support tabs, can I have a tabbed rxvt-unicode?</a></strong><br /> 312<dt><strong><a name="item_does_it_support_tabs_2c_can_i_have_a_tabbed_rxvt_2">Does it support tabs, can I have a tabbed rxvt-unicode?</a></strong><br />
175</dt> 313</dt>
176<dd> 314<dd>
177rxvt-unicode does not directly support tabs. It will work fine with 315Beginning with version 7.3, there is a perl extension that implements a
178tabbing functionality of many window managers or similar tabbing programs, 316simple tabbed terminal. It is installed by default, so any of these should
179and its embedding-features allow it to be embedded into other programs, 317give you tabs:
180as witnessed by <em>doc/rxvt-tabbed</em> or the upcoming <code>Gtk2::URxvt</code> perl 318</dd>
181module, which features a tabbed urxvt (murxvt) terminal as an example 319<dd>
182embedding application. 320<pre>
321 rxvt -pe tabbed</pre>
322</dd>
323<dd>
324<pre>
325 URxvt.perl-ext-common: default,tabbed</pre>
326</dd>
327<dd>
328<p>It will also work fine with tabbing functionality of many window managers
329or similar tabbing programs, and its embedding-features allow it to be
330embedded into other programs, as witnessed by <em>doc/rxvt-tabbed</em> or
331the upcoming <code>Gtk2::URxvt</code> perl module, which features a tabbed urxvt
332(murxvt) terminal as an example embedding application.</p>
183</dd> 333</dd>
184<p></p> 334<p></p>
185<dt><strong><a name="item_how_do_i_know_which_rxvt_2dunicode_version_i_27m_u">How do I know which rxvt-unicode version I'm using?</a></strong><br /> 335<dt><strong><a name="item_how_do_i_know_which_rxvt_2dunicode_version_i_27m_u">How do I know which rxvt-unicode version I'm using?</a></strong><br />
186</dt> 336</dt>
187<dd> 337<dd>
193<p></p> 343<p></p>
194<dt><strong><a name="item_i_am_using_debian_gnu_2flinux_and_have_a_problem_2">I am using Debian GNU/Linux and have a problem...</a></strong><br /> 344<dt><strong><a name="item_i_am_using_debian_gnu_2flinux_and_have_a_problem_2">I am using Debian GNU/Linux and have a problem...</a></strong><br />
195</dt> 345</dt>
196<dd> 346<dd>
197The Debian GNU/Linux package of rxvt-unicode in sarge contains large 347The Debian GNU/Linux package of rxvt-unicode in sarge contains large
198patches that considerably change the behaviour of rxvt-unicode. Before 348patches that considerably change the behaviour of rxvt-unicode (but
199reporting a bug to the original rxvt-unicode author please download and 349unfortunately this notice has been removed). Before reporting a bug to
350the original rxvt-unicode author please download and install the genuine
200install the genuine version (<a href="http://software.schmorp.de#rxvt-unicode">http://software.schmorp.de#rxvt-unicode</a>) 351version (<a href="http://software.schmorp.de#rxvt-unicode">http://software.schmorp.de#rxvt-unicode</a>) and try to reproduce
201and try to reproduce the problem. If you cannot, chances are that the 352the problem. If you cannot, chances are that the problems are specific to
202problems are specific to Debian GNU/Linux, in which case it should be 353Debian GNU/Linux, in which case it should be reported via the Debian Bug
203reported via the Debian Bug Tracking System (use <code>reportbug</code> to report 354Tracking System (use <code>reportbug</code> to report the bug).
204the bug).
205</dd> 355</dd>
206<dd> 356<dd>
207<p>For other problems that also affect the Debian package, you can and 357<p>For other problems that also affect the Debian package, you can and
208probably should use the Debian BTS, too, because, after all, it's also a 358probably should use the Debian BTS, too, because, after all, it's also a
209bug in the Debian version and it serves as a reminder for other users that 359bug in the Debian version and it serves as a reminder for other users that
210might encounter the same issue.</p> 360might encounter the same issue.</p>
361</dd>
362<p></p>
363<dt><strong><a name="item_i_am_maintaining_rxvt_2dunicode_for_distribution_2">I am maintaining rxvt-unicode for distribution/OS XXX, any
364recommendation?</a></strong><br />
365</dt>
366<dd>
367You should build one binary with the default options. <em>configure</em>
368now enables most useful options, and the trend goes to making them
369runtime-switchable, too, so there is usually no drawback to enbaling them,
370except higher disk and possibly memory usage. The perl interpreter should
371be enabled, as important functionality (menus, selection, likely more in
372the future) depends on it.
373</dd>
374<dd>
375<p>You should not overwrite the <code>perl-ext-common</code> snd <code>perl-ext</code> resources
376system-wide (except maybe with <code>defaults</code>). This will result in useful
377behaviour. If your distribution aims at low memory, add an empty
378<code>perl-ext-common</code> resource to the app-defaults file. This will keep the
379perl interpreter disabled until the user enables it.</p>
380</dd>
381<dd>
382<p>If you can/want build more binaries, I recommend building a minimal
383one with <code>--disable-everything</code> (very useful) and a maximal one with
384<a href="#item__2d_2denable_2deverything"><code>--enable-everything</code></a> (less useful, it will be very big due to a lot of
385encodings built-in that increase download times and are rarely used).</p>
386</dd>
387<p></p>
388<dt><strong><a name="item_i_need_to_make_it_setuid_2fsetgid_to_support_utmp_">I need to make it setuid/setgid to support utmp/ptys on my OS, is this safe?</a></strong><br />
389</dt>
390<dd>
391It should be, starting with release 7.1. You are encouraged to properly
392install urxvt with privileges necessary for your OS now.
393</dd>
394<dd>
395<p>When rxvt-unicode detects that it runs setuid or setgid, it will fork
396into a helper process for privileged operations (pty handling on some
397systems, utmp/wtmp/lastlog handling on others) and drop privileges
398immediately. This is much safer than most other terminals that keep
399privileges while running (but is more relevant to urxvt, as it contains
400things as perl interpreters, which might be ``helpful'' to attackers).</p>
401</dd>
402<dd>
403<p>This forking is done as the very first within main(), which is very early
404and reduces possible bugs to initialisation code run before main(), or
405things like the dynamic loader of your system, which should result in very
406little risk.</p>
211</dd> 407</dd>
212<p></p> 408<p></p>
213<dt><strong><a name="item_when_i_log_2din_to_another_system_it_tells_me_abou">When I log-in to another system it tells me about missing terminfo data?</a></strong><br /> 409<dt><strong><a name="item_when_i_log_2din_to_another_system_it_tells_me_abou">When I log-in to another system it tells me about missing terminfo data?</a></strong><br />
214</dt> 410</dt>
215<dd> 411<dd>
732You can specify separate locales for the input method and the rest of the 928You can specify separate locales for the input method and the rest of the
733terminal, using the resource <code>imlocale</code>: 929terminal, using the resource <code>imlocale</code>:
734</dd> 930</dd>
735<dd> 931<dd>
736<pre> 932<pre>
737 URxvt*imlocale: ja_JP.EUC-JP</pre> 933 URxvt.imlocale: ja_JP.EUC-JP</pre>
738</dd> 934</dd>
739<dd> 935<dd>
740<p>Now you can start your terminal with <code>LC_CTYPE=ja_JP.UTF-8</code> and still 936<p>Now you can start your terminal with <code>LC_CTYPE=ja_JP.UTF-8</code> and still
741use your input method. Please note, however, that you will not be able to 937use your input method. Please note, however, that you will not be able to
742input characters outside <code>EUC-JP</code> in a normal way then, as your input 938input characters outside <code>EUC-JP</code> in a normal way then, as your input
802<dd> 998<dd>
803Make sure that mouse reporting is actually turned off since killing 999Make sure that mouse reporting is actually turned off since killing
804some editors prematurely may leave the mouse in mouse report mode. I've 1000some editors prematurely may leave the mouse in mouse report mode. I've
805heard that tcsh may use mouse reporting unless it otherwise specified. A 1001heard that tcsh may use mouse reporting unless it otherwise specified. A
806quick check is to see if cut/paste works when the Alt or Shift keys are 1002quick check is to see if cut/paste works when the Alt or Shift keys are
807depressed. See <code>rxvt(7)</code> 1003depressed.
808</dd> 1004</dd>
809<p></p> 1005<p></p>
810<dt><strong><a name="item_what_27s_with_this_bold_2fblink_stuff_3f">What's with this bold/blink stuff?</a></strong><br /> 1006<dt><strong><a name="item_what_27s_with_this_bold_2fblink_stuff_3f">What's with this bold/blink stuff?</a></strong><br />
811</dt> 1007</dt>
812<dd> 1008<dd>
929 # use Backspace = ^? 1125 # use Backspace = ^?
930 $ stty erase ^? 1126 $ stty erase ^?
931 $ rxvt</pre> 1127 $ rxvt</pre>
932</dd> 1128</dd>
933<dd> 1129<dd>
934<p>Toggle with <code>ESC [ 36 h</code> / <code>ESC [ 36 l</code> as documented in rxvt(7).</p> 1130<p>Toggle with <code>ESC [ 36 h</code> / <code>ESC [ 36 l</code>.</p>
935</dd> 1131</dd>
936<dd> 1132<dd>
937<p>For an existing rxvt-unicode:</p> 1133<p>For an existing rxvt-unicode:</p>
938</dd> 1134</dd>
939<dd> 1135<dd>
1090</p> 1286</p>
1091<hr /> 1287<hr />
1092<h1><a name="description">DESCRIPTION</a></h1> 1288<h1><a name="description">DESCRIPTION</a></h1>
1093<p>The rest of this document describes various technical aspects of 1289<p>The rest of this document describes various technical aspects of
1094<strong>rxvt-unicode</strong>. First the description of supported command sequences, 1290<strong>rxvt-unicode</strong>. First the description of supported command sequences,
1095followed by menu and pixmap support and last by a description of all 1291followed by pixmap support and last by a description of all features
1096features selectable at <code>configure</code> time.</p> 1292selectable at <code>configure</code> time.</p>
1097<p> 1293<p>
1098</p> 1294</p>
1099<hr /> 1295<hr />
1100<h1><a name="definitions">Definitions</a></h1> 1296<h1><a name="definitions">Definitions</a></h1>
1101<dl> 1297<dl>
1734</table><dt><strong><a name="item_ps__3d_9_x10_xterm"><strong><code>Ps = 9</code> </strong>&gt; X10 XTerm</a></strong><br /> 1930</table><dt><strong><a name="item_ps__3d_9_x10_xterm"><strong><code>Ps = 9</code> </strong>&gt; X10 XTerm</a></strong><br />
1735</dt> 1931</dt>
1736<table> 1932<table>
1737<tr><td>h</td><td>Send Mouse X & Y on button press.</td></tr> 1933<tr><td>h</td><td>Send Mouse X & Y on button press.</td></tr>
1738<tr><td>l</td><td>No mouse reporting.</td></tr> 1934<tr><td>l</td><td>No mouse reporting.</td></tr>
1739</table><dt><strong><a name="item_10"><strong><code>Ps = 10</code> </strong>&gt; (<strong>rxvt</strong>)</a></strong><br />
1740</dt>
1741<table>
1742<tr><td>h</td><td>menuBar visible</td></tr>
1743<tr><td>l</td><td>menuBar invisible</td></tr>
1744</table><dt><strong><a name="item_ps__3d_25"><strong><code>Ps = 25</code> </strong>&gt;</a></strong><br /> 1935</table><dt><strong><a name="item_ps__3d_25"><strong><code>Ps = 25</code> </strong>&gt;</a></strong><br />
1745</dt> 1936</dt>
1746<table> 1937<table>
1747<tr><td>h</td><td>Visible cursor {cnorm/cvvis}</td></tr> 1938<tr><td>h</td><td>Visible cursor {cnorm/cvvis}</td></tr>
1748<tr><td>l</td><td>Invisible cursor {civis}</td></tr> 1939<tr><td>l</td><td>Invisible cursor {civis}</td></tr>
1859<tr><td>Ps = 10</td><td>Change colour of text foreground to Pt (NB: may change in future)</td></tr> 2050<tr><td>Ps = 10</td><td>Change colour of text foreground to Pt (NB: may change in future)</td></tr>
1860<tr><td>Ps = 11</td><td>Change colour of text background to Pt (NB: may change in future)</td></tr> 2051<tr><td>Ps = 11</td><td>Change colour of text background to Pt (NB: may change in future)</td></tr>
1861<tr><td>Ps = 12</td><td>Change colour of text cursor foreground to Pt</td></tr> 2052<tr><td>Ps = 12</td><td>Change colour of text cursor foreground to Pt</td></tr>
1862<tr><td>Ps = 13</td><td>Change colour of mouse foreground to Pt</td></tr> 2053<tr><td>Ps = 13</td><td>Change colour of mouse foreground to Pt</td></tr>
1863<tr><td>Ps = 17</td><td>Change colour of highlight characters to Pt</td></tr> 2054<tr><td>Ps = 17</td><td>Change colour of highlight characters to Pt</td></tr>
1864<tr><td>Ps = 18</td><td>Change colour of bold characters to Pt</td></tr> 2055<tr><td>Ps = 18</td><td>Change colour of bold characters to Pt [deprecated, see 706]</td></tr>
1865<tr><td>Ps = 19</td><td>Change colour of underlined characters to Pt</td></tr> 2056<tr><td>Ps = 19</td><td>Change colour of underlined characters to Pt [deprecated, see 707]</td></tr>
1866<tr><td>Ps = 20</td><td>Change default background to Pt</td></tr> 2057<tr><td>Ps = 20</td><td>Change background pixmap parameters (see section XPM) (Compile XPM).</td></tr>
1867<tr><td>Ps = 39</td><td>Change default foreground colour to Pt.</td></tr> 2058<tr><td>Ps = 39</td><td>Change default foreground colour to Pt.</td></tr>
1868<tr><td>Ps = 46</td><td>Change Log File to Pt unimplemented</td></tr> 2059<tr><td>Ps = 46</td><td>Change Log File to Pt unimplemented</td></tr>
1869<tr><td>Ps = 49</td><td>Change default background colour to Pt.</td></tr> 2060<tr><td>Ps = 49</td><td>Change default background colour to Pt.</td></tr>
1870<tr><td>Ps = 50</td><td>Set fontset to Pt, with the following special values of Pt (rxvt) #+n change up n #-n change down n if n is missing of 0, a value of 1 is used empty change to font0 n change to font n</td></tr> 2061<tr><td>Ps = 50</td><td>Set fontset to Pt, with the following special values of Pt (rxvt) #+n change up n #-n change down n if n is missing of 0, a value of 1 is used empty change to font0 n change to font n</td></tr>
1871<tr><td>Ps = 55</td><td>Log all scrollback buffer and all of screen to Pt</td></tr> 2062<tr><td>Ps = 55</td><td>Log all scrollback buffer and all of screen to Pt</td></tr>
1872<tr><td>Ps = 701</td><td>Change current locale to Pt, or, if Pt is ?, return the current locale (Compile frills).</td></tr> 2063<tr><td>Ps = 701</td><td>Change current locale to Pt, or, if Pt is ?, return the current locale (Compile frills).</td></tr>
1873<tr><td>Ps = 703</td><td>Menubar command Pt (Compile menubar).</td></tr> 2064<tr><td>Ps = 702</td><td>Request version if Pt is ?, returning rxvt-unicode, the resource name, the major and minor version numbers, e.g. ESC ] 702 ; rxvt-unicode ; urxvt ; 7 ; 4 ST.</td></tr>
1874<tr><td>Ps = 704</td><td>Change colour of italic characters to Pt</td></tr> 2065<tr><td>Ps = 704</td><td>Change colour of italic characters to Pt</td></tr>
1875<tr><td>Ps = 705</td><td>Change background pixmap tint colour to Pt (Compile transparency).</td></tr> 2066<tr><td>Ps = 705</td><td>Change background pixmap tint colour to Pt (Compile transparency).</td></tr>
2067<tr><td>Ps = 706</td><td>Change colour of bold characters to Pt</td></tr>
2068<tr><td>Ps = 707</td><td>Change colour of underlined characters to Pt</td></tr>
1876<tr><td>Ps = 710</td><td>Set normal fontset to Pt. Same as Ps = 50.</td></tr> 2069<tr><td>Ps = 710</td><td>Set normal fontset to Pt. Same as Ps = 50.</td></tr>
1877<tr><td>Ps = 711</td><td>Set bold fontset to Pt. Similar to Ps = 50 (Compile styles).</td></tr> 2070<tr><td>Ps = 711</td><td>Set bold fontset to Pt. Similar to Ps = 50 (Compile styles).</td></tr>
1878<tr><td>Ps = 712</td><td>Set italic fontset to Pt. Similar to Ps = 50 (Compile styles).</td></tr> 2071<tr><td>Ps = 712</td><td>Set italic fontset to Pt. Similar to Ps = 50 (Compile styles).</td></tr>
1879<tr><td>Ps = 713</td><td>Set bold-italic fontset to Pt. Similar to Ps = 50 (Compile styles).</td></tr> 2072<tr><td>Ps = 713</td><td>Set bold-italic fontset to Pt. Similar to Ps = 50 (Compile styles).</td></tr>
1880<tr><td>Ps = 720</td><td>Move viewing window up by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills).</td></tr> 2073<tr><td>Ps = 720</td><td>Move viewing window up by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills).</td></tr>
1881<tr><td>Ps = 721</td><td>Move viewing window down by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills).</td></tr> 2074<tr><td>Ps = 721</td><td>Move viewing window down by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills).</td></tr>
2075<tr><td>Ps = 777</td><td>Call the perl extension with the given string, which should be of the form extension:parameters (Compile perl).</td></tr>
1882</table><p></p></dl> 2076</table><p></p></dl>
1883<p></p> 2077<p></p>
1884<p>
1885</p>
1886<hr />
1887<h1><a name="menubar">menuBar</a></h1>
1888<p><strong>The exact syntax used is <em>almost</em> solidified. </strong>&gt;
1889In the menus, <strong>DON'T</strong> try to use menuBar commands that add or remove a
1890menuBar.</p>
1891<p>Note that in all of the commands, the <strong><em>/path/</em> </strong>&gt; <em>cannot</em> be
1892omitted: use <strong>./</strong> to specify a menu relative to the current menu.</p>
1893<p>
1894</p>
1895<h2><a name="overview_of_menubar_operation">Overview of menuBar operation</a></h2>
1896<p>For the menuBar XTerm escape sequence <code>ESC ] 703 ; Pt ST</code>, the syntax
1897of <a href="#item_pt"><code>Pt</code></a> can be used for a variety of tasks:</p>
1898<p>At the top level is the current menuBar which is a member of a circular
1899linked-list of other such menuBars.</p>
1900<p>The menuBar acts as a parent for the various drop-down menus, which in
1901turn, may have labels, separator lines, menuItems and subMenus.</p>
1902<p>The menuItems are the useful bits: you can use them to mimic keyboard
1903input or even to send text or escape sequences back to rxvt.</p>
1904<p>The menuBar syntax is intended to provide a simple yet robust method of
1905constructing and manipulating menus and navigating through the
1906menuBars.</p>
1907<p>The first step is to use the tag <strong>[menu:<em>name</em>] </strong>&gt; which creates
1908the menuBar called <em>name</em> and allows access. You may now or menus,
1909subMenus, and menuItems. Finally, use the tag <strong>[done]</strong> to set the
1910menuBar access as <strong>readonly</strong> to prevent accidental corruption of the
1911menus. To re-access the current menuBar for alterations, use the tag
1912<strong>[menu]</strong>, make the alterations and then use <strong>[done]</strong></p>
1913<p></p>
1914<p>
1915</p>
1916<h2><a name="commands">Commands</a></h2>
1917<dl>
1918<dt><strong><a name="item__5bmenu_3a_2bname_5d"><strong>[menu:+<em>name</em>] </strong>&gt;</a></strong><br />
1919</dt>
1920<dd>
1921access the named menuBar for creation or alteration. If a new menuBar
1922is created, it is called <em>name</em> (max of 15 chars) and the current
1923menuBar is pushed onto the stack
1924</dd>
1925<p></p>
1926<dt><strong><a name="item__5bmenu_5d"><strong>[menu]</strong></a></strong><br />
1927</dt>
1928<dd>
1929access the current menuBar for alteration
1930</dd>
1931<p></p>
1932<dt><strong><a name="item__5btitle_3a_2bstring_5d"><strong>[title:+<em>string</em>] </strong>&gt;</a></strong><br />
1933</dt>
1934<dd>
1935set the current menuBar's title to <em>string</em>, which may contain the
1936following format specifiers:
1937</dd>
1938<dd>
1939<pre>
1940 B&lt;%n&gt; rxvt name (as per the B&lt;-name&gt; command-line option)
1941 B&lt;%v&gt; rxvt version
1942 B&lt;%%&gt; literal B&lt;%&gt; character</pre>
1943</dd>
1944<p></p>
1945<dt><strong><a name="item__5bdone_5d"><strong>[done]</strong></a></strong><br />
1946</dt>
1947<dd>
1948set menuBar access as <strong>readonly</strong>.
1949End-of-file tag for <strong>[read:+<em>file</em>] </strong>&gt; operations.
1950</dd>
1951<p></p>
1952<dt><strong><a name="item__5bread_3a_2bfile_5d"><strong>[read:+<em>file</em>] </strong>&gt;</a></strong><br />
1953</dt>
1954<dd>
1955read menu commands directly from <em>file</em> (extension ``.menu'' will be
1956appended if required.) Start reading at a line with <strong>[menu]</strong> or <strong>&lt;
1957[menu:+<em>name</em> </strong>&gt; and continuing until <strong>[done]</strong> is encountered.
1958</dd>
1959<dd>
1960<p>Blank and comment lines (starting with <strong>#</strong>) are ignored. Actually,
1961since any invalid menu commands are also ignored, almost anything could
1962be construed as a comment line, but this may be tightened up in the
1963future ... so don't count on it!.</p>
1964</dd>
1965<p></p>
1966<dt><strong><a name="item__5bread_3a_2bfile_3b_2bname_5d"><strong>[read:+<em>file</em>;+<em>name</em>] </strong>&gt;</a></strong><br />
1967</dt>
1968<dd>
1969The same as <strong>[read:+<em>file</em>] </strong>&gt;, but start reading at a line with
1970<strong>[menu:+<em>name</em>] </strong>&gt; and continuing until <strong>[done:+<em>name</em>] </strong>&gt; or
1971<strong>[done]</strong> is encountered.
1972</dd>
1973<p></p>
1974<dt><strong><a name="item__5bdump_5d"><strong>[dump]</strong></a></strong><br />
1975</dt>
1976<dd>
1977dump all menuBars to the file <strong>/tmp/rxvt-PID</strong> in a format suitable for
1978later rereading.
1979</dd>
1980<p></p>
1981<dt><strong><a name="item__5brm_3aname_5d"><strong>[rm:name]</strong></a></strong><br />
1982</dt>
1983<dd>
1984remove the named menuBar
1985</dd>
1986<p></p>
1987<dt><strong><a name="item__5brm_5d__5brm_3a_5d"><strong>[rm] [rm:]</strong></a></strong><br />
1988</dt>
1989<dd>
1990remove the current menuBar
1991</dd>
1992<p></p>
1993<dt><strong><a name="item__5brm_2a_5d__5brm_3a_2a_5d"><strong>[rm*] [rm:*]</strong></a></strong><br />
1994</dt>
1995<dd>
1996remove all menuBars
1997</dd>
1998<p></p>
1999<dt><strong><a name="item__5bswap_5d"><strong>[swap]</strong></a></strong><br />
2000</dt>
2001<dd>
2002swap the top two menuBars
2003</dd>
2004<p></p>
2005<dt><strong><a name="item__5bprev_5d"><strong>[prev]</strong></a></strong><br />
2006</dt>
2007<dd>
2008access the previous menuBar
2009</dd>
2010<p></p>
2011<dt><strong><a name="item__5bnext_5d"><strong>[next]</strong></a></strong><br />
2012</dt>
2013<dd>
2014access the next menuBar
2015</dd>
2016<p></p>
2017<dt><strong><a name="item__5bshow_5d"><strong>[show]</strong></a></strong><br />
2018</dt>
2019<dd>
2020Enable display of the menuBar
2021</dd>
2022<p></p>
2023<dt><strong><a name="item__5bhide_5d"><strong>[hide]</strong></a></strong><br />
2024</dt>
2025<dd>
2026Disable display of the menuBar
2027</dd>
2028<p></p>
2029<dt><strong><a name="item__5bpixmap_3a_2bname_5d"><strong>[pixmap:+<em>name</em>] </strong>&gt;</a></strong><br />
2030</dt>
2031<dt><strong><a name="item__5bpixmap_3a_2bname_3bscaling_5d"><strong>[pixmap:+<em>name</em>;<em>scaling</em>] </strong>&gt;</a></strong><br />
2032</dt>
2033<dd>
2034(set the background pixmap globally
2035</dd>
2036<dd>
2037<p><strong>A Future implementation <em>may</em> make this local to the menubar </strong>&gt;)</p>
2038</dd>
2039<p></p>
2040<dt><strong><a name="item__5b_3a_2bcommand_3a_5d"><strong>[:+<em>command</em>:] </strong>&gt;</a></strong><br />
2041</dt>
2042<dd>
2043ignore the menu readonly status and issue a <em>command</em> to or a menu or
2044menuitem or change the ; a useful shortcut for setting the quick arrows
2045from a menuBar.
2046</dd>
2047<p></p></dl>
2048<p></p>
2049<p>
2050</p>
2051<h2><a name="adding_and_accessing_menus">Adding and accessing menus</a></h2>
2052<p>The following commands may also be <strong>+</strong> prefixed.</p>
2053<dl>
2054<dt><strong><a name="item__2f_2b"><strong>/+</strong></a></strong><br />
2055</dt>
2056<dd>
2057access menuBar top level
2058</dd>
2059<p></p>
2060<dt><strong><a name="item__2e_2f_2b"><strong>./+</strong></a></strong><br />
2061</dt>
2062<dd>
2063access current menu level
2064</dd>
2065<p></p>
2066<dt><strong><a name="item__2e_2e_2f_2b"><strong>../+</strong></a></strong><br />
2067</dt>
2068<dd>
2069access parent menu (1 level up)
2070</dd>
2071<p></p>
2072<dt><strong><a name="item__2e_2e_2f_2e_2e_2f"><strong>../../</strong></a></strong><br />
2073</dt>
2074<dd>
2075access parent menu (multiple levels up)
2076</dd>
2077<p></p>
2078<dt><strong><a name="item__2fpath_2fmenu"><strong><em>/path/</em>menu </strong>&gt;</a></strong><br />
2079</dt>
2080<dd>
2081add/access menu
2082</dd>
2083<p></p>
2084<dt><strong><a name="item__2fpath_2fmenu_2f_2a"><strong><em>/path/</em>menu/* </strong>&gt;</a></strong><br />
2085</dt>
2086<dd>
2087add/access menu and clear it if it exists
2088</dd>
2089<p></p>
2090<dt><strong><a name="item__2fpath_2f_7b_2d_7d"><strong><em>/path/</em>{-} </strong>&gt;</a></strong><br />
2091</dt>
2092<dd>
2093add separator
2094</dd>
2095<p></p>
2096<dt><strong><a name="item__2fpath_2f_7bitem_7d"><strong><em>/path/</em>{item} </strong>&gt;</a></strong><br />
2097</dt>
2098<dd>
2099add <strong>item</strong> as a label
2100</dd>
2101<p></p>
2102<dt><strong><a name="item__2fpath_2f_7bitem_7d_action"><strong><em>/path/</em>{item} action </strong>&gt;</a></strong><br />
2103</dt>
2104<dd>
2105add/alter <em>menuitem</em> with an associated <em>action</em>
2106</dd>
2107<p></p>
2108<dt><strong><a name="item__2fpath_2f_7bitem_7d_7bright_2dtext_7d"><strong><em>/path/</em>{item}{right-text} </strong>&gt;</a></strong><br />
2109</dt>
2110<dd>
2111add/alter <em>menuitem</em> with <strong>right-text</strong> as the right-justified text
2112and as the associated <em>action</em>
2113</dd>
2114<p></p>
2115<dt><strong><a name="item__2fpath_2f_7bitem_7d_7brtext_7d_action"><strong><em>/path/</em>{item}{rtext} action </strong>&gt;</a></strong><br />
2116</dt>
2117<dd>
2118add/alter <em>menuitem</em> with an associated <em>action</em> and with <strong>rtext</strong> as
2119the right-justified text.
2120</dd>
2121<p></p></dl>
2122<dl>
2123<dt><strong><a name="item_special_characters_in_action_must_be_backslash_2de">Special characters in <em>action</em> must be backslash-escaped:</a></strong><br />
2124</dt>
2125<dd>
2126<strong>\a \b \E \e \n \r \t \octal</strong>
2127</dd>
2128<p></p>
2129<dt><strong><a name="item_or_in_control_2dcharacter_notation_3a">or in control-character notation:</a></strong><br />
2130</dt>
2131<dd>
2132<strong>^@, ^A .. ^Z .. ^_, ^?</strong>
2133</dd>
2134<p></p></dl>
2135<p>To send a string starting with a <strong>NUL</strong> (<strong>^@</strong>) character to the
2136program, start <em>action</em> with a pair of <strong>NUL</strong> characters (<strong>^@^@</strong>),
2137the first of which will be stripped off and the balance directed to the
2138program. Otherwise if <em>action</em> begins with <strong>NUL</strong> followed by
2139non-+<strong>NUL</strong> characters, the leading <strong>NUL</strong> is stripped off and the
2140balance is sent back to rxvt.</p>
2141<p>As a convenience for the many Emacs-type editors, <em>action</em> may start
2142with <strong>M-</strong> (eg, <strong>M-$</strong> is equivalent to <strong>\E$</strong>) and a <strong>CR</strong> will be
2143appended if missed from <strong>M-x</strong> commands.</p>
2144<p>As a convenience for issuing XTerm <strong>ESC ]</strong> sequences from a menubar (or
2145quick arrow), a <strong>BEL</strong> (<strong>^G</strong>) will be appended if needed.</p>
2146<dl>
2147<dt><strong><a name="item_for_example_2c">For example,</a></strong><br />
2148</dt>
2149<dd>
2150<strong>M-xapropos</strong> is equivalent to <strong>\Exapropos\r</strong>
2151</dd>
2152<p></p>
2153<dt><strong><a name="item_and">and</a></strong><br />
2154</dt>
2155<dd>
2156<strong>\E]703;mona;100</strong> is equivalent to <strong>\E]703;mona;100\a</strong>
2157</dd>
2158<p></p></dl>
2159<p>The option <strong>{<em>right-rtext</em>} </strong>&gt; will be right-justified. In the
2160absence of a specified action, this text will be used as the <em>action</em>
2161as well.</p>
2162<dl>
2163<dt><strong>For example,</strong><br />
2164</dt>
2165<dd>
2166<strong>/File/{Open}{^X^F}</strong> is equivalent to <strong>/File/{Open}{^X^F} ^X^F</strong>
2167</dd>
2168<p></p></dl>
2169<p>The left label <em>is</em> necessary, since it's used for matching, but
2170implicitly hiding the left label (by using same name for both left and
2171right labels), or explicitly hiding the left label (by preceeding it
2172with a dot), makes it possible to have right-justified text only.</p>
2173<dl>
2174<dt><strong>For example,</strong><br />
2175</dt>
2176<dd>
2177<strong>/File/{Open}{Open} Open-File-Action</strong>
2178</dd>
2179<p></p>
2180<dt><strong><a name="item_or_hiding_it">or hiding it</a></strong><br />
2181</dt>
2182<dd>
2183<strong>/File/{.anylabel}{Open} Open-File-Action</strong>
2184</dd>
2185<p></p></dl>
2186<p></p>
2187<p>
2188</p>
2189<h2><a name="removing_menus">Removing menus</a></h2>
2190<dl>
2191<dt><strong><a name="item__2d_2f_2a_2b"><strong>-/*+ </strong>&gt;</a></strong><br />
2192</dt>
2193<dd>
2194remove all menus from the menuBar, the same as <strong>[clear]</strong>
2195</dd>
2196<p></p>
2197<dt><strong><a name="item__2d_2b_2fpathmenu_2b"><strong>-+<em>/path</em>menu+ </strong>&gt;</a></strong><br />
2198</dt>
2199<dd>
2200remove menu
2201</dd>
2202<p></p>
2203<dt><strong><a name="item__2d_2b_2fpath_7bitem_7d_2b"><strong>-+<em>/path</em>{item}+ </strong>&gt;</a></strong><br />
2204</dt>
2205<dd>
2206remove item
2207</dd>
2208<p></p>
2209<dt><strong><a name="item__2d_2b_2fpath_7b_2d_7d"><strong>-+<em>/path</em>{-} </strong>&gt;</a></strong><br />
2210</dt>
2211<dd>
2212remove separator)
2213</dd>
2214<p></p>
2215<dt><strong><a name="item__2d_2fpath_2fmenu_2f_2a"><strong>-/path/menu/*</strong></a></strong><br />
2216</dt>
2217<dd>
2218remove all items, separators and submenus from menu
2219</dd>
2220<p></p></dl>
2221<p></p>
2222<p>
2223</p>
2224<h2><a name="quick_arrows">Quick Arrows</a></h2>
2225<p>The menus also provide a hook for <em>quick arrows</em> to provide easier
2226user access. If nothing has been explicitly set, the default is to
2227emulate the curror keys. The syntax permits each arrow to be altered
2228individually or all four at once without re-entering their common
2229beginning/end text. For example, to explicitly associate cursor actions
2230with the arrows, any of the following forms could be used:</p>
2231<dl>
2232<dt><strong><a name="item__3cr_3e_2bright"><strong>&lt;r</strong>+<em>Right</em> &gt;&gt;</a></strong><br />
2233</dt>
2234<dt><strong><a name="item__3cl_3e_2bleft"><strong>&lt;l</strong>+<em>Left</em> &gt;&gt;</a></strong><br />
2235</dt>
2236<dt><strong><a name="item__3cu_3e_2bup"><strong>&lt;u</strong>+<em>Up</em> &gt;&gt;</a></strong><br />
2237</dt>
2238<dt><strong><a name="item__3cd_3e_2bdown"><strong>&lt;d</strong>+<em>Down</em> &gt;&gt;</a></strong><br />
2239</dt>
2240<dd>
2241Define actions for the respective arrow buttons
2242</dd>
2243<p></p>
2244<dt><strong><a name="item__3cb_3e_2bbegin"><strong>&lt;b</strong>+<em>Begin</em> &gt;&gt;</a></strong><br />
2245</dt>
2246<dt><strong><a name="item__3ce_3e_2bend"><strong>&lt;e</strong>+<em>End</em> &gt;&gt;</a></strong><br />
2247</dt>
2248<dd>
2249Define common beginning/end parts for <em>quick arrows</em> which used in
2250conjunction with the above &lt;r&gt; &lt;l&gt; &lt;u&gt; &lt;d&gt; constructs
2251</dd>
2252<p></p></dl>
2253<dl>
2254<dt><strong><a name="item_for_example_2c_define_arrows_individually_2c">For example, define arrows individually,</a></strong><br />
2255</dt>
2256<dd>
2257<pre>
2258 &lt;u&gt;\E[A</pre>
2259</dd>
2260<dd>
2261<pre>
2262 &lt;d&gt;\E[B</pre>
2263</dd>
2264<dd>
2265<pre>
2266 &lt;r&gt;\E[C</pre>
2267</dd>
2268<dd>
2269<pre>
2270 &lt;l&gt;\E[D</pre>
2271</dd>
2272<dt><strong><a name="item_or_all_at_once">or all at once</a></strong><br />
2273</dt>
2274<dd>
2275<pre>
2276 &lt;u&gt;\E[AZ&lt;&gt;&lt;d&gt;\E[BZ&lt;&gt;&lt;r&gt;\E[CZ&lt;&gt;&lt;l&gt;\E[D</pre>
2277</dd>
2278<dt><strong><a name="item_compactly">or more compactly (factoring out common parts)</a></strong><br />
2279</dt>
2280<dd>
2281<pre>
2282 &lt;b&gt;\E[&lt;u&gt;AZ&lt;&gt;&lt;d&gt;BZ&lt;&gt;&lt;r&gt;CZ&lt;&gt;&lt;l&gt;D</pre>
2283</dd>
2284</dl>
2285<p></p>
2286<p>
2287</p>
2288<h2><a name="command_summary">Command Summary</a></h2>
2289<p>A short summary of the most <em>common</em> commands:</p>
2290<dl>
2291<dt><strong><a name="item__5bmenu_3aname_5d">[menu:name]</a></strong><br />
2292</dt>
2293<dd>
2294use an existing named menuBar or start a new one
2295</dd>
2296<p></p>
2297<dt><strong>[menu]</strong><br />
2298</dt>
2299<dd>
2300use the current menuBar
2301</dd>
2302<p></p>
2303<dt><strong><a name="item__5btitle_3astring_5d">[title:string]</a></strong><br />
2304</dt>
2305<dd>
2306set menuBar title
2307</dd>
2308<p></p>
2309<dt><strong>[done]</strong><br />
2310</dt>
2311<dd>
2312set menu access to readonly and, if reading from a file, signal EOF
2313</dd>
2314<p></p>
2315<dt><strong><a name="item__5bdone_3aname_5d">[done:name]</a></strong><br />
2316</dt>
2317<dd>
2318if reading from a file using [read:file;name] signal EOF
2319</dd>
2320<p></p>
2321<dt><strong>[rm:name]</strong><br />
2322</dt>
2323<dd>
2324remove named <code>menuBar(s)</code>
2325</dd>
2326<p></p>
2327<dt><strong>[rm] [rm:]</strong><br />
2328</dt>
2329<dd>
2330remove current menuBar
2331</dd>
2332<p></p>
2333<dt><strong>[rm*] [rm:*]</strong><br />
2334</dt>
2335<dd>
2336remove all <code>menuBar(s)</code>
2337</dd>
2338<p></p>
2339<dt><strong>[swap]</strong><br />
2340</dt>
2341<dd>
2342swap top two menuBars
2343</dd>
2344<p></p>
2345<dt><strong>[prev]</strong><br />
2346</dt>
2347<dd>
2348access the previous menuBar
2349</dd>
2350<p></p>
2351<dt><strong>[next]</strong><br />
2352</dt>
2353<dd>
2354access the next menuBar
2355</dd>
2356<p></p>
2357<dt><strong>[show]</strong><br />
2358</dt>
2359<dd>
2360map menuBar
2361</dd>
2362<p></p>
2363<dt><strong>[hide]</strong><br />
2364</dt>
2365<dd>
2366unmap menuBar
2367</dd>
2368<p></p>
2369<dt><strong><a name="item__5bpixmap_3bfile_5d">[pixmap;file]</a></strong><br />
2370</dt>
2371<dt><strong><a name="item__5bpixmap_3bfile_3bscaling_5d">[pixmap;file;scaling]</a></strong><br />
2372</dt>
2373<dd>
2374set a background pixmap
2375</dd>
2376<p></p>
2377<dt><strong><a name="item__5bread_3afile_5d">[read:file]</a></strong><br />
2378</dt>
2379<dt><strong><a name="item__5bread_3afile_3bname_5d">[read:file;name]</a></strong><br />
2380</dt>
2381<dd>
2382read in a menu from a file
2383</dd>
2384<p></p>
2385<dt><strong>[dump]</strong><br />
2386</dt>
2387<dd>
2388dump out all menuBars to /tmp/rxvt-PID
2389</dd>
2390<p></p>
2391<dt><strong><a name="item__2f">/</a></strong><br />
2392</dt>
2393<dd>
2394access menuBar top level
2395</dd>
2396<p></p>
2397<dt><strong><a name="item__2e_2f">./</a></strong><br />
2398</dt>
2399<dt><strong><a name="item__2e_2e_2f">../</a></strong><br />
2400</dt>
2401<dt><strong>../../</strong><br />
2402</dt>
2403<dd>
2404access current or parent menu level
2405</dd>
2406<p></p>
2407<dt><strong>/path/menu</strong><br />
2408</dt>
2409<dd>
2410add/access menu
2411</dd>
2412<p></p>
2413<dt><strong>/path/{-}</strong><br />
2414</dt>
2415<dd>
2416add separator
2417</dd>
2418<p></p>
2419<dt><strong>/path/{item}{rtext} action</strong><br />
2420</dt>
2421<dd>
2422add/alter menu item
2423</dd>
2424<p></p>
2425<dt><strong><a name="item__2d_2f_2a">-/*</a></strong><br />
2426</dt>
2427<dd>
2428remove all menus from the menuBar
2429</dd>
2430<p></p>
2431<dt><strong><a name="item__2d_2fpath_2fmenu">-/path/menu</a></strong><br />
2432</dt>
2433<dd>
2434remove menu items, separators and submenus from menu
2435</dd>
2436<p></p>
2437<dt><strong>-/path/menu</strong><br />
2438</dt>
2439<dd>
2440remove menu
2441</dd>
2442<p></p>
2443<dt><strong><a name="item__2d_2fpath_2f_7bitem_7d">-/path/{item}</a></strong><br />
2444</dt>
2445<dd>
2446remove item
2447</dd>
2448<p></p>
2449<dt><strong><a name="item__2d_2fpath_2f_7b_2d_7d">-/path/{-}</a></strong><br />
2450</dt>
2451<dd>
2452remove separator
2453</dd>
2454<p></p>
2455<dt><strong><a name="item__3cb_3ebegin_3cr_3eright_3cl_3eleft_3cu_3eup_3cd_3">&lt;b&gt;Begin&lt;r&gt;Right&lt;l&gt;Left&lt;u&gt;Up&lt;d&gt;Down&lt;e&gt;End</a></strong><br />
2456</dt>
2457<dd>
2458menu quick arrows
2459</dd>
2460<p></p></dl>
2461<p> 2078<p>
2462</p> 2079</p>
2463<hr /> 2080<hr />
2464<h1><a name="xpm">XPM</a></h1> 2081<h1><a name="xpm">XPM</a></h1>
2465<p>For the XPM XTerm escape sequence <strong><code>ESC ] 20 ; Pt ST</code> </strong>&gt; then value 2082<p>For the XPM XTerm escape sequence <strong><code>ESC ] 20 ; Pt ST</code> </strong>&gt; then value
2714</dd> 2331</dd>
2715<p></p> 2332<p></p>
2716<dt><strong><a name="item_unicode3">--enable-unicode3 (default: off)</a></strong><br /> 2333<dt><strong><a name="item_unicode3">--enable-unicode3 (default: off)</a></strong><br />
2717</dt> 2334</dt>
2718<dd> 2335<dd>
2336Recommended to stay off unless you really need non-BMP characters.
2337</dd>
2338<dd>
2719Enable direct support for displaying unicode codepoints above 2339<p>Enable direct support for displaying unicode codepoints above
272065535 (the basic multilingual page). This increases storage 234065535 (the basic multilingual page). This increases storage
2721requirements per character from 2 to 4 bytes. X11 fonts do not yet 2341requirements per character from 2 to 4 bytes. X11 fonts do not yet
2722support these extra characters, but Xft does. 2342support these extra characters, but Xft does.</p>
2723</dd> 2343</dd>
2724<dd> 2344<dd>
2725<p>Please note that rxvt-unicode can store unicode code points &gt;65535 2345<p>Please note that rxvt-unicode can store unicode code points &gt;65535
2726even without this flag, but the number of such characters is 2346even without this flag, but the number of such characters is
2727limited to a view thousand (shared with combining characters, 2347limited to a view thousand (shared with combining characters,
2737where accents are encoded as seperate unicode characters. This is 2357where accents are encoded as seperate unicode characters. This is
2738done by using precomposited characters when available or creating 2358done by using precomposited characters when available or creating
2739new pseudo-characters when no precomposed form exists. 2359new pseudo-characters when no precomposed form exists.
2740</dd> 2360</dd>
2741<dd> 2361<dd>
2742<p>Without --enable-unicode3, the number of additional precomposed characters 2362<p>Without --enable-unicode3, the number of additional precomposed
2743is rather limited (2048, if this is full, rxvt-unicode will use the 2363characters is somewhat limited (the 6400 private use characters will be
2744private use area, extending the number of combinations to 8448). With
2745--enable-unicode3, no practical limit exists.</p> 2364(ab-)used). With --enable-unicode3, no practical limit exists.</p>
2746</dd> 2365</dd>
2747<dd> 2366<dd>
2748<p>This option will also enable storage (but not display) of characters 2367<p>This option will also enable storage (but not display) of characters
2749beyond plane 0 (&gt;65535) when --enable-unicode3 was not specified.</p> 2368beyond plane 0 (&gt;65535) when --enable-unicode3 was not specified.</p>
2750</dd> 2369</dd>
2755</dd> 2374</dd>
2756<p></p> 2375<p></p>
2757<dt><strong><a name="item_fallback">--enable-fallback(=CLASS) (default: Rxvt)</a></strong><br /> 2376<dt><strong><a name="item_fallback">--enable-fallback(=CLASS) (default: Rxvt)</a></strong><br />
2758</dt> 2377</dt>
2759<dd> 2378<dd>
2760When reading resource settings, also read settings for class CLASS. To disable resource fallback use --disable-fallback. 2379When reading resource settings, also read settings for class CLASS. To
2380disable resource fallback use --disable-fallback.
2761</dd> 2381</dd>
2762<p></p> 2382<p></p>
2763<dt><strong><a name="item_name">--with-res-name=NAME (default: urxvt)</a></strong><br /> 2383<dt><strong><a name="item_name">--with-res-name=NAME (default: urxvt)</a></strong><br />
2764</dt> 2384</dt>
2765<dd> 2385<dd>
2796Write user and tty to lastlog file (used by programs like 2416Write user and tty to lastlog file (used by programs like
2797<em>lastlogin</em>) at start of rxvt execution. This option requires 2417<em>lastlogin</em>) at start of rxvt execution. This option requires
2798--enable-utmp to also be specified. 2418--enable-utmp to also be specified.
2799</dd> 2419</dd>
2800<p></p> 2420<p></p>
2801<dt><strong><a name="item_background">--enable-xpm-background (default: off)</a></strong><br /> 2421<dt><strong><a name="item_background">--enable-xpm-background (default: on)</a></strong><br />
2802</dt> 2422</dt>
2803<dd> 2423<dd>
2804Add support for XPM background pixmaps. 2424Add support for XPM background pixmaps.
2805</dd> 2425</dd>
2806<p></p> 2426<p></p>
2807<dt><strong><a name="item_transparency">--enable-transparency (default: off)</a></strong><br /> 2427<dt><strong><a name="item_transparency">--enable-transparency (default: on)</a></strong><br />
2808</dt> 2428</dt>
2809<dd> 2429<dd>
2810Add support for inheriting parent backgrounds thus giving a fake 2430Add support for inheriting parent backgrounds thus giving a fake
2811transparency to the term. 2431transparency to the term.
2812</dd> 2432</dd>
2819<p></p> 2439<p></p>
2820<dt><strong><a name="item_tinting">--enable-tinting (default: on)</a></strong><br /> 2440<dt><strong><a name="item_tinting">--enable-tinting (default: on)</a></strong><br />
2821</dt> 2441</dt>
2822<dd> 2442<dd>
2823Add support for tinting of transparent backgrounds (requires <code>--enable-transparency</code>). 2443Add support for tinting of transparent backgrounds (requires <code>--enable-transparency</code>).
2824</dd>
2825<p></p>
2826<dt><strong><a name="item_menubar">--enable-menubar (default: off)</a></strong><br />
2827</dt>
2828<dd>
2829Add support for our menu bar system (this interacts badly with
2830dynamic locale switching currently).
2831</dd> 2444</dd>
2832<p></p> 2445<p></p>
2833<dt><strong><a name="item_scroll">--enable-rxvt-scroll (default: on)</a></strong><br /> 2446<dt><strong><a name="item_scroll">--enable-rxvt-scroll (default: on)</a></strong><br />
2834</dt> 2447</dt>
2835<dd> 2448<dd>
2854Add support for a very unobtrusive, plain-looking scrollbar that 2467Add support for a very unobtrusive, plain-looking scrollbar that
2855is the favourite of the rxvt-unicode author, having used it for 2468is the favourite of the rxvt-unicode author, having used it for
2856many years. 2469many years.
2857</dd> 2470</dd>
2858<p></p> 2471<p></p>
2859<dt><strong><a name="item_shadow">--enable-half-shadow (default: off)</a></strong><br />
2860</dt>
2861<dd>
2862Make shadows on the scrollbar only half the normal width &amp; height.
2863only applicable to rxvt scrollbars.
2864</dd>
2865<p></p>
2866<dt><strong><a name="item_ttygid">--enable-ttygid (default: off)</a></strong><br /> 2472<dt><strong><a name="item_ttygid">--enable-ttygid (default: off)</a></strong><br />
2867</dt> 2473</dt>
2868<dd> 2474<dd>
2869Change tty device setting to group ``tty'' - only use this if 2475Change tty device setting to group ``tty'' - only use this if
2870your system uses this type of security. 2476your system uses this type of security.
2885<p></p> 2491<p></p>
2886<dt><strong><a name="item__2d_2ddisable_2dresources">--disable-resources</a></strong><br /> 2492<dt><strong><a name="item__2d_2ddisable_2dresources">--disable-resources</a></strong><br />
2887</dt> 2493</dt>
2888<dd> 2494<dd>
2889Removes any support for resource checking. 2495Removes any support for resource checking.
2890</dd>
2891<p></p>
2892<dt><strong><a name="item__2d_2denable_2dxgetdefault">--enable-xgetdefault</a></strong><br />
2893</dt>
2894<dd>
2895Make resources checking via <code>XGetDefault()</code> instead of our small
2896version which only checks ~/.Xdefaults, or if that doesn't exist then
2897~/.Xresources.
2898</dd>
2899<dd>
2900<p>Please note that nowadays, things like XIM will automatically pull in and
2901use the full X resource manager, so the overhead of using it might be very
2902small, if nonexistant.</p>
2903</dd>
2904<p></p>
2905<dt><strong><a name="item_strings">--enable-strings (default: off)</a></strong><br />
2906</dt>
2907<dd>
2908Add support for our possibly faster <code>memset()</code> function and other
2909various routines, overriding your system's versions which may
2910have been hand-crafted in assembly or may require extra libraries
2911to link in. (this breaks ANSI-C rules and has problems on many
2912GNU/Linux systems).
2913</dd> 2496</dd>
2914<p></p> 2497<p></p>
2915<dt><strong><a name="item__2d_2ddisable_2dswapscreen">--disable-swapscreen</a></strong><br /> 2498<dt><strong><a name="item__2d_2ddisable_2dswapscreen">--disable-swapscreen</a></strong><br />
2916</dt> 2499</dt>
2917<dd> 2500<dd>
2931</dd> 2514</dd>
2932<dd> 2515<dd>
2933<pre> 2516<pre>
2934 MWM-hints 2517 MWM-hints
2935 EWMH-hints (pid, utf8 names) and protocols (ping) 2518 EWMH-hints (pid, utf8 names) and protocols (ping)
2936 seperate underline colour 2519 seperate underline colour (-underlineColor)
2937 settable border widths and borderless switch 2520 settable border widths and borderless switch (-w, -b, -bl)
2521 visual depth selection (-depth)
2938 settable extra linespacing 2522 settable extra linespacing /-lsp)
2939 iso-14755-2 and -3, and visual feedback 2523 iso-14755-2 and -3, and visual feedback
2524 tripleclickwords (-tcw)
2525 settable insecure mode (-insecure)
2526 keysym remapping support
2527 cursor blinking and underline cursor (-cb, -uc)
2528 XEmbed support (-embed)
2529 user-pty (-pty-fd)
2530 hold on exit (-hold)
2531 skip builtin block graphics (-sbg)</pre>
2532</dd>
2533<dd>
2534<p>It also enabled some non-essential features otherwise disabled, such as:</p>
2535</dd>
2536<dd>
2537<pre>
2538 some round-trip time optimisations
2539 nearest color allocation on pseudocolor screens
2540 UTF8_STRING supporr for selection
2541 sgr modes 90..97 and 100..107
2940 backindex and forwardindex escape sequence 2542 backindex and forwardindex escape sequences
2543 view change/zero scorllback esacpe sequences
2544 locale switching escape sequence
2941 window op and some xterm/OSC escape sequences 2545 window op and some xterm/OSC escape sequences
2942 tripleclickwords 2546 rectangular selections
2943 settable insecure mode 2547 trailing space removal for selections
2944 keysym remapping support 2548 verbose X error handling</pre>
2945 cursor blinking and underline cursor
2946 -embed, -pty-fd and -hold options</pre>
2947</dd> 2549</dd>
2948<p></p> 2550<p></p>
2949<dt><strong><a name="item_iso14755">--enable-iso14755 (default: on)</a></strong><br /> 2551<dt><strong><a name="item_iso14755">--enable-iso14755 (default: on)</a></strong><br />
2950</dt> 2552</dt>
2951<dd> 2553<dd>
3014</dt> 2616</dt>
3015<dd> 2617<dd>
3016Add support to have the pointer disappear when typing or inactive. 2618Add support to have the pointer disappear when typing or inactive.
3017</dd> 2619</dd>
3018<p></p> 2620<p></p>
3019<dt><strong><a name="item_perl">--enable-perl (default: off)</a></strong><br /> 2621<dt><strong><a name="item_perl">--enable-perl (default: on)</a></strong><br />
3020</dt> 2622</dt>
3021<dd> 2623<dd>
3022Enable an embedded perl interpreter. See the <strong>rxvtperl(3)</strong> 2624Enable an embedded perl interpreter. See the <strong>rxvtperl(3)</strong>
3023manpage (<em>doc/rxvtperl.txt</em>) for more info on this feature, or the files 2625manpage (<em>doc/rxvtperl.txt</em>) for more info on this feature, or the files
3024in <em>src/perl-ext/</em> for the extensions that are installed by default. 2626in <em>src/perl-ext/</em> for the extensions that are installed by default. The
2627perl interpreter that is used can be specified via the <code>PERL</code> environment
2628variable when running configure.
3025</dd> 2629</dd>
3026<p></p> 2630<p></p>
3027<dt><strong>--with-name=NAME (default: urxvt)</strong><br /> 2631<dt><strong>--with-name=NAME (default: urxvt)</strong><br />
3028</dt> 2632</dt>
3029<dd> 2633<dd>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines