… | |
… | |
127 | .\} |
127 | .\} |
128 | .rm #[ #] #H #V #F C |
128 | .rm #[ #] #H #V #F C |
129 | .\" ======================================================================== |
129 | .\" ======================================================================== |
130 | .\" |
130 | .\" |
131 | .IX Title "rxvt 7" |
131 | .IX Title "rxvt 7" |
132 | .TH rxvt 7 "2006-01-13" "7.0" "RXVT-UNICODE" |
132 | .TH rxvt 7 "2006-01-30" "7.4" "RXVT-UNICODE" |
133 | .SH "NAME" |
133 | .SH "NAME" |
134 | RXVT REFERENCE \- FAQ, command sequences and other background information |
134 | RXVT REFERENCE \- FAQ, command sequences and other background information |
135 | .SH "SYNOPSIS" |
135 | .SH "SYNOPSIS" |
136 | .IX Header "SYNOPSIS" |
136 | .IX Header "SYNOPSIS" |
137 | .Vb 2 |
137 | .Vb 2 |
… | |
… | |
156 | The newest version of this document is |
156 | The newest version of this document is |
157 | also available on the World Wide Web at |
157 | also available on the World Wide Web at |
158 | <http://cvs.schmorp.de/browse/*checkout*/rxvt\-unicode/doc/rxvt.7.html>. |
158 | <http://cvs.schmorp.de/browse/*checkout*/rxvt\-unicode/doc/rxvt.7.html>. |
159 | .SH "FREQUENTLY ASKED QUESTIONS" |
159 | .SH "FREQUENTLY ASKED QUESTIONS" |
160 | .IX Header "FREQUENTLY ASKED QUESTIONS" |
160 | .IX Header "FREQUENTLY ASKED QUESTIONS" |
161 | .IP "The new selection selects pieces that are too big/too small, can I change this?" 4 |
161 | .IP "The new selection selects pieces that are too big, how can I select single words?" 4 |
162 | .IX Item "The new selection selects pieces that are too big/too small, can I change this?" |
162 | .IX Item "The new selection selects pieces that are too big, how can I select single words?" |
163 | Yes. For example, if you want to select smaller pieces (\*(L"words\*(R") you can |
163 | Yes. For example, if you want to select alphanumeric words, you can use |
164 | use the following resource: |
164 | the following resource: |
165 | .Sp |
165 | .Sp |
166 | .Vb 1 |
166 | .Vb 1 |
167 | \& URxvt.selection.pattern-0: ([[:word:]]+) |
167 | \& URxvt.selection.pattern-0: ([[:word:]]+) |
168 | .Ve |
168 | .Ve |
169 | .Sp |
169 | .Sp |
… | |
… | |
173 | To get a selection that is very similar to the old code, try this pattern: |
173 | To get a selection that is very similar to the old code, try this pattern: |
174 | .Sp |
174 | .Sp |
175 | .Vb 1 |
175 | .Vb 1 |
176 | \& URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\e\e\e\e]^`{|})]+) |
176 | \& URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\e\e\e\e]^`{|})]+) |
177 | .Ve |
177 | .Ve |
|
|
178 | .Sp |
|
|
179 | Please also note that the \fILeftClick Shift-LeftClik\fR combination also |
|
|
180 | selects words like the old code. |
178 | .IP "I don't like the new selection/popups/hotkeys/perl, how do I change/disable it?" 4 |
181 | .IP "I don't like the new selection/popups/hotkeys/perl, how do I change/disable it?" 4 |
179 | .IX Item "I don't like the new selection/popups/hotkeys/perl, how do I change/disable it?" |
182 | .IX Item "I don't like the new selection/popups/hotkeys/perl, how do I change/disable it?" |
180 | You can disable the perl extension completely by setting the |
183 | You can disable the perl extension completely by setting the |
181 | \&\fBperl-ext-common\fR resource to the empty string, which also keeps |
184 | \&\fBperl-ext-common\fR resource to the empty string, which also keeps |
182 | rxvt-unicode from initialising perl, saving memory. |
185 | rxvt-unicode from initialising perl, saving memory. |
… | |
… | |
197 | other combination either by setting the \fBsearchable-scrollback\fR resource: |
200 | other combination either by setting the \fBsearchable-scrollback\fR resource: |
198 | .Sp |
201 | .Sp |
199 | .Vb 1 |
202 | .Vb 1 |
200 | \& URxvt.searchable-scrollback: CM-s |
203 | \& URxvt.searchable-scrollback: CM-s |
201 | .Ve |
204 | .Ve |
|
|
205 | .IP "Why doesn't rxvt-unicode read my resources?" 4 |
|
|
206 | .IX Item "Why doesn't rxvt-unicode read my resources?" |
|
|
207 | Well, why, indeed? It does, in a way very similar to other X |
|
|
208 | applications. Most importantly, this means that if you or your \s-1OS\s0 loads |
|
|
209 | resources into the X display (the right way to do it), rxvt-unicode will |
|
|
210 | ignore any resource files in your home directory. It will only read |
|
|
211 | \&\fI$HOME/.Xdefaults\fR when no resources are attached to the display. |
|
|
212 | .Sp |
|
|
213 | If you have or use an \fI$HOME/.Xresources\fR file, chances are that |
|
|
214 | resources are loaded into your X\-server. In this case, you have to |
|
|
215 | re-login after every change (or run \fIxrdb \-merge \f(CI$HOME\fI/.Xresources\fR). |
|
|
216 | .Sp |
|
|
217 | Also consider the form resources have to use: |
|
|
218 | .Sp |
|
|
219 | .Vb 1 |
|
|
220 | \& URxvt.resource: value |
|
|
221 | .Ve |
|
|
222 | .Sp |
|
|
223 | If you want to use another form (there are lots of different ways of |
|
|
224 | specifying resources), make sure you understand wether and why it |
|
|
225 | works. If unsure, use the form above. |
|
|
226 | .IP "I can't get transparency working, what am I doing wrong?" 4 |
|
|
227 | .IX Item "I can't get transparency working, what am I doing wrong?" |
|
|
228 | First of all, transparency isn't officially supported in rxvt\-unicode, so |
|
|
229 | you are mostly on your own. Do not bug the author about it (but you may |
|
|
230 | bug everybody else). Also, if you can't get it working consider it a rite |
|
|
231 | of passage, and you failed. |
|
|
232 | .Sp |
|
|
233 | Here are three ways to get transparency. \fBDo\fR read the manpage and option |
|
|
234 | descriptions for the programs mentioned and rxvt\-unicode. Really, do it! |
|
|
235 | .Sp |
|
|
236 | 1. Use inheritPixmap: |
|
|
237 | .Sp |
|
|
238 | .Vb 2 |
|
|
239 | \& Esetroot wallpaper.jpg |
|
|
240 | \& @@RXVT_NAME@@ -ip -tint red -sh 40 |
|
|
241 | .Ve |
|
|
242 | .Sp |
|
|
243 | That works. If you think it doesn't, you lack transparency and tinting |
|
|
244 | support, or you are unable to read. |
|
|
245 | .Sp |
|
|
246 | 2. Use a simple pixmap and emulate pseudo\-transparency. This enables you |
|
|
247 | to use effects other than tinting and shading: Just shade/tint/whatever |
|
|
248 | your picture with gimp: |
|
|
249 | .Sp |
|
|
250 | .Vb 2 |
|
|
251 | \& convert wallpaper.jpg -blur 20x20 -modulate 30 background.xpm |
|
|
252 | \& @@RXVT_NAME@@ -pixmap background.xpm -pe automove-background |
|
|
253 | .Ve |
|
|
254 | .Sp |
|
|
255 | That works. If you think it doesn't, you lack \s-1XPM\s0 and Perl support, or you |
|
|
256 | are unable to read. |
|
|
257 | .Sp |
|
|
258 | 3. Use an \s-1ARGB\s0 visual: |
|
|
259 | .Sp |
|
|
260 | .Vb 1 |
|
|
261 | \& @@RXVT_NAME@@ -depth 432 -fg grey90 -bg rgba:0000/0000/0000/c000 |
|
|
262 | .Ve |
|
|
263 | .Sp |
|
|
264 | This requires \s-1XFT\s0 support, and support form your X\-server. If that doesn't |
|
|
265 | work for you, blame Xorg and Keith Packard. \s-1ARGB\s0 visuals aren't there yet, |
|
|
266 | no matter what they claim. Rxvt-Unicode contains the neccessary bugfixes |
|
|
267 | and workarounds for Xft and Xlib to make it work. |
202 | .IP "Isn't rxvt supposed to be small? Don't all those features bloat?" 4 |
268 | .IP "Isn't rxvt supposed to be small? Don't all those features bloat?" 4 |
203 | .IX Item "Isn't rxvt supposed to be small? Don't all those features bloat?" |
269 | .IX Item "Isn't rxvt supposed to be small? Don't all those features bloat?" |
204 | I often get asked about this, and I think, no, they didn't cause extra |
270 | I often get asked about this, and I think, no, they didn't cause extra |
205 | bloat. If you compare a minimal rxvt and a minimal urxvt, you can see |
271 | bloat. If you compare a minimal rxvt and a minimal urxvt, you can see |
206 | that the urxvt binary is larger (due to some encoding tables always being |
272 | that the urxvt binary is larger (due to some encoding tables always being |
… | |
… | |
281 | .Sp |
347 | .Sp |
282 | No large bloated libraries (of course, none were linked in statically), |
348 | No large bloated libraries (of course, none were linked in statically), |
283 | except maybe libX11 :) |
349 | except maybe libX11 :) |
284 | .IP "Does it support tabs, can I have a tabbed rxvt\-unicode?" 4 |
350 | .IP "Does it support tabs, can I have a tabbed rxvt\-unicode?" 4 |
285 | .IX Item "Does it support tabs, can I have a tabbed rxvt-unicode?" |
351 | .IX Item "Does it support tabs, can I have a tabbed rxvt-unicode?" |
286 | rxvt-unicode does not directly support tabs. It will work fine with |
352 | Beginning with version 7.3, there is a perl extension that implements a |
287 | tabbing functionality of many window managers or similar tabbing programs, |
353 | simple tabbed terminal. It is installed by default, so any of these should |
288 | and its embedding-features allow it to be embedded into other programs, |
354 | give you tabs: |
289 | as witnessed by \fIdoc/rxvt\-tabbed\fR or the upcoming \f(CW\*(C`Gtk2::URxvt\*(C'\fR perl |
355 | .Sp |
290 | module, which features a tabbed urxvt (murxvt) terminal as an example |
356 | .Vb 1 |
291 | embedding application. |
357 | \& @@RXVT_NAME@@ -pe tabbed |
|
|
358 | .Ve |
|
|
359 | .Sp |
|
|
360 | .Vb 1 |
|
|
361 | \& URxvt.perl-ext-common: default,tabbed |
|
|
362 | .Ve |
|
|
363 | .Sp |
|
|
364 | It will also work fine with tabbing functionality of many window managers |
|
|
365 | or similar tabbing programs, and its embedding-features allow it to be |
|
|
366 | embedded into other programs, as witnessed by \fIdoc/rxvt\-tabbed\fR or |
|
|
367 | the upcoming \f(CW\*(C`Gtk2::URxvt\*(C'\fR perl module, which features a tabbed urxvt |
|
|
368 | (murxvt) terminal as an example embedding application. |
292 | .IP "How do I know which rxvt-unicode version I'm using?" 4 |
369 | .IP "How do I know which rxvt-unicode version I'm using?" 4 |
293 | .IX Item "How do I know which rxvt-unicode version I'm using?" |
370 | .IX Item "How do I know which rxvt-unicode version I'm using?" |
294 | The version number is displayed with the usage (\-h). Also the escape |
371 | The version number is displayed with the usage (\-h). Also the escape |
295 | sequence \f(CW\*(C`ESC [ 8 n\*(C'\fR sets the window title to the version number. When |
372 | sequence \f(CW\*(C`ESC [ 8 n\*(C'\fR sets the window title to the version number. When |
296 | using the @@RXVT_NAME@@c client, the version displayed is that of the |
373 | using the @@RXVT_NAME@@c client, the version displayed is that of the |
297 | daemon. |
374 | daemon. |
298 | .IP "I am using Debian GNU/Linux and have a problem..." 4 |
375 | .IP "I am using Debian GNU/Linux and have a problem..." 4 |
299 | .IX Item "I am using Debian GNU/Linux and have a problem..." |
376 | .IX Item "I am using Debian GNU/Linux and have a problem..." |
300 | The Debian GNU/Linux package of rxvt-unicode in sarge contains large |
377 | The Debian GNU/Linux package of rxvt-unicode in sarge contains large |
301 | patches that considerably change the behaviour of rxvt\-unicode. Before |
378 | patches that considerably change the behaviour of rxvt-unicode (but |
302 | reporting a bug to the original rxvt-unicode author please download and |
379 | unfortunately this notice has been removed). Before reporting a bug to |
303 | install the genuine version (<http://software.schmorp.de#rxvt\-unicode>) |
380 | the original rxvt-unicode author please download and install the genuine |
304 | and try to reproduce the problem. If you cannot, chances are that the |
381 | version (<http://software.schmorp.de#rxvt\-unicode>) and try to reproduce |
305 | problems are specific to Debian GNU/Linux, in which case it should be |
382 | the problem. If you cannot, chances are that the problems are specific to |
|
|
383 | Debian GNU/Linux, in which case it should be reported via the Debian Bug |
306 | reported via the Debian Bug Tracking System (use \f(CW\*(C`reportbug\*(C'\fR to report |
384 | Tracking System (use \f(CW\*(C`reportbug\*(C'\fR to report the bug). |
307 | the bug). |
|
|
308 | .Sp |
385 | .Sp |
309 | For other problems that also affect the Debian package, you can and |
386 | For other problems that also affect the Debian package, you can and |
310 | probably should use the Debian \s-1BTS\s0, too, because, after all, it's also a |
387 | probably should use the Debian \s-1BTS\s0, too, because, after all, it's also a |
311 | bug in the Debian version and it serves as a reminder for other users that |
388 | bug in the Debian version and it serves as a reminder for other users that |
312 | might encounter the same issue. |
389 | might encounter the same issue. |
… | |
… | |
329 | one with \f(CW\*(C`\-\-disable\-everything\*(C'\fR (very useful) and a maximal one with |
406 | one with \f(CW\*(C`\-\-disable\-everything\*(C'\fR (very useful) and a maximal one with |
330 | \&\f(CW\*(C`\-\-enable\-everything\*(C'\fR (less useful, it will be very big due to a lot of |
407 | \&\f(CW\*(C`\-\-enable\-everything\*(C'\fR (less useful, it will be very big due to a lot of |
331 | encodings built-in that increase download times and are rarely used). |
408 | encodings built-in that increase download times and are rarely used). |
332 | .IP "I need to make it setuid/setgid to support utmp/ptys on my \s-1OS\s0, is this safe?" 4 |
409 | .IP "I need to make it setuid/setgid to support utmp/ptys on my \s-1OS\s0, is this safe?" 4 |
333 | .IX Item "I need to make it setuid/setgid to support utmp/ptys on my OS, is this safe?" |
410 | .IX Item "I need to make it setuid/setgid to support utmp/ptys on my OS, is this safe?" |
334 | Likely not. While I honestly try to make it secure, and am probably not |
411 | It should be, starting with release 7.1. You are encouraged to properly |
335 | bad at it, I think it is simply unreasonable to expect all of freetype |
412 | install urxvt with privileges necessary for your \s-1OS\s0 now. |
336 | + fontconfig + xft + xlib + perl + ... + rxvt-unicode itself to all be |
|
|
337 | secure. Also, rxvt-unicode disables some options when it detects that it |
|
|
338 | runs setuid or setgid, which is not nice. Besides, with the embedded perl |
|
|
339 | interpreter the possibility for security problems easily multiplies. |
|
|
340 | .Sp |
413 | .Sp |
341 | Elevated privileges are only required for utmp and pty operations on some |
414 | When rxvt-unicode detects that it runs setuid or setgid, it will fork |
342 | systems (for example, GNU/Linux doesn't need any extra privileges for |
415 | into a helper process for privileged operations (pty handling on some |
343 | ptys, but some need it for utmp support). It is planned to mvoe this into |
416 | systems, utmp/wtmp/lastlog handling on others) and drop privileges |
344 | a forked handler process, but this is not yet done. |
417 | immediately. This is much safer than most other terminals that keep |
|
|
418 | privileges while running (but is more relevant to urxvt, as it contains |
|
|
419 | things as perl interpreters, which might be \*(L"helpful\*(R" to attackers). |
345 | .Sp |
420 | .Sp |
346 | So, while setuid/setgid operation is supported and not a problem on your |
421 | This forking is done as the very first within \fImain()\fR, which is very early |
347 | typical single-user-no-other-logins unix desktop, always remember that |
422 | and reduces possible bugs to initialisation code run before \fImain()\fR, or |
348 | its an awful lot of code, most of which isn't checked for security issues |
423 | things like the dynamic loader of your system, which should result in very |
349 | regularly. |
424 | little risk. |
350 | .IP "When I log-in to another system it tells me about missing terminfo data?" 4 |
425 | .IP "When I log-in to another system it tells me about missing terminfo data?" 4 |
351 | .IX Item "When I log-in to another system it tells me about missing terminfo data?" |
426 | .IX Item "When I log-in to another system it tells me about missing terminfo data?" |
352 | The terminal description used by rxvt-unicode is not as widely available |
427 | The terminal description used by rxvt-unicode is not as widely available |
353 | as that for xterm, or even rxvt (for which the same problem often arises). |
428 | as that for xterm, or even rxvt (for which the same problem often arises). |
354 | .Sp |
429 | .Sp |
… | |
… | |
772 | .IX Item "My input method wants <some encoding> but I want UTF-8, what can I do?" |
847 | .IX Item "My input method wants <some encoding> but I want UTF-8, what can I do?" |
773 | You can specify separate locales for the input method and the rest of the |
848 | You can specify separate locales for the input method and the rest of the |
774 | terminal, using the resource \f(CW\*(C`imlocale\*(C'\fR: |
849 | terminal, using the resource \f(CW\*(C`imlocale\*(C'\fR: |
775 | .Sp |
850 | .Sp |
776 | .Vb 1 |
851 | .Vb 1 |
777 | \& URxvt*imlocale: ja_JP.EUC-JP |
852 | \& URxvt.imlocale: ja_JP.EUC-JP |
778 | .Ve |
853 | .Ve |
779 | .Sp |
854 | .Sp |
780 | Now you can start your terminal with \f(CW\*(C`LC_CTYPE=ja_JP.UTF\-8\*(C'\fR and still |
855 | Now you can start your terminal with \f(CW\*(C`LC_CTYPE=ja_JP.UTF\-8\*(C'\fR and still |
781 | use your input method. Please note, however, that you will not be able to |
856 | use your input method. Please note, however, that you will not be able to |
782 | input characters outside \f(CW\*(C`EUC\-JP\*(C'\fR in a normal way then, as your input |
857 | input characters outside \f(CW\*(C`EUC\-JP\*(C'\fR in a normal way then, as your input |
… | |
… | |
824 | .IX Item "Mouse cut/paste suddenly no longer works." |
899 | .IX Item "Mouse cut/paste suddenly no longer works." |
825 | Make sure that mouse reporting is actually turned off since killing |
900 | Make sure that mouse reporting is actually turned off since killing |
826 | some editors prematurely may leave the mouse in mouse report mode. I've |
901 | some editors prematurely may leave the mouse in mouse report mode. I've |
827 | heard that tcsh may use mouse reporting unless it otherwise specified. A |
902 | heard that tcsh may use mouse reporting unless it otherwise specified. A |
828 | quick check is to see if cut/paste works when the Alt or Shift keys are |
903 | quick check is to see if cut/paste works when the Alt or Shift keys are |
829 | depressed. See @@RXVT_NAME@@(7) |
904 | depressed. |
830 | .IP "What's with this bold/blink stuff?" 4 |
905 | .IP "What's with this bold/blink stuff?" 4 |
831 | .IX Item "What's with this bold/blink stuff?" |
906 | .IX Item "What's with this bold/blink stuff?" |
832 | If no bold colour is set via \f(CW\*(C`colorBD:\*(C'\fR, bold will invert text using the |
907 | If no bold colour is set via \f(CW\*(C`colorBD:\*(C'\fR, bold will invert text using the |
833 | standard foreground colour. |
908 | standard foreground colour. |
834 | .Sp |
909 | .Sp |
… | |
… | |
929 | \& # use Backspace = ^? |
1004 | \& # use Backspace = ^? |
930 | \& $ stty erase ^? |
1005 | \& $ stty erase ^? |
931 | \& $ @@RXVT_NAME@@ |
1006 | \& $ @@RXVT_NAME@@ |
932 | .Ve |
1007 | .Ve |
933 | .Sp |
1008 | .Sp |
934 | Toggle with \f(CW\*(C`ESC [ 36 h\*(C'\fR / \f(CW\*(C`ESC [ 36 l\*(C'\fR as documented in @@RXVT_NAME@@(7). |
1009 | Toggle with \f(CW\*(C`ESC [ 36 h\*(C'\fR / \f(CW\*(C`ESC [ 36 l\*(C'\fR. |
935 | .Sp |
1010 | .Sp |
936 | For an existing rxvt\-unicode: |
1011 | For an existing rxvt\-unicode: |
937 | .Sp |
1012 | .Sp |
938 | .Vb 3 |
1013 | .Vb 3 |
939 | \& # use Backspace = ^H |
1014 | \& # use Backspace = ^H |
… | |
… | |
1055 | .IX Header "RXVT TECHNICAL REFERENCE" |
1130 | .IX Header "RXVT TECHNICAL REFERENCE" |
1056 | .SH "DESCRIPTION" |
1131 | .SH "DESCRIPTION" |
1057 | .IX Header "DESCRIPTION" |
1132 | .IX Header "DESCRIPTION" |
1058 | The rest of this document describes various technical aspects of |
1133 | The rest of this document describes various technical aspects of |
1059 | \&\fBrxvt-unicode\fR. First the description of supported command sequences, |
1134 | \&\fBrxvt-unicode\fR. First the description of supported command sequences, |
1060 | followed by menu and pixmap support and last by a description of all |
1135 | followed by pixmap support and last by a description of all features |
1061 | features selectable at \f(CW\*(C`configure\*(C'\fR time. |
1136 | selectable at \f(CW\*(C`configure\*(C'\fR time. |
1062 | .SH "Definitions" |
1137 | .SH "Definitions" |
1063 | .IX Header "Definitions" |
1138 | .IX Header "Definitions" |
1064 | .ie n .IP "\fB\fB""c""\fB\fR" 4 |
1139 | .ie n .IP "\fB\fB""c""\fB\fR" 4 |
1065 | .el .IP "\fB\f(CBc\fB\fR" 4 |
1140 | .el .IP "\fB\f(CBc\fB\fR" 4 |
1066 | .IX Item "c" |
1141 | .IX Item "c" |
… | |
… | |
1613 | l l . |
1688 | l l . |
1614 | h Send Mouse X & Y on button press. |
1689 | h Send Mouse X & Y on button press. |
1615 | l No mouse reporting. |
1690 | l No mouse reporting. |
1616 | .TE |
1691 | .TE |
1617 | |
1692 | |
1618 | .ie n .IP "\fB\fB""Ps = 10""\fB\fR (\fBrxvt\fR)" 4 |
|
|
1619 | .el .IP "\fB\f(CBPs = 10\fB\fR (\fBrxvt\fR)" 4 |
|
|
1620 | .IX Item "Ps = 10 (rxvt)" |
|
|
1621 | .TS |
|
|
1622 | l l . |
|
|
1623 | h menuBar visible |
|
|
1624 | l menuBar invisible |
|
|
1625 | .TE |
|
|
1626 | |
|
|
1627 | .ie n .IP "\fB\fB""Ps = 25""\fB\fR" 4 |
1693 | .ie n .IP "\fB\fB""Ps = 25""\fB\fR" 4 |
1628 | .el .IP "\fB\f(CBPs = 25\fB\fR" 4 |
1694 | .el .IP "\fB\f(CBPs = 25\fB\fR" 4 |
1629 | .IX Item "Ps = 25" |
1695 | .IX Item "Ps = 25" |
1630 | .TS |
1696 | .TS |
1631 | l l . |
1697 | l l . |
… | |
… | |
1817 | Ps = 12 Change colour of text cursor foreground to Pt |
1883 | Ps = 12 Change colour of text cursor foreground to Pt |
1818 | Ps = 13 Change colour of mouse foreground to Pt |
1884 | Ps = 13 Change colour of mouse foreground to Pt |
1819 | Ps = 17 Change colour of highlight characters to Pt |
1885 | Ps = 17 Change colour of highlight characters to Pt |
1820 | Ps = 18 Change colour of bold characters to Pt [deprecated, see 706] |
1886 | Ps = 18 Change colour of bold characters to Pt [deprecated, see 706] |
1821 | Ps = 19 Change colour of underlined characters to Pt [deprecated, see 707] |
1887 | Ps = 19 Change colour of underlined characters to Pt [deprecated, see 707] |
1822 | Ps = 20 Change default background to Pt |
1888 | Ps = 20 Change background pixmap parameters (see section XPM) (Compile XPM). |
1823 | Ps = 39 Change default foreground colour to Pt. |
1889 | Ps = 39 Change default foreground colour to Pt. |
1824 | Ps = 46 Change Log File to Pt unimplemented |
1890 | Ps = 46 Change Log File to Pt unimplemented |
1825 | Ps = 49 Change default background colour to Pt. |
1891 | Ps = 49 Change default background colour to Pt. |
1826 | Ps = 50 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 |
1892 | Ps = 50 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 |
1827 | Ps = 55 Log all scrollback buffer and all of screen to Pt |
1893 | Ps = 55 Log all scrollback buffer and all of screen to Pt |
1828 | Ps = 701 Change current locale to Pt, or, if Pt is ?, return the current locale (Compile frills). |
1894 | Ps = 701 Change current locale to Pt, or, if Pt is ?, return the current locale (Compile frills). |
1829 | Ps = 703 Menubar command Pt (Compile menubar). |
1895 | Ps = 702 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. |
1830 | Ps = 704 Change colour of italic characters to Pt |
1896 | Ps = 704 Change colour of italic characters to Pt |
1831 | Ps = 705 Change background pixmap tint colour to Pt (Compile transparency). |
1897 | Ps = 705 Change background pixmap tint colour to Pt (Compile transparency). |
1832 | Ps = 706 Change colour of bold characters to Pt |
1898 | Ps = 706 Change colour of bold characters to Pt |
1833 | Ps = 707 Change colour of underlined characters to Pt |
1899 | Ps = 707 Change colour of underlined characters to Pt |
1834 | Ps = 710 Set normal fontset to Pt. Same as Ps = 50. |
1900 | Ps = 710 Set normal fontset to Pt. Same as Ps = 50. |
… | |
… | |
1840 | Ps = 777 Call the perl extension with the given string, which should be of the form extension:parameters (Compile perl). |
1906 | Ps = 777 Call the perl extension with the given string, which should be of the form extension:parameters (Compile perl). |
1841 | .TE |
1907 | .TE |
1842 | |
1908 | |
1843 | .PP |
1909 | .PP |
1844 | |
1910 | |
1845 | .IX Xref "menuBar" |
1911 | .IX Xref "XPM" |
1846 | .SH "menuBar" |
|
|
1847 | .IX Header "menuBar" |
|
|
1848 | \&\fBThe exact syntax used is \f(BIalmost\fB solidified.\fR |
|
|
1849 | In the menus, \fB\s-1DON\s0'T\fR try to use menuBar commands that add or remove a |
|
|
1850 | menuBar. |
|
|
1851 | .PP |
|
|
1852 | Note that in all of the commands, the \fB\f(BI/path/\fB\fR \fIcannot\fR be |
|
|
1853 | omitted: use \fB./\fR to specify a menu relative to the current menu. |
|
|
1854 | .Sh "Overview of menuBar operation" |
|
|
1855 | .IX Subsection "Overview of menuBar operation" |
|
|
1856 | For the menuBar XTerm escape sequence \f(CW\*(C`ESC ] 703 ; Pt ST\*(C'\fR, the syntax |
|
|
1857 | of \f(CW\*(C`Pt\*(C'\fR can be used for a variety of tasks: |
|
|
1858 | .PP |
|
|
1859 | At the top level is the current menuBar which is a member of a circular |
|
|
1860 | linked-list of other such menuBars. |
|
|
1861 | .PP |
|
|
1862 | The menuBar acts as a parent for the various drop-down menus, which in |
|
|
1863 | turn, may have labels, separator lines, menuItems and subMenus. |
|
|
1864 | .PP |
|
|
1865 | The menuItems are the useful bits: you can use them to mimic keyboard |
|
|
1866 | input or even to send text or escape sequences back to rxvt. |
|
|
1867 | .PP |
|
|
1868 | The menuBar syntax is intended to provide a simple yet robust method of |
|
|
1869 | constructing and manipulating menus and navigating through the |
|
|
1870 | menuBars. |
|
|
1871 | .PP |
|
|
1872 | The first step is to use the tag \fB[menu:\f(BIname\fB]\fR which creates |
|
|
1873 | the menuBar called \fIname\fR and allows access. You may now or menus, |
|
|
1874 | subMenus, and menuItems. Finally, use the tag \fB[done]\fR to set the |
|
|
1875 | menuBar access as \fBreadonly\fR to prevent accidental corruption of the |
|
|
1876 | menus. To re-access the current menuBar for alterations, use the tag |
|
|
1877 | \&\fB[menu]\fR, make the alterations and then use \fB[done]\fR |
|
|
1878 | .PP |
|
|
1879 | |
|
|
1880 | .IX Xref "menuBarCommands" |
|
|
1881 | .Sh "Commands" |
|
|
1882 | .IX Subsection "Commands" |
|
|
1883 | .IP "\fB[menu:+\f(BIname\fB]\fR" 4 |
|
|
1884 | .IX Item "[menu:+name]" |
|
|
1885 | access the named menuBar for creation or alteration. If a new menuBar |
|
|
1886 | is created, it is called \fIname\fR (max of 15 chars) and the current |
|
|
1887 | menuBar is pushed onto the stack |
|
|
1888 | .IP "\fB[menu]\fR" 4 |
|
|
1889 | .IX Item "[menu]" |
|
|
1890 | access the current menuBar for alteration |
|
|
1891 | .IP "\fB[title:+\f(BIstring\fB]\fR" 4 |
|
|
1892 | .IX Item "[title:+string]" |
|
|
1893 | set the current menuBar's title to \fIstring\fR, which may contain the |
|
|
1894 | following format specifiers: |
|
|
1895 | .Sp |
|
|
1896 | .Vb 3 |
|
|
1897 | \& B<%n> rxvt name (as per the B<-name> command-line option) |
|
|
1898 | \& B<%v> rxvt version |
|
|
1899 | \& B<%%> literal B<%> character |
|
|
1900 | .Ve |
|
|
1901 | .IP "\fB[done]\fR" 4 |
|
|
1902 | .IX Item "[done]" |
|
|
1903 | set menuBar access as \fBreadonly\fR. |
|
|
1904 | End-of-file tag for \fB[read:+\f(BIfile\fB]\fR operations. |
|
|
1905 | .IP "\fB[read:+\f(BIfile\fB]\fR" 4 |
|
|
1906 | .IX Item "[read:+file]" |
|
|
1907 | read menu commands directly from \fIfile\fR (extension \*(L".menu\*(R" will be |
|
|
1908 | appended if required.) Start reading at a line with \fB[menu]\fR or \fB[menu:+\f(BIname\fB\fR and continuing until \fB[done]\fR is encountered. |
|
|
1909 | .Sp |
|
|
1910 | Blank and comment lines (starting with \fB#\fR) are ignored. Actually, |
|
|
1911 | since any invalid menu commands are also ignored, almost anything could |
|
|
1912 | be construed as a comment line, but this may be tightened up in the |
|
|
1913 | future ... so don't count on it!. |
|
|
1914 | .IP "\fB[read:+\f(BIfile\fB;+\f(BIname\fB]\fR" 4 |
|
|
1915 | .IX Item "[read:+file;+name]" |
|
|
1916 | The same as \fB[read:+\f(BIfile\fB]\fR, but start reading at a line with |
|
|
1917 | \&\fB[menu:+\f(BIname\fB]\fR and continuing until \fB[done:+\f(BIname\fB]\fR or |
|
|
1918 | \&\fB[done]\fR is encountered. |
|
|
1919 | .IP "\fB[dump]\fR" 4 |
|
|
1920 | .IX Item "[dump]" |
|
|
1921 | dump all menuBars to the file \fB/tmp/rxvt\-PID\fR in a format suitable for |
|
|
1922 | later rereading. |
|
|
1923 | .IP "\fB[rm:name]\fR" 4 |
|
|
1924 | .IX Item "[rm:name]" |
|
|
1925 | remove the named menuBar |
|
|
1926 | .IP "\fB[rm] [rm:]\fR" 4 |
|
|
1927 | .IX Item "[rm] [rm:]" |
|
|
1928 | remove the current menuBar |
|
|
1929 | .IP "\fB[rm*] [rm:*]\fR" 4 |
|
|
1930 | .IX Item "[rm*] [rm:*]" |
|
|
1931 | remove all menuBars |
|
|
1932 | .IP "\fB[swap]\fR" 4 |
|
|
1933 | .IX Item "[swap]" |
|
|
1934 | swap the top two menuBars |
|
|
1935 | .IP "\fB[prev]\fR" 4 |
|
|
1936 | .IX Item "[prev]" |
|
|
1937 | access the previous menuBar |
|
|
1938 | .IP "\fB[next]\fR" 4 |
|
|
1939 | .IX Item "[next]" |
|
|
1940 | access the next menuBar |
|
|
1941 | .IP "\fB[show]\fR" 4 |
|
|
1942 | .IX Item "[show]" |
|
|
1943 | Enable display of the menuBar |
|
|
1944 | .IP "\fB[hide]\fR" 4 |
|
|
1945 | .IX Item "[hide]" |
|
|
1946 | Disable display of the menuBar |
|
|
1947 | .IP "\fB[pixmap:+\f(BIname\fB]\fR" 4 |
|
|
1948 | .IX Item "[pixmap:+name]" |
|
|
1949 | .PD 0 |
|
|
1950 | .IP "\fB[pixmap:+\f(BIname\fB;\f(BIscaling\fB]\fR" 4 |
|
|
1951 | .IX Item "[pixmap:+name;scaling]" |
|
|
1952 | .PD |
|
|
1953 | (set the background pixmap globally |
|
|
1954 | .Sp |
|
|
1955 | \&\fBA Future implementation \f(BImay\fB make this local to the menubar\fR) |
|
|
1956 | .IP "\fB[:+\f(BIcommand\fB:]\fR" 4 |
|
|
1957 | .IX Item "[:+command:]" |
|
|
1958 | ignore the menu readonly status and issue a \fIcommand\fR to or a menu or |
|
|
1959 | menuitem or change the ; a useful shortcut for setting the quick arrows |
|
|
1960 | from a menuBar. |
|
|
1961 | .PP |
|
|
1962 | |
|
|
1963 | .IX Xref "menuBarAdd" |
|
|
1964 | .Sh "Adding and accessing menus" |
|
|
1965 | .IX Subsection "Adding and accessing menus" |
|
|
1966 | The following commands may also be \fB+\fR prefixed. |
|
|
1967 | .IP "\fB/+\fR" 4 |
|
|
1968 | .IX Item "/+" |
|
|
1969 | access menuBar top level |
|
|
1970 | .IP "\fB./+\fR" 4 |
|
|
1971 | .IX Item "./+" |
|
|
1972 | access current menu level |
|
|
1973 | .IP "\fB../+\fR" 4 |
|
|
1974 | .IX Item "../+" |
|
|
1975 | access parent menu (1 level up) |
|
|
1976 | .IP "\fB../../\fR" 4 |
|
|
1977 | .IX Item "../../" |
|
|
1978 | access parent menu (multiple levels up) |
|
|
1979 | .IP "\fB\f(BI/path/\fBmenu\fR" 4 |
|
|
1980 | .IX Item "/path/menu" |
|
|
1981 | add/access menu |
|
|
1982 | .IP "\fB\f(BI/path/\fBmenu/*\fR" 4 |
|
|
1983 | .IX Item "/path/menu/*" |
|
|
1984 | add/access menu and clear it if it exists |
|
|
1985 | .IP "\fB\f(BI/path/\fB{\-}\fR" 4 |
|
|
1986 | .IX Item "/path/{-}" |
|
|
1987 | add separator |
|
|
1988 | .IP "\fB\f(BI/path/\fB{item}\fR" 4 |
|
|
1989 | .IX Item "/path/{item}" |
|
|
1990 | add \fBitem\fR as a label |
|
|
1991 | .IP "\fB\f(BI/path/\fB{item} action\fR" 4 |
|
|
1992 | .IX Item "/path/{item} action" |
|
|
1993 | add/alter \fImenuitem\fR with an associated \fIaction\fR |
|
|
1994 | .IP "\fB\f(BI/path/\fB{item}{right\-text}\fR" 4 |
|
|
1995 | .IX Item "/path/{item}{right-text}" |
|
|
1996 | add/alter \fImenuitem\fR with \fBright-text\fR as the right-justified text |
|
|
1997 | and as the associated \fIaction\fR |
|
|
1998 | .IP "\fB\f(BI/path/\fB{item}{rtext} action\fR" 4 |
|
|
1999 | .IX Item "/path/{item}{rtext} action" |
|
|
2000 | add/alter \fImenuitem\fR with an associated \fIaction\fR and with \fBrtext\fR as |
|
|
2001 | the right-justified text. |
|
|
2002 | .IP "Special characters in \fIaction\fR must be backslash\-escaped:" 4 |
|
|
2003 | .IX Item "Special characters in action must be backslash-escaped:" |
|
|
2004 | \&\fB\ea \eb \eE \ee \en \er \et \eoctal\fR |
|
|
2005 | .IP "or in control-character notation:" 4 |
|
|
2006 | .IX Item "or in control-character notation:" |
|
|
2007 | \&\fB^@, ^A .. ^Z .. ^_, ^?\fR |
|
|
2008 | .PP |
|
|
2009 | To send a string starting with a \fB\s-1NUL\s0\fR (\fB^@\fR) character to the |
|
|
2010 | program, start \fIaction\fR with a pair of \fB\s-1NUL\s0\fR characters (\fB^@^@\fR), |
|
|
2011 | the first of which will be stripped off and the balance directed to the |
|
|
2012 | program. Otherwise if \fIaction\fR begins with \fB\s-1NUL\s0\fR followed by |
|
|
2013 | non\-+\fB\s-1NUL\s0\fR characters, the leading \fB\s-1NUL\s0\fR is stripped off and the |
|
|
2014 | balance is sent back to rxvt. |
|
|
2015 | .PP |
|
|
2016 | As a convenience for the many Emacs-type editors, \fIaction\fR may start |
|
|
2017 | with \fBM\-\fR (eg, \fBM\-$\fR is equivalent to \fB\eE$\fR) and a \fB\s-1CR\s0\fR will be |
|
|
2018 | appended if missed from \fBM\-x\fR commands. |
|
|
2019 | .PP |
|
|
2020 | As a convenience for issuing XTerm \fB\s-1ESC\s0 ]\fR sequences from a menubar (or |
|
|
2021 | quick arrow), a \fB\s-1BEL\s0\fR (\fB^G\fR) will be appended if needed. |
|
|
2022 | .IP "For example," 4 |
|
|
2023 | .IX Item "For example," |
|
|
2024 | \&\fBM\-xapropos\fR is equivalent to \fB\eExapropos\er\fR |
|
|
2025 | .IP "and" 4 |
|
|
2026 | .IX Item "and" |
|
|
2027 | \&\fB\eE]703;mona;100\fR is equivalent to \fB\eE]703;mona;100\ea\fR |
|
|
2028 | .PP |
|
|
2029 | The option \fB{\f(BIright-rtext\fB}\fR will be right\-justified. In the |
|
|
2030 | absence of a specified action, this text will be used as the \fIaction\fR |
|
|
2031 | as well. |
|
|
2032 | .IP "For example," 4 |
|
|
2033 | .IX Item "For example," |
|
|
2034 | \&\fB/File/{Open}{^X^F}\fR is equivalent to \fB/File/{Open}{^X^F} ^X^F\fR |
|
|
2035 | .PP |
|
|
2036 | The left label \fIis\fR necessary, since it's used for matching, but |
|
|
2037 | implicitly hiding the left label (by using same name for both left and |
|
|
2038 | right labels), or explicitly hiding the left label (by preceeding it |
|
|
2039 | with a dot), makes it possible to have right-justified text only. |
|
|
2040 | .IP "For example," 4 |
|
|
2041 | .IX Item "For example," |
|
|
2042 | \&\fB/File/{Open}{Open} Open-File-Action\fR |
|
|
2043 | .IP "or hiding it" 4 |
|
|
2044 | .IX Item "or hiding it" |
|
|
2045 | \&\fB/File/{.anylabel}{Open} Open-File-Action\fR |
|
|
2046 | .PP |
|
|
2047 | |
|
|
2048 | .IX Xref "menuBarRemove" |
|
|
2049 | .Sh "Removing menus" |
|
|
2050 | .IX Subsection "Removing menus" |
|
|
2051 | .IP "\fB\-/*+\fR" 4 |
|
|
2052 | .IX Item "-/*+" |
|
|
2053 | remove all menus from the menuBar, the same as \fB[clear]\fR |
|
|
2054 | .IP "\fB\-+\f(BI/path\fBmenu+\fR" 4 |
|
|
2055 | .IX Item "-+/pathmenu+" |
|
|
2056 | remove menu |
|
|
2057 | .IP "\fB\-+\f(BI/path\fB{item}+\fR" 4 |
|
|
2058 | .IX Item "-+/path{item}+" |
|
|
2059 | remove item |
|
|
2060 | .IP "\fB\-+\f(BI/path\fB{\-}\fR" 4 |
|
|
2061 | .IX Item "-+/path{-}" |
|
|
2062 | remove separator) |
|
|
2063 | .IP "\fB\-/path/menu/*\fR" 4 |
|
|
2064 | .IX Item "-/path/menu/*" |
|
|
2065 | remove all items, separators and submenus from menu |
|
|
2066 | .PP |
|
|
2067 | |
|
|
2068 | .IX Xref "menuBarArrows" |
|
|
2069 | .Sh "Quick Arrows" |
|
|
2070 | .IX Subsection "Quick Arrows" |
|
|
2071 | The menus also provide a hook for \fIquick arrows\fR to provide easier |
|
|
2072 | user access. If nothing has been explicitly set, the default is to |
|
|
2073 | emulate the curror keys. The syntax permits each arrow to be altered |
|
|
2074 | individually or all four at once without re-entering their common |
|
|
2075 | beginning/end text. For example, to explicitly associate cursor actions |
|
|
2076 | with the arrows, any of the following forms could be used: |
|
|
2077 | .IP "\fB<r>+\f(BIRight\fB\fR" 4 |
|
|
2078 | .IX Item "<r>+Right" |
|
|
2079 | .PD 0 |
|
|
2080 | .IP "\fB<l>+\f(BILeft\fB\fR" 4 |
|
|
2081 | .IX Item "<l>+Left" |
|
|
2082 | .IP "\fB<u>+\f(BIUp\fB\fR" 4 |
|
|
2083 | .IX Item "<u>+Up" |
|
|
2084 | .IP "\fB<d>+\f(BIDown\fB\fR" 4 |
|
|
2085 | .IX Item "<d>+Down" |
|
|
2086 | .PD |
|
|
2087 | Define actions for the respective arrow buttons |
|
|
2088 | .IP "\fB<b>+\f(BIBegin\fB\fR" 4 |
|
|
2089 | .IX Item "<b>+Begin" |
|
|
2090 | .PD 0 |
|
|
2091 | .IP "\fB<e>+\f(BIEnd\fB\fR" 4 |
|
|
2092 | .IX Item "<e>+End" |
|
|
2093 | .PD |
|
|
2094 | Define common beginning/end parts for \fIquick arrows\fR which used in |
|
|
2095 | conjunction with the above <r> <l> <u> <d> constructs |
|
|
2096 | .IP "For example, define arrows individually," 4 |
|
|
2097 | .IX Item "For example, define arrows individually," |
|
|
2098 | .Vb 1 |
|
|
2099 | \& <u>\eE[A |
|
|
2100 | .Ve |
|
|
2101 | .Sp |
|
|
2102 | .Vb 1 |
|
|
2103 | \& <d>\eE[B |
|
|
2104 | .Ve |
|
|
2105 | .Sp |
|
|
2106 | .Vb 1 |
|
|
2107 | \& <r>\eE[C |
|
|
2108 | .Ve |
|
|
2109 | .Sp |
|
|
2110 | .Vb 1 |
|
|
2111 | \& <l>\eE[D |
|
|
2112 | .Ve |
|
|
2113 | .IP "or all at once" 4 |
|
|
2114 | .IX Item "or all at once" |
|
|
2115 | .Vb 1 |
|
|
2116 | \& <u>\eE[AZ<><d>\eE[BZ<><r>\eE[CZ<><l>\eE[D |
|
|
2117 | .Ve |
|
|
2118 | .IP "or more compactly (factoring out common parts)" 4 |
|
|
2119 | .IX Item "or more compactly (factoring out common parts)" |
|
|
2120 | .Vb 1 |
|
|
2121 | \& <b>\eE[<u>AZ<><d>BZ<><r>CZ<><l>D |
|
|
2122 | .Ve |
|
|
2123 | .PP |
|
|
2124 | |
|
|
2125 | .IX Xref "menuBarSummary" |
|
|
2126 | .Sh "Command Summary" |
|
|
2127 | .IX Subsection "Command Summary" |
|
|
2128 | A short summary of the most \fIcommon\fR commands: |
|
|
2129 | .IP "[menu:name]" 4 |
|
|
2130 | .IX Item "[menu:name]" |
|
|
2131 | use an existing named menuBar or start a new one |
|
|
2132 | .IP "[menu]" 4 |
|
|
2133 | .IX Item "[menu]" |
|
|
2134 | use the current menuBar |
|
|
2135 | .IP "[title:string]" 4 |
|
|
2136 | .IX Item "[title:string]" |
|
|
2137 | set menuBar title |
|
|
2138 | .IP "[done]" 4 |
|
|
2139 | .IX Item "[done]" |
|
|
2140 | set menu access to readonly and, if reading from a file, signal \s-1EOF\s0 |
|
|
2141 | .IP "[done:name]" 4 |
|
|
2142 | .IX Item "[done:name]" |
|
|
2143 | if reading from a file using [read:file;name] signal \s-1EOF\s0 |
|
|
2144 | .IP "[rm:name]" 4 |
|
|
2145 | .IX Item "[rm:name]" |
|
|
2146 | remove named menuBar(s) |
|
|
2147 | .IP "[rm] [rm:]" 4 |
|
|
2148 | .IX Item "[rm] [rm:]" |
|
|
2149 | remove current menuBar |
|
|
2150 | .IP "[rm*] [rm:*]" 4 |
|
|
2151 | .IX Item "[rm*] [rm:*]" |
|
|
2152 | remove all menuBar(s) |
|
|
2153 | .IP "[swap]" 4 |
|
|
2154 | .IX Item "[swap]" |
|
|
2155 | swap top two menuBars |
|
|
2156 | .IP "[prev]" 4 |
|
|
2157 | .IX Item "[prev]" |
|
|
2158 | access the previous menuBar |
|
|
2159 | .IP "[next]" 4 |
|
|
2160 | .IX Item "[next]" |
|
|
2161 | access the next menuBar |
|
|
2162 | .IP "[show]" 4 |
|
|
2163 | .IX Item "[show]" |
|
|
2164 | map menuBar |
|
|
2165 | .IP "[hide]" 4 |
|
|
2166 | .IX Item "[hide]" |
|
|
2167 | unmap menuBar |
|
|
2168 | .IP "[pixmap;file]" 4 |
|
|
2169 | .IX Item "[pixmap;file]" |
|
|
2170 | .PD 0 |
|
|
2171 | .IP "[pixmap;file;scaling]" 4 |
|
|
2172 | .IX Item "[pixmap;file;scaling]" |
|
|
2173 | .PD |
|
|
2174 | set a background pixmap |
|
|
2175 | .IP "[read:file]" 4 |
|
|
2176 | .IX Item "[read:file]" |
|
|
2177 | .PD 0 |
|
|
2178 | .IP "[read:file;name]" 4 |
|
|
2179 | .IX Item "[read:file;name]" |
|
|
2180 | .PD |
|
|
2181 | read in a menu from a file |
|
|
2182 | .IP "[dump]" 4 |
|
|
2183 | .IX Item "[dump]" |
|
|
2184 | dump out all menuBars to /tmp/rxvt\-PID |
|
|
2185 | .IP "/" 4 |
|
|
2186 | access menuBar top level |
|
|
2187 | .IP "./" 4 |
|
|
2188 | .PD 0 |
|
|
2189 | .IP "../" 4 |
|
|
2190 | .IP "../../" 4 |
|
|
2191 | .PD |
|
|
2192 | access current or parent menu level |
|
|
2193 | .IP "/path/menu" 4 |
|
|
2194 | .IX Item "/path/menu" |
|
|
2195 | add/access menu |
|
|
2196 | .IP "/path/{\-}" 4 |
|
|
2197 | .IX Item "/path/{-}" |
|
|
2198 | add separator |
|
|
2199 | .IP "/path/{item}{rtext} action" 4 |
|
|
2200 | .IX Item "/path/{item}{rtext} action" |
|
|
2201 | add/alter menu item |
|
|
2202 | .IP "\-/*" 4 |
|
|
2203 | remove all menus from the menuBar |
|
|
2204 | .IP "\-/path/menu" 4 |
|
|
2205 | .IX Item "-/path/menu" |
|
|
2206 | remove menu items, separators and submenus from menu |
|
|
2207 | .IP "\-/path/menu" 4 |
|
|
2208 | .IX Item "-/path/menu" |
|
|
2209 | remove menu |
|
|
2210 | .IP "\-/path/{item}" 4 |
|
|
2211 | .IX Item "-/path/{item}" |
|
|
2212 | remove item |
|
|
2213 | .IP "\-/path/{\-}" 4 |
|
|
2214 | .IX Item "-/path/{-}" |
|
|
2215 | remove separator |
|
|
2216 | .IP "<b>Begin<r>Right<l>Left<u>Up<d>Down<e>End" 4 |
|
|
2217 | .IX Item "<b>Begin<r>Right<l>Left<u>Up<d>Down<e>End" |
|
|
2218 | menu quick arrows |
|
|
2219 | .SH "XPM" |
1912 | .SH "XPM" |
2220 | .IX Header "XPM" |
1913 | .IX Header "XPM" |
2221 | For the \s-1XPM\s0 XTerm escape sequence \fB\f(CB\*(C`ESC ] 20 ; Pt ST\*(C'\fB\fR then value |
1914 | For the \s-1XPM\s0 XTerm escape sequence \fB\f(CB\*(C`ESC ] 20 ; Pt ST\*(C'\fB\fR then value |
2222 | of \fB\f(CB\*(C`Pt\*(C'\fB\fR can be the name of the background pixmap followed by a |
1915 | of \fB\f(CB\*(C`Pt\*(C'\fB\fR can be the name of the background pixmap followed by a |
2223 | sequence of scaling/positioning commands separated by semi\-colons. The |
1916 | sequence of scaling/positioning commands separated by semi\-colons. The |
… | |
… | |
2425 | Add support for \s-1XIM\s0 (X Input Method) protocol. This allows using |
2118 | Add support for \s-1XIM\s0 (X Input Method) protocol. This allows using |
2426 | alternative input methods (e.g. kinput2) and will also correctly |
2119 | alternative input methods (e.g. kinput2) and will also correctly |
2427 | set up the input for people using dead keys or compose keys. |
2120 | set up the input for people using dead keys or compose keys. |
2428 | .IP "\-\-enable\-unicode3 (default: off)" 4 |
2121 | .IP "\-\-enable\-unicode3 (default: off)" 4 |
2429 | .IX Item "--enable-unicode3 (default: off)" |
2122 | .IX Item "--enable-unicode3 (default: off)" |
|
|
2123 | Recommended to stay off unless you really need non-BMP characters. |
|
|
2124 | .Sp |
2430 | Enable direct support for displaying unicode codepoints above |
2125 | Enable direct support for displaying unicode codepoints above |
2431 | 65535 (the basic multilingual page). This increases storage |
2126 | 65535 (the basic multilingual page). This increases storage |
2432 | requirements per character from 2 to 4 bytes. X11 fonts do not yet |
2127 | requirements per character from 2 to 4 bytes. X11 fonts do not yet |
2433 | support these extra characters, but Xft does. |
2128 | support these extra characters, but Xft does. |
2434 | .Sp |
2129 | .Sp |
… | |
… | |
2443 | composite characters. This is required for proper viewing of text |
2138 | composite characters. This is required for proper viewing of text |
2444 | where accents are encoded as seperate unicode characters. This is |
2139 | where accents are encoded as seperate unicode characters. This is |
2445 | done by using precomposited characters when available or creating |
2140 | done by using precomposited characters when available or creating |
2446 | new pseudo-characters when no precomposed form exists. |
2141 | new pseudo-characters when no precomposed form exists. |
2447 | .Sp |
2142 | .Sp |
2448 | Without \-\-enable\-unicode3, the number of additional precomposed characters |
2143 | Without \-\-enable\-unicode3, the number of additional precomposed |
2449 | is rather limited (2048, if this is full, rxvt-unicode will use the |
2144 | characters is somewhat limited (the 6400 private use characters will be |
2450 | private use area, extending the number of combinations to 8448). With |
|
|
2451 | \&\-\-enable\-unicode3, no practical limit exists. |
2145 | (ab\-)used). With \-\-enable\-unicode3, no practical limit exists. |
2452 | .Sp |
2146 | .Sp |
2453 | This option will also enable storage (but not display) of characters |
2147 | This option will also enable storage (but not display) of characters |
2454 | beyond plane 0 (>65535) when \-\-enable\-unicode3 was not specified. |
2148 | beyond plane 0 (>65535) when \-\-enable\-unicode3 was not specified. |
2455 | .Sp |
2149 | .Sp |
2456 | The combining table also contains entries for arabic presentation forms, |
2150 | The combining table also contains entries for arabic presentation forms, |
2457 | but these are not currently used. Bug me if you want these to be used (and |
2151 | but these are not currently used. Bug me if you want these to be used (and |
2458 | tell me how these are to be used...). |
2152 | tell me how these are to be used...). |
2459 | .IP "\-\-enable\-fallback(=CLASS) (default: Rxvt)" 4 |
2153 | .IP "\-\-enable\-fallback(=CLASS) (default: Rxvt)" 4 |
2460 | .IX Item "--enable-fallback(=CLASS) (default: Rxvt)" |
2154 | .IX Item "--enable-fallback(=CLASS) (default: Rxvt)" |
2461 | When reading resource settings, also read settings for class \s-1CLASS\s0. To disable resource fallback use \-\-disable\-fallback. |
2155 | When reading resource settings, also read settings for class \s-1CLASS\s0. To |
|
|
2156 | disable resource fallback use \-\-disable\-fallback. |
2462 | .IP "\-\-with\-res\-name=NAME (default: urxvt)" 4 |
2157 | .IP "\-\-with\-res\-name=NAME (default: urxvt)" 4 |
2463 | .IX Item "--with-res-name=NAME (default: urxvt)" |
2158 | .IX Item "--with-res-name=NAME (default: urxvt)" |
2464 | Use the given name as default application name when |
2159 | Use the given name as default application name when |
2465 | reading resources. Specify \-\-with\-res\-name=rxvt to replace rxvt. |
2160 | reading resources. Specify \-\-with\-res\-name=rxvt to replace rxvt. |
2466 | .IP "\-\-with\-res\-class=CLASS /default: URxvt)" 4 |
2161 | .IP "\-\-with\-res\-class=CLASS /default: URxvt)" 4 |
… | |
… | |
2493 | .IX Item "--enable-fading (default: on)" |
2188 | .IX Item "--enable-fading (default: on)" |
2494 | Add support for fading the text when focus is lost (requires \f(CW\*(C`\-\-enable\-transparency\*(C'\fR). |
2189 | Add support for fading the text when focus is lost (requires \f(CW\*(C`\-\-enable\-transparency\*(C'\fR). |
2495 | .IP "\-\-enable\-tinting (default: on)" 4 |
2190 | .IP "\-\-enable\-tinting (default: on)" 4 |
2496 | .IX Item "--enable-tinting (default: on)" |
2191 | .IX Item "--enable-tinting (default: on)" |
2497 | Add support for tinting of transparent backgrounds (requires \f(CW\*(C`\-\-enable\-transparency\*(C'\fR). |
2192 | Add support for tinting of transparent backgrounds (requires \f(CW\*(C`\-\-enable\-transparency\*(C'\fR). |
2498 | .IP "\-\-enable\-menubar (default: off) [\s-1DEPRECATED\s0]" 4 |
|
|
2499 | .IX Item "--enable-menubar (default: off) [DEPRECATED]" |
|
|
2500 | Add support for our menu bar system (this interacts badly with dynamic |
|
|
2501 | locale switching currently). This option is \s-1DEPRECATED\s0 and will be removed |
|
|
2502 | in the future. |
|
|
2503 | .IP "\-\-enable\-rxvt\-scroll (default: on)" 4 |
2193 | .IP "\-\-enable\-rxvt\-scroll (default: on)" 4 |
2504 | .IX Item "--enable-rxvt-scroll (default: on)" |
2194 | .IX Item "--enable-rxvt-scroll (default: on)" |
2505 | Add support for the original rxvt scrollbar. |
2195 | Add support for the original rxvt scrollbar. |
2506 | .IP "\-\-enable\-next\-scroll (default: on)" 4 |
2196 | .IP "\-\-enable\-next\-scroll (default: on)" 4 |
2507 | .IX Item "--enable-next-scroll (default: on)" |
2197 | .IX Item "--enable-next-scroll (default: on)" |
… | |
… | |
2512 | .IP "\-\-enable\-plain\-scroll (default: on)" 4 |
2202 | .IP "\-\-enable\-plain\-scroll (default: on)" 4 |
2513 | .IX Item "--enable-plain-scroll (default: on)" |
2203 | .IX Item "--enable-plain-scroll (default: on)" |
2514 | Add support for a very unobtrusive, plain-looking scrollbar that |
2204 | Add support for a very unobtrusive, plain-looking scrollbar that |
2515 | is the favourite of the rxvt-unicode author, having used it for |
2205 | is the favourite of the rxvt-unicode author, having used it for |
2516 | many years. |
2206 | many years. |
2517 | .IP "\-\-enable\-half\-shadow (default: off)" 4 |
|
|
2518 | .IX Item "--enable-half-shadow (default: off)" |
|
|
2519 | Make shadows on the scrollbar only half the normal width & height. |
|
|
2520 | only applicable to rxvt scrollbars. |
|
|
2521 | .IP "\-\-enable\-ttygid (default: off)" 4 |
2207 | .IP "\-\-enable\-ttygid (default: off)" 4 |
2522 | .IX Item "--enable-ttygid (default: off)" |
2208 | .IX Item "--enable-ttygid (default: off)" |
2523 | Change tty device setting to group \*(L"tty\*(R" \- only use this if |
2209 | Change tty device setting to group \*(L"tty\*(R" \- only use this if |
2524 | your system uses this type of security. |
2210 | your system uses this type of security. |
2525 | .IP "\-\-disable\-backspace\-key" 4 |
2211 | .IP "\-\-disable\-backspace\-key" 4 |
… | |
… | |
2530 | Removes any handling of the delete key by us \- let the X server |
2216 | Removes any handling of the delete key by us \- let the X server |
2531 | do it. |
2217 | do it. |
2532 | .IP "\-\-disable\-resources" 4 |
2218 | .IP "\-\-disable\-resources" 4 |
2533 | .IX Item "--disable-resources" |
2219 | .IX Item "--disable-resources" |
2534 | Removes any support for resource checking. |
2220 | Removes any support for resource checking. |
2535 | .IP "\-\-enable\-strings (default: off)" 4 |
|
|
2536 | .IX Item "--enable-strings (default: off)" |
|
|
2537 | Add support for our possibly faster \fImemset()\fR function and other |
|
|
2538 | various routines, overriding your system's versions which may |
|
|
2539 | have been hand-crafted in assembly or may require extra libraries |
|
|
2540 | to link in. (this breaks ANSI-C rules and has problems on many |
|
|
2541 | GNU/Linux systems). |
|
|
2542 | .IP "\-\-disable\-swapscreen" 4 |
2221 | .IP "\-\-disable\-swapscreen" 4 |
2543 | .IX Item "--disable-swapscreen" |
2222 | .IX Item "--disable-swapscreen" |
2544 | Remove support for secondary/swap screen. |
2223 | Remove support for secondary/swap screen. |
2545 | .IP "\-\-enable\-frills (default: on)" 4 |
2224 | .IP "\-\-enable\-frills (default: on)" 4 |
2546 | .IX Item "--enable-frills (default: on)" |
2225 | .IX Item "--enable-frills (default: on)" |
… | |
… | |
2549 | disable this. |
2228 | disable this. |
2550 | .Sp |
2229 | .Sp |
2551 | A non-exhaustive list of features enabled by \f(CW\*(C`\-\-enable\-frills\*(C'\fR (possibly |
2230 | A non-exhaustive list of features enabled by \f(CW\*(C`\-\-enable\-frills\*(C'\fR (possibly |
2552 | in combination with other switches) is: |
2231 | in combination with other switches) is: |
2553 | .Sp |
2232 | .Sp |
2554 | .Vb 17 |
2233 | .Vb 15 |
2555 | \& MWM-hints |
2234 | \& MWM-hints |
2556 | \& EWMH-hints (pid, utf8 names) and protocols (ping) |
2235 | \& EWMH-hints (pid, utf8 names) and protocols (ping) |
2557 | \& seperate underline colour (-underlineColor) |
2236 | \& seperate underline colour (-underlineColor) |
2558 | \& settable border widths and borderless switch (-w, -b, -bl) |
2237 | \& settable border widths and borderless switch (-w, -b, -bl) |
|
|
2238 | \& visual depth selection (-depth) |
2559 | \& settable extra linespacing /-lsp) |
2239 | \& settable extra linespacing /-lsp) |
2560 | \& iso-14755-2 and -3, and visual feedback |
2240 | \& iso-14755-2 and -3, and visual feedback |
2561 | \& backindex and forwardindex escape sequence |
|
|
2562 | \& window op and some xterm/OSC escape sequences |
|
|
2563 | \& tripleclickwords (-tcw) |
2241 | \& tripleclickwords (-tcw) |
2564 | \& settable insecure mode (-insecure) |
2242 | \& settable insecure mode (-insecure) |
2565 | \& keysym remapping support |
2243 | \& keysym remapping support |
2566 | \& cursor blinking and underline cursor (-cb, -uc) |
2244 | \& cursor blinking and underline cursor (-cb, -uc) |
2567 | \& XEmbed support (-embed) |
2245 | \& XEmbed support (-embed) |
2568 | \& user-pty (-pty-fd) |
2246 | \& user-pty (-pty-fd) |
2569 | \& hold on exit (-hold) |
2247 | \& hold on exit (-hold) |
2570 | \& skip builtin block graphics (-sbg) |
2248 | \& skip builtin block graphics (-sbg) |
|
|
2249 | .Ve |
|
|
2250 | .Sp |
|
|
2251 | It also enabled some non-essential features otherwise disabled, such as: |
|
|
2252 | .Sp |
|
|
2253 | .Vb 11 |
|
|
2254 | \& some round-trip time optimisations |
|
|
2255 | \& nearest color allocation on pseudocolor screens |
|
|
2256 | \& UTF8_STRING supporr for selection |
2571 | \& sgr modes 90..97 and 100..107 |
2257 | \& sgr modes 90..97 and 100..107 |
|
|
2258 | \& backindex and forwardindex escape sequences |
|
|
2259 | \& view change/zero scorllback esacpe sequences |
|
|
2260 | \& locale switching escape sequence |
|
|
2261 | \& window op and some xterm/OSC escape sequences |
|
|
2262 | \& rectangular selections |
|
|
2263 | \& trailing space removal for selections |
|
|
2264 | \& verbose X error handling |
2572 | .Ve |
2265 | .Ve |
2573 | .IP "\-\-enable\-iso14755 (default: on)" 4 |
2266 | .IP "\-\-enable\-iso14755 (default: on)" 4 |
2574 | .IX Item "--enable-iso14755 (default: on)" |
2267 | .IX Item "--enable-iso14755 (default: on)" |
2575 | Enable extended \s-1ISO\s0 14755 support (see @@RXVT_NAME@@(1), or |
2268 | Enable extended \s-1ISO\s0 14755 support (see @@RXVT_NAME@@(1), or |
2576 | \&\fIdoc/rxvt.1.txt\fR). Basic support (section 5.1) is enabled by |
2269 | \&\fIdoc/rxvt.1.txt\fR). Basic support (section 5.1) is enabled by |
… | |
… | |
2610 | keys. This should keep the window corner which is closest to a corner of |
2303 | keys. This should keep the window corner which is closest to a corner of |
2611 | the screen in a fixed position. |
2304 | the screen in a fixed position. |
2612 | .IP "\-\-enable\-pointer\-blank (default: on)" 4 |
2305 | .IP "\-\-enable\-pointer\-blank (default: on)" 4 |
2613 | .IX Item "--enable-pointer-blank (default: on)" |
2306 | .IX Item "--enable-pointer-blank (default: on)" |
2614 | Add support to have the pointer disappear when typing or inactive. |
2307 | Add support to have the pointer disappear when typing or inactive. |
2615 | .IP "\-\-enable\-perl (default: off)" 4 |
2308 | .IP "\-\-enable\-perl (default: on)" 4 |
2616 | .IX Item "--enable-perl (default: off)" |
2309 | .IX Item "--enable-perl (default: on)" |
2617 | Enable an embedded perl interpreter. See the \fB@@RXVT_NAME@@\f(BIperl\fB\|(3)\fR |
2310 | Enable an embedded perl interpreter. See the \fB@@RXVT_NAME@@\f(BIperl\fB\|(3)\fR |
2618 | manpage (\fIdoc/rxvtperl.txt\fR) for more info on this feature, or the files |
2311 | manpage (\fIdoc/rxvtperl.txt\fR) for more info on this feature, or the files |
2619 | in \fIsrc/perl\-ext/\fR for the extensions that are installed by default. The |
2312 | in \fIsrc/perl\-ext/\fR for the extensions that are installed by default. The |
2620 | perl interpreter that is used can be specified via the \f(CW\*(C`PERL\*(C'\fR environment |
2313 | perl interpreter that is used can be specified via the \f(CW\*(C`PERL\*(C'\fR environment |
2621 | variable when running configure. |
2314 | variable when running configure. |