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.42 by root, Thu Jan 12 23:11:23 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>
78<dt><strong><a name="item_the_new_selection_selects_pieces_that_are_too_big_">The new selection selects pieces that are too big/too small, can I 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
79change this?</a></strong><br /> 67single words?</a></strong><br />
80</dt> 68</dt>
81<dd> 69<dd>
82Yes. For example, if you want to select smaller pieces (``words'') you can 70Yes. For example, if you want to select alphanumeric words, you can use
83use the following resource: 71the following resource:
84</dd> 72</dd>
85<dd> 73<dd>
86<pre> 74<pre>
87 URxvt.selection.pattern-0: ([[:word:]]+)</pre> 75 URxvt.selection.pattern-0: ([[:word:]]+)</pre>
88</dd> 76</dd>
94<p>To get a selection that is very similar to the old code, try this pattern:</p> 82<p>To get a selection that is very similar to the old code, try this pattern:</p>
95</dd> 83</dd>
96<dd> 84<dd>
97<pre> 85<pre>
98 URxvt.selection.pattern-0: ([^&quot;&amp;'()*,;&lt;=&gt;?@[\\\\]^`{|})]+)</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>
99</dd> 91</dd>
100<p></p> 92<p></p>
101<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 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
102change/disable it?</a></strong><br /> 94change/disable it?</a></strong><br />
103</dt> 95</dt>
124other combination either by setting the <strong>searchable-scrollback</strong> resource:</p> 116other combination either by setting the <strong>searchable-scrollback</strong> resource:</p>
125</dd> 117</dd>
126<dd> 118<dd>
127<pre> 119<pre>
128 URxvt.searchable-scrollback: CM-s</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>
129</dd> 214</dd>
130<p></p> 215<p></p>
131<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 />
132</dt> 217</dt>
133<dd> 218<dd>
225</dd> 310</dd>
226<p></p> 311<p></p>
227<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 />
228</dt> 313</dt>
229<dd> 314<dd>
230rxvt-unicode does not directly support tabs. It will work fine with 315Beginning with version 7.3, there is a perl extension that implements a
231tabbing functionality of many window managers or similar tabbing programs, 316simple tabbed terminal. It is installed by default, so any of these should
232and its embedding-features allow it to be embedded into other programs, 317give you tabs:
233as witnessed by <em>doc/rxvt-tabbed</em> or the upcoming <code>Gtk2::URxvt</code> perl 318</dd>
234module, which features a tabbed urxvt (murxvt) terminal as an example 319<dd>
235embedding 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>
236</dd> 333</dd>
237<p></p> 334<p></p>
238<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 />
239</dt> 336</dt>
240<dd> 337<dd>
246<p></p> 343<p></p>
247<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 />
248</dt> 345</dt>
249<dd> 346<dd>
250The Debian GNU/Linux package of rxvt-unicode in sarge contains large 347The Debian GNU/Linux package of rxvt-unicode in sarge contains large
251patches that considerably change the behaviour of rxvt-unicode. Before 348patches that considerably change the behaviour of rxvt-unicode (but
252reporting 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
253install 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
254and 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
255problems 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
256reported via the Debian Bug Tracking System (use <code>reportbug</code> to report 354Tracking System (use <code>reportbug</code> to report the bug).
257the bug).
258</dd> 355</dd>
259<dd> 356<dd>
260<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
261probably 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
262bug 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
263might encounter the same issue.</p> 360might encounter the same issue.</p>
264</dd> 361</dd>
265<p></p> 362<p></p>
266<dt><strong><a name="item_i_am_maintaining_rxvt_2dunicode_for_distribution_2">I am maintaining rxvt-unicode for distribution/OS XXX, any recommendation?</a></strong><br /> 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 />
267</dt> 365</dt>
268<dd> 366<dd>
269You should build one binary with the default options. <em>configure</em> 367You should build one binary with the default options. <em>configure</em>
270now enables most useful options, and the trend goes to making them 368now enables most useful options, and the trend goes to making them
271runtime-switchable, too, so there is usually no drawback to enbaling them, 369runtime-switchable, too, so there is usually no drawback to enbaling them,
288</dd> 386</dd>
289<p></p> 387<p></p>
290<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 /> 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 />
291</dt> 389</dt>
292<dd> 390<dd>
293Likely not. While I honestly try to make it secure, and am probably not 391It should be, starting with release 7.1. You are encouraged to properly
294bad at it, I think it is simply unreasonable to expect all of freetype 392install urxvt with privileges necessary for your OS now.
295+ fontconfig + xft + xlib + perl + ... + rxvt-unicode itself to all be
296secure. Also, rxvt-unicode disables some options when it detects that it
297runs setuid or setgid, which is not nice. Besides, with the embedded perl
298interpreter the possibility for security problems easily multiplies.
299</dd>
300<dd> 393</dd>
301<p>Elevated privileges are only required for utmp and pty operations on some
302systems (for example, GNU/Linux doesn't need any extra privileges for
303ptys, but some need it for utmp support). It is planned to mvoe this into
304a forked handler process, but this is not yet done.</p>
305</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>
306<dd> 401</dd>
307<p>So, while setuid/setgid operation is supported and not a problem on your 402<dd>
308typical single-user-no-other-logins unix desktop, always remember that 403<p>This forking is done as the very first within main(), which is very early
309its an awful lot of code, most of which isn't checked for security issues 404and reduces possible bugs to initialisation code run before main(), or
310regularly.</p> 405things like the dynamic loader of your system, which should result in very
406little risk.</p>
311</dd> 407</dd>
312<p></p> 408<p></p>
313<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 />
314</dt> 410</dt>
315<dd> 411<dd>
832You 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
833terminal, using the resource <code>imlocale</code>: 929terminal, using the resource <code>imlocale</code>:
834</dd> 930</dd>
835<dd> 931<dd>
836<pre> 932<pre>
837 URxvt*imlocale: ja_JP.EUC-JP</pre> 933 URxvt.imlocale: ja_JP.EUC-JP</pre>
838</dd> 934</dd>
839<dd> 935<dd>
840<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
841use 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
842input 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
902<dd> 998<dd>
903Make sure that mouse reporting is actually turned off since killing 999Make sure that mouse reporting is actually turned off since killing
904some 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
905heard that tcsh may use mouse reporting unless it otherwise specified. A 1001heard that tcsh may use mouse reporting unless it otherwise specified. A
906quick 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
907depressed. See <code>rxvt(7)</code> 1003depressed.
908</dd> 1004</dd>
909<p></p> 1005<p></p>
910<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 />
911</dt> 1007</dt>
912<dd> 1008<dd>
1029 # use Backspace = ^? 1125 # use Backspace = ^?
1030 $ stty erase ^? 1126 $ stty erase ^?
1031 $ rxvt</pre> 1127 $ rxvt</pre>
1032</dd> 1128</dd>
1033<dd> 1129<dd>
1034<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>
1035</dd> 1131</dd>
1036<dd> 1132<dd>
1037<p>For an existing rxvt-unicode:</p> 1133<p>For an existing rxvt-unicode:</p>
1038</dd> 1134</dd>
1039<dd> 1135<dd>
1190</p> 1286</p>
1191<hr /> 1287<hr />
1192<h1><a name="description">DESCRIPTION</a></h1> 1288<h1><a name="description">DESCRIPTION</a></h1>
1193<p>The rest of this document describes various technical aspects of 1289<p>The rest of this document describes various technical aspects of
1194<strong>rxvt-unicode</strong>. First the description of supported command sequences, 1290<strong>rxvt-unicode</strong>. First the description of supported command sequences,
1195followed by menu and pixmap support and last by a description of all 1291followed by pixmap support and last by a description of all features
1196features selectable at <code>configure</code> time.</p> 1292selectable at <code>configure</code> time.</p>
1197<p> 1293<p>
1198</p> 1294</p>
1199<hr /> 1295<hr />
1200<h1><a name="definitions">Definitions</a></h1> 1296<h1><a name="definitions">Definitions</a></h1>
1201<dl> 1297<dl>
1834</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 />
1835</dt> 1931</dt>
1836<table> 1932<table>
1837<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>
1838<tr><td>l</td><td>No mouse reporting.</td></tr> 1934<tr><td>l</td><td>No mouse reporting.</td></tr>
1839</table><dt><strong><a name="item_10"><strong><code>Ps = 10</code> </strong>&gt; (<strong>rxvt</strong>)</a></strong><br />
1840</dt>
1841<table>
1842<tr><td>h</td><td>menuBar visible</td></tr>
1843<tr><td>l</td><td>menuBar invisible</td></tr>
1844</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 />
1845</dt> 1936</dt>
1846<table> 1937<table>
1847<tr><td>h</td><td>Visible cursor {cnorm/cvvis}</td></tr> 1938<tr><td>h</td><td>Visible cursor {cnorm/cvvis}</td></tr>
1848<tr><td>l</td><td>Invisible cursor {civis}</td></tr> 1939<tr><td>l</td><td>Invisible cursor {civis}</td></tr>
1961<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>
1962<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>
1963<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>
1964<tr><td>Ps = 18</td><td>Change colour of bold characters to Pt [deprecated, see 706]</td></tr> 2055<tr><td>Ps = 18</td><td>Change colour of bold characters to Pt [deprecated, see 706]</td></tr>
1965<tr><td>Ps = 19</td><td>Change colour of underlined characters to Pt [deprecated, see 707]</td></tr> 2056<tr><td>Ps = 19</td><td>Change colour of underlined characters to Pt [deprecated, see 707]</td></tr>
1966<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>
1967<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>
1968<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>
1969<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>
1970<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>
1971<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>
1972<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>
1973<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>
1974<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>
1975<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>
1976<tr><td>Ps = 706</td><td>Change colour of bold characters to Pt</td></tr> 2067<tr><td>Ps = 706</td><td>Change colour of bold characters to Pt</td></tr>
1977<tr><td>Ps = 707</td><td>Change colour of underlined characters to Pt</td></tr> 2068<tr><td>Ps = 707</td><td>Change colour of underlined characters to Pt</td></tr>
1978<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>
1982<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>
1983<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>
1984<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> 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>
1985</table><p></p></dl> 2076</table><p></p></dl>
1986<p></p> 2077<p></p>
1987<p>
1988</p>
1989<hr />
1990<h1><a name="menubar">menuBar</a></h1>
1991<p><strong>The exact syntax used is <em>almost</em> solidified. </strong>&gt;
1992In the menus, <strong>DON'T</strong> try to use menuBar commands that add or remove a
1993menuBar.</p>
1994<p>Note that in all of the commands, the <strong><em>/path/</em> </strong>&gt; <em>cannot</em> be
1995omitted: use <strong>./</strong> to specify a menu relative to the current menu.</p>
1996<p>
1997</p>
1998<h2><a name="overview_of_menubar_operation">Overview of menuBar operation</a></h2>
1999<p>For the menuBar XTerm escape sequence <code>ESC ] 703 ; Pt ST</code>, the syntax
2000of <a href="#item_pt"><code>Pt</code></a> can be used for a variety of tasks:</p>
2001<p>At the top level is the current menuBar which is a member of a circular
2002linked-list of other such menuBars.</p>
2003<p>The menuBar acts as a parent for the various drop-down menus, which in
2004turn, may have labels, separator lines, menuItems and subMenus.</p>
2005<p>The menuItems are the useful bits: you can use them to mimic keyboard
2006input or even to send text or escape sequences back to rxvt.</p>
2007<p>The menuBar syntax is intended to provide a simple yet robust method of
2008constructing and manipulating menus and navigating through the
2009menuBars.</p>
2010<p>The first step is to use the tag <strong>[menu:<em>name</em>] </strong>&gt; which creates
2011the menuBar called <em>name</em> and allows access. You may now or menus,
2012subMenus, and menuItems. Finally, use the tag <strong>[done]</strong> to set the
2013menuBar access as <strong>readonly</strong> to prevent accidental corruption of the
2014menus. To re-access the current menuBar for alterations, use the tag
2015<strong>[menu]</strong>, make the alterations and then use <strong>[done]</strong></p>
2016<p></p>
2017<p>
2018</p>
2019<h2><a name="commands">Commands</a></h2>
2020<dl>
2021<dt><strong><a name="item__5bmenu_3a_2bname_5d"><strong>[menu:+<em>name</em>] </strong>&gt;</a></strong><br />
2022</dt>
2023<dd>
2024access the named menuBar for creation or alteration. If a new menuBar
2025is created, it is called <em>name</em> (max of 15 chars) and the current
2026menuBar is pushed onto the stack
2027</dd>
2028<p></p>
2029<dt><strong><a name="item__5bmenu_5d"><strong>[menu]</strong></a></strong><br />
2030</dt>
2031<dd>
2032access the current menuBar for alteration
2033</dd>
2034<p></p>
2035<dt><strong><a name="item__5btitle_3a_2bstring_5d"><strong>[title:+<em>string</em>] </strong>&gt;</a></strong><br />
2036</dt>
2037<dd>
2038set the current menuBar's title to <em>string</em>, which may contain the
2039following format specifiers:
2040</dd>
2041<dd>
2042<pre>
2043 B&lt;%n&gt; rxvt name (as per the B&lt;-name&gt; command-line option)
2044 B&lt;%v&gt; rxvt version
2045 B&lt;%%&gt; literal B&lt;%&gt; character</pre>
2046</dd>
2047<p></p>
2048<dt><strong><a name="item__5bdone_5d"><strong>[done]</strong></a></strong><br />
2049</dt>
2050<dd>
2051set menuBar access as <strong>readonly</strong>.
2052End-of-file tag for <strong>[read:+<em>file</em>] </strong>&gt; operations.
2053</dd>
2054<p></p>
2055<dt><strong><a name="item__5bread_3a_2bfile_5d"><strong>[read:+<em>file</em>] </strong>&gt;</a></strong><br />
2056</dt>
2057<dd>
2058read menu commands directly from <em>file</em> (extension ``.menu'' will be
2059appended if required.) Start reading at a line with <strong>[menu]</strong> or <strong>&lt;
2060[menu:+<em>name</em> </strong>&gt; and continuing until <strong>[done]</strong> is encountered.
2061</dd>
2062<dd>
2063<p>Blank and comment lines (starting with <strong>#</strong>) are ignored. Actually,
2064since any invalid menu commands are also ignored, almost anything could
2065be construed as a comment line, but this may be tightened up in the
2066future ... so don't count on it!.</p>
2067</dd>
2068<p></p>
2069<dt><strong><a name="item__5bread_3a_2bfile_3b_2bname_5d"><strong>[read:+<em>file</em>;+<em>name</em>] </strong>&gt;</a></strong><br />
2070</dt>
2071<dd>
2072The same as <strong>[read:+<em>file</em>] </strong>&gt;, but start reading at a line with
2073<strong>[menu:+<em>name</em>] </strong>&gt; and continuing until <strong>[done:+<em>name</em>] </strong>&gt; or
2074<strong>[done]</strong> is encountered.
2075</dd>
2076<p></p>
2077<dt><strong><a name="item__5bdump_5d"><strong>[dump]</strong></a></strong><br />
2078</dt>
2079<dd>
2080dump all menuBars to the file <strong>/tmp/rxvt-PID</strong> in a format suitable for
2081later rereading.
2082</dd>
2083<p></p>
2084<dt><strong><a name="item__5brm_3aname_5d"><strong>[rm:name]</strong></a></strong><br />
2085</dt>
2086<dd>
2087remove the named menuBar
2088</dd>
2089<p></p>
2090<dt><strong><a name="item__5brm_5d__5brm_3a_5d"><strong>[rm] [rm:]</strong></a></strong><br />
2091</dt>
2092<dd>
2093remove the current menuBar
2094</dd>
2095<p></p>
2096<dt><strong><a name="item__5brm_2a_5d__5brm_3a_2a_5d"><strong>[rm*] [rm:*]</strong></a></strong><br />
2097</dt>
2098<dd>
2099remove all menuBars
2100</dd>
2101<p></p>
2102<dt><strong><a name="item__5bswap_5d"><strong>[swap]</strong></a></strong><br />
2103</dt>
2104<dd>
2105swap the top two menuBars
2106</dd>
2107<p></p>
2108<dt><strong><a name="item__5bprev_5d"><strong>[prev]</strong></a></strong><br />
2109</dt>
2110<dd>
2111access the previous menuBar
2112</dd>
2113<p></p>
2114<dt><strong><a name="item__5bnext_5d"><strong>[next]</strong></a></strong><br />
2115</dt>
2116<dd>
2117access the next menuBar
2118</dd>
2119<p></p>
2120<dt><strong><a name="item__5bshow_5d"><strong>[show]</strong></a></strong><br />
2121</dt>
2122<dd>
2123Enable display of the menuBar
2124</dd>
2125<p></p>
2126<dt><strong><a name="item__5bhide_5d"><strong>[hide]</strong></a></strong><br />
2127</dt>
2128<dd>
2129Disable display of the menuBar
2130</dd>
2131<p></p>
2132<dt><strong><a name="item__5bpixmap_3a_2bname_5d"><strong>[pixmap:+<em>name</em>] </strong>&gt;</a></strong><br />
2133</dt>
2134<dt><strong><a name="item__5bpixmap_3a_2bname_3bscaling_5d"><strong>[pixmap:+<em>name</em>;<em>scaling</em>] </strong>&gt;</a></strong><br />
2135</dt>
2136<dd>
2137(set the background pixmap globally
2138</dd>
2139<dd>
2140<p><strong>A Future implementation <em>may</em> make this local to the menubar </strong>&gt;)</p>
2141</dd>
2142<p></p>
2143<dt><strong><a name="item__5b_3a_2bcommand_3a_5d"><strong>[:+<em>command</em>:] </strong>&gt;</a></strong><br />
2144</dt>
2145<dd>
2146ignore the menu readonly status and issue a <em>command</em> to or a menu or
2147menuitem or change the ; a useful shortcut for setting the quick arrows
2148from a menuBar.
2149</dd>
2150<p></p></dl>
2151<p></p>
2152<p>
2153</p>
2154<h2><a name="adding_and_accessing_menus">Adding and accessing menus</a></h2>
2155<p>The following commands may also be <strong>+</strong> prefixed.</p>
2156<dl>
2157<dt><strong><a name="item__2f_2b"><strong>/+</strong></a></strong><br />
2158</dt>
2159<dd>
2160access menuBar top level
2161</dd>
2162<p></p>
2163<dt><strong><a name="item__2e_2f_2b"><strong>./+</strong></a></strong><br />
2164</dt>
2165<dd>
2166access current menu level
2167</dd>
2168<p></p>
2169<dt><strong><a name="item__2e_2e_2f_2b"><strong>../+</strong></a></strong><br />
2170</dt>
2171<dd>
2172access parent menu (1 level up)
2173</dd>
2174<p></p>
2175<dt><strong><a name="item__2e_2e_2f_2e_2e_2f"><strong>../../</strong></a></strong><br />
2176</dt>
2177<dd>
2178access parent menu (multiple levels up)
2179</dd>
2180<p></p>
2181<dt><strong><a name="item__2fpath_2fmenu"><strong><em>/path/</em>menu </strong>&gt;</a></strong><br />
2182</dt>
2183<dd>
2184add/access menu
2185</dd>
2186<p></p>
2187<dt><strong><a name="item__2fpath_2fmenu_2f_2a"><strong><em>/path/</em>menu/* </strong>&gt;</a></strong><br />
2188</dt>
2189<dd>
2190add/access menu and clear it if it exists
2191</dd>
2192<p></p>
2193<dt><strong><a name="item__2fpath_2f_7b_2d_7d"><strong><em>/path/</em>{-} </strong>&gt;</a></strong><br />
2194</dt>
2195<dd>
2196add separator
2197</dd>
2198<p></p>
2199<dt><strong><a name="item__2fpath_2f_7bitem_7d"><strong><em>/path/</em>{item} </strong>&gt;</a></strong><br />
2200</dt>
2201<dd>
2202add <strong>item</strong> as a label
2203</dd>
2204<p></p>
2205<dt><strong><a name="item__2fpath_2f_7bitem_7d_action"><strong><em>/path/</em>{item} action </strong>&gt;</a></strong><br />
2206</dt>
2207<dd>
2208add/alter <em>menuitem</em> with an associated <em>action</em>
2209</dd>
2210<p></p>
2211<dt><strong><a name="item__2fpath_2f_7bitem_7d_7bright_2dtext_7d"><strong><em>/path/</em>{item}{right-text} </strong>&gt;</a></strong><br />
2212</dt>
2213<dd>
2214add/alter <em>menuitem</em> with <strong>right-text</strong> as the right-justified text
2215and as the associated <em>action</em>
2216</dd>
2217<p></p>
2218<dt><strong><a name="item__2fpath_2f_7bitem_7d_7brtext_7d_action"><strong><em>/path/</em>{item}{rtext} action </strong>&gt;</a></strong><br />
2219</dt>
2220<dd>
2221add/alter <em>menuitem</em> with an associated <em>action</em> and with <strong>rtext</strong> as
2222the right-justified text.
2223</dd>
2224<p></p></dl>
2225<dl>
2226<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 />
2227</dt>
2228<dd>
2229<strong>\a \b \E \e \n \r \t \octal</strong>
2230</dd>
2231<p></p>
2232<dt><strong><a name="item_or_in_control_2dcharacter_notation_3a">or in control-character notation:</a></strong><br />
2233</dt>
2234<dd>
2235<strong>^@, ^A .. ^Z .. ^_, ^?</strong>
2236</dd>
2237<p></p></dl>
2238<p>To send a string starting with a <strong>NUL</strong> (<strong>^@</strong>) character to the
2239program, start <em>action</em> with a pair of <strong>NUL</strong> characters (<strong>^@^@</strong>),
2240the first of which will be stripped off and the balance directed to the
2241program. Otherwise if <em>action</em> begins with <strong>NUL</strong> followed by
2242non-+<strong>NUL</strong> characters, the leading <strong>NUL</strong> is stripped off and the
2243balance is sent back to rxvt.</p>
2244<p>As a convenience for the many Emacs-type editors, <em>action</em> may start
2245with <strong>M-</strong> (eg, <strong>M-$</strong> is equivalent to <strong>\E$</strong>) and a <strong>CR</strong> will be
2246appended if missed from <strong>M-x</strong> commands.</p>
2247<p>As a convenience for issuing XTerm <strong>ESC ]</strong> sequences from a menubar (or
2248quick arrow), a <strong>BEL</strong> (<strong>^G</strong>) will be appended if needed.</p>
2249<dl>
2250<dt><strong><a name="item_for_example_2c">For example,</a></strong><br />
2251</dt>
2252<dd>
2253<strong>M-xapropos</strong> is equivalent to <strong>\Exapropos\r</strong>
2254</dd>
2255<p></p>
2256<dt><strong><a name="item_and">and</a></strong><br />
2257</dt>
2258<dd>
2259<strong>\E]703;mona;100</strong> is equivalent to <strong>\E]703;mona;100\a</strong>
2260</dd>
2261<p></p></dl>
2262<p>The option <strong>{<em>right-rtext</em>} </strong>&gt; will be right-justified. In the
2263absence of a specified action, this text will be used as the <em>action</em>
2264as well.</p>
2265<dl>
2266<dt><strong>For example,</strong><br />
2267</dt>
2268<dd>
2269<strong>/File/{Open}{^X^F}</strong> is equivalent to <strong>/File/{Open}{^X^F} ^X^F</strong>
2270</dd>
2271<p></p></dl>
2272<p>The left label <em>is</em> necessary, since it's used for matching, but
2273implicitly hiding the left label (by using same name for both left and
2274right labels), or explicitly hiding the left label (by preceeding it
2275with a dot), makes it possible to have right-justified text only.</p>
2276<dl>
2277<dt><strong>For example,</strong><br />
2278</dt>
2279<dd>
2280<strong>/File/{Open}{Open} Open-File-Action</strong>
2281</dd>
2282<p></p>
2283<dt><strong><a name="item_or_hiding_it">or hiding it</a></strong><br />
2284</dt>
2285<dd>
2286<strong>/File/{.anylabel}{Open} Open-File-Action</strong>
2287</dd>
2288<p></p></dl>
2289<p></p>
2290<p>
2291</p>
2292<h2><a name="removing_menus">Removing menus</a></h2>
2293<dl>
2294<dt><strong><a name="item__2d_2f_2a_2b"><strong>-/*+ </strong>&gt;</a></strong><br />
2295</dt>
2296<dd>
2297remove all menus from the menuBar, the same as <strong>[clear]</strong>
2298</dd>
2299<p></p>
2300<dt><strong><a name="item__2d_2b_2fpathmenu_2b"><strong>-+<em>/path</em>menu+ </strong>&gt;</a></strong><br />
2301</dt>
2302<dd>
2303remove menu
2304</dd>
2305<p></p>
2306<dt><strong><a name="item__2d_2b_2fpath_7bitem_7d_2b"><strong>-+<em>/path</em>{item}+ </strong>&gt;</a></strong><br />
2307</dt>
2308<dd>
2309remove item
2310</dd>
2311<p></p>
2312<dt><strong><a name="item__2d_2b_2fpath_7b_2d_7d"><strong>-+<em>/path</em>{-} </strong>&gt;</a></strong><br />
2313</dt>
2314<dd>
2315remove separator)
2316</dd>
2317<p></p>
2318<dt><strong><a name="item__2d_2fpath_2fmenu_2f_2a"><strong>-/path/menu/*</strong></a></strong><br />
2319</dt>
2320<dd>
2321remove all items, separators and submenus from menu
2322</dd>
2323<p></p></dl>
2324<p></p>
2325<p>
2326</p>
2327<h2><a name="quick_arrows">Quick Arrows</a></h2>
2328<p>The menus also provide a hook for <em>quick arrows</em> to provide easier
2329user access. If nothing has been explicitly set, the default is to
2330emulate the curror keys. The syntax permits each arrow to be altered
2331individually or all four at once without re-entering their common
2332beginning/end text. For example, to explicitly associate cursor actions
2333with the arrows, any of the following forms could be used:</p>
2334<dl>
2335<dt><strong><a name="item__3cr_3e_2bright"><strong>&lt;r</strong>+<em>Right</em> &gt;&gt;</a></strong><br />
2336</dt>
2337<dt><strong><a name="item__3cl_3e_2bleft"><strong>&lt;l</strong>+<em>Left</em> &gt;&gt;</a></strong><br />
2338</dt>
2339<dt><strong><a name="item__3cu_3e_2bup"><strong>&lt;u</strong>+<em>Up</em> &gt;&gt;</a></strong><br />
2340</dt>
2341<dt><strong><a name="item__3cd_3e_2bdown"><strong>&lt;d</strong>+<em>Down</em> &gt;&gt;</a></strong><br />
2342</dt>
2343<dd>
2344Define actions for the respective arrow buttons
2345</dd>
2346<p></p>
2347<dt><strong><a name="item__3cb_3e_2bbegin"><strong>&lt;b</strong>+<em>Begin</em> &gt;&gt;</a></strong><br />
2348</dt>
2349<dt><strong><a name="item__3ce_3e_2bend"><strong>&lt;e</strong>+<em>End</em> &gt;&gt;</a></strong><br />
2350</dt>
2351<dd>
2352Define common beginning/end parts for <em>quick arrows</em> which used in
2353conjunction with the above &lt;r&gt; &lt;l&gt; &lt;u&gt; &lt;d&gt; constructs
2354</dd>
2355<p></p></dl>
2356<dl>
2357<dt><strong><a name="item_for_example_2c_define_arrows_individually_2c">For example, define arrows individually,</a></strong><br />
2358</dt>
2359<dd>
2360<pre>
2361 &lt;u&gt;\E[A</pre>
2362</dd>
2363<dd>
2364<pre>
2365 &lt;d&gt;\E[B</pre>
2366</dd>
2367<dd>
2368<pre>
2369 &lt;r&gt;\E[C</pre>
2370</dd>
2371<dd>
2372<pre>
2373 &lt;l&gt;\E[D</pre>
2374</dd>
2375<dt><strong><a name="item_or_all_at_once">or all at once</a></strong><br />
2376</dt>
2377<dd>
2378<pre>
2379 &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>
2380</dd>
2381<dt><strong><a name="item_compactly">or more compactly (factoring out common parts)</a></strong><br />
2382</dt>
2383<dd>
2384<pre>
2385 &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>
2386</dd>
2387</dl>
2388<p></p>
2389<p>
2390</p>
2391<h2><a name="command_summary">Command Summary</a></h2>
2392<p>A short summary of the most <em>common</em> commands:</p>
2393<dl>
2394<dt><strong><a name="item__5bmenu_3aname_5d">[menu:name]</a></strong><br />
2395</dt>
2396<dd>
2397use an existing named menuBar or start a new one
2398</dd>
2399<p></p>
2400<dt><strong>[menu]</strong><br />
2401</dt>
2402<dd>
2403use the current menuBar
2404</dd>
2405<p></p>
2406<dt><strong><a name="item__5btitle_3astring_5d">[title:string]</a></strong><br />
2407</dt>
2408<dd>
2409set menuBar title
2410</dd>
2411<p></p>
2412<dt><strong>[done]</strong><br />
2413</dt>
2414<dd>
2415set menu access to readonly and, if reading from a file, signal EOF
2416</dd>
2417<p></p>
2418<dt><strong><a name="item__5bdone_3aname_5d">[done:name]</a></strong><br />
2419</dt>
2420<dd>
2421if reading from a file using [read:file;name] signal EOF
2422</dd>
2423<p></p>
2424<dt><strong>[rm:name]</strong><br />
2425</dt>
2426<dd>
2427remove named <code>menuBar(s)</code>
2428</dd>
2429<p></p>
2430<dt><strong>[rm] [rm:]</strong><br />
2431</dt>
2432<dd>
2433remove current menuBar
2434</dd>
2435<p></p>
2436<dt><strong>[rm*] [rm:*]</strong><br />
2437</dt>
2438<dd>
2439remove all <code>menuBar(s)</code>
2440</dd>
2441<p></p>
2442<dt><strong>[swap]</strong><br />
2443</dt>
2444<dd>
2445swap top two menuBars
2446</dd>
2447<p></p>
2448<dt><strong>[prev]</strong><br />
2449</dt>
2450<dd>
2451access the previous menuBar
2452</dd>
2453<p></p>
2454<dt><strong>[next]</strong><br />
2455</dt>
2456<dd>
2457access the next menuBar
2458</dd>
2459<p></p>
2460<dt><strong>[show]</strong><br />
2461</dt>
2462<dd>
2463map menuBar
2464</dd>
2465<p></p>
2466<dt><strong>[hide]</strong><br />
2467</dt>
2468<dd>
2469unmap menuBar
2470</dd>
2471<p></p>
2472<dt><strong><a name="item__5bpixmap_3bfile_5d">[pixmap;file]</a></strong><br />
2473</dt>
2474<dt><strong><a name="item__5bpixmap_3bfile_3bscaling_5d">[pixmap;file;scaling]</a></strong><br />
2475</dt>
2476<dd>
2477set a background pixmap
2478</dd>
2479<p></p>
2480<dt><strong><a name="item__5bread_3afile_5d">[read:file]</a></strong><br />
2481</dt>
2482<dt><strong><a name="item__5bread_3afile_3bname_5d">[read:file;name]</a></strong><br />
2483</dt>
2484<dd>
2485read in a menu from a file
2486</dd>
2487<p></p>
2488<dt><strong>[dump]</strong><br />
2489</dt>
2490<dd>
2491dump out all menuBars to /tmp/rxvt-PID
2492</dd>
2493<p></p>
2494<dt><strong><a name="item__2f">/</a></strong><br />
2495</dt>
2496<dd>
2497access menuBar top level
2498</dd>
2499<p></p>
2500<dt><strong><a name="item__2e_2f">./</a></strong><br />
2501</dt>
2502<dt><strong><a name="item__2e_2e_2f">../</a></strong><br />
2503</dt>
2504<dt><strong>../../</strong><br />
2505</dt>
2506<dd>
2507access current or parent menu level
2508</dd>
2509<p></p>
2510<dt><strong>/path/menu</strong><br />
2511</dt>
2512<dd>
2513add/access menu
2514</dd>
2515<p></p>
2516<dt><strong>/path/{-}</strong><br />
2517</dt>
2518<dd>
2519add separator
2520</dd>
2521<p></p>
2522<dt><strong>/path/{item}{rtext} action</strong><br />
2523</dt>
2524<dd>
2525add/alter menu item
2526</dd>
2527<p></p>
2528<dt><strong><a name="item__2d_2f_2a">-/*</a></strong><br />
2529</dt>
2530<dd>
2531remove all menus from the menuBar
2532</dd>
2533<p></p>
2534<dt><strong><a name="item__2d_2fpath_2fmenu">-/path/menu</a></strong><br />
2535</dt>
2536<dd>
2537remove menu items, separators and submenus from menu
2538</dd>
2539<p></p>
2540<dt><strong>-/path/menu</strong><br />
2541</dt>
2542<dd>
2543remove menu
2544</dd>
2545<p></p>
2546<dt><strong><a name="item__2d_2fpath_2f_7bitem_7d">-/path/{item}</a></strong><br />
2547</dt>
2548<dd>
2549remove item
2550</dd>
2551<p></p>
2552<dt><strong><a name="item__2d_2fpath_2f_7b_2d_7d">-/path/{-}</a></strong><br />
2553</dt>
2554<dd>
2555remove separator
2556</dd>
2557<p></p>
2558<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 />
2559</dt>
2560<dd>
2561menu quick arrows
2562</dd>
2563<p></p></dl>
2564<p> 2078<p>
2565</p> 2079</p>
2566<hr /> 2080<hr />
2567<h1><a name="xpm">XPM</a></h1> 2081<h1><a name="xpm">XPM</a></h1>
2568<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
2817</dd> 2331</dd>
2818<p></p> 2332<p></p>
2819<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 />
2820</dt> 2334</dt>
2821<dd> 2335<dd>
2336Recommended to stay off unless you really need non-BMP characters.
2337</dd>
2338<dd>
2822Enable direct support for displaying unicode codepoints above 2339<p>Enable direct support for displaying unicode codepoints above
282365535 (the basic multilingual page). This increases storage 234065535 (the basic multilingual page). This increases storage
2824requirements 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
2825support these extra characters, but Xft does. 2342support these extra characters, but Xft does.</p>
2826</dd> 2343</dd>
2827<dd> 2344<dd>
2828<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
2829even without this flag, but the number of such characters is 2346even without this flag, but the number of such characters is
2830limited to a view thousand (shared with combining characters, 2347limited to a view thousand (shared with combining characters,
2840where accents are encoded as seperate unicode characters. This is 2357where accents are encoded as seperate unicode characters. This is
2841done by using precomposited characters when available or creating 2358done by using precomposited characters when available or creating
2842new pseudo-characters when no precomposed form exists. 2359new pseudo-characters when no precomposed form exists.
2843</dd> 2360</dd>
2844<dd> 2361<dd>
2845<p>Without --enable-unicode3, the number of additional precomposed characters 2362<p>Without --enable-unicode3, the number of additional precomposed
2846is rather limited (2048, if this is full, rxvt-unicode will use the 2363characters is somewhat limited (the 6400 private use characters will be
2847private use area, extending the number of combinations to 8448). With
2848--enable-unicode3, no practical limit exists.</p> 2364(ab-)used). With --enable-unicode3, no practical limit exists.</p>
2849</dd> 2365</dd>
2850<dd> 2366<dd>
2851<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
2852beyond plane 0 (&gt;65535) when --enable-unicode3 was not specified.</p> 2368beyond plane 0 (&gt;65535) when --enable-unicode3 was not specified.</p>
2853</dd> 2369</dd>
2858</dd> 2374</dd>
2859<p></p> 2375<p></p>
2860<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 />
2861</dt> 2377</dt>
2862<dd> 2378<dd>
2863When 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.
2864</dd> 2381</dd>
2865<p></p> 2382<p></p>
2866<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 />
2867</dt> 2384</dt>
2868<dd> 2385<dd>
2924</dt> 2441</dt>
2925<dd> 2442<dd>
2926Add support for tinting of transparent backgrounds (requires <code>--enable-transparency</code>). 2443Add support for tinting of transparent backgrounds (requires <code>--enable-transparency</code>).
2927</dd> 2444</dd>
2928<p></p> 2445<p></p>
2929<dt><strong><a name="item_menubar">--enable-menubar (default: off) [DEPRECATED]</a></strong><br />
2930</dt>
2931<dd>
2932Add support for our menu bar system (this interacts badly with dynamic
2933locale switching currently). This option is DEPRECATED and will be removed
2934in the future.
2935</dd>
2936<p></p>
2937<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 />
2938</dt> 2447</dt>
2939<dd> 2448<dd>
2940Add support for the original rxvt scrollbar. 2449Add support for the original rxvt scrollbar.
2941</dd> 2450</dd>
2958Add support for a very unobtrusive, plain-looking scrollbar that 2467Add support for a very unobtrusive, plain-looking scrollbar that
2959is the favourite of the rxvt-unicode author, having used it for 2468is the favourite of the rxvt-unicode author, having used it for
2960many years. 2469many years.
2961</dd> 2470</dd>
2962<p></p> 2471<p></p>
2963<dt><strong><a name="item_shadow">--enable-half-shadow (default: off)</a></strong><br />
2964</dt>
2965<dd>
2966Make shadows on the scrollbar only half the normal width &amp; height.
2967only applicable to rxvt scrollbars.
2968</dd>
2969<p></p>
2970<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 />
2971</dt> 2473</dt>
2972<dd> 2474<dd>
2973Change tty device setting to group ``tty'' - only use this if 2475Change tty device setting to group ``tty'' - only use this if
2974your system uses this type of security. 2476your system uses this type of security.
2989<p></p> 2491<p></p>
2990<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 />
2991</dt> 2493</dt>
2992<dd> 2494<dd>
2993Removes any support for resource checking. 2495Removes any support for resource checking.
2994</dd>
2995<p></p>
2996<dt><strong><a name="item_strings">--enable-strings (default: off)</a></strong><br />
2997</dt>
2998<dd>
2999Add support for our possibly faster <code>memset()</code> function and other
3000various routines, overriding your system's versions which may
3001have been hand-crafted in assembly or may require extra libraries
3002to link in. (this breaks ANSI-C rules and has problems on many
3003GNU/Linux systems).
3004</dd> 2496</dd>
3005<p></p> 2497<p></p>
3006<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 />
3007</dt> 2499</dt>
3008<dd> 2500<dd>
3024<pre> 2516<pre>
3025 MWM-hints 2517 MWM-hints
3026 EWMH-hints (pid, utf8 names) and protocols (ping) 2518 EWMH-hints (pid, utf8 names) and protocols (ping)
3027 seperate underline colour (-underlineColor) 2519 seperate underline colour (-underlineColor)
3028 settable border widths and borderless switch (-w, -b, -bl) 2520 settable border widths and borderless switch (-w, -b, -bl)
2521 visual depth selection (-depth)
3029 settable extra linespacing /-lsp) 2522 settable extra linespacing /-lsp)
3030 iso-14755-2 and -3, and visual feedback 2523 iso-14755-2 and -3, and visual feedback
3031 backindex and forwardindex escape sequence
3032 window op and some xterm/OSC escape sequences
3033 tripleclickwords (-tcw) 2524 tripleclickwords (-tcw)
3034 settable insecure mode (-insecure) 2525 settable insecure mode (-insecure)
3035 keysym remapping support 2526 keysym remapping support
3036 cursor blinking and underline cursor (-cb, -uc) 2527 cursor blinking and underline cursor (-cb, -uc)
3037 XEmbed support (-embed) 2528 XEmbed support (-embed)
3038 user-pty (-pty-fd) 2529 user-pty (-pty-fd)
3039 hold on exit (-hold) 2530 hold on exit (-hold)
3040 skip builtin block graphics (-sbg) 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
3041 sgr modes 90..97 and 100..107</pre> 2541 sgr modes 90..97 and 100..107
2542 backindex and forwardindex escape sequences
2543 view change/zero scorllback esacpe sequences
2544 locale switching escape sequence
2545 window op and some xterm/OSC escape sequences
2546 rectangular selections
2547 trailing space removal for selections
2548 verbose X error handling</pre>
3042</dd> 2549</dd>
3043<p></p> 2550<p></p>
3044<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 />
3045</dt> 2552</dt>
3046<dd> 2553<dd>
3109</dt> 2616</dt>
3110<dd> 2617<dd>
3111Add support to have the pointer disappear when typing or inactive. 2618Add support to have the pointer disappear when typing or inactive.
3112</dd> 2619</dd>
3113<p></p> 2620<p></p>
3114<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 />
3115</dt> 2622</dt>
3116<dd> 2623<dd>
3117Enable an embedded perl interpreter. See the <strong>rxvtperl(3)</strong> 2624Enable an embedded perl interpreter. See the <strong>rxvtperl(3)</strong>
3118manpage (<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
3119in <em>src/perl-ext/</em> for the extensions that are installed by default. The 2626in <em>src/perl-ext/</em> for the extensions that are installed by default. The

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines