… | |
… | |
18 | The newest version of this document is also available on the World Wide |
18 | The newest version of this document is also available on the World Wide |
19 | Web at |
19 | Web at |
20 | <http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html>. |
20 | <http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html>. |
21 | |
21 | |
22 | FREQUENTLY ASKED QUESTIONS |
22 | FREQUENTLY ASKED QUESTIONS |
|
|
23 | The new selection selects pieces that are too big, how can I select |
|
|
24 | single words? |
|
|
25 | Yes. For example, if you want to select alphanumeric words, you can |
|
|
26 | use the following resource: |
|
|
27 | |
|
|
28 | URxvt.selection.pattern-0: ([[:word:]]+) |
|
|
29 | |
|
|
30 | If you click more than twice, the selection will be extended more |
|
|
31 | and more. |
|
|
32 | |
|
|
33 | To get a selection that is very similar to the old code, try this |
|
|
34 | pattern: |
|
|
35 | |
|
|
36 | URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\\\\]^`{|})]+) |
|
|
37 | |
|
|
38 | Please also note that the *LeftClick Shift-LeftClik* combination |
|
|
39 | also selects words like the old code. |
|
|
40 | |
|
|
41 | I don't like the new selection/popups/hotkeys/perl, how do I |
|
|
42 | change/disable it? |
|
|
43 | You can disable the perl extension completely by setting the |
|
|
44 | perl-ext-common resource to the empty string, which also keeps |
|
|
45 | rxvt-unicode from initialising perl, saving memory. |
|
|
46 | |
|
|
47 | If you only want to disable specific features, you first have to |
|
|
48 | identify which perl extension is responsible. For this, read the |
|
|
49 | section PREPACKAGED EXTENSIONS in the rxvtperl(3) manpage. For |
|
|
50 | example, to disable the selection-popup and option-popup, specify |
|
|
51 | this perl-ext-common resource: |
|
|
52 | |
|
|
53 | URxvt.perl-ext-common: default,-selection-popup,-option-popup |
|
|
54 | |
|
|
55 | This will keep the default extensions, but disable the two popup |
|
|
56 | extensions. Some extensions can also be configured, for example, |
|
|
57 | scrollback search mode is triggered by M-s. You can move it to any |
|
|
58 | other combination either by setting the searchable-scrollback |
|
|
59 | resource: |
|
|
60 | |
|
|
61 | URxvt.searchable-scrollback: CM-s |
|
|
62 | |
23 | Isn't rxvt supposed to be small? Don't all those features bloat? |
63 | Isn't rxvt supposed to be small? Don't all those features bloat? |
24 | I often get asked about this, and I think, no, they didn't cause |
64 | I often get asked about this, and I think, no, they didn't cause |
25 | extra bloat. If you compare a minimal rxvt and a minimal urxvt, you |
65 | extra bloat. If you compare a minimal rxvt and a minimal urxvt, you |
26 | can see that the urxvt binary is larger (due to some encoding tables |
66 | can see that the urxvt binary is larger (due to some encoding tables |
27 | always being compiled in), but it actually uses less memory (RSS) |
67 | always being compiled in), but it actually uses less memory (RSS) |
… | |
… | |
56 | |
96 | |
57 | Compared to e.g. Eterm (5112k), aterm (3132k) and xterm (4680k), |
97 | Compared to e.g. Eterm (5112k), aterm (3132k) and xterm (4680k), |
58 | this still fares rather well. And compared to some monsters like |
98 | this still fares rather well. And compared to some monsters like |
59 | gnome-terminal (21152k + extra 4204k in separate processes) or |
99 | gnome-terminal (21152k + extra 4204k in separate processes) or |
60 | konsole (22200k + extra 43180k in daemons that stay around after |
100 | konsole (22200k + extra 43180k in daemons that stay around after |
61 | exit, plus half aminute of startup time, including the hundreds of |
101 | exit, plus half a minute of startup time, including the hundreds of |
62 | warnings it spits out), it fares extremely well *g*. |
102 | warnings it spits out), it fares extremely well *g*. |
63 | |
103 | |
64 | Why C++, isn't that unportable/bloated/uncool? |
104 | Why C++, isn't that unportable/bloated/uncool? |
65 | Is this a question? :) It comes up very often. The simple answer is: |
105 | Is this a question? :) It comes up very often. The simple answer is: |
66 | I had to write it, and C++ allowed me to write and maintain it in a |
106 | I had to write it, and C++ allowed me to write and maintain it in a |
… | |
… | |
121 | |
161 | |
122 | For other problems that also affect the Debian package, you can and |
162 | For other problems that also affect the Debian package, you can and |
123 | probably should use the Debian BTS, too, because, after all, it's |
163 | probably should use the Debian BTS, too, because, after all, it's |
124 | also a bug in the Debian version and it serves as a reminder for |
164 | also a bug in the Debian version and it serves as a reminder for |
125 | other users that might encounter the same issue. |
165 | other users that might encounter the same issue. |
|
|
166 | |
|
|
167 | I am maintaining rxvt-unicode for distribution/OS XXX, any |
|
|
168 | recommendation? |
|
|
169 | You should build one binary with the default options. configure now |
|
|
170 | enables most useful options, and the trend goes to making them |
|
|
171 | runtime-switchable, too, so there is usually no drawback to enbaling |
|
|
172 | them, except higher disk and possibly memory usage. The perl |
|
|
173 | interpreter should be enabled, as important functionality (menus, |
|
|
174 | selection, likely more in the future) depends on it. |
|
|
175 | |
|
|
176 | You should not overwrite the "perl-ext-common" snd "perl-ext" |
|
|
177 | resources system-wide (except maybe with "defaults"). This will |
|
|
178 | result in useful behaviour. If your distribution aims at low memory, |
|
|
179 | add an empty "perl-ext-common" resource to the app-defaults file. |
|
|
180 | This will keep the perl interpreter disabled until the user enables |
|
|
181 | it. |
|
|
182 | |
|
|
183 | If you can/want build more binaries, I recommend building a minimal |
|
|
184 | one with "--disable-everything" (very useful) and a maximal one with |
|
|
185 | "--enable-everything" (less useful, it will be very big due to a lot |
|
|
186 | of encodings built-in that increase download times and are rarely |
|
|
187 | used). |
|
|
188 | |
|
|
189 | I need to make it setuid/setgid to support utmp/ptys on my OS, is this |
|
|
190 | safe? |
|
|
191 | Likely not. While I honestly try to make it secure, and am probably |
|
|
192 | not bad at it, I think it is simply unreasonable to expect all of |
|
|
193 | freetype + fontconfig + xft + xlib + perl + ... + rxvt-unicode |
|
|
194 | itself to all be secure. Also, rxvt-unicode disables some options |
|
|
195 | when it detects that it runs setuid or setgid, which is not nice. |
|
|
196 | Besides, with the embedded perl interpreter the possibility for |
|
|
197 | security problems easily multiplies. |
|
|
198 | |
|
|
199 | Elevated privileges are only required for utmp and pty operations on |
|
|
200 | some systems (for example, GNU/Linux doesn't need any extra |
|
|
201 | privileges for ptys, but some need it for utmp support). It is |
|
|
202 | planned to mvoe this into a forked handler process, but this is not |
|
|
203 | yet done. |
|
|
204 | |
|
|
205 | So, while setuid/setgid operation is supported and not a problem on |
|
|
206 | your typical single-user-no-other-logins unix desktop, always |
|
|
207 | remember that its an awful lot of code, most of which isn't checked |
|
|
208 | for security issues regularly. |
126 | |
209 | |
127 | When I log-in to another system it tells me about missing terminfo data? |
210 | When I log-in to another system it tells me about missing terminfo data? |
128 | The terminal description used by rxvt-unicode is not as widely |
211 | The terminal description used by rxvt-unicode is not as widely |
129 | available as that for xterm, or even rxvt (for which the same |
212 | available as that for xterm, or even rxvt (for which the same |
130 | problem often arises). |
213 | problem often arises). |
… | |
… | |
518 | |
601 | |
519 | My input method wants <some encoding> but I want UTF-8, what can I do? |
602 | My input method wants <some encoding> but I want UTF-8, what can I do? |
520 | You can specify separate locales for the input method and the rest |
603 | You can specify separate locales for the input method and the rest |
521 | of the terminal, using the resource "imlocale": |
604 | of the terminal, using the resource "imlocale": |
522 | |
605 | |
523 | URxvt*imlocale: ja_JP.EUC-JP |
606 | URxvt.imlocale: ja_JP.EUC-JP |
524 | |
607 | |
525 | Now you can start your terminal with "LC_CTYPE=ja_JP.UTF-8" and |
608 | Now you can start your terminal with "LC_CTYPE=ja_JP.UTF-8" and |
526 | still use your input method. Please note, however, that you will not |
609 | still use your input method. Please note, however, that you will not |
527 | be able to input characters outside "EUC-JP" in a normal way then, |
610 | be able to input characters outside "EUC-JP" in a normal way then, |
528 | as your input method limits you. |
611 | as your input method limits you. |
… | |
… | |
571 | Mouse cut/paste suddenly no longer works. |
654 | Mouse cut/paste suddenly no longer works. |
572 | Make sure that mouse reporting is actually turned off since killing |
655 | Make sure that mouse reporting is actually turned off since killing |
573 | some editors prematurely may leave the mouse in mouse report mode. |
656 | some editors prematurely may leave the mouse in mouse report mode. |
574 | I've heard that tcsh may use mouse reporting unless it otherwise |
657 | I've heard that tcsh may use mouse reporting unless it otherwise |
575 | specified. A quick check is to see if cut/paste works when the Alt |
658 | specified. A quick check is to see if cut/paste works when the Alt |
576 | or Shift keys are depressed. See rxvt(7) |
659 | or Shift keys are depressed. |
577 | |
660 | |
578 | What's with this bold/blink stuff? |
661 | What's with this bold/blink stuff? |
579 | If no bold colour is set via "colorBD:", bold will invert text using |
662 | If no bold colour is set via "colorBD:", bold will invert text using |
580 | the standard foreground colour. |
663 | the standard foreground colour. |
581 | |
664 | |
… | |
… | |
667 | |
750 | |
668 | # use Backspace = ^? |
751 | # use Backspace = ^? |
669 | $ stty erase ^? |
752 | $ stty erase ^? |
670 | $ rxvt |
753 | $ rxvt |
671 | |
754 | |
672 | Toggle with "ESC [ 36 h" / "ESC [ 36 l" as documented in rxvt(7). |
755 | Toggle with "ESC [ 36 h" / "ESC [ 36 l". |
673 | |
756 | |
674 | For an existing rxvt-unicode: |
757 | For an existing rxvt-unicode: |
675 | |
758 | |
676 | # use Backspace = ^H |
759 | # use Backspace = ^H |
677 | $ stty erase ^H |
760 | $ stty erase ^H |
… | |
… | |
1169 | |
1252 | |
1170 | "Ps = 9" X10 XTerm |
1253 | "Ps = 9" X10 XTerm |
1171 | h Send Mouse X & Y on button press. |
1254 | h Send Mouse X & Y on button press. |
1172 | l No mouse reporting. |
1255 | l No mouse reporting. |
1173 | |
1256 | |
1174 | "Ps = 10" (rxvt) |
|
|
1175 | h menuBar visible |
|
|
1176 | l menuBar invisible |
|
|
1177 | |
|
|
1178 | "Ps = 25" |
1257 | "Ps = 25" |
1179 | h Visible cursor {cnorm/cvvis} |
1258 | h Visible cursor {cnorm/cvvis} |
1180 | l Invisible cursor {civis} |
1259 | l Invisible cursor {civis} |
1181 | |
1260 | |
1182 | "Ps = 30" |
1261 | "Ps = 30" |
… | |
… | |
1266 | Ps = 10 Change colour of text foreground to Pt (NB: may change in future) |
1345 | Ps = 10 Change colour of text foreground to Pt (NB: may change in future) |
1267 | Ps = 11 Change colour of text background to Pt (NB: may change in future) |
1346 | Ps = 11 Change colour of text background to Pt (NB: may change in future) |
1268 | Ps = 12 Change colour of text cursor foreground to Pt |
1347 | Ps = 12 Change colour of text cursor foreground to Pt |
1269 | Ps = 13 Change colour of mouse foreground to Pt |
1348 | Ps = 13 Change colour of mouse foreground to Pt |
1270 | Ps = 17 Change colour of highlight characters to Pt |
1349 | Ps = 17 Change colour of highlight characters to Pt |
1271 | Ps = 18 Change colour of bold characters to Pt |
1350 | Ps = 18 Change colour of bold characters to Pt [deprecated, see 706] |
1272 | Ps = 19 Change colour of underlined characters to Pt |
1351 | Ps = 19 Change colour of underlined characters to Pt [deprecated, see 707] |
1273 | Ps = 20 Change default background to Pt |
1352 | Ps = 20 Change default background to Pt |
1274 | Ps = 39 Change default foreground colour to Pt. |
1353 | Ps = 39 Change default foreground colour to Pt. |
1275 | Ps = 46 Change Log File to Pt unimplemented |
1354 | Ps = 46 Change Log File to Pt unimplemented |
1276 | Ps = 49 Change default background colour to Pt. |
1355 | Ps = 49 Change default background colour to Pt. |
1277 | 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 |
1356 | 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 |
1278 | Ps = 55 Log all scrollback buffer and all of screen to Pt |
1357 | Ps = 55 Log all scrollback buffer and all of screen to Pt |
1279 | Ps = 701 Change current locale to Pt, or, if Pt is ?, return the current locale (Compile frills). |
1358 | Ps = 701 Change current locale to Pt, or, if Pt is ?, return the current locale (Compile frills). |
1280 | Ps = 703 Menubar command Pt (Compile menubar). |
|
|
1281 | Ps = 704 Change colour of italic characters to Pt |
1359 | Ps = 704 Change colour of italic characters to Pt |
1282 | Ps = 705 Change background pixmap tint colour to Pt (Compile transparency). |
1360 | Ps = 705 Change background pixmap tint colour to Pt (Compile transparency). |
|
|
1361 | Ps = 706 Change colour of bold characters to Pt |
|
|
1362 | Ps = 707 Change colour of underlined characters to Pt |
1283 | Ps = 710 Set normal fontset to Pt. Same as Ps = 50. |
1363 | Ps = 710 Set normal fontset to Pt. Same as Ps = 50. |
1284 | Ps = 711 Set bold fontset to Pt. Similar to Ps = 50 (Compile styles). |
1364 | Ps = 711 Set bold fontset to Pt. Similar to Ps = 50 (Compile styles). |
1285 | Ps = 712 Set italic fontset to Pt. Similar to Ps = 50 (Compile styles). |
1365 | Ps = 712 Set italic fontset to Pt. Similar to Ps = 50 (Compile styles). |
1286 | Ps = 713 Set bold-italic fontset to Pt. Similar to Ps = 50 (Compile styles). |
1366 | Ps = 713 Set bold-italic fontset to Pt. Similar to Ps = 50 (Compile styles). |
1287 | Ps = 720 Move viewing window up by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills). |
1367 | Ps = 720 Move viewing window up by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills). |
1288 | Ps = 721 Move viewing window down by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills). |
1368 | Ps = 721 Move viewing window down by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills). |
1289 | Ps = 777 Call the perl extension with the given string, which should be of the form extension:parameters (Compile perl). |
1369 | Ps = 777 Call the perl extension with the given string, which should be of the form extension:parameters (Compile perl). |
1290 | |
1370 | |
1291 | |
1371 | |
1292 | |
|
|
1293 | menuBar |
|
|
1294 | The exact syntax used is *almost* solidified. In the menus, DON'T try to |
|
|
1295 | use menuBar commands that add or remove a menuBar. |
|
|
1296 | |
|
|
1297 | Note that in all of the commands, the */path/* *cannot* be omitted: use |
|
|
1298 | ./ to specify a menu relative to the current menu. |
|
|
1299 | |
|
|
1300 | Overview of menuBar operation |
|
|
1301 | For the menuBar XTerm escape sequence "ESC ] 703 ; Pt ST", the syntax of |
|
|
1302 | "Pt" can be used for a variety of tasks: |
|
|
1303 | |
|
|
1304 | At the top level is the current menuBar which is a member of a circular |
|
|
1305 | linked-list of other such menuBars. |
|
|
1306 | |
|
|
1307 | The menuBar acts as a parent for the various drop-down menus, which in |
|
|
1308 | turn, may have labels, separator lines, menuItems and subMenus. |
|
|
1309 | |
|
|
1310 | The menuItems are the useful bits: you can use them to mimic keyboard |
|
|
1311 | input or even to send text or escape sequences back to rxvt. |
|
|
1312 | |
|
|
1313 | The menuBar syntax is intended to provide a simple yet robust method of |
|
|
1314 | constructing and manipulating menus and navigating through the menuBars. |
|
|
1315 | |
|
|
1316 | The first step is to use the tag [menu:*name*] which creates the menuBar |
|
|
1317 | called *name* and allows access. You may now or menus, subMenus, and |
|
|
1318 | menuItems. Finally, use the tag [done] to set the menuBar access as |
|
|
1319 | readonly to prevent accidental corruption of the menus. To re-access the |
|
|
1320 | current menuBar for alterations, use the tag [menu], make the |
|
|
1321 | alterations and then use [done] |
|
|
1322 | |
|
|
1323 | |
|
|
1324 | |
|
|
1325 | Commands |
|
|
1326 | [menu:+*name*] |
|
|
1327 | access the named menuBar for creation or alteration. If a new |
|
|
1328 | menuBar is created, it is called *name* (max of 15 chars) and the |
|
|
1329 | current menuBar is pushed onto the stack |
|
|
1330 | |
|
|
1331 | [menu] |
|
|
1332 | access the current menuBar for alteration |
|
|
1333 | |
|
|
1334 | [title:+*string*] |
|
|
1335 | set the current menuBar's title to *string*, which may contain the |
|
|
1336 | following format specifiers: |
|
|
1337 | |
|
|
1338 | B<%n> rxvt name (as per the B<-name> command-line option) |
|
|
1339 | B<%v> rxvt version |
|
|
1340 | B<%%> literal B<%> character |
|
|
1341 | |
|
|
1342 | [done] |
|
|
1343 | set menuBar access as readonly. End-of-file tag for [read:+*file*] |
|
|
1344 | operations. |
|
|
1345 | |
|
|
1346 | [read:+*file*] |
|
|
1347 | read menu commands directly from *file* (extension ".menu" will be |
|
|
1348 | appended if required.) Start reading at a line with [menu] or |
|
|
1349 | [menu:+*name* and continuing until [done] is encountered. |
|
|
1350 | |
|
|
1351 | Blank and comment lines (starting with #) are ignored. Actually, |
|
|
1352 | since any invalid menu commands are also ignored, almost anything |
|
|
1353 | could be construed as a comment line, but this may be tightened up |
|
|
1354 | in the future ... so don't count on it!. |
|
|
1355 | |
|
|
1356 | [read:+*file*;+*name*] |
|
|
1357 | The same as [read:+*file*], but start reading at a line with |
|
|
1358 | [menu:+*name*] and continuing until [done:+*name*] or [done] is |
|
|
1359 | encountered. |
|
|
1360 | |
|
|
1361 | [dump] |
|
|
1362 | dump all menuBars to the file /tmp/rxvt-PID in a format suitable for |
|
|
1363 | later rereading. |
|
|
1364 | |
|
|
1365 | [rm:name] |
|
|
1366 | remove the named menuBar |
|
|
1367 | |
|
|
1368 | [rm] [rm:] |
|
|
1369 | remove the current menuBar |
|
|
1370 | |
|
|
1371 | [rm*] [rm:*] |
|
|
1372 | remove all menuBars |
|
|
1373 | |
|
|
1374 | [swap] |
|
|
1375 | swap the top two menuBars |
|
|
1376 | |
|
|
1377 | [prev] |
|
|
1378 | access the previous menuBar |
|
|
1379 | |
|
|
1380 | [next] |
|
|
1381 | access the next menuBar |
|
|
1382 | |
|
|
1383 | [show] |
|
|
1384 | Enable display of the menuBar |
|
|
1385 | |
|
|
1386 | [hide] |
|
|
1387 | Disable display of the menuBar |
|
|
1388 | |
|
|
1389 | [pixmap:+*name*] |
|
|
1390 | [pixmap:+*name*;*scaling*] |
|
|
1391 | (set the background pixmap globally |
|
|
1392 | |
|
|
1393 | A Future implementation *may* make this local to the menubar) |
|
|
1394 | |
|
|
1395 | [:+*command*:] |
|
|
1396 | ignore the menu readonly status and issue a *command* to or a menu |
|
|
1397 | or menuitem or change the ; a useful shortcut for setting the quick |
|
|
1398 | arrows from a menuBar. |
|
|
1399 | |
|
|
1400 | |
|
|
1401 | |
|
|
1402 | Adding and accessing menus |
|
|
1403 | The following commands may also be + prefixed. |
|
|
1404 | |
|
|
1405 | /+ access menuBar top level |
|
|
1406 | |
|
|
1407 | ./+ access current menu level |
|
|
1408 | |
|
|
1409 | ../+ |
|
|
1410 | access parent menu (1 level up) |
|
|
1411 | |
|
|
1412 | ../../ |
|
|
1413 | access parent menu (multiple levels up) |
|
|
1414 | |
|
|
1415 | */path/*menu |
|
|
1416 | add/access menu |
|
|
1417 | |
|
|
1418 | */path/*menu/* |
|
|
1419 | add/access menu and clear it if it exists |
|
|
1420 | |
|
|
1421 | */path/*{-} |
|
|
1422 | add separator |
|
|
1423 | |
|
|
1424 | */path/*{item} |
|
|
1425 | add item as a label |
|
|
1426 | |
|
|
1427 | */path/*{item} action |
|
|
1428 | add/alter *menuitem* with an associated *action* |
|
|
1429 | |
|
|
1430 | */path/*{item}{right-text} |
|
|
1431 | add/alter *menuitem* with right-text as the right-justified text and |
|
|
1432 | as the associated *action* |
|
|
1433 | |
|
|
1434 | */path/*{item}{rtext} action |
|
|
1435 | add/alter *menuitem* with an associated *action* and with rtext as |
|
|
1436 | the right-justified text. |
|
|
1437 | |
|
|
1438 | Special characters in *action* must be backslash-escaped: |
|
|
1439 | \a \b \E \e \n \r \t \octal |
|
|
1440 | |
|
|
1441 | or in control-character notation: |
|
|
1442 | ^@, ^A .. ^Z .. ^_, ^? |
|
|
1443 | |
|
|
1444 | To send a string starting with a NUL (^@) character to the program, |
|
|
1445 | start *action* with a pair of NUL characters (^@^@), the first of which |
|
|
1446 | will be stripped off and the balance directed to the program. Otherwise |
|
|
1447 | if *action* begins with NUL followed by non-+NUL characters, the leading |
|
|
1448 | NUL is stripped off and the balance is sent back to rxvt. |
|
|
1449 | |
|
|
1450 | As a convenience for the many Emacs-type editors, *action* may start |
|
|
1451 | with M- (eg, M-$ is equivalent to \E$) and a CR will be appended if |
|
|
1452 | missed from M-x commands. |
|
|
1453 | |
|
|
1454 | As a convenience for issuing XTerm ESC ] sequences from a menubar (or |
|
|
1455 | quick arrow), a BEL (^G) will be appended if needed. |
|
|
1456 | |
|
|
1457 | For example, |
|
|
1458 | M-xapropos is equivalent to \Exapropos\r |
|
|
1459 | |
|
|
1460 | and \E]703;mona;100 is equivalent to \E]703;mona;100\a |
|
|
1461 | |
|
|
1462 | The option {*right-rtext*} will be right-justified. In the absence of a |
|
|
1463 | specified action, this text will be used as the *action* as well. |
|
|
1464 | |
|
|
1465 | For example, |
|
|
1466 | /File/{Open}{^X^F} is equivalent to /File/{Open}{^X^F} ^X^F |
|
|
1467 | |
|
|
1468 | The left label *is* necessary, since it's used for matching, but |
|
|
1469 | implicitly hiding the left label (by using same name for both left and |
|
|
1470 | right labels), or explicitly hiding the left label (by preceeding it |
|
|
1471 | with a dot), makes it possible to have right-justified text only. |
|
|
1472 | |
|
|
1473 | For example, |
|
|
1474 | /File/{Open}{Open} Open-File-Action |
|
|
1475 | |
|
|
1476 | or hiding it |
|
|
1477 | /File/{.anylabel}{Open} Open-File-Action |
|
|
1478 | |
|
|
1479 | |
|
|
1480 | |
|
|
1481 | Removing menus |
|
|
1482 | -/*+ |
|
|
1483 | remove all menus from the menuBar, the same as [clear] |
|
|
1484 | |
|
|
1485 | -+*/path*menu+ |
|
|
1486 | remove menu |
|
|
1487 | |
|
|
1488 | -+*/path*{item}+ |
|
|
1489 | remove item |
|
|
1490 | |
|
|
1491 | -+*/path*{-} |
|
|
1492 | remove separator) |
|
|
1493 | |
|
|
1494 | -/path/menu/* |
|
|
1495 | remove all items, separators and submenus from menu |
|
|
1496 | |
|
|
1497 | |
|
|
1498 | |
|
|
1499 | Quick Arrows |
|
|
1500 | The menus also provide a hook for *quick arrows* to provide easier user |
|
|
1501 | access. If nothing has been explicitly set, the default is to emulate |
|
|
1502 | the curror keys. The syntax permits each arrow to be altered |
|
|
1503 | individually or all four at once without re-entering their common |
|
|
1504 | beginning/end text. For example, to explicitly associate cursor actions |
|
|
1505 | with the arrows, any of the following forms could be used: |
|
|
1506 | |
|
|
1507 | <r>+*Right* |
|
|
1508 | <l>+*Left* |
|
|
1509 | <u>+*Up* |
|
|
1510 | <d>+*Down* |
|
|
1511 | Define actions for the respective arrow buttons |
|
|
1512 | |
|
|
1513 | <b>+*Begin* |
|
|
1514 | <e>+*End* |
|
|
1515 | Define common beginning/end parts for *quick arrows* which used in |
|
|
1516 | conjunction with the above <r> <l> <u> <d> constructs |
|
|
1517 | |
|
|
1518 | For example, define arrows individually, |
|
|
1519 | <u>\E[A |
|
|
1520 | |
|
|
1521 | <d>\E[B |
|
|
1522 | |
|
|
1523 | <r>\E[C |
|
|
1524 | |
|
|
1525 | <l>\E[D |
|
|
1526 | |
|
|
1527 | or all at once |
|
|
1528 | <u>\E[AZ<><d>\E[BZ<><r>\E[CZ<><l>\E[D |
|
|
1529 | |
|
|
1530 | or more compactly (factoring out common parts) |
|
|
1531 | <b>\E[<u>AZ<><d>BZ<><r>CZ<><l>D |
|
|
1532 | |
|
|
1533 | |
|
|
1534 | |
|
|
1535 | Command Summary |
|
|
1536 | A short summary of the most *common* commands: |
|
|
1537 | |
|
|
1538 | [menu:name] |
|
|
1539 | use an existing named menuBar or start a new one |
|
|
1540 | |
|
|
1541 | [menu] |
|
|
1542 | use the current menuBar |
|
|
1543 | |
|
|
1544 | [title:string] |
|
|
1545 | set menuBar title |
|
|
1546 | |
|
|
1547 | [done] |
|
|
1548 | set menu access to readonly and, if reading from a file, signal EOF |
|
|
1549 | |
|
|
1550 | [done:name] |
|
|
1551 | if reading from a file using [read:file;name] signal EOF |
|
|
1552 | |
|
|
1553 | [rm:name] |
|
|
1554 | remove named menuBar(s) |
|
|
1555 | |
|
|
1556 | [rm] [rm:] |
|
|
1557 | remove current menuBar |
|
|
1558 | |
|
|
1559 | [rm*] [rm:*] |
|
|
1560 | remove all menuBar(s) |
|
|
1561 | |
|
|
1562 | [swap] |
|
|
1563 | swap top two menuBars |
|
|
1564 | |
|
|
1565 | [prev] |
|
|
1566 | access the previous menuBar |
|
|
1567 | |
|
|
1568 | [next] |
|
|
1569 | access the next menuBar |
|
|
1570 | |
|
|
1571 | [show] |
|
|
1572 | map menuBar |
|
|
1573 | |
|
|
1574 | [hide] |
|
|
1575 | unmap menuBar |
|
|
1576 | |
|
|
1577 | [pixmap;file] |
|
|
1578 | [pixmap;file;scaling] |
|
|
1579 | set a background pixmap |
|
|
1580 | |
|
|
1581 | [read:file] |
|
|
1582 | [read:file;name] |
|
|
1583 | read in a menu from a file |
|
|
1584 | |
|
|
1585 | [dump] |
|
|
1586 | dump out all menuBars to /tmp/rxvt-PID |
|
|
1587 | |
|
|
1588 | / access menuBar top level |
|
|
1589 | |
|
|
1590 | ./ |
|
|
1591 | ../ |
|
|
1592 | ../../ |
|
|
1593 | access current or parent menu level |
|
|
1594 | |
|
|
1595 | /path/menu |
|
|
1596 | add/access menu |
|
|
1597 | |
|
|
1598 | /path/{-} |
|
|
1599 | add separator |
|
|
1600 | |
|
|
1601 | /path/{item}{rtext} action |
|
|
1602 | add/alter menu item |
|
|
1603 | |
|
|
1604 | -/* remove all menus from the menuBar |
|
|
1605 | |
|
|
1606 | -/path/menu |
|
|
1607 | remove menu items, separators and submenus from menu |
|
|
1608 | |
|
|
1609 | -/path/menu |
|
|
1610 | remove menu |
|
|
1611 | |
|
|
1612 | -/path/{item} |
|
|
1613 | remove item |
|
|
1614 | |
|
|
1615 | -/path/{-} |
|
|
1616 | remove separator |
|
|
1617 | |
|
|
1618 | <b>Begin<r>Right<l>Left<u>Up<d>Down<e>End |
|
|
1619 | menu quick arrows |
|
|
1620 | |
1372 | |
1621 | XPM |
1373 | XPM |
1622 | For the XPM XTerm escape sequence "ESC ] 20 ; Pt ST" then value of "Pt" |
1374 | For the XPM XTerm escape sequence "ESC ] 20 ; Pt ST" then value of "Pt" |
1623 | can be the name of the background pixmap followed by a sequence of |
1375 | can be the name of the background pixmap followed by a sequence of |
1624 | scaling/positioning commands separated by semi-colons. The |
1376 | scaling/positioning commands separated by semi-colons. The |
… | |
… | |
1865 | --enable-lastlog (default: on) |
1617 | --enable-lastlog (default: on) |
1866 | Write user and tty to lastlog file (used by programs like lastlogin) |
1618 | Write user and tty to lastlog file (used by programs like lastlogin) |
1867 | at start of rxvt execution. This option requires --enable-utmp to |
1619 | at start of rxvt execution. This option requires --enable-utmp to |
1868 | also be specified. |
1620 | also be specified. |
1869 | |
1621 | |
1870 | --enable-xpm-background (default: off) |
1622 | --enable-xpm-background (default: on) |
1871 | Add support for XPM background pixmaps. |
1623 | Add support for XPM background pixmaps. |
1872 | |
1624 | |
1873 | --enable-transparency (default: off) |
1625 | --enable-transparency (default: on) |
1874 | Add support for inheriting parent backgrounds thus giving a fake |
1626 | Add support for inheriting parent backgrounds thus giving a fake |
1875 | transparency to the term. |
1627 | transparency to the term. |
1876 | |
1628 | |
1877 | --enable-fading (default: on) |
1629 | --enable-fading (default: on) |
1878 | Add support for fading the text when focus is lost (requires |
1630 | Add support for fading the text when focus is lost (requires |
1879 | "--enable-transparency"). |
1631 | "--enable-transparency"). |
1880 | |
1632 | |
1881 | --enable-tinting (default: on) |
1633 | --enable-tinting (default: on) |
1882 | Add support for tinting of transparent backgrounds (requires |
1634 | Add support for tinting of transparent backgrounds (requires |
1883 | "--enable-transparency"). |
1635 | "--enable-transparency"). |
1884 | |
|
|
1885 | --enable-menubar (default: off) |
|
|
1886 | Add support for our menu bar system (this interacts badly with |
|
|
1887 | dynamic locale switching currently). |
|
|
1888 | |
1636 | |
1889 | --enable-rxvt-scroll (default: on) |
1637 | --enable-rxvt-scroll (default: on) |
1890 | Add support for the original rxvt scrollbar. |
1638 | Add support for the original rxvt scrollbar. |
1891 | |
1639 | |
1892 | --enable-next-scroll (default: on) |
1640 | --enable-next-scroll (default: on) |
… | |
… | |
1916 | Removes any handling of the delete key by us - let the X server do |
1664 | Removes any handling of the delete key by us - let the X server do |
1917 | it. |
1665 | it. |
1918 | |
1666 | |
1919 | --disable-resources |
1667 | --disable-resources |
1920 | Removes any support for resource checking. |
1668 | Removes any support for resource checking. |
1921 | |
|
|
1922 | --enable-xgetdefault |
|
|
1923 | Make resources checking via XGetDefault() instead of our small |
|
|
1924 | version which only checks ~/.Xdefaults, or if that doesn't exist |
|
|
1925 | then ~/.Xresources. |
|
|
1926 | |
|
|
1927 | Please note that nowadays, things like XIM will automatically pull |
|
|
1928 | in and use the full X resource manager, so the overhead of using it |
|
|
1929 | might be very small, if nonexistant. |
|
|
1930 | |
|
|
1931 | --enable-strings (default: off) |
|
|
1932 | Add support for our possibly faster memset() function and other |
|
|
1933 | various routines, overriding your system's versions which may have |
|
|
1934 | been hand-crafted in assembly or may require extra libraries to link |
|
|
1935 | in. (this breaks ANSI-C rules and has problems on many GNU/Linux |
|
|
1936 | systems). |
|
|
1937 | |
1669 | |
1938 | --disable-swapscreen |
1670 | --disable-swapscreen |
1939 | Remove support for secondary/swap screen. |
1671 | Remove support for secondary/swap screen. |
1940 | |
1672 | |
1941 | --enable-frills (default: on) |
1673 | --enable-frills (default: on) |
… | |
… | |
2006 | Add support to have the pointer disappear when typing or inactive. |
1738 | Add support to have the pointer disappear when typing or inactive. |
2007 | |
1739 | |
2008 | --enable-perl (default: off) |
1740 | --enable-perl (default: off) |
2009 | Enable an embedded perl interpreter. See the rxvtperl(3) manpage |
1741 | Enable an embedded perl interpreter. See the rxvtperl(3) manpage |
2010 | (doc/rxvtperl.txt) for more info on this feature, or the files in |
1742 | (doc/rxvtperl.txt) for more info on this feature, or the files in |
2011 | src/perl-ext/ for the extensions that are installed by default. |
1743 | src/perl-ext/ for the extensions that are installed by default. The |
|
|
1744 | perl interpreter that is used can be specified via the "PERL" |
|
|
1745 | environment variable when running configure. |
2012 | |
1746 | |
2013 | --with-name=NAME (default: urxvt) |
1747 | --with-name=NAME (default: urxvt) |
2014 | Set the basename for the installed binaries, resulting in "urxvt", |
1748 | Set the basename for the installed binaries, resulting in "urxvt", |
2015 | "urxvtd" etc.). Specify "--with-name=rxvt" to replace with "rxvt". |
1749 | "urxvtd" etc.). Specify "--with-name=rxvt" to replace with "rxvt". |
2016 | |
1750 | |