… | |
… | |
17 | =head1 FREQUENTLY ASKED QUESTIONS |
17 | =head1 FREQUENTLY ASKED QUESTIONS |
18 | |
18 | |
19 | See @@RXVT_NAME@@(7) (try C<man 7 @@RXVT_NAME@@>) for a list of |
19 | See @@RXVT_NAME@@(7) (try C<man 7 @@RXVT_NAME@@>) for a list of |
20 | frequently asked questions and answer to them and some common |
20 | frequently asked questions and answer to them and some common |
21 | problems. That document is also accessible on the World-Wide-Web at |
21 | problems. That document is also accessible on the World-Wide-Web at |
22 | L<http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html>. |
22 | L<http://cvs.schmorp.de/browse/rxvt-unicode/doc/rxvt.7.html>. |
23 | |
23 | |
24 | =head1 RXVT-UNICODE VS. RXVT |
24 | =head1 RXVT-UNICODE VS. RXVT |
25 | |
25 | |
26 | Unlike the original rxvt, B<rxvt-unicode> stores all text in Unicode |
26 | Unlike the original rxvt, B<rxvt-unicode> stores all text in Unicode |
27 | internally. That means it can store and display most scripts in the |
27 | internally. That means it can store and display most scripts in the |
28 | world. Being a terminal emulator, however, some things are very difficult, |
28 | world. Being a terminal emulator, however, some things are very difficult, |
29 | especially cursive scripts such as arabic, vertically written scripts |
29 | especially cursive scripts such as arabic, vertically written scripts |
30 | like mongolian or scripts requiring extremely complex combining rules, |
30 | like mongolian or scripts requiring extremely complex combining rules, |
31 | like tibetan or devenagari. Don't expect pretty output when using these |
31 | like tibetan or devenagari. Don't expect pretty output when using these |
32 | scripts. Most other scripts, latin, cyrillic, kanji, thai etc. should work |
32 | scripts. Most other scripts, latin, cyrillic, kanji, thai etc. should work |
33 | fine, though. A somewhat difficult case are left-to-right scripts, such |
33 | fine, though. A somewhat difficult case are right-to-left scripts, such |
34 | as hebrew: B<rxvt-unicode> adopts the view that bidirectional algorithms |
34 | as hebrew: B<rxvt-unicode> adopts the view that bidirectional algorithms |
35 | belong into the application, not the terminal emulator (too many things -- |
35 | belong into the application, not the terminal emulator (too many things -- |
36 | such as cursor-movement while editing -- break otherwise), but that might |
36 | such as cursor-movement while editing -- break otherwise), but that might |
37 | change. |
37 | change. |
38 | |
38 | |
39 | If you are looking for a terminal that supports more exotic scripts, let |
39 | If you are looking for a terminal that supports more exotic scripts, let |
40 | me recommend C<mlterm>, which is a very userfriendly, lean and clean |
40 | me recommend C<mlterm>, which is a very user friendly, lean and clean |
41 | terminal emulator. In fact, the reason rxvt-unicode was born was solely |
41 | terminal emulator. In fact, the reason rxvt-unicode was born was solely |
42 | because the author couldn't get C<mlterm> to use one font for latin1 and |
42 | because the author couldn't get C<mlterm> to use one font for latin1 and |
43 | another for japanese. |
43 | another for japanese. |
44 | |
44 | |
45 | Therefore another design rationale was the use of multiple fonts to |
45 | Therefore another design rationale was the use of multiple fonts to |
46 | display characters: The idea of a single unicode font which many other |
46 | display characters: The idea of a single unicode font which many other |
47 | programs force onto it's users never made sense to me: You should be able |
47 | programs force onto its users never made sense to me: You should be able |
48 | to choose any font for any script freely. |
48 | to choose any font for any script freely. |
49 | |
49 | |
50 | Apart from that, rxvt-unicode is also much better internationalised than |
50 | Apart from that, rxvt-unicode is also much better internationalised than |
51 | it's predecessor, supports things such as XFT and ISO 14755 that are handy |
51 | its predecessor, supports things such as XFT and ISO 14755 that are handy |
52 | in i18n-environments, is faster, and has a lot less bugs than the original |
52 | in i18n-environments, is faster, and has a lot bugs less than the original |
53 | rxvt. This all in addition to dozens of other small improvements. |
53 | rxvt. This all in addition to dozens of other small improvements. |
54 | |
54 | |
55 | It is still faithfully following the original rxvt idea of being lean |
55 | It is still faithfully following the original rxvt idea of being lean |
56 | and nice on resources: for example, you can still configure rxvt-unicode |
56 | and nice on resources: for example, you can still configure rxvt-unicode |
57 | without most of it's features to get a lean binary. It also comes with |
57 | without most of its features to get a lean binary. It also comes with |
58 | a client/daemon pair that lets you open any number of terminal windows |
58 | a client/daemon pair that lets you open any number of terminal windows |
59 | from within a single process, which makes startup time very fast and |
59 | from within a single process, which makes startup time very fast and |
60 | drastically reduces memory usage. See @@RXVT_NAME@@d(1) (daemon) and |
60 | drastically reduces memory usage. See @@RXVT_NAME@@d(1) (daemon) and |
61 | @@RXVT_NAME@@c(1) (client). |
61 | @@RXVT_NAME@@c(1) (client). |
62 | |
62 | |
63 | It also makes technical information about escape sequences (which have |
63 | It also makes technical information about escape sequences (which have |
64 | been extended) easier accessible: see @@RXVT_NAME@@(7) for technical |
64 | been extended) more accessible: see @@RXVT_NAME@@(7) for technical |
65 | reference documentation (escape sequences etc.). |
65 | reference documentation (escape sequences etc.). |
66 | |
66 | |
67 | =head1 OPTIONS |
67 | =head1 OPTIONS |
68 | |
68 | |
69 | The B<@@RXVT_NAME@@> options (mostly a subset of I<xterm>'s) are listed |
69 | The B<@@RXVT_NAME@@> options (mostly a subset of I<xterm>'s) are listed |
… | |
… | |
93 | |
93 | |
94 | Attempt to open a window on the named X display (B<-d> still |
94 | Attempt to open a window on the named X display (B<-d> still |
95 | respected). In the absence of this option, the display specified by the |
95 | respected). In the absence of this option, the display specified by the |
96 | B<DISPLAY> environment variable is used. |
96 | B<DISPLAY> environment variable is used. |
97 | |
97 | |
|
|
98 | =item B<-depth> I<bitdepth> |
|
|
99 | |
|
|
100 | Compile I<xft>: Attempt to find a visual with the given bit depth; |
|
|
101 | resource B<depth>. |
|
|
102 | |
98 | =item B<-geometry> I<geom> |
103 | =item B<-geometry> I<geom> |
99 | |
104 | |
100 | Window geometry (B<-g> still respected); resource B<geometry>. |
105 | Window geometry (B<-g> still respected); resource B<geometry>. |
101 | |
106 | |
102 | =item B<-rv>|B<+rv> |
107 | =item B<-rv>|B<+rv> |
… | |
… | |
109 | |
114 | |
110 | =item B<-ip>|B<+ip> | B<-tr>|B<+tr> |
115 | =item B<-ip>|B<+ip> | B<-tr>|B<+tr> |
111 | |
116 | |
112 | Turn on/off inheriting parent window's pixmap. Alternative form is |
117 | Turn on/off inheriting parent window's pixmap. Alternative form is |
113 | B<-tr>; resource B<inheritPixmap>. |
118 | B<-tr>; resource B<inheritPixmap>. |
|
|
119 | |
|
|
120 | I<Please note that transparency of any kind if completely unsupported by |
|
|
121 | the author. Don't bug him with installation questions! Read the FAQ (man 7 |
|
|
122 | @@RXVT_NAME@@)!> |
114 | |
123 | |
115 | =item B<-fade> I<number> |
124 | =item B<-fade> I<number> |
116 | |
125 | |
117 | Fade the text by the given percentage when focus is lost. Small values |
126 | Fade the text by the given percentage when focus is lost. Small values |
118 | fade a little only, 100 completely replaces all colours by the fade |
127 | fade a little only, 100 completely replaces all colours by the fade |
119 | colour; resource B<fading>. |
128 | colour; resource B<fading>. |
120 | |
129 | |
121 | =item B<-fadecolor> I<colour> |
130 | =item B<-fadecolor> I<colour> |
122 | |
131 | |
123 | Fade to this colour when fading is used (see B<-fade>). The default colour |
132 | Fade to this colour when fading is used (see B<-fade>). The default colour |
124 | is black. resource B<fadeColor>. |
133 | is opaque black. resource B<fadeColor>. |
125 | |
134 | |
126 | =item B<-tint> I<colour> |
135 | =item B<-tint> I<colour> |
127 | |
136 | |
128 | Tint the transparent background pixmap with the given colour when |
137 | Tint the transparent background pixmap with the given colour when |
129 | transparency is enabled with B<-tr> or B<-ip>. This only works for |
138 | transparency is enabled with B<-tr> or B<-ip>. This only works for |
… | |
… | |
135 | |
144 | |
136 | =item B<-sh> |
145 | =item B<-sh> |
137 | |
146 | |
138 | I<number> Darken (0 .. 100) or lighten (-1 .. -100) the transparent |
147 | I<number> Darken (0 .. 100) or lighten (-1 .. -100) the transparent |
139 | background image in addition to tinting it (i.e. B<-tint> must be |
148 | background image in addition to tinting it (i.e. B<-tint> must be |
140 | specified, too, e.g. C<-tint white>). |
149 | specified, too, e.g. C<-tint white>); resource I<shading>. |
141 | |
150 | |
142 | =item B<-bg> I<colour> |
151 | =item B<-bg> I<colour> |
143 | |
152 | |
144 | Window background colour; resource B<background>. |
153 | Window background colour; resource B<background>. |
145 | |
154 | |
… | |
… | |
172 | resource B<borderColor>. |
181 | resource B<borderColor>. |
173 | |
182 | |
174 | =item B<-fn> I<fontlist> |
183 | =item B<-fn> I<fontlist> |
175 | |
184 | |
176 | Select the fonts to be used. This is a comma separated list of font names |
185 | Select the fonts to be used. This is a comma separated list of font names |
177 | that are used in turn when trying to display Unicode characters. The |
186 | that are checked in order when trying to find glyphs for characters. The |
178 | first font defines the cell size for characters; other fonts might be |
187 | first font defines the cell size for characters; other fonts might be |
179 | smaller, but not (in general) larger. A (hopefully) reasonable default |
188 | smaller, but not (in general) larger. A (hopefully) reasonable default |
180 | font list is always appended to it. See resource B<font> for more details. |
189 | font list is always appended to it. See resource B<font> for more details. |
181 | |
190 | |
182 | In short, to specify an X11 core font, just specify it's name or prefix it |
191 | In short, to specify an X11 core font, just specify its name or prefix it |
183 | with C<x:>. To specify an XFT-font, you need to prefix it with C<xft:>, |
192 | with C<x:>. To specify an XFT-font, you need to prefix it with C<xft:>, |
184 | e.g.: |
193 | e.g.: |
185 | |
194 | |
186 | @@RXVT_NAME@@ -fn "xft:Bitstream Vera Sans Mono:pixelsize=15" |
195 | @@RXVT_NAME@@ -fn "xft:Bitstream Vera Sans Mono:pixelsize=15" |
187 | @@RXVT_NAME@@ -fn "9x15bold,xft:Bitstream Vera Sans Mono" |
196 | @@RXVT_NAME@@ -fn "9x15bold,xft:Bitstream Vera Sans Mono" |
… | |
… | |
189 | See also the question "How does rxvt-unicode choose fonts?" in the FAQ |
198 | See also the question "How does rxvt-unicode choose fonts?" in the FAQ |
190 | section of @@RXVT_NAME@@(7). |
199 | section of @@RXVT_NAME@@(7). |
191 | |
200 | |
192 | =item B<-fb> I<fontlist> |
201 | =item B<-fb> I<fontlist> |
193 | |
202 | |
194 | Compile font-styles: The bold font list to use when bold characters are to |
203 | Compile I<font-styles>: The bold font list to use when B<bold> characters |
195 | be printed. See resource B<boldFont> for details. |
204 | are to be printed. See resource B<boldFont> for details. |
196 | |
205 | |
197 | =item B<-fi> I<fontlist> |
206 | =item B<-fi> I<fontlist> |
198 | |
207 | |
199 | Compile font-styles: The italic font list to use when bold characters are to |
208 | Compile I<font-styles>: The italic font list to use when I<italic> |
200 | be printed. See resource B<italicFont> for details. |
209 | characters are to be printed. See resource B<italicFont> for details. |
201 | |
210 | |
202 | =item B<-fbi> I<fontlist> |
211 | =item B<-fbi> I<fontlist> |
203 | |
212 | |
204 | Compile font-styles: The bold italic font list to use when bold characters are to |
213 | Compile I<font-styles>: The bold italic font list to use when B<< I<bold |
205 | be printed. See resource B<boldItalicFont> for details. |
214 | italic> >> characters are to be printed. See resource B<boldItalicFont> |
|
|
215 | for details. |
206 | |
216 | |
207 | =item B<-is>|B<+is> |
217 | =item B<-is>|B<+is> |
208 | |
218 | |
209 | Compile font-styles: Bold/Italic font styles imply high intensity |
219 | Compile I<font-styles>: Bold/Italic font styles imply high intensity |
210 | foreground/background (default). See resource B<intensityStyles> for |
220 | foreground/background (default). See resource B<intensityStyles> for |
211 | details. |
221 | details. |
212 | |
222 | |
213 | =item B<-name> I<name> |
223 | =item B<-name> I<name> |
214 | |
224 | |
… | |
… | |
295 | =item B<-bl> |
305 | =item B<-bl> |
296 | |
306 | |
297 | Compile I<frills>: Set MWM hints to request a borderless window, i.e. |
307 | Compile I<frills>: Set MWM hints to request a borderless window, i.e. |
298 | if honoured by the WM, the rxvt-unicode window will not have window |
308 | if honoured by the WM, the rxvt-unicode window will not have window |
299 | decorations; resource B<borderLess>. |
309 | decorations; resource B<borderLess>. |
|
|
310 | |
|
|
311 | =item B<-override-redirect> |
|
|
312 | |
|
|
313 | Compile I<frills>: Sets override-redirect on the window; resource |
|
|
314 | B<override-redirect>. |
|
|
315 | |
|
|
316 | =item B<-sbg> |
|
|
317 | |
|
|
318 | Compile I<frills>: Disable the usage of the built-in block graphics/line |
|
|
319 | drawing characters and just rely on what the specified fonts provide. Use |
|
|
320 | this if you have a good font and want to use its block graphic glyphs; |
|
|
321 | resource B<skipBuiltinGlyphs>. |
300 | |
322 | |
301 | =item B<-lsp> I<number> |
323 | =item B<-lsp> I<number> |
302 | |
324 | |
303 | Compile I<frills>: Lines (pixel height) to insert between each row of |
325 | Compile I<frills>: Lines (pixel height) to insert between each row of |
304 | the display. Useful to work around font rendering problems; resource |
326 | the display. Useful to work around font rendering problems; resource |
… | |
… | |
364 | for more info. |
386 | for more info. |
365 | |
387 | |
366 | =item B<-tcw> |
388 | =item B<-tcw> |
367 | |
389 | |
368 | Change the meaning of triple-click selection with the left mouse |
390 | Change the meaning of triple-click selection with the left mouse |
|
|
391 | button. Only effective when the original (non-perl) selection code is |
369 | button. Instead of selecting a full line it will extend the selection the |
392 | in-use. Instead of selecting a full line it will extend the selection the |
370 | end of the logical line only. resource B<tripleclickwords>. |
393 | end of the logical line only. resource B<tripleclickwords>. |
371 | |
394 | |
372 | =item B<-insecure> |
395 | =item B<-insecure> |
373 | |
396 | |
374 | Enable "insecure" mode, which currently enables most of the escape |
397 | Enable "insecure" mode, which currently enables most of the escape |
… | |
… | |
402 | |
425 | |
403 | Remap a key symbol. See resource B<keysym>. |
426 | Remap a key symbol. See resource B<keysym>. |
404 | |
427 | |
405 | =item B<-embed> I<windowid> |
428 | =item B<-embed> I<windowid> |
406 | |
429 | |
407 | Tells @@RXVT_NAME@@ to embed it's windows into an already-existing window, |
430 | Tells @@RXVT_NAME@@ to embed its windows into an already-existing window, |
408 | which enables applications to easily embed a terminal. |
431 | which enables applications to easily embed a terminal. |
409 | |
432 | |
410 | Right now, @@RXVT_NAME@@ will first unmap/map the specified window, so it |
433 | Right now, @@RXVT_NAME@@ will first unmap/map the specified window, so it |
411 | shouldn't be a top-level window. @@RXVT_NAME@@ will also reconfigure it |
434 | shouldn't be a top-level window. @@RXVT_NAME@@ will also reconfigure it |
412 | quite a bit, so don't expect it to keep some specific state. It's best to |
435 | quite a bit, so don't expect it to keep some specific state. It's best to |
… | |
… | |
415 | The window will not be destroyed when @@RXVT_NAME@@ exits. |
438 | The window will not be destroyed when @@RXVT_NAME@@ exits. |
416 | |
439 | |
417 | It might be useful to know that @@RXVT_NAME@@ will not close file |
440 | It might be useful to know that @@RXVT_NAME@@ will not close file |
418 | descriptors passed to it (except for stdin/out/err, of course), so you |
441 | descriptors passed to it (except for stdin/out/err, of course), so you |
419 | can use file descriptors to communicate with the programs within the |
442 | can use file descriptors to communicate with the programs within the |
420 | terminal. This works regardless of wether the C<-embed> option was used or |
443 | terminal. This works regardless of whether the C<-embed> option was used or |
421 | not. |
444 | not. |
422 | |
445 | |
423 | Here is a short Gtk2-perl snippet that illustrates how this option can be |
446 | Here is a short Gtk2-perl snippet that illustrates how this option can be |
424 | used (a longer example is in F<doc/embed>): |
447 | used (a longer example is in F<doc/embed>): |
425 | |
448 | |
… | |
… | |
427 | $rxvt->signal_connect_after (realize => sub { |
450 | $rxvt->signal_connect_after (realize => sub { |
428 | my $xid = $_[0]->window->get_xid; |
451 | my $xid = $_[0]->window->get_xid; |
429 | system "@@RXVT_NAME@@ -embed $xid &"; |
452 | system "@@RXVT_NAME@@ -embed $xid &"; |
430 | }); |
453 | }); |
431 | |
454 | |
432 | =item B<-pty-fd> I<fileno> |
455 | =item B<-pty-fd> I<file descriptor> |
433 | |
456 | |
434 | Tells @@RXVT_NAME@@ NOT to execute any commands or create a new pty/tty |
457 | Tells @@RXVT_NAME@@ NOT to execute any commands or create a new pty/tty |
435 | pair but instead use the given filehandle as the tty master. This is |
458 | pair but instead use the given file descriptor as the tty master. This is |
436 | useful if you want to drive @@RXVT_NAME@@ as a generic terminal emulator |
459 | useful if you want to drive @@RXVT_NAME@@ as a generic terminal emulator |
437 | without having to run a program within it. |
460 | without having to run a program within it. |
438 | |
461 | |
439 | If this switch is given, @@RXVT_NAME@@ will not create any utmp/wtmp |
462 | If this switch is given, @@RXVT_NAME@@ will not create any utmp/wtmp |
440 | entries and will not tinker with pty/tty permissions - you have to do that |
463 | entries and will not tinker with pty/tty permissions - you have to do that |
441 | yourself if you want that. |
464 | yourself if you want that. |
|
|
465 | |
|
|
466 | As an extremely special case, specifying C<-1> will completely suppress |
|
|
467 | pty/tty operations. |
442 | |
468 | |
443 | Here is a example in perl that illustrates how this option can be used (a |
469 | Here is a example in perl that illustrates how this option can be used (a |
444 | longer example is in F<doc/pty-fd>): |
470 | longer example is in F<doc/pty-fd>): |
445 | |
471 | |
446 | use IO::Pty; |
472 | use IO::Pty; |
… | |
… | |
455 | my $slave = $pty->slave; |
481 | my $slave = $pty->slave; |
456 | while (<$slave>) { print $slave "got <$_>\n" } |
482 | while (<$slave>) { print $slave "got <$_>\n" } |
457 | |
483 | |
458 | =item B<-pe> I<string> |
484 | =item B<-pe> I<string> |
459 | |
485 | |
460 | Colon-separated list of perl extension scripts to use in this terminal instance. See resource B<perl-ext>. |
486 | Comma-separated list of perl extension scripts to use (or not to use) in |
|
|
487 | this terminal instance. See resource B<perl-ext> for details. |
461 | |
488 | |
462 | =back |
489 | =back |
463 | |
490 | |
464 | =head1 RESOURCES (available also as long-options) |
491 | =head1 RESOURCES (available also as long-options) |
465 | |
492 | |
466 | Note: `@@RXVT_NAME@@ --help' gives a list of all resources (long |
493 | Note: `@@RXVT_NAME@@ --help' gives a list of all resources (long |
467 | options) compiled into your version. |
494 | options) compiled into your version. |
468 | |
495 | |
469 | There are two different methods that @@RXVT_NAME@@ can use to get the |
496 | You can set and change the resources using X11 tools like B<xrdb>. Many |
470 | Xresource data: using the X libraries (Xrm*-functions) or internal |
497 | distribution do also load settings from the B<~/.Xresources> file when X |
471 | Xresources reader (B<~/.Xdefaults>). For the first method (ie. |
498 | starts. @@RXVT_NAME@@ will consult the following files/resources in order, |
472 | B<@@RXVT_NAME@@ -h> lists B<XGetDefaults>), you can set and change the |
499 | with later settings overwriting earlier ones: |
473 | resources using X11 tools like B<xrdb>. Many distribution do also load |
|
|
474 | settings from the B<~/.Xresources> file when X starts. @@RXVT_NAME@@ |
|
|
475 | will consult the following files/resources in order, with later settings |
|
|
476 | overwriting earlier ones: |
|
|
477 | |
500 | |
478 | 1. system-wide app-defaults file, either locale-dependent OR global |
501 | 1. system-wide app-defaults file, either locale-dependent OR global |
479 | 2. app-defaults file in $XAPPLRESDIR |
502 | 2. app-defaults file in $XAPPLRESDIR |
480 | 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults |
503 | 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults |
481 | 4. SCREEN_RESOURCES for the current screen |
504 | 4. SCREEN_RESOURCES for the current screen |
482 | 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename> |
505 | 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename> |
483 | |
506 | |
484 | If compiled with internal Xresources support (i.e. B<@@RXVT_NAME@@ -h> |
|
|
485 | lists B<.Xdefaults>) then B<@@RXVT_NAME@@> accepts application defaults |
|
|
486 | set in XAPPLOADDIR/URxvt (compile-time defined: usually |
|
|
487 | B</usr/lib/X11/app-defaults/URxvt>) and resources set in |
|
|
488 | B<~/.Xdefaults>, or B<~/.Xresources> if B<~/.Xdefaults> does not exist. |
|
|
489 | Note that when reading X resources, B<@@RXVT_NAME@@> recognizes two |
507 | Note that when reading X resources, B<@@RXVT_NAME@@> recognizes two class |
490 | class names: B<XTerm> and B<URxvt>. The class name B<Rxvt> allows |
508 | names: B<Rxvt> and B<URxvt>. The class name B<Rxvt> allows resources |
491 | resources common to both B<@@RXVT_NAME@@> and the original I<rxvt> to be |
509 | common to both B<@@RXVT_NAME@@> and the original I<rxvt> to be easily |
492 | easily configured, while the class name B<URxvt> allows resources |
510 | configured, while the class name B<URxvt> allows resources unique to |
493 | unique to B<@@RXVT_NAME@@>, notably colours and key-handling, to be |
511 | B<@@RXVT_NAME@@>, to be shared between different B<@@RXVT_NAME@@> |
494 | shared between different B<@@RXVT_NAME@@> configurations. If no |
512 | configurations. If no resources are specified, suitable defaults will |
495 | resources are specified, suitable defaults will be used. Command-line |
513 | be used. Command-line arguments can be used to override resource |
496 | arguments can be used to override resource settings. The following |
514 | settings. The following resources are supported (you might want to |
497 | resources are allowed: |
515 | check the @@RXVT_NAME@@perl(3) manpage for additional settings by perl |
|
|
516 | extensions not documented here): |
498 | |
517 | |
499 | =over 4 |
518 | =over 4 |
|
|
519 | |
|
|
520 | =item B<depth:> I<bitdepth> |
|
|
521 | |
|
|
522 | Compile I<xft>: Attempt to find a visual with the given bit depth; |
|
|
523 | option B<-depth>. |
500 | |
524 | |
501 | =item B<geometry:> I<geom> |
525 | =item B<geometry:> I<geom> |
502 | |
526 | |
503 | Create the window with the specified X window geometry [default 80x24]; |
527 | Create the window with the specified X window geometry [default 80x24]; |
504 | option B<-geometry>. |
528 | option B<-geometry>. |
… | |
… | |
541 | Use the specified colour to display underlined characters when the |
565 | Use the specified colour to display underlined characters when the |
542 | foreground colour is the default. |
566 | foreground colour is the default. |
543 | |
567 | |
544 | =item B<colorRV:> I<colour> |
568 | =item B<colorRV:> I<colour> |
545 | |
569 | |
546 | Use the specified colour as the background for reverse video |
570 | Use the specified colour as the background for reverse video characters |
547 | characters. |
571 | when OPTION_HC is disabled (--disable-frills). |
548 | |
572 | |
549 | =item B<underlineColor:> I<colour> |
573 | =item B<underlineColor:> I<colour> |
550 | |
574 | |
551 | If set, use the specified colour as the colour for the underline |
575 | If set, use the specified colour as the colour for the underline |
552 | itself. If unset, use the foreground colour. |
576 | itself. If unset, use the foreground colour. |
… | |
… | |
578 | |
602 | |
579 | B<True>: make the background inherit the parent windows' pixmap, giving |
603 | B<True>: make the background inherit the parent windows' pixmap, giving |
580 | artificial transparency. B<False>: do not inherit the parent windows' |
604 | artificial transparency. B<False>: do not inherit the parent windows' |
581 | pixmap. |
605 | pixmap. |
582 | |
606 | |
|
|
607 | I<Please note that transparency of any kind if completely unsupported by |
|
|
608 | the author. Don't bug him with installation questions!> |
|
|
609 | |
583 | =item B<fading:> I<number> |
610 | =item B<fading:> I<number> |
584 | |
611 | |
585 | Fade the text by the given percentage when focus is lost; option B<-fade>. |
612 | Fade the text by the given percentage when focus is lost; option B<-fade>. |
586 | |
613 | |
587 | =item B<fadeColor:> I<colour> |
614 | =item B<fadeColor:> I<colour> |
… | |
… | |
594 | Tint the transparent background pixmap with the given colour; option |
621 | Tint the transparent background pixmap with the given colour; option |
595 | B<-tint>. |
622 | B<-tint>. |
596 | |
623 | |
597 | =item B<shading:> I<number> |
624 | =item B<shading:> I<number> |
598 | |
625 | |
599 | Darken (0 .. 100) or lighten (-1 .. -100) the transparent background |
626 | Darken (0 .. 100) or lighten (-1 .. -100) the transparent background image |
600 | image in addition to tinting it. |
627 | in addition to tinting it; option B<-sh>. |
601 | |
628 | |
602 | =item B<scrollColor:> I<colour> |
629 | =item B<scrollColor:> I<colour> |
603 | |
630 | |
604 | Use the specified colour for the scrollbar [default #B2B2B2]. |
631 | Use the specified colour for the scrollbar [default #B2B2B2]. |
605 | |
632 | |
… | |
… | |
623 | of 1 displays the image without any scaling. A scale of 2 to 9 |
650 | of 1 displays the image without any scaling. A scale of 2 to 9 |
624 | specifies an integer number of images in that direction. No image will |
651 | specifies an integer number of images in that direction. No image will |
625 | be magnified beyond 10 times its original size. The maximum permitted |
652 | be magnified beyond 10 times its original size. The maximum permitted |
626 | scale is 1000. [default 0x0+50+50] |
653 | scale is 1000. [default 0x0+50+50] |
627 | |
654 | |
628 | =item B<menu:> I<file[;tag]> |
|
|
629 | |
|
|
630 | Read in the specified menu file (note the `.menu' extension is |
|
|
631 | optional) and also optionally specify a starting tag to find. See the |
|
|
632 | reference documentation for details on the syntax for the menuBar. |
|
|
633 | |
|
|
634 | =item B<path:> I<path> |
655 | =item B<path:> I<path> |
635 | |
656 | |
636 | Specify the colon-delimited search path for finding files (XPM and |
657 | Specify the colon-delimited search path for finding XPM files. |
637 | menus), in addition to the paths specified by the B<RXVTPATH> and |
|
|
638 | B<PATH> environment variables. |
|
|
639 | |
658 | |
640 | =item B<font:> I<fontlist> |
659 | =item B<font:> I<fontlist> |
641 | |
660 | |
642 | Select the fonts to be used. This is a comma separated list of font |
661 | Select the fonts to be used. This is a comma separated list of font names |
643 | names that are used in turn when trying to display Unicode characters. |
662 | that are checked in order when trying to find glyphs for characters. The |
644 | The first font defines the cell size for characters; other fonts might |
663 | first font defines the cell size for characters; other fonts might be |
645 | be smaller, but not larger. A reasonable default font list is always |
664 | smaller, but not (in general) larger. A (hopefully) reasonable default |
646 | appended to it; option B<-fn>. |
665 | font list is always appended to it; option B<-fn>. |
647 | |
666 | |
648 | Each font can either be a standard X11 core font (XLFD) name, with |
667 | Each font can either be a standard X11 core font (XLFD) name, with |
649 | optional prefix C<x:> or a Xft font (Compile I<xft>), prefixed with C<xft:>. |
668 | optional prefix C<x:> or a Xft font (Compile I<xft>), prefixed with C<xft:>. |
650 | |
669 | |
651 | In addition, each font can be prefixed with additional hints and |
670 | In addition, each font can be prefixed with additional hints and |
… | |
… | |
653 | hint currently is C<codeset=codeset-name>, and this is only used for Xft |
672 | hint currently is C<codeset=codeset-name>, and this is only used for Xft |
654 | fonts. |
673 | fonts. |
655 | |
674 | |
656 | For example, this font resource |
675 | For example, this font resource |
657 | |
676 | |
658 | URxvt*font: 9x15bold,\ |
677 | URxvt.font: 9x15bold,\ |
659 | -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso10646-1,\ |
678 | -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso10646-1,\ |
660 | -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1, \ |
679 | -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1, \ |
661 | [codeset=JISX0208]xft:Kochi Gothic:antialias=false, \ |
680 | [codeset=JISX0208]xft:Kochi Gothic:antialias=false, \ |
662 | xft:Code2000:antialias=false |
681 | xft:Code2000:antialias=false |
663 | |
682 | |
… | |
… | |
701 | |
720 | |
702 | =item B<intensityStyles:> I<boolean> |
721 | =item B<intensityStyles:> I<boolean> |
703 | |
722 | |
704 | When font styles are not enabled, or this option is enabled (B<True>, |
723 | When font styles are not enabled, or this option is enabled (B<True>, |
705 | option B<-is>, the default), bold and italic font styles imply high |
724 | option B<-is>, the default), bold and italic font styles imply high |
706 | intensity foreground/backround colours. Disabling this option (B<False>, |
725 | intensity foreground/background colours. Disabling this option (B<False>, |
707 | option B<+is>) disables this behaviour, the high intensity colours are not |
726 | option B<+is>) disables this behaviour, the high intensity colours are not |
708 | reachable. |
727 | reachable. |
709 | |
728 | |
710 | =item B<selectstyle:> I<mode> |
729 | =item B<selectstyle:> I<mode> |
711 | |
730 | |
712 | Set mouse selection style to B<old> which is 2.20, B<oldword> which is |
731 | Set mouse selection style to B<old> which is 2.20, B<oldword> which |
713 | xterm style with 2.20 old word selection, or anything else which gives |
732 | is xterm style with 2.20 old word selection, or anything else which |
714 | xterm style selection. |
733 | gives xterm style selection. Only effective when the original (non-perl) |
|
|
734 | selection code is in use. |
715 | |
735 | |
716 | =item B<scrollstyle:> I<mode> |
736 | =item B<scrollstyle:> I<mode> |
717 | |
737 | |
718 | Set scrollbar style to B<rxvt>, B<plain>, B<next> or B<xterm>. B<plain> is |
738 | Set scrollbar style to B<rxvt>, B<plain>, B<next> or B<xterm>. B<plain> is |
719 | the author's favourite. |
739 | the author's favourite. |
… | |
… | |
733 | =item B<mapAlert:> I<boolean> |
753 | =item B<mapAlert:> I<boolean> |
734 | |
754 | |
735 | B<True>: de-iconify (map) on receipt of a bell character. B<False>: no |
755 | B<True>: de-iconify (map) on receipt of a bell character. B<False>: no |
736 | de-iconify (map) on receipt of a bell character [default]. |
756 | de-iconify (map) on receipt of a bell character [default]. |
737 | |
757 | |
|
|
758 | =item B<urgentOnBell:> I<boolean> |
|
|
759 | |
|
|
760 | B<True>: set the urgency hint for the wm on receipt of a bell character. |
|
|
761 | B<False>: do not set the urgency hint [default]. |
|
|
762 | |
738 | =item B<visualBell:> I<boolean> |
763 | =item B<visualBell:> I<boolean> |
739 | |
764 | |
740 | B<True>: use visual bell on receipt of a bell character; option B<-vb>. |
765 | B<True>: use visual bell on receipt of a bell character; option B<-vb>. |
741 | B<False>: no visual bell [default]; option B<+vb>. |
766 | B<False>: no visual bell [default]; option B<+vb>. |
742 | |
767 | |
… | |
… | |
760 | |
785 | |
761 | The string will be interpreted as if typed into the shell as-is. |
786 | The string will be interpreted as if typed into the shell as-is. |
762 | |
787 | |
763 | Example: |
788 | Example: |
764 | |
789 | |
765 | URxvt*print-pipe: cat > $(TMPDIR=$HOME mktemp urxvt.XXXXXX) |
790 | URxvt.print-pipe: cat > $(TMPDIR=$HOME mktemp urxvt.XXXXXX) |
766 | |
791 | |
767 | This creates a new file in your home directory with the screen contents |
792 | This creates a new file in your home directory with the screen contents |
768 | everytime you hit C<Print>. |
793 | every time you hit C<Print>. |
769 | |
794 | |
770 | =item B<scrollBar:> I<boolean> |
795 | =item B<scrollBar:> I<boolean> |
771 | |
796 | |
772 | B<True>: enable the scrollbar [default]; option B<-sb>. B<False>: |
797 | B<True>: enable the scrollbar [default]; option B<-sb>. B<False>: |
773 | disable the scrollbar; option B<+sb>. |
798 | disable the scrollbar; option B<+sb>. |
… | |
… | |
795 | |
820 | |
796 | =item B<scrollWithBuffer:> I<boolean> |
821 | =item B<scrollWithBuffer:> I<boolean> |
797 | |
822 | |
798 | B<True>: scroll with scrollback buffer when tty receives new lines (and |
823 | B<True>: scroll with scrollback buffer when tty receives new lines (and |
799 | B<scrollTtyOutput> is False); option B<-sw>. B<False>: do not scroll |
824 | B<scrollTtyOutput> is False); option B<-sw>. B<False>: do not scroll |
800 | with scrollback buffer when tty recieves new lines; option B<+sw>. |
825 | with scrollback buffer when tty receives new lines; option B<+sw>. |
801 | |
826 | |
802 | =item B<scrollTtyKeypress:> I<boolean> |
827 | =item B<scrollTtyKeypress:> I<boolean> |
803 | |
828 | |
804 | B<True>: scroll to bottom when a non-special key is pressed. Special keys |
829 | B<True>: scroll to bottom when a non-special key is pressed. Special keys |
805 | are those which are intercepted by rxvt-unicode for special handling and |
830 | are those which are intercepted by rxvt-unicode for special handling and |
… | |
… | |
824 | =item B<borderLess:> I<boolean> |
849 | =item B<borderLess:> I<boolean> |
825 | |
850 | |
826 | Set MWM hints to request a borderless window, i.e. if honoured by the |
851 | Set MWM hints to request a borderless window, i.e. if honoured by the |
827 | WM, the rxvt-unicode window will not have window decorations; option B<-bl>. |
852 | WM, the rxvt-unicode window will not have window decorations; option B<-bl>. |
828 | |
853 | |
|
|
854 | =item B<skipBuiltinGlyphs:> I<boolean> |
|
|
855 | |
|
|
856 | Compile I<frills>: Disable the usage of the built-in block graphics/line |
|
|
857 | drawing characters and just rely on what the specified fonts provide. Use |
|
|
858 | this if you have a good font and want to use its block graphic glyphs; |
|
|
859 | option B<-sbg>. |
|
|
860 | |
829 | =item B<termName:> I<termname> |
861 | =item B<termName:> I<termname> |
830 | |
862 | |
831 | Specifies the terminal type name to be set in the B<TERM> environment |
863 | Specifies the terminal type name to be set in the B<TERM> environment |
832 | variable; option B<-tn>. |
864 | variable; option B<-tn>. |
833 | |
865 | |
… | |
… | |
888 | pressed. If unset it will send the sequence traditionally associated |
920 | pressed. If unset it will send the sequence traditionally associated |
889 | with the B<Execute> key. |
921 | with the B<Execute> key. |
890 | |
922 | |
891 | =item B<cutchars:> I<string> |
923 | =item B<cutchars:> I<string> |
892 | |
924 | |
893 | The characters used as delimiters for double-click word selection. The |
925 | The characters used as delimiters for double-click word selection |
894 | built-in default: |
926 | (whitespace delimiting is added automatically if resource is given). |
|
|
927 | |
|
|
928 | When the perl selection extension is in use (the default if compiled |
|
|
929 | in, see the @@RXVT_NAME@@perl(3) manpage), a suitable regex using these |
|
|
930 | characters will be created (if the resource exists, otherwise, no regex |
|
|
931 | will be created). In this mode, characters outside ISO-8859-1 can be used. |
|
|
932 | |
|
|
933 | When the selection extension is not used, only ISO-8859-1 characters can |
|
|
934 | be used. If not specified, the built-in default is used: |
895 | |
935 | |
896 | B<< BACKSLASH `"'&()*,;<=>?@[]{|} >> |
936 | B<< BACKSLASH `"'&()*,;<=>?@[]{|} >> |
897 | |
937 | |
898 | =item B<preeditType:> I<style> |
938 | =item B<preeditType:> I<style> |
899 | |
939 | |
… | |
… | |
935 | default. (Note that many other terminals, including xterm, have these |
975 | default. (Note that many other terminals, including xterm, have these |
936 | sequences enabled by default, which doesn't make it safer, though). |
976 | sequences enabled by default, which doesn't make it safer, though). |
937 | |
977 | |
938 | You can enable them by setting this boolean resource or specifying |
978 | You can enable them by setting this boolean resource or specifying |
939 | B<-insecure> as an option. At the moment, this enables display-answer, |
979 | B<-insecure> as an option. At the moment, this enables display-answer, |
940 | locale, findfont, icon label and window title requests as well as dynamic |
980 | locale, findfont, icon label and window title requests. |
941 | menubar dispatch. |
|
|
942 | |
981 | |
943 | =item B<modifier:> I<modifier> |
982 | =item B<modifier:> I<modifier> |
944 | |
983 | |
945 | Set the key to be interpreted as the Meta key to: B<alt>, B<meta>, |
984 | Set the key to be interpreted as the Meta key to: B<alt>, B<meta>, |
946 | B<hyper>, B<super>, B<mod1>, B<mod2>, B<mod3>, B<mod4>, B<mod5>; option |
985 | B<hyper>, B<super>, B<mod1>, B<mod2>, B<mod3>, B<mod4>, B<mod5>; option |
… | |
… | |
950 | |
989 | |
951 | Specify the reply rxvt-unicode sends to the shell when an ENQ (control-E) |
990 | Specify the reply rxvt-unicode sends to the shell when an ENQ (control-E) |
952 | character is passed through. It may contain escape values as described |
991 | character is passed through. It may contain escape values as described |
953 | in the entry on B<keysym> following. |
992 | in the entry on B<keysym> following. |
954 | |
993 | |
955 | =item B<secondaryScreen:> I<bool> |
994 | =item B<secondaryScreen:> I<boolean> |
956 | |
995 | |
957 | Turn on/off secondary screen (default enabled). |
996 | Turn on/off secondary screen (default enabled). |
958 | |
997 | |
959 | =item B<secondaryScroll:> I<bool> |
998 | =item B<secondaryScroll:> I<boolean> |
960 | |
999 | |
961 | Turn on/off secondary screen scroll (default enabled). If the this |
1000 | Turn on/off secondary screen scroll (default enabled). If this |
962 | option is enabled, scrolls on the secondary screen will change the |
1001 | option is enabled, scrolls on the secondary screen will change the |
963 | scrollback buffer and switching to/from the secondary screen will |
1002 | scrollback buffer and switching to/from the secondary screen will |
964 | instead scroll the screen up. |
1003 | instead scroll the screen up. |
965 | |
1004 | |
966 | =item B<hold>: I<bool> |
1005 | =item B<hold>: I<boolean> |
967 | |
1006 | |
968 | Turn on/off hold window after exit support. If enabled, @@RXVT_NAME@@ |
1007 | Turn on/off hold window after exit support. If enabled, @@RXVT_NAME@@ |
969 | will not immediately destroy its window when the program executed within |
1008 | will not immediately destroy its window when the program executed within |
970 | it exits. Instead, it will wait till it is being killed or closed by the |
1009 | it exits. Instead, it will wait till it is being killed or closed by the |
971 | user. |
1010 | user. |
… | |
… | |
994 | |
1033 | |
995 | I<string> may contain escape values (C<\a>: bell, C<\b>: backspace, |
1034 | I<string> may contain escape values (C<\a>: bell, C<\b>: backspace, |
996 | C<\e>, C<\E>: escape, C<\n>: newline, C<\r>: carriage return, C<\t>: tab, |
1035 | C<\e>, C<\E>: escape, C<\n>: newline, C<\r>: carriage return, C<\t>: tab, |
997 | C<\000>: octal number) or verbatim control characters (C<^?>: delete, |
1036 | C<\000>: octal number) or verbatim control characters (C<^?>: delete, |
998 | C<^@>: null, C<^A> ...) and may be enclosed with double quotes so that it |
1037 | C<^@>: null, C<^A> ...) and may be enclosed with double quotes so that it |
999 | can start or end with whitespace. |
1038 | can start or end with whitespace. B<This feature is deprecated and will |
|
|
1039 | be removed>. |
1000 | |
1040 | |
1001 | Please note that you need to double the C<\> when using |
1041 | Please note that you need to double the C<\> in resource files, as |
1002 | C<--enable-xgetdefault>, as X itself does it's own de-escaping (you can |
1042 | Xlib itself does its own de-escaping (you can use C<\033> instead of |
1003 | use C<\033> instead of C<\e> (and so on), which will work with both Xt and |
1043 | C<\e> (and so on), which will work with both Xt and @@RXVT_NAME@@'s own |
1004 | @@RXVT_NAME@@'s own processing). |
1044 | processing). |
1005 | |
1045 | |
1006 | You can define a range of keysyms in one shot by providing a I<string> |
1046 | You can define a range of keysyms in one shot by providing a I<string> |
1007 | with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimeter `/' |
1047 | with pattern B<list/PREFIX/MIDDLE/SUFFIX>, where the delimiter `/' |
1008 | should be a character not used by the strings. |
1048 | should be a character not used by the strings. |
1009 | |
1049 | |
1010 | Its usage can be demonstrated by an example: |
1050 | Its usage can be demonstrated by an example: |
1011 | |
1051 | |
1012 | URxvt.keysym.M-C-0x61: list|\033<M-C-|abc|> |
1052 | URxvt.keysym.M-C-0x61: list|\033<M-C-|abc|> |
… | |
… | |
1061 | info): |
1101 | info): |
1062 | |
1102 | |
1063 | URxvt.keysym.M-C-3: command:\033[8;25;80t |
1103 | URxvt.keysym.M-C-3: command:\033[8;25;80t |
1064 | URxvt.keysym.M-C-4: command:\033[8;48;110t |
1104 | URxvt.keysym.M-C-4: command:\033[8;48;110t |
1065 | |
1105 | |
|
|
1106 | =item B<perl-ext-common>: I<string> |
|
|
1107 | |
1066 | =item B<perl-ext>: I<string> |
1108 | =item B<perl-ext>: I<string> |
1067 | |
1109 | |
1068 | Colon-separated list of perl extension scripts to use in this terminal |
1110 | Comma-separated list(s) of perl extension scripts (default: C<default>) to |
|
|
1111 | use in this terminal instance; option B<-pe>. |
|
|
1112 | |
|
|
1113 | Extension names can be prefixed with a C<-> sign to prohibit using |
|
|
1114 | them. This can be useful to selectively disable some extensions loaded |
|
|
1115 | by default, or specified via the C<perl-ext-common> resource. For |
|
|
1116 | example, C<default,-selection> will use all the default extension except |
|
|
1117 | C<selection>. |
|
|
1118 | |
|
|
1119 | Extension names can also be followed by an argument in angle brackets |
|
|
1120 | (e.g. C<< searchable-scrollback<M-s> >>, which binds the hotkey for |
|
|
1121 | searchable scrollback to Alt/Meta-s). Mentioning the same extension |
|
|
1122 | multiple times with different arguments will pass multiple arguments to |
|
|
1123 | the extension. |
|
|
1124 | |
1069 | instance. Each extension is looked up in the library directories, loaded |
1125 | Each extension is looked up in the library directories, loaded if |
1070 | if necessary, and bound to the current terminal instance. If this resource |
1126 | necessary, and bound to the current terminal instance. |
1071 | is empty or missing, then the perl interpreter will not be initialized; |
1127 | |
1072 | option B<-pe>. |
1128 | If both of these resources are the empty string, then the perl |
|
|
1129 | interpreter will not be initialized. The idea behind two options is that |
|
|
1130 | B<perl-ext-common> will be used for extensions that should be available to |
|
|
1131 | all instances, while B<perl-ext> is used for specific instances. |
1073 | |
1132 | |
1074 | =item B<perl-eval>: I<string> |
1133 | =item B<perl-eval>: I<string> |
1075 | |
1134 | |
1076 | Perl code to be evaluated when all extensions have been registered. See the |
1135 | Perl code to be evaluated when all extensions have been registered. See |
1077 | @@RXVT_NAME@@perl(3) manpage. |
1136 | the @@RXVT_NAME@@perl(3) manpage. Due to security reasons, this resource |
|
|
1137 | will be ignored when running setuid/setgid. |
1078 | |
1138 | |
1079 | =item B<perl-lib>: I<path> |
1139 | =item B<perl-lib>: I<path> |
1080 | |
1140 | |
1081 | Colon-separated list of additional directories that hold extension |
1141 | Colon-separated list of additional directories that hold extension |
1082 | scripts. When looking for extensions specified by the C<perl> resource, |
1142 | scripts. When looking for extensions specified by the C<perl> resource, |
1083 | @@RXVT_NAME@@ will first look in these directories and then in |
1143 | @@RXVT_NAME@@ will first look in these directories and then in |
1084 | F<@@RXVT_LIBDIR@@/urxvt/perl/>. |
1144 | F<@@RXVT_LIBDIR@@/urxvt/perl/>. Due to security reasons, this resource |
|
|
1145 | will be ignored when running setuid/setgid. |
1085 | |
1146 | |
1086 | See the @@RXVT_NAME@@perl(3) manpage. |
1147 | See the @@RXVT_NAME@@perl(3) manpage. |
|
|
1148 | |
|
|
1149 | =item B<< selection.pattern-I<idx> >>: I<perl-regex> |
|
|
1150 | |
|
|
1151 | Additional selection patterns, see the @@RXVT_NAME@@perl(3) manpage for |
|
|
1152 | details. |
|
|
1153 | |
|
|
1154 | =item B<< selection-autotransform.I<idx> >>: I<perl-transform> |
|
|
1155 | |
|
|
1156 | Selection auto-transform patterns, see the @@RXVT_NAME@@perl(3) manpage |
|
|
1157 | for details. |
|
|
1158 | |
|
|
1159 | =item B<searchable-scrollback:> I<keysym> |
|
|
1160 | |
|
|
1161 | Sets the hotkey that starts the incremental scrollback buffer search |
|
|
1162 | (default: C<M-s>). |
|
|
1163 | |
|
|
1164 | =item B<urlLauncher>: I<string> |
|
|
1165 | |
|
|
1166 | Specifies the program to be started with a URL argument. Used by the |
|
|
1167 | C<selection-popup> and C<matcher> perl extensions. |
|
|
1168 | |
|
|
1169 | =item B<transient-for>: I<windowid> |
|
|
1170 | |
|
|
1171 | Compile I<frills>: Sets the WM_TRANSIENT_FOR property to the given window id. |
|
|
1172 | |
|
|
1173 | =item B<override-redirect>: I<boolean> |
|
|
1174 | |
|
|
1175 | Compile I<frills>: Sets override-redirect for the terminal window, making |
|
|
1176 | it almost invisible to window managers; option B<-override-redirect>. |
1087 | |
1177 | |
1088 | =back |
1178 | =back |
1089 | |
1179 | |
1090 | =head1 THE SCROLLBAR |
1180 | =head1 THE SCROLLBAR |
1091 | |
1181 | |
… | |
… | |
1110 | application. Instead, pressing Button1 and Button3 sends B<ESC [ 6 ~> |
1200 | application. Instead, pressing Button1 and Button3 sends B<ESC [ 6 ~> |
1111 | (Next) and B<ESC [ 5 ~> (Prior), respectively. Similarly, clicking on the |
1201 | (Next) and B<ESC [ 5 ~> (Prior), respectively. Similarly, clicking on the |
1112 | up and down arrows sends B<ESC [ A> (Up) and B<ESC [ B> (Down), |
1202 | up and down arrows sends B<ESC [ A> (Up) and B<ESC [ B> (Down), |
1113 | respectively. |
1203 | respectively. |
1114 | |
1204 | |
1115 | =head1 TEXT SELECTION AND INSERTION |
1205 | =head1 THE SELECTION: SELECTING AND PASTING TEXT |
1116 | |
1206 | |
1117 | The behaviour of text selection and insertion mechanism is similar to |
1207 | The behaviour of text selection and insertion/pasting mechanism is similar |
1118 | I<xterm>(1). |
1208 | to I<xterm>(1). |
1119 | |
1209 | |
1120 | =over 4 |
1210 | =over 4 |
1121 | |
1211 | |
1122 | =item B<Selection>: |
1212 | =item B<Selecting>: |
1123 | |
1213 | |
1124 | Left click at the beginning of the region, drag to the end of the region |
1214 | Left click at the beginning of the region, drag to the end of the region |
1125 | and release; Right click to extend the marked region; Left double-click |
1215 | and release; Right click to extend the marked region; Left double-click |
1126 | to select a word; Left triple-click to select the entire logical line |
1216 | to select a word; Left triple-click to select the entire logical line |
1127 | (which can span multiple screen lines), unless modified by resource |
1217 | (which can span multiple screen lines), unless modified by resource |
… | |
… | |
1131 | (Compile: I<frills>) will create a rectangular selection instead of a |
1221 | (Compile: I<frills>) will create a rectangular selection instead of a |
1132 | normal one. In this mode, every selected row becomes its own line in the |
1222 | normal one. In this mode, every selected row becomes its own line in the |
1133 | selection, and trailing whitespace is visually underlined and removed from |
1223 | selection, and trailing whitespace is visually underlined and removed from |
1134 | the selection. |
1224 | the selection. |
1135 | |
1225 | |
1136 | =item B<Insertion>: |
1226 | =item B<Pasting>: |
1137 | |
1227 | |
1138 | Pressing and releasing the Middle mouse button (or B<Shift-Insert>) in |
1228 | Pressing and releasing the Middle mouse button in an B<@@RXVT_NAME@@> |
1139 | an B<@@RXVT_NAME@@> window causes the current text selection to be |
1229 | window causes the value of the PRIMARY selection (or CLIPBOARD with the |
1140 | inserted as if it had been typed on the keyboard. |
1230 | B<Meta> modifier) to be inserted as if it had been typed on the keyboard. |
|
|
1231 | |
|
|
1232 | Pressing B<Shift-Insert> causes the value of the PRIMARY selection to be |
|
|
1233 | inserted too. |
1141 | |
1234 | |
1142 | =back |
1235 | =back |
1143 | |
1236 | |
1144 | =head1 CHANGING FONTS |
1237 | =head1 CHANGING FONTS |
1145 | |
1238 | |
1146 | Changing fonts (or font sizes, respectively) via the keypad is not yet |
1239 | Changing fonts (or font sizes, respectively) via the keypad is not yet |
1147 | supported in rxvt-unicode. Bug me if you need this. |
1240 | supported in rxvt-unicode. Bug me if you need this. |
1148 | |
1241 | |
1149 | You can, however, switch fonts at runtime using escape sequences (and |
1242 | You can, however, switch fonts at runtime using escape sequences, e.g.: |
1150 | therefore using the menubar), e.g.: |
|
|
1151 | |
1243 | |
1152 | printf '\e]710;%s\007' "9x15bold,xft:Kochi Gothic" |
1244 | printf '\e]710;%s\007' "9x15bold,xft:Kochi Gothic" |
|
|
1245 | |
|
|
1246 | You can use keyboard shortcuts, too: |
|
|
1247 | |
|
|
1248 | URxvt.keysym.M-C-1: command:\033]710;suxuseuro\007\033]711;suxuseuro\007 |
|
|
1249 | URxvt.keysym.M-C-2: command:\033]710;9x15bold\007\033]711;9x15bold\007 |
1153 | |
1250 | |
1154 | rxvt-unicode will automatically re-apply these fonts to the output so far. |
1251 | rxvt-unicode will automatically re-apply these fonts to the output so far. |
1155 | |
1252 | |
1156 | =head1 ISO 14755 SUPPORT |
1253 | =head1 ISO 14755 SUPPORT |
1157 | |
1254 | |
… | |
… | |
1185 | This mode lets you input characters representing the keycap symbols of |
1282 | This mode lets you input characters representing the keycap symbols of |
1186 | your keyboard, if representable in the current locale encoding. |
1283 | your keyboard, if representable in the current locale encoding. |
1187 | |
1284 | |
1188 | Start by pressing C<Control> and C<Shift> together, then releasing |
1285 | Start by pressing C<Control> and C<Shift> together, then releasing |
1189 | them. The next special key (cursor keys, home etc.) you enter will not |
1286 | them. The next special key (cursor keys, home etc.) you enter will not |
1190 | invoke it's usual function but instead will insert the corresponding |
1287 | invoke its usual function but instead will insert the corresponding |
1191 | keycap symbol. The symbol will only be entered when the key has been |
1288 | keycap symbol. The symbol will only be entered when the key has been |
1192 | released, otherwise pressing e.g. C<Shift> would enter the symbol for |
1289 | released, otherwise pressing e.g. C<Shift> would enter the symbol for |
1193 | C<ISO Level 2 Switch>, although your intention might have been to enter a |
1290 | C<ISO Level 2 Switch>, although your intention might have been to enter a |
1194 | reverse tab (Shift-Tab). |
1291 | reverse tab (Shift-Tab). |
1195 | |
1292 | |
… | |
… | |
1228 | =head1 COLORS AND GRAPHICS |
1325 | =head1 COLORS AND GRAPHICS |
1229 | |
1326 | |
1230 | In addition to the default foreground and background colours, |
1327 | In addition to the default foreground and background colours, |
1231 | B<@@RXVT_NAME@@> can display up to 16 colours (8 ANSI colours plus |
1328 | B<@@RXVT_NAME@@> can display up to 16 colours (8 ANSI colours plus |
1232 | high-intensity bold/blink versions of the same). Here is a list of the |
1329 | high-intensity bold/blink versions of the same). Here is a list of the |
1233 | colours with their B<rgb.txt> names. |
1330 | colours with their names. |
1234 | |
1331 | |
1235 | =begin table |
1332 | =begin table |
1236 | |
1333 | |
1237 | B<color0> (black) = Black |
1334 | B<color0> (black) = Black |
1238 | B<color1> (red) = Red3 |
1335 | B<color1> (red) = Red3 |
… | |
… | |
1258 | It is also possible to specify the colour values of B<foreground>, |
1355 | It is also possible to specify the colour values of B<foreground>, |
1259 | B<background>, B<cursorColor>, B<cursorColor2>, B<colorBD>, B<colorUL> as |
1356 | B<background>, B<cursorColor>, B<cursorColor2>, B<colorBD>, B<colorUL> as |
1260 | a number 0-15, as a convenient shorthand to reference the colour name of |
1357 | a number 0-15, as a convenient shorthand to reference the colour name of |
1261 | color0-color15. |
1358 | color0-color15. |
1262 | |
1359 | |
|
|
1360 | In addition to the colours defined above, @@RXVT_NAME@@ offers an |
|
|
1361 | additional 72 colours. The first 64 of those (with indices 16 to 79) |
|
|
1362 | consist of a 4*4*4 RGB colour cube (i.e. I<index = r * 16 + g * 4 + b + |
|
|
1363 | 16>), followed by 8 additional shades of gray (with indices 80 to 87). |
|
|
1364 | |
|
|
1365 | Together, all those colours implement the 88 colour xterm colours. Only |
|
|
1366 | the first 16 can be changed using resources currently, the rest can only |
|
|
1367 | be changed via command sequences ("escape codes"). |
|
|
1368 | |
1263 | Note that B<-rv> (B<"reverseVideo: True">) simulates reverse video by |
1369 | Note that B<-rv> (B<"reverseVideo: True">) simulates reverse video by |
1264 | always swapping the foreground/background colours. This is in contrast to |
1370 | always swapping the foreground/background colours. This is in contrast to |
1265 | I<xterm>(1) where the colours are only swapped if they have not otherwise |
1371 | I<xterm>(1) where the colours are only swapped if they have not otherwise |
1266 | been specified. For example, |
1372 | been specified. For example, |
1267 | |
1373 | |
… | |
… | |
1272 | would yield White on Black, while on I<xterm>(1) it would yield Black |
1378 | would yield White on Black, while on I<xterm>(1) it would yield Black |
1273 | on White. |
1379 | on White. |
1274 | |
1380 | |
1275 | =back |
1381 | =back |
1276 | |
1382 | |
|
|
1383 | =head2 ALPHA CHANNEL SUPPORT |
|
|
1384 | |
|
|
1385 | If Xft support has been compiled in and as long as Xft/Xrender/X don't get |
|
|
1386 | their act together, rxvt-unicode will support C<rgba:rrrr/gggg/bbbb/aaaa> |
|
|
1387 | (recommended, but B<MUST> have 4 digits/component) colour specifications, |
|
|
1388 | in addition to the ones provided by X, where the additional A component |
|
|
1389 | specifies opacity (alpha) values. The minimum value of C<0> is completely |
|
|
1390 | transparent). You can also prefix any color with C<[percent]>, where |
|
|
1391 | C<percent> is a decimal percentage (0-100) that specifies the opacity of |
|
|
1392 | the color, where C<0> is completely transparent and C<100> is completelxy |
|
|
1393 | opaque. |
|
|
1394 | |
|
|
1395 | You probably need to specify B<"-depth 32">, too, and have the luck that |
|
|
1396 | your X-server uses ARGB pixel layout, as X is far from just supporting |
|
|
1397 | ARGB visuals out of the box, and rxvt-unicode just fudges around. |
|
|
1398 | |
|
|
1399 | For example, the following selects an almost completely transparent red |
|
|
1400 | background, and an almost opaque pink foreground: |
|
|
1401 | |
|
|
1402 | @@RXVT_NAME@@ -depth 32 -bg rgba:0000/0000/0000/aaaa -fg "[80]pink" |
|
|
1403 | |
|
|
1404 | I<Please note that transparency of any kind if completely unsupported by |
|
|
1405 | the author. Don't bug him with installation questions!> |
|
|
1406 | |
1277 | =head1 ENVIRONMENT |
1407 | =head1 ENVIRONMENT |
1278 | |
1408 | |
1279 | B<@@RXVT_NAME@@> sets and/or uses the following environment variables: |
1409 | B<@@RXVT_NAME@@> sets and/or uses the following environment variables: |
1280 | |
1410 | |
1281 | =over 4 |
1411 | =over 4 |
1282 | |
1412 | |
1283 | =item B<TERM> |
1413 | =item B<TERM> |
1284 | |
1414 | |
1285 | Normally set to C<rxvt-unicode>, unless overwritten at configure time, via |
1415 | Normally set to C<rxvt-unicode>, unless overwritten at configure time, via |
1286 | resources or on the commandline. |
1416 | resources or on the command line. |
1287 | |
1417 | |
1288 | =item B<COLORTERM> |
1418 | =item B<COLORTERM> |
1289 | |
1419 | |
1290 | Either C<rxvt>, C<rxvt-xpm>, depending on wether @@RXVT_NAME@@ was |
1420 | Either C<rxvt>, C<rxvt-xpm>, depending on whether @@RXVT_NAME@@ was |
1291 | compiled with XPM support, and optionally with the added extension |
1421 | compiled with XPM support, and optionally with the added extension |
1292 | C<-mono> to indicate that rxvt-unicode runs on a monochrome screen. |
1422 | C<-mono> to indicate that rxvt-unicode runs on a monochrome screen. |
1293 | |
1423 | |
1294 | =item B<COLORFGBG> |
1424 | =item B<COLORFGBG> |
1295 | |
1425 | |
… | |
… | |
1313 | C<--with-terminfo=PATH>. |
1443 | C<--with-terminfo=PATH>. |
1314 | |
1444 | |
1315 | =item B<DISPLAY> |
1445 | =item B<DISPLAY> |
1316 | |
1446 | |
1317 | Used by @@RXVT_NAME@@ to connect to the display and set to the correct |
1447 | Used by @@RXVT_NAME@@ to connect to the display and set to the correct |
1318 | display in it's child processes. |
1448 | display in its child processes. |
1319 | |
1449 | |
1320 | =item B<SHELL> |
1450 | =item B<SHELL> |
1321 | |
1451 | |
1322 | The shell to be used for command execution, defaults to C</bin/sh>. |
1452 | The shell to be used for command execution, defaults to C</bin/sh>. |
1323 | |
|
|
1324 | =item B<RXVTPATH> |
|
|
1325 | |
|
|
1326 | The path where @@RXVT_NAME@@ looks for support files such as menu and xpm |
|
|
1327 | files. |
|
|
1328 | |
|
|
1329 | =item B<PATH> |
|
|
1330 | |
|
|
1331 | Used in the same way as C<RXVTPATH>. |
|
|
1332 | |
1453 | |
1333 | =item B<RXVT_SOCKET> |
1454 | =item B<RXVT_SOCKET> |
1334 | |
1455 | |
1335 | The unix domain socket path used by @@RXVT_NAME@@c(1) and |
1456 | The unix domain socket path used by @@RXVT_NAME@@c(1) and |
1336 | @@RXVT_NAME@@d(1). |
1457 | @@RXVT_NAME@@d(1). |
… | |
… | |
1374 | |
1495 | |
1375 | =item Project Coordinator |
1496 | =item Project Coordinator |
1376 | |
1497 | |
1377 | Marc A. Lehmann L<< <rxvt-unicode@schmorp.de> >> |
1498 | Marc A. Lehmann L<< <rxvt-unicode@schmorp.de> >> |
1378 | |
1499 | |
1379 | L<http://software.schmorp.de/#rxvt-unicode> |
1500 | L<http://software.schmorp.de/pkg/rxvt-unicode.html> |
1380 | |
1501 | |
1381 | =back |
1502 | =back |
1382 | |
1503 | |
1383 | =head1 AUTHORS |
1504 | =head1 AUTHORS |
1384 | |
1505 | |
… | |
… | |
1406 | |
1527 | |
1407 | Project Coordinator (changes.txt 2.21a to 2.4.5) |
1528 | Project Coordinator (changes.txt 2.21a to 2.4.5) |
1408 | |
1529 | |
1409 | =item Geoff Wing L<< <gcw@pobox.com> >> |
1530 | =item Geoff Wing L<< <gcw@pobox.com> >> |
1410 | |
1531 | |
1411 | Rewrote screen display and text selection routines. Project Coordinator |
1532 | Rewrote screen display and text selection routines. |
|
|
1533 | |
1412 | (changes.txt 2.4.6 - rxvt-unicode) |
1534 | Project Coordinator (changes.txt 2.4.6 - rxvt-unicode) |
1413 | |
1535 | |
1414 | =item Marc Alexander Lehmann L<< <rxvt-unicode@schmorp.de> >> |
1536 | =item Marc Alexander Lehmann L<< <rxvt-unicode@schmorp.de> >> |
1415 | |
1537 | |
1416 | Forked rxvt-unicode, rewrote most of the display code and internal |
1538 | Forked rxvt-unicode, unicode support, rewrote almost all the code, perl |
1417 | character handling to store text in unicode, improve xterm |
1539 | extension, random hacks, numerous bugfixes and extensions. |
1418 | compatibility and apply numerous other bugfixes and extensions. |
|
|
1419 | |
1540 | |
1420 | Project Coordinator (Changes 1.0 -) |
1541 | Project Coordinator (Changes 1.0 -) |
1421 | |
1542 | |
|
|
1543 | =item Emanuele Giaquinta L<< <e.giaquinta@glauco.it> >> |
|
|
1544 | |
|
|
1545 | Pty/tty/utmp/wtmp rewrite, lots of random hacking and bugfixing. |
|
|
1546 | |
1422 | =back |
1547 | =back |
1423 | |
1548 | |