… | |
… | |
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 "2005-12-24" "6.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, how can I select single words?" 4 |
|
|
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 alphanumeric words, you can use |
|
|
164 | the following resource: |
|
|
165 | .Sp |
|
|
166 | .Vb 1 |
|
|
167 | \& URxvt.selection.pattern-0: ([[:word:]]+) |
|
|
168 | .Ve |
|
|
169 | .Sp |
|
|
170 | If you click more than twice, the selection will be extended |
|
|
171 | more and more. |
|
|
172 | .Sp |
|
|
173 | To get a selection that is very similar to the old code, try this pattern: |
|
|
174 | .Sp |
|
|
175 | .Vb 1 |
|
|
176 | \& URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\e\e\e\e]^`{|})]+) |
|
|
177 | .Ve |
|
|
178 | .Sp |
|
|
179 | Please also note that the \fILeftClick Shift-LeftClik\fR combination also |
|
|
180 | selects words like the old code. |
|
|
181 | .IP "I don't like the new selection/popups/hotkeys/perl, how do I change/disable it?" 4 |
|
|
182 | .IX Item "I don't like the new selection/popups/hotkeys/perl, how do I change/disable it?" |
|
|
183 | You can disable the perl extension completely by setting the |
|
|
184 | \&\fBperl-ext-common\fR resource to the empty string, which also keeps |
|
|
185 | rxvt-unicode from initialising perl, saving memory. |
|
|
186 | .Sp |
|
|
187 | If you only want to disable specific features, you first have to |
|
|
188 | identify which perl extension is responsible. For this, read the section |
|
|
189 | \&\fB\s-1PREPACKAGED\s0 \s-1EXTENSIONS\s0\fR in the @@RXVT_NAME@@\fIperl\fR\|(3) manpage. For |
|
|
190 | example, to disable the \fBselection-popup\fR and \fBoption-popup\fR, specify |
|
|
191 | this \fBperl-ext-common\fR resource: |
|
|
192 | .Sp |
|
|
193 | .Vb 1 |
|
|
194 | \& URxvt.perl-ext-common: default,-selection-popup,-option-popup |
|
|
195 | .Ve |
|
|
196 | .Sp |
|
|
197 | This will keep the default extensions, but disable the two popup |
|
|
198 | extensions. Some extensions can also be configured, for example, |
|
|
199 | scrollback search mode is triggered by \fBM\-s\fR. You can move it to any |
|
|
200 | other combination either by setting the \fBsearchable-scrollback\fR resource: |
|
|
201 | .Sp |
|
|
202 | .Vb 1 |
|
|
203 | \& URxvt.searchable-scrollback: CM-s |
|
|
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. |
161 | .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 |
162 | .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?" |
163 | 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 |
164 | 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 |
165 | 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 |
… | |
… | |
198 | memory. |
305 | memory. |
199 | .Sp |
306 | .Sp |
200 | Compared to e.g. Eterm (5112k), aterm (3132k) and xterm (4680k), this |
307 | Compared to e.g. Eterm (5112k), aterm (3132k) and xterm (4680k), this |
201 | still fares rather well. And compared to some monsters like gnome-terminal |
308 | still fares rather well. And compared to some monsters like gnome-terminal |
202 | (21152k + extra 4204k in separate processes) or konsole (22200k + extra |
309 | (21152k + extra 4204k in separate processes) or konsole (22200k + extra |
203 | 43180k in daemons that stay around after exit, plus half aminute of |
310 | 43180k in daemons that stay around after exit, plus half a minute of |
204 | startup time, including the hundreds of warnings it spits out), it fares |
311 | startup time, including the hundreds of warnings it spits out), it fares |
205 | extremely well *g*. |
312 | extremely well *g*. |
206 | .IP "Why \*(C+, isn't that unportable/bloated/uncool?" 4 |
313 | .IP "Why \*(C+, isn't that unportable/bloated/uncool?" 4 |
207 | .IX Item "Why , isn't that unportable/bloated/uncool?" |
314 | .IX Item "Why , isn't that unportable/bloated/uncool?" |
208 | Is this a question? :) It comes up very often. The simple answer is: I had |
315 | Is this a question? :) It comes up very often. The simple answer is: I had |
… | |
… | |
240 | .Sp |
347 | .Sp |
241 | No large bloated libraries (of course, none were linked in statically), |
348 | No large bloated libraries (of course, none were linked in statically), |
242 | except maybe libX11 :) |
349 | except maybe libX11 :) |
243 | .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 |
244 | .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?" |
245 | 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 |
246 | tabbing functionality of many window managers or similar tabbing programs, |
353 | simple tabbed terminal. It is installed by default, so any of these should |
247 | and its embedding-features allow it to be embedded into other programs, |
354 | give you tabs: |
248 | as witnessed by \fIdoc/rxvt\-tabbed\fR or the upcoming \f(CW\*(C`Gtk2::URxvt\*(C'\fR perl |
355 | .Sp |
249 | module, which features a tabbed urxvt (murxvt) terminal as an example |
356 | .Vb 1 |
250 | 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. |
251 | .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 |
252 | .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?" |
253 | 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 |
254 | 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 |
255 | 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 |
256 | daemon. |
374 | daemon. |
257 | .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 |
258 | .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..." |
259 | 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 |
260 | patches that considerably change the behaviour of rxvt\-unicode. Before |
378 | patches that considerably change the behaviour of rxvt-unicode (but |
261 | reporting a bug to the original rxvt-unicode author please download and |
379 | unfortunately this notice has been removed). Before reporting a bug to |
262 | install the genuine version (<http://software.schmorp.de#rxvt\-unicode>) |
380 | the original rxvt-unicode author please download and install the genuine |
263 | 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 |
264 | 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 |
265 | 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). |
266 | the bug). |
|
|
267 | .Sp |
385 | .Sp |
268 | 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 |
269 | 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 |
270 | 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 |
271 | might encounter the same issue. |
389 | might encounter the same issue. |
|
|
390 | .IP "I am maintaining rxvt-unicode for distribution/OS \s-1XXX\s0, any recommendation?" 4 |
|
|
391 | .IX Item "I am maintaining rxvt-unicode for distribution/OS XXX, any recommendation?" |
|
|
392 | You should build one binary with the default options. \fIconfigure\fR |
|
|
393 | now enables most useful options, and the trend goes to making them |
|
|
394 | runtime\-switchable, too, so there is usually no drawback to enbaling them, |
|
|
395 | except higher disk and possibly memory usage. The perl interpreter should |
|
|
396 | be enabled, as important functionality (menus, selection, likely more in |
|
|
397 | the future) depends on it. |
|
|
398 | .Sp |
|
|
399 | You should not overwrite the \f(CW\*(C`perl\-ext\-common\*(C'\fR snd \f(CW\*(C`perl\-ext\*(C'\fR resources |
|
|
400 | system-wide (except maybe with \f(CW\*(C`defaults\*(C'\fR). This will result in useful |
|
|
401 | behaviour. If your distribution aims at low memory, add an empty |
|
|
402 | \&\f(CW\*(C`perl\-ext\-common\*(C'\fR resource to the app-defaults file. This will keep the |
|
|
403 | perl interpreter disabled until the user enables it. |
|
|
404 | .Sp |
|
|
405 | If you can/want build more binaries, I recommend building a minimal |
|
|
406 | one with \f(CW\*(C`\-\-disable\-everything\*(C'\fR (very useful) and a maximal one with |
|
|
407 | \&\f(CW\*(C`\-\-enable\-everything\*(C'\fR (less useful, it will be very big due to a lot of |
|
|
408 | encodings built-in that increase download times and are rarely used). |
|
|
409 | .IP "I need to make it setuid/setgid to support utmp/ptys on my \s-1OS\s0, is this safe?" 4 |
|
|
410 | .IX Item "I need to make it setuid/setgid to support utmp/ptys on my OS, is this safe?" |
|
|
411 | It should be, starting with release 7.1. You are encouraged to properly |
|
|
412 | install urxvt with privileges necessary for your \s-1OS\s0 now. |
|
|
413 | .Sp |
|
|
414 | When rxvt-unicode detects that it runs setuid or setgid, it will fork |
|
|
415 | into a helper process for privileged operations (pty handling on some |
|
|
416 | systems, utmp/wtmp/lastlog handling on others) and drop privileges |
|
|
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). |
|
|
420 | .Sp |
|
|
421 | This forking is done as the very first within \fImain()\fR, which is very early |
|
|
422 | and reduces possible bugs to initialisation code run before \fImain()\fR, or |
|
|
423 | things like the dynamic loader of your system, which should result in very |
|
|
424 | little risk. |
272 | .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 |
273 | .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?" |
274 | 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 |
275 | 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). |
276 | .Sp |
429 | .Sp |
… | |
… | |
694 | .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?" |
695 | 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 |
696 | terminal, using the resource \f(CW\*(C`imlocale\*(C'\fR: |
849 | terminal, using the resource \f(CW\*(C`imlocale\*(C'\fR: |
697 | .Sp |
850 | .Sp |
698 | .Vb 1 |
851 | .Vb 1 |
699 | \& URxvt*imlocale: ja_JP.EUC-JP |
852 | \& URxvt.imlocale: ja_JP.EUC-JP |
700 | .Ve |
853 | .Ve |
701 | .Sp |
854 | .Sp |
702 | 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 |
703 | 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 |
704 | 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 |
… | |
… | |
746 | .IX Item "Mouse cut/paste suddenly no longer works." |
899 | .IX Item "Mouse cut/paste suddenly no longer works." |
747 | Make sure that mouse reporting is actually turned off since killing |
900 | Make sure that mouse reporting is actually turned off since killing |
748 | 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 |
749 | 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 |
750 | 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 |
751 | depressed. See @@RXVT_NAME@@(7) |
904 | depressed. |
752 | .IP "What's with this bold/blink stuff?" 4 |
905 | .IP "What's with this bold/blink stuff?" 4 |
753 | .IX Item "What's with this bold/blink stuff?" |
906 | .IX Item "What's with this bold/blink stuff?" |
754 | 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 |
755 | standard foreground colour. |
908 | standard foreground colour. |
756 | .Sp |
909 | .Sp |
… | |
… | |
851 | \& # use Backspace = ^? |
1004 | \& # use Backspace = ^? |
852 | \& $ stty erase ^? |
1005 | \& $ stty erase ^? |
853 | \& $ @@RXVT_NAME@@ |
1006 | \& $ @@RXVT_NAME@@ |
854 | .Ve |
1007 | .Ve |
855 | .Sp |
1008 | .Sp |
856 | 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. |
857 | .Sp |
1010 | .Sp |
858 | For an existing rxvt\-unicode: |
1011 | For an existing rxvt\-unicode: |
859 | .Sp |
1012 | .Sp |
860 | .Vb 3 |
1013 | .Vb 3 |
861 | \& # use Backspace = ^H |
1014 | \& # use Backspace = ^H |
… | |
… | |
977 | .IX Header "RXVT TECHNICAL REFERENCE" |
1130 | .IX Header "RXVT TECHNICAL REFERENCE" |
978 | .SH "DESCRIPTION" |
1131 | .SH "DESCRIPTION" |
979 | .IX Header "DESCRIPTION" |
1132 | .IX Header "DESCRIPTION" |
980 | The rest of this document describes various technical aspects of |
1133 | The rest of this document describes various technical aspects of |
981 | \&\fBrxvt-unicode\fR. First the description of supported command sequences, |
1134 | \&\fBrxvt-unicode\fR. First the description of supported command sequences, |
982 | 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 |
983 | features selectable at \f(CW\*(C`configure\*(C'\fR time. |
1136 | selectable at \f(CW\*(C`configure\*(C'\fR time. |
984 | .SH "Definitions" |
1137 | .SH "Definitions" |
985 | .IX Header "Definitions" |
1138 | .IX Header "Definitions" |
986 | .ie n .IP "\fB\fB""c""\fB\fR" 4 |
1139 | .ie n .IP "\fB\fB""c""\fB\fR" 4 |
987 | .el .IP "\fB\f(CBc\fB\fR" 4 |
1140 | .el .IP "\fB\f(CBc\fB\fR" 4 |
988 | .IX Item "c" |
1141 | .IX Item "c" |
… | |
… | |
1535 | l l . |
1688 | l l . |
1536 | h Send Mouse X & Y on button press. |
1689 | h Send Mouse X & Y on button press. |
1537 | l No mouse reporting. |
1690 | l No mouse reporting. |
1538 | .TE |
1691 | .TE |
1539 | |
1692 | |
1540 | .ie n .IP "\fB\fB""Ps = 10""\fB\fR (\fBrxvt\fR)" 4 |
|
|
1541 | .el .IP "\fB\f(CBPs = 10\fB\fR (\fBrxvt\fR)" 4 |
|
|
1542 | .IX Item "Ps = 10 (rxvt)" |
|
|
1543 | .TS |
|
|
1544 | l l . |
|
|
1545 | h menuBar visible |
|
|
1546 | l menuBar invisible |
|
|
1547 | .TE |
|
|
1548 | |
|
|
1549 | .ie n .IP "\fB\fB""Ps = 25""\fB\fR" 4 |
1693 | .ie n .IP "\fB\fB""Ps = 25""\fB\fR" 4 |
1550 | .el .IP "\fB\f(CBPs = 25\fB\fR" 4 |
1694 | .el .IP "\fB\f(CBPs = 25\fB\fR" 4 |
1551 | .IX Item "Ps = 25" |
1695 | .IX Item "Ps = 25" |
1552 | .TS |
1696 | .TS |
1553 | l l . |
1697 | l l . |
… | |
… | |
1672 | .IX Item "Ps = 1011 (rxvt)" |
1816 | .IX Item "Ps = 1011 (rxvt)" |
1673 | .TS |
1817 | .TS |
1674 | l l . |
1818 | l l . |
1675 | h Scroll to bottom when a key is pressed |
1819 | h Scroll to bottom when a key is pressed |
1676 | l Don't scroll to bottom when a key is pressed |
1820 | l Don't scroll to bottom when a key is pressed |
|
|
1821 | .TE |
|
|
1822 | |
|
|
1823 | .ie n .IP "\fB\fB""Ps = 1021""\fB\fR (\fBrxvt\fR)" 4 |
|
|
1824 | .el .IP "\fB\f(CBPs = 1021\fB\fR (\fBrxvt\fR)" 4 |
|
|
1825 | .IX Item "Ps = 1021 (rxvt)" |
|
|
1826 | .TS |
|
|
1827 | l l . |
|
|
1828 | h Bold/italic implies high intensity (see option -is) |
|
|
1829 | l Font styles have no effect on intensity (Compile styles) |
1677 | .TE |
1830 | .TE |
1678 | |
1831 | |
1679 | .ie n .IP "\fB\fB""Ps = 1047""\fB\fR" 4 |
1832 | .ie n .IP "\fB\fB""Ps = 1047""\fB\fR" 4 |
1680 | .el .IP "\fB\f(CBPs = 1047\fB\fR" 4 |
1833 | .el .IP "\fB\f(CBPs = 1047\fB\fR" 4 |
1681 | .IX Item "Ps = 1047" |
1834 | .IX Item "Ps = 1047" |
… | |
… | |
1728 | Ps = 10 Change colour of text foreground to Pt (NB: may change in future) |
1881 | Ps = 10 Change colour of text foreground to Pt (NB: may change in future) |
1729 | Ps = 11 Change colour of text background to Pt (NB: may change in future) |
1882 | Ps = 11 Change colour of text background to Pt (NB: may change in future) |
1730 | Ps = 12 Change colour of text cursor foreground to Pt |
1883 | Ps = 12 Change colour of text cursor foreground to Pt |
1731 | Ps = 13 Change colour of mouse foreground to Pt |
1884 | Ps = 13 Change colour of mouse foreground to Pt |
1732 | Ps = 17 Change colour of highlight characters to Pt |
1885 | Ps = 17 Change colour of highlight characters to Pt |
1733 | Ps = 18 Change colour of bold characters to Pt |
1886 | Ps = 18 Change colour of bold characters to Pt [deprecated, see 706] |
1734 | Ps = 19 Change colour of underlined characters to Pt |
1887 | Ps = 19 Change colour of underlined characters to Pt [deprecated, see 707] |
1735 | Ps = 20 Change default background to Pt |
1888 | Ps = 20 Change background pixmap parameters (see section XPM) (Compile XPM). |
1736 | Ps = 39 Change default foreground colour to Pt. |
1889 | Ps = 39 Change default foreground colour to Pt. |
1737 | Ps = 46 Change Log File to Pt unimplemented |
1890 | Ps = 46 Change Log File to Pt unimplemented |
1738 | Ps = 49 Change default background colour to Pt. |
1891 | Ps = 49 Change default background colour to Pt. |
1739 | 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 |
1740 | 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 |
1741 | 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). |
1742 | 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. |
1743 | Ps = 704 Change colour of italic characters to Pt |
1896 | Ps = 704 Change colour of italic characters to Pt |
1744 | Ps = 705 Change background pixmap tint colour to Pt (Compile transparency). |
1897 | Ps = 705 Change background pixmap tint colour to Pt (Compile transparency). |
|
|
1898 | Ps = 706 Change colour of bold characters to Pt |
|
|
1899 | Ps = 707 Change colour of underlined characters to Pt |
1745 | Ps = 710 Set normal fontset to Pt. Same as Ps = 50. |
1900 | Ps = 710 Set normal fontset to Pt. Same as Ps = 50. |
1746 | Ps = 711 Set bold fontset to Pt. Similar to Ps = 50 (Compile styles). |
1901 | Ps = 711 Set bold fontset to Pt. Similar to Ps = 50 (Compile styles). |
1747 | Ps = 712 Set italic fontset to Pt. Similar to Ps = 50 (Compile styles). |
1902 | Ps = 712 Set italic fontset to Pt. Similar to Ps = 50 (Compile styles). |
1748 | Ps = 713 Set bold-italic fontset to Pt. Similar to Ps = 50 (Compile styles). |
1903 | Ps = 713 Set bold-italic fontset to Pt. Similar to Ps = 50 (Compile styles). |
1749 | Ps = 720 Move viewing window up by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills). |
1904 | Ps = 720 Move viewing window up by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills). |
1750 | Ps = 721 Move viewing window down by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills). |
1905 | Ps = 721 Move viewing window down by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills). |
|
|
1906 | Ps = 777 Call the perl extension with the given string, which should be of the form extension:parameters (Compile perl). |
1751 | .TE |
1907 | .TE |
1752 | |
1908 | |
1753 | .PP |
1909 | .PP |
1754 | |
1910 | |
1755 | .IX Xref "menuBar" |
1911 | .IX Xref "XPM" |
1756 | .SH "menuBar" |
|
|
1757 | .IX Header "menuBar" |
|
|
1758 | \&\fBThe exact syntax used is \f(BIalmost\fB solidified.\fR |
|
|
1759 | In the menus, \fB\s-1DON\s0'T\fR try to use menuBar commands that add or remove a |
|
|
1760 | menuBar. |
|
|
1761 | .PP |
|
|
1762 | Note that in all of the commands, the \fB\f(BI/path/\fB\fR \fIcannot\fR be |
|
|
1763 | omitted: use \fB./\fR to specify a menu relative to the current menu. |
|
|
1764 | .Sh "Overview of menuBar operation" |
|
|
1765 | .IX Subsection "Overview of menuBar operation" |
|
|
1766 | For the menuBar XTerm escape sequence \f(CW\*(C`ESC ] 703 ; Pt ST\*(C'\fR, the syntax |
|
|
1767 | of \f(CW\*(C`Pt\*(C'\fR can be used for a variety of tasks: |
|
|
1768 | .PP |
|
|
1769 | At the top level is the current menuBar which is a member of a circular |
|
|
1770 | linked-list of other such menuBars. |
|
|
1771 | .PP |
|
|
1772 | The menuBar acts as a parent for the various drop-down menus, which in |
|
|
1773 | turn, may have labels, separator lines, menuItems and subMenus. |
|
|
1774 | .PP |
|
|
1775 | The menuItems are the useful bits: you can use them to mimic keyboard |
|
|
1776 | input or even to send text or escape sequences back to rxvt. |
|
|
1777 | .PP |
|
|
1778 | The menuBar syntax is intended to provide a simple yet robust method of |
|
|
1779 | constructing and manipulating menus and navigating through the |
|
|
1780 | menuBars. |
|
|
1781 | .PP |
|
|
1782 | The first step is to use the tag \fB[menu:\f(BIname\fB]\fR which creates |
|
|
1783 | the menuBar called \fIname\fR and allows access. You may now or menus, |
|
|
1784 | subMenus, and menuItems. Finally, use the tag \fB[done]\fR to set the |
|
|
1785 | menuBar access as \fBreadonly\fR to prevent accidental corruption of the |
|
|
1786 | menus. To re-access the current menuBar for alterations, use the tag |
|
|
1787 | \&\fB[menu]\fR, make the alterations and then use \fB[done]\fR |
|
|
1788 | .PP |
|
|
1789 | |
|
|
1790 | .IX Xref "menuBarCommands" |
|
|
1791 | .Sh "Commands" |
|
|
1792 | .IX Subsection "Commands" |
|
|
1793 | .IP "\fB[menu:+\f(BIname\fB]\fR" 4 |
|
|
1794 | .IX Item "[menu:+name]" |
|
|
1795 | access the named menuBar for creation or alteration. If a new menuBar |
|
|
1796 | is created, it is called \fIname\fR (max of 15 chars) and the current |
|
|
1797 | menuBar is pushed onto the stack |
|
|
1798 | .IP "\fB[menu]\fR" 4 |
|
|
1799 | .IX Item "[menu]" |
|
|
1800 | access the current menuBar for alteration |
|
|
1801 | .IP "\fB[title:+\f(BIstring\fB]\fR" 4 |
|
|
1802 | .IX Item "[title:+string]" |
|
|
1803 | set the current menuBar's title to \fIstring\fR, which may contain the |
|
|
1804 | following format specifiers: |
|
|
1805 | .Sp |
|
|
1806 | .Vb 3 |
|
|
1807 | \& B<%n> rxvt name (as per the B<-name> command-line option) |
|
|
1808 | \& B<%v> rxvt version |
|
|
1809 | \& B<%%> literal B<%> character |
|
|
1810 | .Ve |
|
|
1811 | .IP "\fB[done]\fR" 4 |
|
|
1812 | .IX Item "[done]" |
|
|
1813 | set menuBar access as \fBreadonly\fR. |
|
|
1814 | End-of-file tag for \fB[read:+\f(BIfile\fB]\fR operations. |
|
|
1815 | .IP "\fB[read:+\f(BIfile\fB]\fR" 4 |
|
|
1816 | .IX Item "[read:+file]" |
|
|
1817 | read menu commands directly from \fIfile\fR (extension \*(L".menu\*(R" will be |
|
|
1818 | 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. |
|
|
1819 | .Sp |
|
|
1820 | Blank and comment lines (starting with \fB#\fR) are ignored. Actually, |
|
|
1821 | since any invalid menu commands are also ignored, almost anything could |
|
|
1822 | be construed as a comment line, but this may be tightened up in the |
|
|
1823 | future ... so don't count on it!. |
|
|
1824 | .IP "\fB[read:+\f(BIfile\fB;+\f(BIname\fB]\fR" 4 |
|
|
1825 | .IX Item "[read:+file;+name]" |
|
|
1826 | The same as \fB[read:+\f(BIfile\fB]\fR, but start reading at a line with |
|
|
1827 | \&\fB[menu:+\f(BIname\fB]\fR and continuing until \fB[done:+\f(BIname\fB]\fR or |
|
|
1828 | \&\fB[done]\fR is encountered. |
|
|
1829 | .IP "\fB[dump]\fR" 4 |
|
|
1830 | .IX Item "[dump]" |
|
|
1831 | dump all menuBars to the file \fB/tmp/rxvt\-PID\fR in a format suitable for |
|
|
1832 | later rereading. |
|
|
1833 | .IP "\fB[rm:name]\fR" 4 |
|
|
1834 | .IX Item "[rm:name]" |
|
|
1835 | remove the named menuBar |
|
|
1836 | .IP "\fB[rm] [rm:]\fR" 4 |
|
|
1837 | .IX Item "[rm] [rm:]" |
|
|
1838 | remove the current menuBar |
|
|
1839 | .IP "\fB[rm*] [rm:*]\fR" 4 |
|
|
1840 | .IX Item "[rm*] [rm:*]" |
|
|
1841 | remove all menuBars |
|
|
1842 | .IP "\fB[swap]\fR" 4 |
|
|
1843 | .IX Item "[swap]" |
|
|
1844 | swap the top two menuBars |
|
|
1845 | .IP "\fB[prev]\fR" 4 |
|
|
1846 | .IX Item "[prev]" |
|
|
1847 | access the previous menuBar |
|
|
1848 | .IP "\fB[next]\fR" 4 |
|
|
1849 | .IX Item "[next]" |
|
|
1850 | access the next menuBar |
|
|
1851 | .IP "\fB[show]\fR" 4 |
|
|
1852 | .IX Item "[show]" |
|
|
1853 | Enable display of the menuBar |
|
|
1854 | .IP "\fB[hide]\fR" 4 |
|
|
1855 | .IX Item "[hide]" |
|
|
1856 | Disable display of the menuBar |
|
|
1857 | .IP "\fB[pixmap:+\f(BIname\fB]\fR" 4 |
|
|
1858 | .IX Item "[pixmap:+name]" |
|
|
1859 | .PD 0 |
|
|
1860 | .IP "\fB[pixmap:+\f(BIname\fB;\f(BIscaling\fB]\fR" 4 |
|
|
1861 | .IX Item "[pixmap:+name;scaling]" |
|
|
1862 | .PD |
|
|
1863 | (set the background pixmap globally |
|
|
1864 | .Sp |
|
|
1865 | \&\fBA Future implementation \f(BImay\fB make this local to the menubar\fR) |
|
|
1866 | .IP "\fB[:+\f(BIcommand\fB:]\fR" 4 |
|
|
1867 | .IX Item "[:+command:]" |
|
|
1868 | ignore the menu readonly status and issue a \fIcommand\fR to or a menu or |
|
|
1869 | menuitem or change the ; a useful shortcut for setting the quick arrows |
|
|
1870 | from a menuBar. |
|
|
1871 | .PP |
|
|
1872 | |
|
|
1873 | .IX Xref "menuBarAdd" |
|
|
1874 | .Sh "Adding and accessing menus" |
|
|
1875 | .IX Subsection "Adding and accessing menus" |
|
|
1876 | The following commands may also be \fB+\fR prefixed. |
|
|
1877 | .IP "\fB/+\fR" 4 |
|
|
1878 | .IX Item "/+" |
|
|
1879 | access menuBar top level |
|
|
1880 | .IP "\fB./+\fR" 4 |
|
|
1881 | .IX Item "./+" |
|
|
1882 | access current menu level |
|
|
1883 | .IP "\fB../+\fR" 4 |
|
|
1884 | .IX Item "../+" |
|
|
1885 | access parent menu (1 level up) |
|
|
1886 | .IP "\fB../../\fR" 4 |
|
|
1887 | .IX Item "../../" |
|
|
1888 | access parent menu (multiple levels up) |
|
|
1889 | .IP "\fB\f(BI/path/\fBmenu\fR" 4 |
|
|
1890 | .IX Item "/path/menu" |
|
|
1891 | add/access menu |
|
|
1892 | .IP "\fB\f(BI/path/\fBmenu/*\fR" 4 |
|
|
1893 | .IX Item "/path/menu/*" |
|
|
1894 | add/access menu and clear it if it exists |
|
|
1895 | .IP "\fB\f(BI/path/\fB{\-}\fR" 4 |
|
|
1896 | .IX Item "/path/{-}" |
|
|
1897 | add separator |
|
|
1898 | .IP "\fB\f(BI/path/\fB{item}\fR" 4 |
|
|
1899 | .IX Item "/path/{item}" |
|
|
1900 | add \fBitem\fR as a label |
|
|
1901 | .IP "\fB\f(BI/path/\fB{item} action\fR" 4 |
|
|
1902 | .IX Item "/path/{item} action" |
|
|
1903 | add/alter \fImenuitem\fR with an associated \fIaction\fR |
|
|
1904 | .IP "\fB\f(BI/path/\fB{item}{right\-text}\fR" 4 |
|
|
1905 | .IX Item "/path/{item}{right-text}" |
|
|
1906 | add/alter \fImenuitem\fR with \fBright-text\fR as the right-justified text |
|
|
1907 | and as the associated \fIaction\fR |
|
|
1908 | .IP "\fB\f(BI/path/\fB{item}{rtext} action\fR" 4 |
|
|
1909 | .IX Item "/path/{item}{rtext} action" |
|
|
1910 | add/alter \fImenuitem\fR with an associated \fIaction\fR and with \fBrtext\fR as |
|
|
1911 | the right-justified text. |
|
|
1912 | .IP "Special characters in \fIaction\fR must be backslash\-escaped:" 4 |
|
|
1913 | .IX Item "Special characters in action must be backslash-escaped:" |
|
|
1914 | \&\fB\ea \eb \eE \ee \en \er \et \eoctal\fR |
|
|
1915 | .IP "or in control-character notation:" 4 |
|
|
1916 | .IX Item "or in control-character notation:" |
|
|
1917 | \&\fB^@, ^A .. ^Z .. ^_, ^?\fR |
|
|
1918 | .PP |
|
|
1919 | To send a string starting with a \fB\s-1NUL\s0\fR (\fB^@\fR) character to the |
|
|
1920 | program, start \fIaction\fR with a pair of \fB\s-1NUL\s0\fR characters (\fB^@^@\fR), |
|
|
1921 | the first of which will be stripped off and the balance directed to the |
|
|
1922 | program. Otherwise if \fIaction\fR begins with \fB\s-1NUL\s0\fR followed by |
|
|
1923 | non\-+\fB\s-1NUL\s0\fR characters, the leading \fB\s-1NUL\s0\fR is stripped off and the |
|
|
1924 | balance is sent back to rxvt. |
|
|
1925 | .PP |
|
|
1926 | As a convenience for the many Emacs-type editors, \fIaction\fR may start |
|
|
1927 | with \fBM\-\fR (eg, \fBM\-$\fR is equivalent to \fB\eE$\fR) and a \fB\s-1CR\s0\fR will be |
|
|
1928 | appended if missed from \fBM\-x\fR commands. |
|
|
1929 | .PP |
|
|
1930 | As a convenience for issuing XTerm \fB\s-1ESC\s0 ]\fR sequences from a menubar (or |
|
|
1931 | quick arrow), a \fB\s-1BEL\s0\fR (\fB^G\fR) will be appended if needed. |
|
|
1932 | .IP "For example," 4 |
|
|
1933 | .IX Item "For example," |
|
|
1934 | \&\fBM\-xapropos\fR is equivalent to \fB\eExapropos\er\fR |
|
|
1935 | .IP "and" 4 |
|
|
1936 | .IX Item "and" |
|
|
1937 | \&\fB\eE]703;mona;100\fR is equivalent to \fB\eE]703;mona;100\ea\fR |
|
|
1938 | .PP |
|
|
1939 | The option \fB{\f(BIright-rtext\fB}\fR will be right\-justified. In the |
|
|
1940 | absence of a specified action, this text will be used as the \fIaction\fR |
|
|
1941 | as well. |
|
|
1942 | .IP "For example," 4 |
|
|
1943 | .IX Item "For example," |
|
|
1944 | \&\fB/File/{Open}{^X^F}\fR is equivalent to \fB/File/{Open}{^X^F} ^X^F\fR |
|
|
1945 | .PP |
|
|
1946 | The left label \fIis\fR necessary, since it's used for matching, but |
|
|
1947 | implicitly hiding the left label (by using same name for both left and |
|
|
1948 | right labels), or explicitly hiding the left label (by preceeding it |
|
|
1949 | with a dot), makes it possible to have right-justified text only. |
|
|
1950 | .IP "For example," 4 |
|
|
1951 | .IX Item "For example," |
|
|
1952 | \&\fB/File/{Open}{Open} Open-File-Action\fR |
|
|
1953 | .IP "or hiding it" 4 |
|
|
1954 | .IX Item "or hiding it" |
|
|
1955 | \&\fB/File/{.anylabel}{Open} Open-File-Action\fR |
|
|
1956 | .PP |
|
|
1957 | |
|
|
1958 | .IX Xref "menuBarRemove" |
|
|
1959 | .Sh "Removing menus" |
|
|
1960 | .IX Subsection "Removing menus" |
|
|
1961 | .IP "\fB\-/*+\fR" 4 |
|
|
1962 | .IX Item "-/*+" |
|
|
1963 | remove all menus from the menuBar, the same as \fB[clear]\fR |
|
|
1964 | .IP "\fB\-+\f(BI/path\fBmenu+\fR" 4 |
|
|
1965 | .IX Item "-+/pathmenu+" |
|
|
1966 | remove menu |
|
|
1967 | .IP "\fB\-+\f(BI/path\fB{item}+\fR" 4 |
|
|
1968 | .IX Item "-+/path{item}+" |
|
|
1969 | remove item |
|
|
1970 | .IP "\fB\-+\f(BI/path\fB{\-}\fR" 4 |
|
|
1971 | .IX Item "-+/path{-}" |
|
|
1972 | remove separator) |
|
|
1973 | .IP "\fB\-/path/menu/*\fR" 4 |
|
|
1974 | .IX Item "-/path/menu/*" |
|
|
1975 | remove all items, separators and submenus from menu |
|
|
1976 | .PP |
|
|
1977 | |
|
|
1978 | .IX Xref "menuBarArrows" |
|
|
1979 | .Sh "Quick Arrows" |
|
|
1980 | .IX Subsection "Quick Arrows" |
|
|
1981 | The menus also provide a hook for \fIquick arrows\fR to provide easier |
|
|
1982 | user access. If nothing has been explicitly set, the default is to |
|
|
1983 | emulate the curror keys. The syntax permits each arrow to be altered |
|
|
1984 | individually or all four at once without re-entering their common |
|
|
1985 | beginning/end text. For example, to explicitly associate cursor actions |
|
|
1986 | with the arrows, any of the following forms could be used: |
|
|
1987 | .IP "\fB<r>+\f(BIRight\fB\fR" 4 |
|
|
1988 | .IX Item "<r>+Right" |
|
|
1989 | .PD 0 |
|
|
1990 | .IP "\fB<l>+\f(BILeft\fB\fR" 4 |
|
|
1991 | .IX Item "<l>+Left" |
|
|
1992 | .IP "\fB<u>+\f(BIUp\fB\fR" 4 |
|
|
1993 | .IX Item "<u>+Up" |
|
|
1994 | .IP "\fB<d>+\f(BIDown\fB\fR" 4 |
|
|
1995 | .IX Item "<d>+Down" |
|
|
1996 | .PD |
|
|
1997 | Define actions for the respective arrow buttons |
|
|
1998 | .IP "\fB<b>+\f(BIBegin\fB\fR" 4 |
|
|
1999 | .IX Item "<b>+Begin" |
|
|
2000 | .PD 0 |
|
|
2001 | .IP "\fB<e>+\f(BIEnd\fB\fR" 4 |
|
|
2002 | .IX Item "<e>+End" |
|
|
2003 | .PD |
|
|
2004 | Define common beginning/end parts for \fIquick arrows\fR which used in |
|
|
2005 | conjunction with the above <r> <l> <u> <d> constructs |
|
|
2006 | .IP "For example, define arrows individually," 4 |
|
|
2007 | .IX Item "For example, define arrows individually," |
|
|
2008 | .Vb 1 |
|
|
2009 | \& <u>\eE[A |
|
|
2010 | .Ve |
|
|
2011 | .Sp |
|
|
2012 | .Vb 1 |
|
|
2013 | \& <d>\eE[B |
|
|
2014 | .Ve |
|
|
2015 | .Sp |
|
|
2016 | .Vb 1 |
|
|
2017 | \& <r>\eE[C |
|
|
2018 | .Ve |
|
|
2019 | .Sp |
|
|
2020 | .Vb 1 |
|
|
2021 | \& <l>\eE[D |
|
|
2022 | .Ve |
|
|
2023 | .IP "or all at once" 4 |
|
|
2024 | .IX Item "or all at once" |
|
|
2025 | .Vb 1 |
|
|
2026 | \& <u>\eE[AZ<><d>\eE[BZ<><r>\eE[CZ<><l>\eE[D |
|
|
2027 | .Ve |
|
|
2028 | .IP "or more compactly (factoring out common parts)" 4 |
|
|
2029 | .IX Item "or more compactly (factoring out common parts)" |
|
|
2030 | .Vb 1 |
|
|
2031 | \& <b>\eE[<u>AZ<><d>BZ<><r>CZ<><l>D |
|
|
2032 | .Ve |
|
|
2033 | .PP |
|
|
2034 | |
|
|
2035 | .IX Xref "menuBarSummary" |
|
|
2036 | .Sh "Command Summary" |
|
|
2037 | .IX Subsection "Command Summary" |
|
|
2038 | A short summary of the most \fIcommon\fR commands: |
|
|
2039 | .IP "[menu:name]" 4 |
|
|
2040 | .IX Item "[menu:name]" |
|
|
2041 | use an existing named menuBar or start a new one |
|
|
2042 | .IP "[menu]" 4 |
|
|
2043 | .IX Item "[menu]" |
|
|
2044 | use the current menuBar |
|
|
2045 | .IP "[title:string]" 4 |
|
|
2046 | .IX Item "[title:string]" |
|
|
2047 | set menuBar title |
|
|
2048 | .IP "[done]" 4 |
|
|
2049 | .IX Item "[done]" |
|
|
2050 | set menu access to readonly and, if reading from a file, signal \s-1EOF\s0 |
|
|
2051 | .IP "[done:name]" 4 |
|
|
2052 | .IX Item "[done:name]" |
|
|
2053 | if reading from a file using [read:file;name] signal \s-1EOF\s0 |
|
|
2054 | .IP "[rm:name]" 4 |
|
|
2055 | .IX Item "[rm:name]" |
|
|
2056 | remove named menuBar(s) |
|
|
2057 | .IP "[rm] [rm:]" 4 |
|
|
2058 | .IX Item "[rm] [rm:]" |
|
|
2059 | remove current menuBar |
|
|
2060 | .IP "[rm*] [rm:*]" 4 |
|
|
2061 | .IX Item "[rm*] [rm:*]" |
|
|
2062 | remove all menuBar(s) |
|
|
2063 | .IP "[swap]" 4 |
|
|
2064 | .IX Item "[swap]" |
|
|
2065 | swap top two menuBars |
|
|
2066 | .IP "[prev]" 4 |
|
|
2067 | .IX Item "[prev]" |
|
|
2068 | access the previous menuBar |
|
|
2069 | .IP "[next]" 4 |
|
|
2070 | .IX Item "[next]" |
|
|
2071 | access the next menuBar |
|
|
2072 | .IP "[show]" 4 |
|
|
2073 | .IX Item "[show]" |
|
|
2074 | map menuBar |
|
|
2075 | .IP "[hide]" 4 |
|
|
2076 | .IX Item "[hide]" |
|
|
2077 | unmap menuBar |
|
|
2078 | .IP "[pixmap;file]" 4 |
|
|
2079 | .IX Item "[pixmap;file]" |
|
|
2080 | .PD 0 |
|
|
2081 | .IP "[pixmap;file;scaling]" 4 |
|
|
2082 | .IX Item "[pixmap;file;scaling]" |
|
|
2083 | .PD |
|
|
2084 | set a background pixmap |
|
|
2085 | .IP "[read:file]" 4 |
|
|
2086 | .IX Item "[read:file]" |
|
|
2087 | .PD 0 |
|
|
2088 | .IP "[read:file;name]" 4 |
|
|
2089 | .IX Item "[read:file;name]" |
|
|
2090 | .PD |
|
|
2091 | read in a menu from a file |
|
|
2092 | .IP "[dump]" 4 |
|
|
2093 | .IX Item "[dump]" |
|
|
2094 | dump out all menuBars to /tmp/rxvt\-PID |
|
|
2095 | .IP "/" 4 |
|
|
2096 | access menuBar top level |
|
|
2097 | .IP "./" 4 |
|
|
2098 | .PD 0 |
|
|
2099 | .IP "../" 4 |
|
|
2100 | .IP "../../" 4 |
|
|
2101 | .PD |
|
|
2102 | access current or parent menu level |
|
|
2103 | .IP "/path/menu" 4 |
|
|
2104 | .IX Item "/path/menu" |
|
|
2105 | add/access menu |
|
|
2106 | .IP "/path/{\-}" 4 |
|
|
2107 | .IX Item "/path/{-}" |
|
|
2108 | add separator |
|
|
2109 | .IP "/path/{item}{rtext} action" 4 |
|
|
2110 | .IX Item "/path/{item}{rtext} action" |
|
|
2111 | add/alter menu item |
|
|
2112 | .IP "\-/*" 4 |
|
|
2113 | remove all menus from the menuBar |
|
|
2114 | .IP "\-/path/menu" 4 |
|
|
2115 | .IX Item "-/path/menu" |
|
|
2116 | remove menu items, separators and submenus from menu |
|
|
2117 | .IP "\-/path/menu" 4 |
|
|
2118 | .IX Item "-/path/menu" |
|
|
2119 | remove menu |
|
|
2120 | .IP "\-/path/{item}" 4 |
|
|
2121 | .IX Item "-/path/{item}" |
|
|
2122 | remove item |
|
|
2123 | .IP "\-/path/{\-}" 4 |
|
|
2124 | .IX Item "-/path/{-}" |
|
|
2125 | remove separator |
|
|
2126 | .IP "<b>Begin<r>Right<l>Left<u>Up<d>Down<e>End" 4 |
|
|
2127 | .IX Item "<b>Begin<r>Right<l>Left<u>Up<d>Down<e>End" |
|
|
2128 | menu quick arrows |
|
|
2129 | .SH "XPM" |
1912 | .SH "XPM" |
2130 | .IX Header "XPM" |
1913 | .IX Header "XPM" |
2131 | 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 |
2132 | 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 |
2133 | sequence of scaling/positioning commands separated by semi\-colons. The |
1916 | sequence of scaling/positioning commands separated by semi\-colons. The |
… | |
… | |
2335 | 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 |
2336 | alternative input methods (e.g. kinput2) and will also correctly |
2119 | alternative input methods (e.g. kinput2) and will also correctly |
2337 | 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. |
2338 | .IP "\-\-enable\-unicode3 (default: off)" 4 |
2121 | .IP "\-\-enable\-unicode3 (default: off)" 4 |
2339 | .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 |
2340 | Enable direct support for displaying unicode codepoints above |
2125 | Enable direct support for displaying unicode codepoints above |
2341 | 65535 (the basic multilingual page). This increases storage |
2126 | 65535 (the basic multilingual page). This increases storage |
2342 | 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 |
2343 | support these extra characters, but Xft does. |
2128 | support these extra characters, but Xft does. |
2344 | .Sp |
2129 | .Sp |
… | |
… | |
2353 | composite characters. This is required for proper viewing of text |
2138 | composite characters. This is required for proper viewing of text |
2354 | where accents are encoded as seperate unicode characters. This is |
2139 | where accents are encoded as seperate unicode characters. This is |
2355 | done by using precomposited characters when available or creating |
2140 | done by using precomposited characters when available or creating |
2356 | new pseudo-characters when no precomposed form exists. |
2141 | new pseudo-characters when no precomposed form exists. |
2357 | .Sp |
2142 | .Sp |
2358 | Without \-\-enable\-unicode3, the number of additional precomposed characters |
2143 | Without \-\-enable\-unicode3, the number of additional precomposed |
2359 | 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 |
2360 | private use area, extending the number of combinations to 8448). With |
|
|
2361 | \&\-\-enable\-unicode3, no practical limit exists. |
2145 | (ab\-)used). With \-\-enable\-unicode3, no practical limit exists. |
2362 | .Sp |
2146 | .Sp |
2363 | This option will also enable storage (but not display) of characters |
2147 | This option will also enable storage (but not display) of characters |
2364 | beyond plane 0 (>65535) when \-\-enable\-unicode3 was not specified. |
2148 | beyond plane 0 (>65535) when \-\-enable\-unicode3 was not specified. |
2365 | .Sp |
2149 | .Sp |
2366 | The combining table also contains entries for arabic presentation forms, |
2150 | The combining table also contains entries for arabic presentation forms, |
2367 | 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 |
2368 | tell me how these are to be used...). |
2152 | tell me how these are to be used...). |
2369 | .IP "\-\-enable\-fallback(=CLASS) (default: Rxvt)" 4 |
2153 | .IP "\-\-enable\-fallback(=CLASS) (default: Rxvt)" 4 |
2370 | .IX Item "--enable-fallback(=CLASS) (default: Rxvt)" |
2154 | .IX Item "--enable-fallback(=CLASS) (default: Rxvt)" |
2371 | 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. |
2372 | .IP "\-\-with\-res\-name=NAME (default: urxvt)" 4 |
2157 | .IP "\-\-with\-res\-name=NAME (default: urxvt)" 4 |
2373 | .IX Item "--with-res-name=NAME (default: urxvt)" |
2158 | .IX Item "--with-res-name=NAME (default: urxvt)" |
2374 | Use the given name as default application name when |
2159 | Use the given name as default application name when |
2375 | reading resources. Specify \-\-with\-res\-name=rxvt to replace rxvt. |
2160 | reading resources. Specify \-\-with\-res\-name=rxvt to replace rxvt. |
2376 | .IP "\-\-with\-res\-class=CLASS /default: URxvt)" 4 |
2161 | .IP "\-\-with\-res\-class=CLASS /default: URxvt)" 4 |
… | |
… | |
2390 | .IP "\-\-enable\-lastlog (default: on)" 4 |
2175 | .IP "\-\-enable\-lastlog (default: on)" 4 |
2391 | .IX Item "--enable-lastlog (default: on)" |
2176 | .IX Item "--enable-lastlog (default: on)" |
2392 | Write user and tty to lastlog file (used by programs like |
2177 | Write user and tty to lastlog file (used by programs like |
2393 | \&\fIlastlogin\fR) at start of rxvt execution. This option requires |
2178 | \&\fIlastlogin\fR) at start of rxvt execution. This option requires |
2394 | \&\-\-enable\-utmp to also be specified. |
2179 | \&\-\-enable\-utmp to also be specified. |
2395 | .IP "\-\-enable\-xpm\-background (default: off)" 4 |
2180 | .IP "\-\-enable\-xpm\-background (default: on)" 4 |
2396 | .IX Item "--enable-xpm-background (default: off)" |
2181 | .IX Item "--enable-xpm-background (default: on)" |
2397 | Add support for \s-1XPM\s0 background pixmaps. |
2182 | Add support for \s-1XPM\s0 background pixmaps. |
2398 | .IP "\-\-enable\-transparency (default: off)" 4 |
2183 | .IP "\-\-enable\-transparency (default: on)" 4 |
2399 | .IX Item "--enable-transparency (default: off)" |
2184 | .IX Item "--enable-transparency (default: on)" |
2400 | Add support for inheriting parent backgrounds thus giving a fake |
2185 | Add support for inheriting parent backgrounds thus giving a fake |
2401 | transparency to the term. |
2186 | transparency to the term. |
2402 | .IP "\-\-enable\-fading (default: on)" 4 |
2187 | .IP "\-\-enable\-fading (default: on)" 4 |
2403 | .IX Item "--enable-fading (default: on)" |
2188 | .IX Item "--enable-fading (default: on)" |
2404 | 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). |
2405 | .IP "\-\-enable\-tinting (default: on)" 4 |
2190 | .IP "\-\-enable\-tinting (default: on)" 4 |
2406 | .IX Item "--enable-tinting (default: on)" |
2191 | .IX Item "--enable-tinting (default: on)" |
2407 | 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). |
2408 | .IP "\-\-enable\-menubar (default: off)" 4 |
|
|
2409 | .IX Item "--enable-menubar (default: off)" |
|
|
2410 | Add support for our menu bar system (this interacts badly with |
|
|
2411 | dynamic locale switching currently). |
|
|
2412 | .IP "\-\-enable\-rxvt\-scroll (default: on)" 4 |
2193 | .IP "\-\-enable\-rxvt\-scroll (default: on)" 4 |
2413 | .IX Item "--enable-rxvt-scroll (default: on)" |
2194 | .IX Item "--enable-rxvt-scroll (default: on)" |
2414 | Add support for the original rxvt scrollbar. |
2195 | Add support for the original rxvt scrollbar. |
2415 | .IP "\-\-enable\-next\-scroll (default: on)" 4 |
2196 | .IP "\-\-enable\-next\-scroll (default: on)" 4 |
2416 | .IX Item "--enable-next-scroll (default: on)" |
2197 | .IX Item "--enable-next-scroll (default: on)" |
… | |
… | |
2421 | .IP "\-\-enable\-plain\-scroll (default: on)" 4 |
2202 | .IP "\-\-enable\-plain\-scroll (default: on)" 4 |
2422 | .IX Item "--enable-plain-scroll (default: on)" |
2203 | .IX Item "--enable-plain-scroll (default: on)" |
2423 | Add support for a very unobtrusive, plain-looking scrollbar that |
2204 | Add support for a very unobtrusive, plain-looking scrollbar that |
2424 | 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 |
2425 | many years. |
2206 | many years. |
2426 | .IP "\-\-enable\-half\-shadow (default: off)" 4 |
|
|
2427 | .IX Item "--enable-half-shadow (default: off)" |
|
|
2428 | Make shadows on the scrollbar only half the normal width & height. |
|
|
2429 | only applicable to rxvt scrollbars. |
|
|
2430 | .IP "\-\-enable\-ttygid (default: off)" 4 |
2207 | .IP "\-\-enable\-ttygid (default: off)" 4 |
2431 | .IX Item "--enable-ttygid (default: off)" |
2208 | .IX Item "--enable-ttygid (default: off)" |
2432 | 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 |
2433 | your system uses this type of security. |
2210 | your system uses this type of security. |
2434 | .IP "\-\-disable\-backspace\-key" 4 |
2211 | .IP "\-\-disable\-backspace\-key" 4 |
… | |
… | |
2439 | 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 |
2440 | do it. |
2217 | do it. |
2441 | .IP "\-\-disable\-resources" 4 |
2218 | .IP "\-\-disable\-resources" 4 |
2442 | .IX Item "--disable-resources" |
2219 | .IX Item "--disable-resources" |
2443 | Removes any support for resource checking. |
2220 | Removes any support for resource checking. |
2444 | .IP "\-\-enable\-xgetdefault" 4 |
|
|
2445 | .IX Item "--enable-xgetdefault" |
|
|
2446 | Make resources checking via \fIXGetDefault()\fR instead of our small |
|
|
2447 | version which only checks ~/.Xdefaults, or if that doesn't exist then |
|
|
2448 | ~/.Xresources. |
|
|
2449 | .Sp |
|
|
2450 | Please note that nowadays, things like \s-1XIM\s0 will automatically pull in and |
|
|
2451 | use the full X resource manager, so the overhead of using it might be very |
|
|
2452 | small, if nonexistant. |
|
|
2453 | .IP "\-\-enable\-strings (default: off)" 4 |
|
|
2454 | .IX Item "--enable-strings (default: off)" |
|
|
2455 | Add support for our possibly faster \fImemset()\fR function and other |
|
|
2456 | various routines, overriding your system's versions which may |
|
|
2457 | have been hand-crafted in assembly or may require extra libraries |
|
|
2458 | to link in. (this breaks ANSI-C rules and has problems on many |
|
|
2459 | GNU/Linux systems). |
|
|
2460 | .IP "\-\-disable\-swapscreen" 4 |
2221 | .IP "\-\-disable\-swapscreen" 4 |
2461 | .IX Item "--disable-swapscreen" |
2222 | .IX Item "--disable-swapscreen" |
2462 | Remove support for secondary/swap screen. |
2223 | Remove support for secondary/swap screen. |
2463 | .IP "\-\-enable\-frills (default: on)" 4 |
2224 | .IP "\-\-enable\-frills (default: on)" 4 |
2464 | .IX Item "--enable-frills (default: on)" |
2225 | .IX Item "--enable-frills (default: on)" |
… | |
… | |
2467 | disable this. |
2228 | disable this. |
2468 | .Sp |
2229 | .Sp |
2469 | 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 |
2470 | in combination with other switches) is: |
2231 | in combination with other switches) is: |
2471 | .Sp |
2232 | .Sp |
2472 | .Vb 13 |
2233 | .Vb 15 |
2473 | \& MWM-hints |
2234 | \& MWM-hints |
2474 | \& EWMH-hints (pid, utf8 names) and protocols (ping) |
2235 | \& EWMH-hints (pid, utf8 names) and protocols (ping) |
2475 | \& seperate underline colour |
2236 | \& seperate underline colour (-underlineColor) |
2476 | \& settable border widths and borderless switch |
2237 | \& settable border widths and borderless switch (-w, -b, -bl) |
|
|
2238 | \& visual depth selection (-depth) |
2477 | \& settable extra linespacing |
2239 | \& settable extra linespacing /-lsp) |
2478 | \& iso-14755-2 and -3, and visual feedback |
2240 | \& iso-14755-2 and -3, and visual feedback |
|
|
2241 | \& tripleclickwords (-tcw) |
|
|
2242 | \& settable insecure mode (-insecure) |
|
|
2243 | \& keysym remapping support |
|
|
2244 | \& cursor blinking and underline cursor (-cb, -uc) |
|
|
2245 | \& XEmbed support (-embed) |
|
|
2246 | \& user-pty (-pty-fd) |
|
|
2247 | \& hold on exit (-hold) |
|
|
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 |
|
|
2257 | \& sgr modes 90..97 and 100..107 |
2479 | \& backindex and forwardindex escape sequence |
2258 | \& backindex and forwardindex escape sequences |
|
|
2259 | \& view change/zero scorllback esacpe sequences |
|
|
2260 | \& locale switching escape sequence |
2480 | \& window op and some xterm/OSC escape sequences |
2261 | \& window op and some xterm/OSC escape sequences |
2481 | \& tripleclickwords |
2262 | \& rectangular selections |
2482 | \& settable insecure mode |
2263 | \& trailing space removal for selections |
2483 | \& keysym remapping support |
2264 | \& verbose X error handling |
2484 | \& cursor blinking and underline cursor |
|
|
2485 | \& -embed, -pty-fd and -hold options |
|
|
2486 | .Ve |
2265 | .Ve |
2487 | .IP "\-\-enable\-iso14755 (default: on)" 4 |
2266 | .IP "\-\-enable\-iso14755 (default: on)" 4 |
2488 | .IX Item "--enable-iso14755 (default: on)" |
2267 | .IX Item "--enable-iso14755 (default: on)" |
2489 | 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 |
2490 | \&\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 |
… | |
… | |
2524 | 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 |
2525 | the screen in a fixed position. |
2304 | the screen in a fixed position. |
2526 | .IP "\-\-enable\-pointer\-blank (default: on)" 4 |
2305 | .IP "\-\-enable\-pointer\-blank (default: on)" 4 |
2527 | .IX Item "--enable-pointer-blank (default: on)" |
2306 | .IX Item "--enable-pointer-blank (default: on)" |
2528 | Add support to have the pointer disappear when typing or inactive. |
2307 | Add support to have the pointer disappear when typing or inactive. |
|
|
2308 | .IP "\-\-enable\-perl (default: on)" 4 |
|
|
2309 | .IX Item "--enable-perl (default: on)" |
|
|
2310 | Enable an embedded perl interpreter. See the \fB@@RXVT_NAME@@\f(BIperl\fB\|(3)\fR |
|
|
2311 | manpage (\fIdoc/rxvtperl.txt\fR) for more info on this feature, or the files |
|
|
2312 | in \fIsrc/perl\-ext/\fR for the extensions that are installed by default. The |
|
|
2313 | perl interpreter that is used can be specified via the \f(CW\*(C`PERL\*(C'\fR environment |
|
|
2314 | variable when running configure. |
2529 | .IP "\-\-with\-name=NAME (default: urxvt)" 4 |
2315 | .IP "\-\-with\-name=NAME (default: urxvt)" 4 |
2530 | .IX Item "--with-name=NAME (default: urxvt)" |
2316 | .IX Item "--with-name=NAME (default: urxvt)" |
2531 | Set the basename for the installed binaries, resulting |
2317 | Set the basename for the installed binaries, resulting |
2532 | in \f(CW\*(C`urxvt\*(C'\fR, \f(CW\*(C`urxvtd\*(C'\fR etc.). Specify \f(CW\*(C`\-\-with\-name=rxvt\*(C'\fR to replace with |
2318 | in \f(CW\*(C`urxvt\*(C'\fR, \f(CW\*(C`urxvtd\*(C'\fR etc.). Specify \f(CW\*(C`\-\-with\-name=rxvt\*(C'\fR to replace with |
2533 | \&\f(CW\*(C`rxvt\*(C'\fR. |
2319 | \&\f(CW\*(C`rxvt\*(C'\fR. |