ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.1.man.in
(Generate patch)

Comparing rxvt-unicode/doc/rxvt.1.man.in (file contents):
Revision 1.28 by root, Thu Dec 22 16:44:10 2005 UTC vs.
Revision 1.63 by root, Mon Aug 7 16:17:30 2006 UTC

1.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.14 1.\" Automatically generated by Pod::Man 2.09 (Pod::Simple 3.04)
2.\" 2.\"
3.\" Standard preamble: 3.\" Standard preamble:
4.\" ======================================================================== 4.\" ========================================================================
5.de Sh \" Subsection heading 5.de Sh \" Subsection heading
6.br 6.br
126. ds Ae AE 126. ds Ae AE
127.\} 127.\}
128.rm #[ #] #H #V #F C 128.rm #[ #] #H #V #F C
129.\" ======================================================================== 129.\" ========================================================================
130.\" 130.\"
131.IX Title "rxvt 1" 131.IX Title "@@RXVT_NAME@@ 1"
132.TH rxvt 1 "2005-12-22" "6.0" "RXVT-UNICODE" 132.TH @@RXVT_NAME@@ 1 "2006-08-07" "7.9" "RXVT-UNICODE"
133.SH "NAME" 133.SH "NAME"
134rxvt\-unicode (ouR XVT, unicode) \- (a VT102 emulator for the X window system) 134rxvt\-unicode (ouR XVT, unicode) \- (a VT102 emulator for the X window system)
135.SH "SYNOPSIS" 135.SH "SYNOPSIS"
136.IX Header "SYNOPSIS" 136.IX Header "SYNOPSIS"
137\&\fB@@RXVT_NAME@@\fR [options] [\-e command [ args ]] 137\&\fB@@RXVT_NAME@@\fR [options] [\-e command [ args ]]
155world. Being a terminal emulator, however, some things are very difficult, 155world. Being a terminal emulator, however, some things are very difficult,
156especially cursive scripts such as arabic, vertically written scripts 156especially cursive scripts such as arabic, vertically written scripts
157like mongolian or scripts requiring extremely complex combining rules, 157like mongolian or scripts requiring extremely complex combining rules,
158like tibetan or devenagari. Don't expect pretty output when using these 158like tibetan or devenagari. Don't expect pretty output when using these
159scripts. Most other scripts, latin, cyrillic, kanji, thai etc. should work 159scripts. Most other scripts, latin, cyrillic, kanji, thai etc. should work
160fine, though. A somewhat difficult case are left-to-right scripts, such 160fine, though. A somewhat difficult case are right-to-left scripts, such
161as hebrew: \fBrxvt-unicode\fR adopts the view that bidirectional algorithms 161as hebrew: \fBrxvt-unicode\fR adopts the view that bidirectional algorithms
162belong into the application, not the terminal emulator (too many things \*(-- 162belong into the application, not the terminal emulator (too many things \*(--
163such as cursor-movement while editing \*(-- break otherwise), but that might 163such as cursor-movement while editing \*(-- break otherwise), but that might
164change. 164change.
165.PP 165.PP
166If you are looking for a terminal that supports more exotic scripts, let 166If you are looking for a terminal that supports more exotic scripts, let
167me recommend \f(CW\*(C`mlterm\*(C'\fR, which is a very userfriendly, lean and clean 167me recommend \f(CW\*(C`mlterm\*(C'\fR, which is a very user friendly, lean and clean
168terminal emulator. In fact, the reason rxvt-unicode was born was solely 168terminal emulator. In fact, the reason rxvt-unicode was born was solely
169because the author couldn't get \f(CW\*(C`mlterm\*(C'\fR to use one font for latin1 and 169because the author couldn't get \f(CW\*(C`mlterm\*(C'\fR to use one font for latin1 and
170another for japanese. 170another for japanese.
171.PP 171.PP
172Therefore another design rationale was the use of multiple fonts to 172Therefore another design rationale was the use of multiple fonts to
173display characters: The idea of a single unicode font which many other 173display characters: The idea of a single unicode font which many other
174programs force onto it's users never made sense to me: You should be able 174programs force onto its users never made sense to me: You should be able
175to choose any font for any script freely. 175to choose any font for any script freely.
176.PP 176.PP
177Apart from that, rxvt-unicode is also much better internationalised than 177Apart from that, rxvt-unicode is also much better internationalised than
178it's predecessor, supports things such as \s-1XFT\s0 and \s-1ISO\s0 14755 that are handy 178its predecessor, supports things such as \s-1XFT\s0 and \s-1ISO\s0 14755 that are handy
179in i18n\-environments, is faster, and has a lot less bugs than the original 179in i18n\-environments, is faster, and has a lot bugs less than the original
180rxvt. This all in addition to dozens of other small improvements. 180rxvt. This all in addition to dozens of other small improvements.
181.PP 181.PP
182It is still faithfully following the original rxvt idea of being lean 182It is still faithfully following the original rxvt idea of being lean
183and nice on resources: for example, you can still configure rxvt-unicode 183and nice on resources: for example, you can still configure rxvt-unicode
184without most of it's features to get a lean binary. It also comes with 184without most of its features to get a lean binary. It also comes with
185a client/daemon pair that lets you open any number of terminal windows 185a client/daemon pair that lets you open any number of terminal windows
186from within a single process, which makes startup time very fast and 186from within a single process, which makes startup time very fast and
187drastically reduces memory usage. See @@RXVT_NAME@@d(1) (daemon) and 187drastically reduces memory usage. See @@RXVT_NAME@@d(1) (daemon) and
188@@RXVT_NAME@@c(1) (client). 188@@RXVT_NAME@@c(1) (client).
189.PP 189.PP
190It also makes technical information about escape sequences (which have 190It also makes technical information about escape sequences (which have
191been extended) easier accessible: see @@RXVT_NAME@@(7) for technical 191been extended) more accessible: see @@RXVT_NAME@@(7) for technical
192reference documentation (escape sequences etc.). 192reference documentation (escape sequences etc.).
193.SH "OPTIONS" 193.SH "OPTIONS"
194.IX Header "OPTIONS" 194.IX Header "OPTIONS"
195The \fB@@RXVT_NAME@@\fR options (mostly a subset of \fIxterm\fR's) are listed 195The \fB@@RXVT_NAME@@\fR options (mostly a subset of \fIxterm\fR's) are listed
196below. In keeping with the smaller-is-better philosophy, options may be 196below. In keeping with the smaller-is-better philosophy, options may be
214.IP "\fB\-display\fR \fIdisplayname\fR" 4 214.IP "\fB\-display\fR \fIdisplayname\fR" 4
215.IX Item "-display displayname" 215.IX Item "-display displayname"
216Attempt to open a window on the named X display (\fB\-d\fR still 216Attempt to open a window on the named X display (\fB\-d\fR still
217respected). In the absence of this option, the display specified by the 217respected). In the absence of this option, the display specified by the
218\&\fB\s-1DISPLAY\s0\fR environment variable is used. 218\&\fB\s-1DISPLAY\s0\fR environment variable is used.
219.IP "\fB\-depth\fR \fIbitdepth\fR" 4
220.IX Item "-depth bitdepth"
221Compile \fIxft\fR: Attempt to find a visual with the given bit depth;
222resource \fBdepth\fR.
219.IP "\fB\-geometry\fR \fIgeom\fR" 4 223.IP "\fB\-geometry\fR \fIgeom\fR" 4
220.IX Item "-geometry geom" 224.IX Item "-geometry geom"
221Window geometry (\fB\-g\fR still respected); resource \fBgeometry\fR. 225Window geometry (\fB\-g\fR still respected); resource \fBgeometry\fR.
222.IP "\fB\-rv\fR|\fB+rv\fR" 4 226.IP "\fB\-rv\fR|\fB+rv\fR" 4
223.IX Item "-rv|+rv" 227.IX Item "-rv|+rv"
227Turn on/off jump scrolling; resource \fBjumpScroll\fR. 231Turn on/off jump scrolling; resource \fBjumpScroll\fR.
228.IP "\fB\-ip\fR|\fB+ip\fR | \fB\-tr\fR|\fB+tr\fR" 4 232.IP "\fB\-ip\fR|\fB+ip\fR | \fB\-tr\fR|\fB+tr\fR" 4
229.IX Item "-ip|+ip | -tr|+tr" 233.IX Item "-ip|+ip | -tr|+tr"
230Turn on/off inheriting parent window's pixmap. Alternative form is 234Turn on/off inheriting parent window's pixmap. Alternative form is
231\&\fB\-tr\fR; resource \fBinheritPixmap\fR. 235\&\fB\-tr\fR; resource \fBinheritPixmap\fR.
236.Sp
237\&\fIPlease note that transparency of any kind if completely unsupported by
238the author. Don't bug him with installation questions! Read the \s-1FAQ\s0 (man 7
239@@RXVT_NAME@@)!\fR
232.IP "\fB\-fade\fR \fInumber\fR" 4 240.IP "\fB\-fade\fR \fInumber\fR" 4
233.IX Item "-fade number" 241.IX Item "-fade number"
234Fade the text by the given percentage when focus is lost. Small values 242Fade the text by the given percentage when focus is lost. Small values
235fade a little only, 100 completely replaces all colours by the fade 243fade a little only, 100 completely replaces all colours by the fade
236colour; resource \fBfading\fR. 244colour; resource \fBfading\fR.
237.IP "\fB\-fadecolor\fR \fIcolour\fR" 4 245.IP "\fB\-fadecolor\fR \fIcolour\fR" 4
238.IX Item "-fadecolor colour" 246.IX Item "-fadecolor colour"
239Fade to this colour when fading is used (see \fB\-fade\fR). The default colour 247Fade to this colour when fading is used (see \fB\-fade\fR). The default colour
240is black. resource \fBfadeColor\fR. 248is opaque black. resource \fBfadeColor\fR.
241.IP "\fB\-tint\fR \fIcolour\fR" 4 249.IP "\fB\-tint\fR \fIcolour\fR" 4
242.IX Item "-tint colour" 250.IX Item "-tint colour"
243Tint the transparent background pixmap with the given colour when 251Tint the transparent background pixmap with the given colour when
244transparency is enabled with \fB\-tr\fR or \fB\-ip\fR. This only works for 252transparency is enabled with \fB\-tr\fR or \fB\-ip\fR. This only works for
245non-tiled backgrounds, currently. See also the \fB\-sh\fR option that can be 253non-tiled backgrounds, currently. See also the \fB\-sh\fR option that can be
246used to brighten or darken the image in addition to tinting it; resource 254used to brighten or darken the image in addition to tinting it; resource
247\&\fItintColor\fR. Example: 255\&\fItintColor\fR. Example:
248.Sp 256.Sp
249.Vb 1 257.Vb 1
250\& @@RXVT_NAME@@ -tr -tint blue -sh 40 258\& @@RXVT_NAME@@ \-tr \-tint blue \-sh 40
251.Ve 259.Ve
252.IP "\fB\-sh\fR" 4 260.IP "\fB\-sh\fR" 4
253.IX Item "-sh" 261.IX Item "-sh"
254\&\fInumber\fR Darken (0 .. 100) or lighten (\-1 .. \-100) the transparent 262\&\fInumber\fR Darken (0 .. 100) or lighten (\-1 .. \-100) the transparent
255background image in addition to tinting it (i.e. \fB\-tint\fR must be 263background image in addition to tinting it (i.e. \fB\-tint\fR must be
280The colour of the border around the text area and between the scrollbar and the text; 288The colour of the border around the text area and between the scrollbar and the text;
281resource \fBborderColor\fR. 289resource \fBborderColor\fR.
282.IP "\fB\-fn\fR \fIfontlist\fR" 4 290.IP "\fB\-fn\fR \fIfontlist\fR" 4
283.IX Item "-fn fontlist" 291.IX Item "-fn fontlist"
284Select the fonts to be used. This is a comma separated list of font names 292Select the fonts to be used. This is a comma separated list of font names
285that are used in turn when trying to display Unicode characters. The 293that are checked in order when trying to find glyphs for characters. The
286first font defines the cell size for characters; other fonts might be 294first font defines the cell size for characters; other fonts might be
287smaller, but not (in general) larger. A (hopefully) reasonable default 295smaller, but not (in general) larger. A (hopefully) reasonable default
288font list is always appended to it. See resource \fBfont\fR for more details. 296font list is always appended to it. See resource \fBfont\fR for more details.
289.Sp 297.Sp
290In short, to specify an X11 core font, just specify it's name or prefix it 298In short, to specify an X11 core font, just specify its name or prefix it
291with \f(CW\*(C`x:\*(C'\fR. To specify an XFT\-font, you need to prefix it with \f(CW\*(C`xft:\*(C'\fR, 299with \f(CW\*(C`x:\*(C'\fR. To specify an XFT\-font, you need to prefix it with \f(CW\*(C`xft:\*(C'\fR,
292e.g.: 300e.g.:
293.Sp 301.Sp
294.Vb 2 302.Vb 2
295\& @@RXVT_NAME@@ -fn "xft:Bitstream Vera Sans Mono:pixelsize=15" 303\& @@RXVT_NAME@@ \-fn "xft:Bitstream Vera Sans Mono:pixelsize=15"
296\& @@RXVT_NAME@@ -fn "9x15bold,xft:Bitstream Vera Sans Mono" 304\& @@RXVT_NAME@@ \-fn "9x15bold,xft:Bitstream Vera Sans Mono"
297.Ve 305.Ve
298.Sp 306.Sp
299See also the question \*(L"How does rxvt-unicode choose fonts?\*(R" in the \s-1FAQ\s0 307See also the question \*(L"How does rxvt-unicode choose fonts?\*(R" in the \s-1FAQ\s0
300section of @@RXVT_NAME@@(7). 308section of @@RXVT_NAME@@(7).
301.IP "\fB\-fb\fR \fIfontlist\fR" 4 309.IP "\fB\-fb\fR \fIfontlist\fR" 4
302.IX Item "-fb fontlist" 310.IX Item "-fb fontlist"
303Compile font\-styles: The bold font list to use when bold characters are to 311Compile \fIfont-styles\fR: The bold font list to use when \fBbold\fR characters
304be printed. See resource \fBboldFont\fR for details. 312are to be printed. See resource \fBboldFont\fR for details.
305.IP "\fB\-fi\fR \fIfontlist\fR" 4 313.IP "\fB\-fi\fR \fIfontlist\fR" 4
306.IX Item "-fi fontlist" 314.IX Item "-fi fontlist"
307Compile font\-styles: The italic font list to use when bold characters are to 315Compile \fIfont-styles\fR: The italic font list to use when \fIitalic\fR
308be printed. See resource \fBitalicFont\fR for details. 316characters are to be printed. See resource \fBitalicFont\fR for details.
309.IP "\fB\-fbi\fR \fIfontlist\fR" 4 317.IP "\fB\-fbi\fR \fIfontlist\fR" 4
310.IX Item "-fbi fontlist" 318.IX Item "-fbi fontlist"
311Compile font\-styles: The bold italic font list to use when bold characters are to 319Compile \fIfont-styles\fR: The bold italic font list to use when \fB\f(BIbold
312be printed. See resource \fBboldItalicFont\fR for details. 320italic\fB\fR characters are to be printed. See resource \fBboldItalicFont\fR
321for details.
322.IP "\fB\-is\fR|\fB+is\fR" 4
323.IX Item "-is|+is"
324Compile \fIfont-styles\fR: Bold/Italic font styles imply high intensity
325foreground/background (default). See resource \fBintensityStyles\fR for
326details.
313.IP "\fB\-name\fR \fIname\fR" 4 327.IP "\fB\-name\fR \fIname\fR" 4
314.IX Item "-name name" 328.IX Item "-name name"
315Specify the application name under which resources are to be obtained, 329Specify the application name under which resources are to be obtained,
316rather than the default executable file name. Name should not contain 330rather than the default executable file name. Name should not contain
317`.' or `*' characters. Also sets the icon and title name. 331`.' or `*' characters. Also sets the icon and title name.
379.IP "\fB\-bl\fR" 4 393.IP "\fB\-bl\fR" 4
380.IX Item "-bl" 394.IX Item "-bl"
381Compile \fIfrills\fR: Set \s-1MWM\s0 hints to request a borderless window, i.e. 395Compile \fIfrills\fR: Set \s-1MWM\s0 hints to request a borderless window, i.e.
382if honoured by the \s-1WM\s0, the rxvt-unicode window will not have window 396if honoured by the \s-1WM\s0, the rxvt-unicode window will not have window
383decorations; resource \fBborderLess\fR. 397decorations; resource \fBborderLess\fR.
398.IP "\fB\-override\-redirect\fR" 4
399.IX Item "-override-redirect"
400Compile \fIfrills\fR: Sets override-redirect on the window; resource
401\&\fBoverride-redirect\fR.
402.IP "\fB\-sbg\fR" 4
403.IX Item "-sbg"
404Compile \fIfrills\fR: Disable the usage of the built-in block graphics/line
405drawing characters and just rely on what the specified fonts provide. Use
406this if you have a good font and want to use its block graphic glyphs;
407resource \fBskipBuiltinGlyphs\fR.
384.IP "\fB\-lsp\fR \fInumber\fR" 4 408.IP "\fB\-lsp\fR \fInumber\fR" 4
385.IX Item "-lsp number" 409.IX Item "-lsp number"
386Compile \fIfrills\fR: Lines (pixel height) to insert between each row of 410Compile \fIfrills\fR: Lines (pixel height) to insert between each row of
387the display. Useful to work around font rendering problems; resource 411the display. Useful to work around font rendering problems; resource
388\&\fBlinespace\fR. 412\&\fBlinespace\fR.
404.Sp 428.Sp
405Please note that you must specify a program with arguments. If you want to 429Please note that you must specify a program with arguments. If you want to
406run shell commands, you have to specify the shell, like this: 430run shell commands, you have to specify the shell, like this:
407.Sp 431.Sp
408.Vb 1 432.Vb 1
409\& @@RXVT_NAME@@ -e sh -c "shell commands" 433\& @@RXVT_NAME@@ \-e sh \-c "shell commands"
410.Ve 434.Ve
411.IP "\fB\-title\fR \fItext\fR" 4 435.IP "\fB\-title\fR \fItext\fR" 4
412.IX Item "-title text" 436.IX Item "-title text"
413Window title (\fB\-T\fR still respected); the default title is the basename 437Window title (\fB\-T\fR still respected); the default title is the basename
414of the program specified after the \fB\-e\fR option, if any, otherwise the 438of the program specified after the \fB\-e\fR option, if any, otherwise the
470.IP "\fB\-keysym.\fR\fIsym\fR \fIstring\fR" 4 494.IP "\fB\-keysym.\fR\fIsym\fR \fIstring\fR" 4
471.IX Item "-keysym.sym string" 495.IX Item "-keysym.sym string"
472Remap a key symbol. See resource \fBkeysym\fR. 496Remap a key symbol. See resource \fBkeysym\fR.
473.IP "\fB\-embed\fR \fIwindowid\fR" 4 497.IP "\fB\-embed\fR \fIwindowid\fR" 4
474.IX Item "-embed windowid" 498.IX Item "-embed windowid"
475Tells @@RXVT_NAME@@ to embed it's windows into an already-existing window, 499Tells @@RXVT_NAME@@ to embed its windows into an already-existing window,
476which enables applications to easily embed a terminal. 500which enables applications to easily embed a terminal.
477.Sp 501.Sp
478Right now, @@RXVT_NAME@@ will first unmap/map the specified window, so it 502Right now, @@RXVT_NAME@@ will first unmap/map the specified window, so it
479shouldn't be a top-level window. @@RXVT_NAME@@ will also reconfigure it 503shouldn't be a top-level window. @@RXVT_NAME@@ will also reconfigure it
480quite a bit, so don't expect it to keep some specific state. It's best to 504quite a bit, so don't expect it to keep some specific state. It's best to
483The window will not be destroyed when @@RXVT_NAME@@ exits. 507The window will not be destroyed when @@RXVT_NAME@@ exits.
484.Sp 508.Sp
485It might be useful to know that @@RXVT_NAME@@ will not close file 509It might be useful to know that @@RXVT_NAME@@ will not close file
486descriptors passed to it (except for stdin/out/err, of course), so you 510descriptors passed to it (except for stdin/out/err, of course), so you
487can use file descriptors to communicate with the programs within the 511can use file descriptors to communicate with the programs within the
488terminal. This works regardless of wether the \f(CW\*(C`\-embed\*(C'\fR option was used or 512terminal. This works regardless of whether the \f(CW\*(C`\-embed\*(C'\fR option was used or
489not. 513not.
490.Sp 514.Sp
491Here is a short Gtk2\-perl snippet that illustrates how this option can be 515Here is a short Gtk2\-perl snippet that illustrates how this option can be
492used (a longer example is in \fIdoc/embed\fR): 516used (a longer example is in \fIdoc/embed\fR):
493.Sp 517.Sp
494.Vb 5 518.Vb 5
495\& my $rxvt = new Gtk2::Socket; 519\& my $rxvt = new Gtk2::Socket;
496\& $rxvt->signal_connect_after (realize => sub { 520\& $rxvt\->signal_connect_after (realize => sub {
497\& my $xid = $_[0]->window->get_xid; 521\& my $xid = $_[0]\->window\->get_xid;
498\& system "@@RXVT_NAME@@ -embed $xid &"; 522\& system "@@RXVT_NAME@@ \-embed $xid &";
499\& }); 523\& });
500.Ve 524.Ve
501.IP "\fB\-pty\-fd\fR \fIfileno\fR" 4 525.IP "\fB\-pty\-fd\fR \fIfile descriptor\fR" 4
502.IX Item "-pty-fd fileno" 526.IX Item "-pty-fd file descriptor"
503Tells @@RXVT_NAME@@ \s-1NOT\s0 to execute any commands or create a new pty/tty 527Tells @@RXVT_NAME@@ \s-1NOT\s0 to execute any commands or create a new pty/tty
504pair but instead use the given filehandle as the tty master. This is 528pair but instead use the given file descriptor as the tty master. This is
505useful if you want to drive @@RXVT_NAME@@ as a generic terminal emulator 529useful if you want to drive @@RXVT_NAME@@ as a generic terminal emulator
506without having to run a program within it. 530without having to run a program within it.
507.Sp 531.Sp
508If this switch is given, @@RXVT_NAME@@ will not create any utmp/wtmp 532If this switch is given, @@RXVT_NAME@@ will not create any utmp/wtmp
509entries and will not tinker with pty/tty permissions \- you have to do that 533entries and will not tinker with pty/tty permissions \- you have to do that
510yourself if you want that. 534yourself if you want that.
511.Sp 535.Sp
536As an extremely special case, specifying \f(CW\*(C`\-1\*(C'\fR will completely suppress
537pty/tty operations.
538.Sp
512Here is a example in perl that illustrates how this option can be used (a 539Here is a example in perl that illustrates how this option can be used (a
513longer example is in \fIdoc/pty\-fd\fR): 540longer example is in \fIdoc/pty\-fd\fR):
514.Sp 541.Sp
515.Vb 2 542.Vb 2
516\& use IO::Pty; 543\& use IO::Pty;
517\& use Fcntl; 544\& use Fcntl;
518.Ve 545\&
519.Sp
520.Vb 4
521\& my $pty = new IO::Pty; 546\& my $pty = new IO::Pty;
522\& fcntl $pty, F_SETFD, 0; # clear close-on-exec 547\& fcntl $pty, F_SETFD, 0; # clear close\-on\-exec
523\& system "@@RXVT_NAME@@ -pty-fd " . (fileno $pty) . "&"; 548\& system "@@RXVT_NAME@@ \-pty\-fd " . (fileno $pty) . "&";
524\& close $pty; 549\& close $pty;
525.Ve 550\&
526.Sp
527.Vb 3
528\& # now communicate with rxvt 551\& # now communicate with rxvt
529\& my $slave = $pty->slave; 552\& my $slave = $pty\->slave;
530\& while (<$slave>) { print $slave "got <$_>\en" } 553\& while (<$slave>) { print $slave "got <$_>\en" }
531.Ve 554.Ve
555.IP "\fB\-pe\fR \fIstring\fR" 4
556.IX Item "-pe string"
557Comma-separated list of perl extension scripts to use (or not to use) in
558this terminal instance. See resource \fBperl-ext\fR for details.
532.SH "RESOURCES (available also as long\-options)" 559.SH "RESOURCES (available also as long\-options)"
533.IX Header "RESOURCES (available also as long-options)" 560.IX Header "RESOURCES (available also as long-options)"
534Note: `@@RXVT_NAME@@ \-\-help' gives a list of all resources (long 561Note: `@@RXVT_NAME@@ \-\-help' gives a list of all resources (long
535options) compiled into your version. 562options) compiled into your version.
536.PP 563.PP
537There are two different methods that @@RXVT_NAME@@ can use to get the 564You can set and change the resources using X11 tools like \fBxrdb\fR. Many
538Xresource data: using the X libraries (Xrm*\-functions) or internal 565distribution do also load settings from the \fB~/.Xresources\fR file when X
539Xresources reader (\fB~/.Xdefaults\fR). For the first method (ie. 566starts. @@RXVT_NAME@@ will consult the following files/resources in order,
540\&\fB@@RXVT_NAME@@ \-h\fR lists \fBXGetDefaults\fR), you can set and change the 567with later settings overwriting earlier ones:
541resources using X11 tools like \fBxrdb\fR. Many distribution do also load
542settings from the \fB~/.Xresources\fR file when X starts. @@RXVT_NAME@@
543will consult the following files/resources in order, with later settings
544overwriting earlier ones:
545.PP 568.PP
546.Vb 5 569.Vb 5
547\& 1. system-wide app-defaults file, either locale-dependent OR global 570\& 1. system\-wide app\-defaults file, either locale\-dependent OR global
548\& 2. app-defaults file in $XAPPLRESDIR 571\& 2. app\-defaults file in $XAPPLRESDIR
549\& 3. RESOURCE_MANAGER property on root-window OR $HOME/.Xdefaults 572\& 3. RESOURCE_MANAGER property on root\-window OR $HOME/.Xdefaults
550\& 4. SCREEN_RESOURCES for the current screen 573\& 4. SCREEN_RESOURCES for the current screen
551\& 5. $XENVIRONMENT file OR $HOME/.Xdefaults-<nodename> 574\& 5. $XENVIRONMENT file OR $HOME/.Xdefaults\-<nodename>
552.Ve 575.Ve
553.PP 576.PP
554If compiled with internal Xresources support (i.e. \fB@@RXVT_NAME@@ \-h\fR
555lists \fB.Xdefaults\fR) then \fB@@RXVT_NAME@@\fR accepts application defaults
556set in XAPPLOADDIR/URxvt (compile\-time defined: usually
557\&\fB/usr/lib/X11/app\-defaults/URxvt\fR) and resources set in
558\&\fB~/.Xdefaults\fR, or \fB~/.Xresources\fR if \fB~/.Xdefaults\fR does not exist.
559Note that when reading X resources, \fB@@RXVT_NAME@@\fR recognizes two 577Note that when reading X resources, \fB@@RXVT_NAME@@\fR recognizes two class
560class names: \fBXTerm\fR and \fBURxvt\fR. The class name \fBRxvt\fR allows 578names: \fBRxvt\fR and \fBURxvt\fR. The class name \fBRxvt\fR allows resources
561resources common to both \fB@@RXVT_NAME@@\fR and the original \fIrxvt\fR to be 579common to both \fB@@RXVT_NAME@@\fR and the original \fIrxvt\fR to be easily
562easily configured, while the class name \fBURxvt\fR allows resources 580configured, while the class name \fBURxvt\fR allows resources unique to
563unique to \fB@@RXVT_NAME@@\fR, notably colours and key\-handling, to be 581\&\fB@@RXVT_NAME@@\fR, to be shared between different \fB@@RXVT_NAME@@\fR
564shared between different \fB@@RXVT_NAME@@\fR configurations. If no 582configurations. If no resources are specified, suitable defaults will
565resources are specified, suitable defaults will be used. Command-line 583be used. Command-line arguments can be used to override resource
566arguments can be used to override resource settings. The following 584settings. The following resources are supported (you might want to
567resources are allowed: 585check the @@RXVT_NAME@@\fIperl\fR\|(3) manpage for additional settings by perl
586extensions not documented here):
587.IP "\fBdepth:\fR \fIbitdepth\fR" 4
588.IX Item "depth: bitdepth"
589Compile \fIxft\fR: Attempt to find a visual with the given bit depth;
590option \fB\-depth\fR.
568.IP "\fBgeometry:\fR \fIgeom\fR" 4 591.IP "\fBgeometry:\fR \fIgeom\fR" 4
569.IX Item "geometry: geom" 592.IX Item "geometry: geom"
570Create the window with the specified X window geometry [default 80x24]; 593Create the window with the specified X window geometry [default 80x24];
571option \fB\-geometry\fR. 594option \fB\-geometry\fR.
572.IP "\fBbackground:\fR \fIcolour\fR" 4 595.IP "\fBbackground:\fR \fIcolour\fR" 4
634.IP "\fBinheritPixmap:\fR \fIboolean\fR" 4 657.IP "\fBinheritPixmap:\fR \fIboolean\fR" 4
635.IX Item "inheritPixmap: boolean" 658.IX Item "inheritPixmap: boolean"
636\&\fBTrue\fR: make the background inherit the parent windows' pixmap, giving 659\&\fBTrue\fR: make the background inherit the parent windows' pixmap, giving
637artificial transparency. \fBFalse\fR: do not inherit the parent windows' 660artificial transparency. \fBFalse\fR: do not inherit the parent windows'
638pixmap. 661pixmap.
662.Sp
663\&\fIPlease note that transparency of any kind if completely unsupported by
664the author. Don't bug him with installation questions!\fR
639.IP "\fBfading:\fR \fInumber\fR" 4 665.IP "\fBfading:\fR \fInumber\fR" 4
640.IX Item "fading: number" 666.IX Item "fading: number"
641Fade the text by the given percentage when focus is lost; option \fB\-fade\fR. 667Fade the text by the given percentage when focus is lost; option \fB\-fade\fR.
642.IP "\fBfadeColor:\fR \fIcolour\fR" 4 668.IP "\fBfadeColor:\fR \fIcolour\fR" 4
643.IX Item "fadeColor: colour" 669.IX Item "fadeColor: colour"
671centre (percent). A scale of 0 displays the image with tiling. A scale 697centre (percent). A scale of 0 displays the image with tiling. A scale
672of 1 displays the image without any scaling. A scale of 2 to 9 698of 1 displays the image without any scaling. A scale of 2 to 9
673specifies an integer number of images in that direction. No image will 699specifies an integer number of images in that direction. No image will
674be magnified beyond 10 times its original size. The maximum permitted 700be magnified beyond 10 times its original size. The maximum permitted
675scale is 1000. [default 0x0+50+50] 701scale is 1000. [default 0x0+50+50]
676.IP "\fBmenu:\fR \fIfile[;tag]\fR" 4
677.IX Item "menu: file[;tag]"
678Read in the specified menu file (note the `.menu' extension is
679optional) and also optionally specify a starting tag to find. See the
680reference documentation for details on the syntax for the menuBar.
681.IP "\fBpath:\fR \fIpath\fR" 4 702.IP "\fBpath:\fR \fIpath\fR" 4
682.IX Item "path: path" 703.IX Item "path: path"
683Specify the colon-delimited search path for finding files (\s-1XPM\s0 and 704Specify the colon-delimited search path for finding \s-1XPM\s0 files.
684menus), in addition to the paths specified by the \fB\s-1RXVTPATH\s0\fR and
685\&\fB\s-1PATH\s0\fR environment variables.
686.IP "\fBfont:\fR \fIfontlist\fR" 4 705.IP "\fBfont:\fR \fIfontlist\fR" 4
687.IX Item "font: fontlist" 706.IX Item "font: fontlist"
688Select the fonts to be used. This is a comma separated list of font 707Select the fonts to be used. This is a comma separated list of font names
689names that are used in turn when trying to display Unicode characters. 708that are checked in order when trying to find glyphs for characters. The
690The first font defines the cell size for characters; other fonts might 709first font defines the cell size for characters; other fonts might be
691be smaller, but not larger. A reasonable default font list is always 710smaller, but not (in general) larger. A (hopefully) reasonable default
692appended to it. option \fB\-fn\fR. 711font list is always appended to it; option \fB\-fn\fR.
693.Sp 712.Sp
694Each font can either be a standard X11 core font (\s-1XLFD\s0) name, with 713Each font can either be a standard X11 core font (\s-1XLFD\s0) name, with
695optional prefix \f(CW\*(C`x:\*(C'\fR or a Xft font (Compile \fIxft\fR), prefixed with \f(CW\*(C`xft:\*(C'\fR. 714optional prefix \f(CW\*(C`x:\*(C'\fR or a Xft font (Compile \fIxft\fR), prefixed with \f(CW\*(C`xft:\*(C'\fR.
696.Sp 715.Sp
697In addition, each font can be prefixed with additional hints and 716In addition, each font can be prefixed with additional hints and
700fonts. 719fonts.
701.Sp 720.Sp
702For example, this font resource 721For example, this font resource
703.Sp 722.Sp
704.Vb 5 723.Vb 5
705\& URxvt*font: 9x15bold,\e 724\& URxvt.font: 9x15bold,\e
706\& -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso10646-1,\e 725\& \-misc\-fixed\-bold\-r\-normal\-\-15\-140\-75\-75\-c\-90\-iso10646\-1,\e
707\& -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1, \e 726\& \-misc\-fixed\-medium\-r\-normal\-\-15\-140\-75\-75\-c\-90\-iso10646\-1, \e
708\& [codeset=JISX0208]xft:Kochi Gothic:antialias=false, \e 727\& [codeset=JISX0208]xft:Kochi Gothic:antialias=false, \e
709\& xft:Code2000:antialias=false 728\& xft:Code2000:antialias=false
710.Ve 729.Ve
711.Sp 730.Sp
712specifies five fonts to be used. The first one is \f(CW\*(C`9x15bold\*(C'\fR (actually 731specifies five fonts to be used. The first one is \f(CW\*(C`9x15bold\*(C'\fR (actually
745\&\*(L"morphing\*(R" the normal text font list into the desired shape. If that is 764\&\*(L"morphing\*(R" the normal text font list into the desired shape. If that is
746not possible, replacement fonts of the desired shape will be tried. 765not possible, replacement fonts of the desired shape will be tried.
747.Sp 766.Sp
748If set, but empty, then this specific style is disabled and the normal 767If set, but empty, then this specific style is disabled and the normal
749text font will being used for the given style. 768text font will being used for the given style.
769.IP "\fBintensityStyles:\fR \fIboolean\fR" 4
770.IX Item "intensityStyles: boolean"
771When font styles are not enabled, or this option is enabled (\fBTrue\fR,
772option \fB\-is\fR, the default), bold and italic font styles imply high
773intensity foreground/background colours. Disabling this option (\fBFalse\fR,
774option \fB+is\fR) disables this behaviour, the high intensity colours are not
775reachable.
750.IP "\fBselectstyle:\fR \fImode\fR" 4 776.IP "\fBselectstyle:\fR \fImode\fR" 4
751.IX Item "selectstyle: mode" 777.IX Item "selectstyle: mode"
752Set mouse selection style to \fBold\fR which is 2.20, \fBoldword\fR which is 778Set mouse selection style to \fBold\fR which is 2.20, \fBoldword\fR which is
753xterm style with 2.20 old word selection, or anything else which gives 779xterm style with 2.20 old word selection, or anything else which gives
754xterm style selection. 780xterm style selection.
793The string will be interpreted as if typed into the shell as\-is. 819The string will be interpreted as if typed into the shell as\-is.
794.Sp 820.Sp
795Example: 821Example:
796.Sp 822.Sp
797.Vb 1 823.Vb 1
798\& URxvt*print-pipe: cat > $(TMPDIR=$HOME mktemp urxvt.XXXXXX) 824\& URxvt.print\-pipe: cat > $(TMPDIR=$HOME mktemp urxvt.XXXXXX)
799.Ve 825.Ve
800.Sp 826.Sp
801This creates a new file in your home directory with the screen contents 827This creates a new file in your home directory with the screen contents
802everytime you hit \f(CW\*(C`Print\*(C'\fR. 828every time you hit \f(CW\*(C`Print\*(C'\fR.
803.IP "\fBscrollBar:\fR \fIboolean\fR" 4 829.IP "\fBscrollBar:\fR \fIboolean\fR" 4
804.IX Item "scrollBar: boolean" 830.IX Item "scrollBar: boolean"
805\&\fBTrue\fR: enable the scrollbar [default]; option \fB\-sb\fR. \fBFalse\fR: 831\&\fBTrue\fR: enable the scrollbar [default]; option \fB\-sb\fR. \fBFalse\fR:
806disable the scrollbar; option \fB+sb\fR. 832disable the scrollbar; option \fB+sb\fR.
807.IP "\fBscrollBar_right:\fR \fIboolean\fR" 4 833.IP "\fBscrollBar_right:\fR \fIboolean\fR" 4
823\&\fB+si\fR. 849\&\fB+si\fR.
824.IP "\fBscrollWithBuffer:\fR \fIboolean\fR" 4 850.IP "\fBscrollWithBuffer:\fR \fIboolean\fR" 4
825.IX Item "scrollWithBuffer: boolean" 851.IX Item "scrollWithBuffer: boolean"
826\&\fBTrue\fR: scroll with scrollback buffer when tty receives new lines (and 852\&\fBTrue\fR: scroll with scrollback buffer when tty receives new lines (and
827\&\fBscrollTtyOutput\fR is False); option \fB\-sw\fR. \fBFalse\fR: do not scroll 853\&\fBscrollTtyOutput\fR is False); option \fB\-sw\fR. \fBFalse\fR: do not scroll
828with scrollback buffer when tty recieves new lines; option \fB+sw\fR. 854with scrollback buffer when tty receives new lines; option \fB+sw\fR.
829.IP "\fBscrollTtyKeypress:\fR \fIboolean\fR" 4 855.IP "\fBscrollTtyKeypress:\fR \fIboolean\fR" 4
830.IX Item "scrollTtyKeypress: boolean" 856.IX Item "scrollTtyKeypress: boolean"
831\&\fBTrue\fR: scroll to bottom when a non-special key is pressed. Special keys 857\&\fBTrue\fR: scroll to bottom when a non-special key is pressed. Special keys
832are those which are intercepted by rxvt-unicode for special handling and 858are those which are intercepted by rxvt-unicode for special handling and
833are not passed onto the shell; option \fB\-sk\fR. \fBFalse\fR: do not scroll to 859are not passed onto the shell; option \fB\-sk\fR. \fBFalse\fR: do not scroll to
846option \fB\-w\fR, \fB\-bw\fR, \fB\-borderwidth\fR. 872option \fB\-w\fR, \fB\-bw\fR, \fB\-borderwidth\fR.
847.IP "\fBborderLess:\fR \fIboolean\fR" 4 873.IP "\fBborderLess:\fR \fIboolean\fR" 4
848.IX Item "borderLess: boolean" 874.IX Item "borderLess: boolean"
849Set \s-1MWM\s0 hints to request a borderless window, i.e. if honoured by the 875Set \s-1MWM\s0 hints to request a borderless window, i.e. if honoured by the
850\&\s-1WM\s0, the rxvt-unicode window will not have window decorations; option \fB\-bl\fR. 876\&\s-1WM\s0, the rxvt-unicode window will not have window decorations; option \fB\-bl\fR.
877.IP "\fBskipBuiltinGlyphs:\fR \fIboolean\fR" 4
878.IX Item "skipBuiltinGlyphs: boolean"
879Compile \fIfrills\fR: Disable the usage of the built-in block graphics/line
880drawing characters and just rely on what the specified fonts provide. Use
881this if you have a good font and want to use its block graphic glyphs;
882option \fB\-sbg\fR.
851.IP "\fBtermName:\fR \fItermname\fR" 4 883.IP "\fBtermName:\fR \fItermname\fR" 4
852.IX Item "termName: termname" 884.IX Item "termName: termname"
853Specifies the terminal type name to be set in the \fB\s-1TERM\s0\fR environment 885Specifies the terminal type name to be set in the \fB\s-1TERM\s0\fR environment
854variable; option \fB\-tn\fR. 886variable; option \fB\-tn\fR.
855.IP "\fBlinespace:\fR \fInumber\fR" 4 887.IP "\fBlinespace:\fR \fInumber\fR" 4
898The string to send when the delete key (not the keypad delete key) is 930The string to send when the delete key (not the keypad delete key) is
899pressed. If unset it will send the sequence traditionally associated 931pressed. If unset it will send the sequence traditionally associated
900with the \fBExecute\fR key. 932with the \fBExecute\fR key.
901.IP "\fBcutchars:\fR \fIstring\fR" 4 933.IP "\fBcutchars:\fR \fIstring\fR" 4
902.IX Item "cutchars: string" 934.IX Item "cutchars: string"
903The characters used as delimiters for double-click word selection. The 935The characters used as delimiters for double-click word selection
904built-in default: 936(whitespace delimiting is added automatically if resource is given).
937.Sp
938When the selection extension is in use (the default if compiled in, see
939the @@RXVT_NAME@@\fIperl\fR\|(3) manpage), a suitable regex using these characters
940will be created (if the resource exists, otherwise, no regex will be
941created). In this mode, characters outside \s-1ISO\-8859\-1\s0 can be used.
942.Sp
943When the selection extension is not used, only \s-1ISO\-8859\-1\s0 characters can
944be used. If not specified, the built-in default is used:
905.Sp 945.Sp
906\&\fB\s-1BACKSLASH\s0 `"'&()*,;<=>?@[]{|}\fR 946\&\fB\s-1BACKSLASH\s0 `"'&()*,;<=>?@[]{|}\fR
907.IP "\fBpreeditType:\fR \fIstyle\fR" 4 947.IP "\fBpreeditType:\fR \fIstyle\fR" 4
908.IX Item "preeditType: style" 948.IX Item "preeditType: style"
909\&\fBOverTheSpot\fR, \fBOffTheSpot\fR, \fBRoot\fR; option \fB\-pt\fR. 949\&\fBOverTheSpot\fR, \fBOffTheSpot\fR, \fBRoot\fR; option \fB\-pt\fR.
913.IP "\fBimLocale:\fR \fIname\fR" 4 953.IP "\fBimLocale:\fR \fIname\fR" 4
914.IX Item "imLocale: name" 954.IX Item "imLocale: name"
915The locale to use for opening the \s-1IM\s0. You can use an \f(CW\*(C`LC_CTYPE\*(C'\fR of e.g. 955The locale to use for opening the \s-1IM\s0. You can use an \f(CW\*(C`LC_CTYPE\*(C'\fR of e.g.
916\&\f(CW\*(C`de_DE.UTF\-8\*(C'\fR for normal text processing but \f(CW\*(C`ja_JP.EUC\-JP\*(C'\fR for the 956\&\f(CW\*(C`de_DE.UTF\-8\*(C'\fR for normal text processing but \f(CW\*(C`ja_JP.EUC\-JP\*(C'\fR for the
917input extension to be able to input japanese characters while staying in 957input extension to be able to input japanese characters while staying in
918another locale. option \fB\-imlocale\fR. 958another locale; option \fB\-imlocale\fR.
919.IP "\fBimFont:\fR \fIfontset\fR" 4 959.IP "\fBimFont:\fR \fIfontset\fR" 4
920.IX Item "imFont: fontset" 960.IX Item "imFont: fontset"
921Specify the font-set used for \s-1XIM\s0 styles \f(CW\*(C`OverTheSpot\*(C'\fR or 961Specify the font-set used for \s-1XIM\s0 styles \f(CW\*(C`OverTheSpot\*(C'\fR or
922\&\f(CW\*(C`OffTheSpot\*(C'\fR. It must be a standard X font set (\s-1XLFD\s0 patterns separated 962\&\f(CW\*(C`OffTheSpot\*(C'\fR. It must be a standard X font set (\s-1XLFD\s0 patterns separated
923by commas), i.e. it's not in the same format as the other font lists used 963by commas), i.e. it's not in the same format as the other font lists used
926option \fB\-imfont\fR. 966option \fB\-imfont\fR.
927.IP "\fBtripleclickwords:\fR \fIboolean\fR" 4 967.IP "\fBtripleclickwords:\fR \fIboolean\fR" 4
928.IX Item "tripleclickwords: boolean" 968.IX Item "tripleclickwords: boolean"
929Change the meaning of triple-click selection with the left mouse 969Change the meaning of triple-click selection with the left mouse
930button. Instead of selecting a full line it will extend the selection to 970button. Instead of selecting a full line it will extend the selection to
931the end of the logical line only. option \fB\-tcw\fR. 971the end of the logical line only; option \fB\-tcw\fR.
932.IP "\fBinsecure:\fR \fIboolean\fR" 4 972.IP "\fBinsecure:\fR \fIboolean\fR" 4
933.IX Item "insecure: boolean" 973.IX Item "insecure: boolean"
934Enables \*(L"insecure\*(R" mode. Rxvt-unicode offers some escape sequences that 974Enables \*(L"insecure\*(R" mode. Rxvt-unicode offers some escape sequences that
935echo arbitrary strings like the icon name or the locale. This could be 975echo arbitrary strings like the icon name or the locale. This could be
936abused if somebody gets 8\-bit\-clean access to your display, whether 976abused if somebody gets 8\-bit\-clean access to your display, whether
939default. (Note that many other terminals, including xterm, have these 979default. (Note that many other terminals, including xterm, have these
940sequences enabled by default, which doesn't make it safer, though). 980sequences enabled by default, which doesn't make it safer, though).
941.Sp 981.Sp
942You can enable them by setting this boolean resource or specifying 982You can enable them by setting this boolean resource or specifying
943\&\fB\-insecure\fR as an option. At the moment, this enables display\-answer, 983\&\fB\-insecure\fR as an option. At the moment, this enables display\-answer,
944locale, findfont, icon label and window title requests as well as dynamic 984locale, findfont, icon label and window title requests.
945menubar dispatch.
946.IP "\fBmodifier:\fR \fImodifier\fR" 4 985.IP "\fBmodifier:\fR \fImodifier\fR" 4
947.IX Item "modifier: modifier" 986.IX Item "modifier: modifier"
948Set the key to be interpreted as the Meta key to: \fBalt\fR, \fBmeta\fR, 987Set the key to be interpreted as the Meta key to: \fBalt\fR, \fBmeta\fR,
949\&\fBhyper\fR, \fBsuper\fR, \fBmod1\fR, \fBmod2\fR, \fBmod3\fR, \fBmod4\fR, \fBmod5\fR; option 988\&\fBhyper\fR, \fBsuper\fR, \fBmod1\fR, \fBmod2\fR, \fBmod3\fR, \fBmod4\fR, \fBmod5\fR; option
950\&\fB\-mod\fR. 989\&\fB\-mod\fR.
951.IP "\fBanswerbackString:\fR \fIstring\fR" 4 990.IP "\fBanswerbackString:\fR \fIstring\fR" 4
952.IX Item "answerbackString: string" 991.IX Item "answerbackString: string"
953Specify the reply rxvt-unicode sends to the shell when an \s-1ENQ\s0 (control\-E) 992Specify the reply rxvt-unicode sends to the shell when an \s-1ENQ\s0 (control\-E)
954character is passed through. It may contain escape values as described 993character is passed through. It may contain escape values as described
955in the entry on \fBkeysym\fR following. 994in the entry on \fBkeysym\fR following.
956.IP "\fBsecondaryScreen:\fR \fIbool\fR" 4 995.IP "\fBsecondaryScreen:\fR \fIboolean\fR" 4
957.IX Item "secondaryScreen: bool" 996.IX Item "secondaryScreen: boolean"
958Turn on/off secondary screen (default enabled). 997Turn on/off secondary screen (default enabled).
959.IP "\fBsecondaryScroll:\fR \fIbool\fR" 4 998.IP "\fBsecondaryScroll:\fR \fIboolean\fR" 4
960.IX Item "secondaryScroll: bool" 999.IX Item "secondaryScroll: boolean"
961Turn on/off secondary screen scroll (default enabled). If the this 1000Turn on/off secondary screen scroll (default enabled). If the this
962option is enabled, scrolls on the secondary screen will change the 1001option is enabled, scrolls on the secondary screen will change the
963scrollback buffer and switching to/from the secondary screen will 1002scrollback buffer and switching to/from the secondary screen will
964instead scroll the screen up. 1003instead scroll the screen up.
965.IP "\fBhold\fR: \fIbool\fR" 4 1004.IP "\fBhold\fR: \fIboolean\fR" 4
966.IX Item "hold: bool" 1005.IX Item "hold: boolean"
967Turn on/off hold window after exit support. If enabled, @@RXVT_NAME@@ 1006Turn on/off hold window after exit support. If enabled, @@RXVT_NAME@@
968will not immediately destroy its window when the program executed within 1007will not immediately destroy its window when the program executed within
969it exits. Instead, it will wait till it is being killed or closed by the 1008it exits. Instead, it will wait till it is being killed or closed by the
970user. 1009user.
971.IP "\fBkeysym.\fR\fIsym\fR: \fIstring\fR" 4 1010.IP "\fBkeysym.\fR\fIsym\fR: \fIstring\fR" 4
994\&\f(CW\*(C`\ee\*(C'\fR, \f(CW\*(C`\eE\*(C'\fR: escape, \f(CW\*(C`\en\*(C'\fR: newline, \f(CW\*(C`\er\*(C'\fR: carriage return, \f(CW\*(C`\et\*(C'\fR: tab, 1033\&\f(CW\*(C`\ee\*(C'\fR, \f(CW\*(C`\eE\*(C'\fR: escape, \f(CW\*(C`\en\*(C'\fR: newline, \f(CW\*(C`\er\*(C'\fR: carriage return, \f(CW\*(C`\et\*(C'\fR: tab,
995\&\f(CW\*(C`\e000\*(C'\fR: octal number) or verbatim control characters (\f(CW\*(C`^?\*(C'\fR: delete, 1034\&\f(CW\*(C`\e000\*(C'\fR: octal number) or verbatim control characters (\f(CW\*(C`^?\*(C'\fR: delete,
996\&\f(CW\*(C`^@\*(C'\fR: null, \f(CW\*(C`^A\*(C'\fR ...) and may be enclosed with double quotes so that it 1035\&\f(CW\*(C`^@\*(C'\fR: null, \f(CW\*(C`^A\*(C'\fR ...) and may be enclosed with double quotes so that it
997can start or end with whitespace. 1036can start or end with whitespace.
998.Sp 1037.Sp
999Please note that you need to double the \f(CW\*(C`\e\*(C'\fR when using 1038Please note that you need to double the \f(CW\*(C`\e\*(C'\fR in resource files, as
1000\&\f(CW\*(C`\-\-enable\-xgetdefault\*(C'\fR, as X itself does it's own de-escaping (you can 1039Xlib itself does its own de-escaping (you can use \f(CW\*(C`\e033\*(C'\fR instead of
1001use \f(CW\*(C`\e033\*(C'\fR instead of \f(CW\*(C`\ee\*(C'\fR (and so on), which will work with both Xt and 1040\&\f(CW\*(C`\ee\*(C'\fR (and so on), which will work with both Xt and @@RXVT_NAME@@'s own
1002@@RXVT_NAME@@'s own processing). 1041processing).
1003.Sp 1042.Sp
1004You can define a range of keysyms in one shot by providing a \fIstring\fR 1043You can define a range of keysyms in one shot by providing a \fIstring\fR
1005with pattern \fBlist/PREFIX/MIDDLE/SUFFIX\fR, where the delimeter `/' 1044with pattern \fBlist/PREFIX/MIDDLE/SUFFIX\fR, where the delimiter `/'
1006should be a character not used by the strings. 1045should be a character not used by the strings.
1007.Sp 1046.Sp
1008Its usage can be demonstrated by an example: 1047Its usage can be demonstrated by an example:
1009.Sp 1048.Sp
1010.Vb 1 1049.Vb 1
1011\& URxvt.keysym.M-C-0x61: list|\e033<M-C-|abc|> 1050\& URxvt.keysym.M\-C\-0x61: list|\e033<M\-C\-|abc|>
1012.Ve 1051.Ve
1013.Sp 1052.Sp
1014The above line is equivalent to the following three lines: 1053The above line is equivalent to the following three lines:
1015.Sp 1054.Sp
1016.Vb 3 1055.Vb 3
1017\& URxvt.keysym.Meta-Control-0x61: \e033<M-C-a> 1056\& URxvt.keysym.Meta\-Control\-0x61: \e033<M\-C\-a>
1018\& URxvt.keysym.Meta-Control-0x62: \e033<M-C-b> 1057\& URxvt.keysym.Meta\-Control\-0x62: \e033<M\-C\-b>
1019\& URxvt.keysym.Meta-Control-0x63: \e033<M-C-c> 1058\& URxvt.keysym.Meta\-Control\-0x63: \e033<M\-C\-c>
1020.Ve 1059.Ve
1021.Sp 1060.Sp
1022If \fIstring\fR takes the form of \f(CW\*(C`command:STRING\*(C'\fR, the specified \fB\s-1STRING\s0\fR 1061If \fIstring\fR takes the form of \f(CW\*(C`command:STRING\*(C'\fR, the specified \fB\s-1STRING\s0\fR
1023is interpreted and executed as @@RXVT_NAME@@'s control sequence. For 1062is interpreted and executed as @@RXVT_NAME@@'s control sequence. For
1024example the following means "change the current locale to \f(CW\*(C`zh_CN.GBK\*(C'\fR 1063example the following means "change the current locale to \f(CW\*(C`zh_CN.GBK\*(C'\fR
1025when Control-Meta-c is being pressed": 1064when Control-Meta-c is being pressed":
1026.Sp 1065.Sp
1027.Vb 1 1066.Vb 1
1028\& URxvt.keysym.M-C-c: command:\e033]701;zh_CN.GBK\e007 1067\& URxvt.keysym.M\-C\-c: command:\e033]701;zh_CN.GBK\e007
1068.Ve
1069.Sp
1070If \fIstring\fR takes the form \f(CW\*(C`perl:STRING\*(C'\fR, then the specified \fB\s-1STRING\s0\fR
1071is passed to the \f(CW\*(C`on_keyboard_command\*(C'\fR perl handler. See the @@RXVT_NAME@@\fIperl\fR\|(3)
1072manpage. For example, the \fIselection\fR extension (activated via
1073\&\f(CW\*(C`@@RXVT_NAME@@ \-pe selection\*(C'\fR) listens for \f(CW\*(C`selection:rot13\*(C'\fR events:
1074.Sp
1075.Vb 1
1076\& URxvt.keysym.M\-C\-c: perl:selection:rot13
1029.Ve 1077.Ve
1030.Sp 1078.Sp
1031Due the the large number of modifier combinations, a defined key mapping 1079Due the the large number of modifier combinations, a defined key mapping
1032will match if at \fIat least\fR the specified identifiers are being set, and 1080will match if at \fIat least\fR the specified identifiers are being set, and
1033no other key mappings with those and more bits are being defined. That 1081no other key mappings with those and more bits are being defined. That
1040\&\f(CW\*(C`Shift\-Insert\*(C'\fR mapping. To re-enable that, you can poke \*(L"holes\*(R" into the 1088\&\f(CW\*(C`Shift\-Insert\*(C'\fR mapping. To re-enable that, you can poke \*(L"holes\*(R" into the
1041user-defined keymap using the \f(CW\*(C`builtin:\*(C'\fR replacement: 1089user-defined keymap using the \f(CW\*(C`builtin:\*(C'\fR replacement:
1042.Sp 1090.Sp
1043.Vb 2 1091.Vb 2
1044\& URxvt.keysym.Insert: <my insert key sequence> 1092\& URxvt.keysym.Insert: <my insert key sequence>
1045\& URxvt.keysym.S-Insert: builtin: 1093\& URxvt.keysym.S\-Insert: builtin:
1046.Ve 1094.Ve
1047.Sp 1095.Sp
1048The first line defines a mapping for \f(CW\*(C`Insert\*(C'\fR and \fIany\fR combination 1096The first line defines a mapping for \f(CW\*(C`Insert\*(C'\fR and \fIany\fR combination
1049of modifiers. The second line re-establishes the default mapping for 1097of modifiers. The second line re-establishes the default mapping for
1050\&\f(CW\*(C`Shift\-Insert\*(C'\fR. 1098\&\f(CW\*(C`Shift\-Insert\*(C'\fR.
1052The following example will map Control\-Meta\-1 and Control\-Meta\-2 to 1100The following example will map Control\-Meta\-1 and Control\-Meta\-2 to
1053the fonts \f(CW\*(C`suxuseuro\*(C'\fR and \f(CW\*(C`9x15bold\*(C'\fR, so you can have some limited 1101the fonts \f(CW\*(C`suxuseuro\*(C'\fR and \f(CW\*(C`9x15bold\*(C'\fR, so you can have some limited
1054font-switching at runtime: 1102font-switching at runtime:
1055.Sp 1103.Sp
1056.Vb 2 1104.Vb 2
1057\& URxvt.keysym.M-C-1: command:\e033]50;suxuseuro\e007 1105\& URxvt.keysym.M\-C\-1: command:\e033]50;suxuseuro\e007
1058\& URxvt.keysym.M-C-2: command:\e033]50;9x15bold\e007 1106\& URxvt.keysym.M\-C\-2: command:\e033]50;9x15bold\e007
1059.Ve 1107.Ve
1060.Sp 1108.Sp
1061Other things are possible, e.g. resizing (see @@RXVT_NAME@@(7) for more 1109Other things are possible, e.g. resizing (see @@RXVT_NAME@@(7) for more
1062info): 1110info):
1063.Sp 1111.Sp
1064.Vb 2 1112.Vb 2
1065\& URxvt.keysym.M-C-3: command:\e033[8;25;80t 1113\& URxvt.keysym.M\-C\-3: command:\e033[8;25;80t
1066\& URxvt.keysym.M-C-4: command:\e033[8;48;110t 1114\& URxvt.keysym.M\-C\-4: command:\e033[8;48;110t
1067.Ve 1115.Ve
1116.IP "\fBperl-ext-common\fR: \fIstring\fR" 4
1117.IX Item "perl-ext-common: string"
1118.PD 0
1119.IP "\fBperl-ext\fR: \fIstring\fR" 4
1120.IX Item "perl-ext: string"
1121.PD
1122Comma-separated list(s) of perl extension scripts (default: \f(CW\*(C`default\*(C'\fR) to
1123use in this terminal instance; option \fB\-pe\fR.
1124.Sp
1125Extension names can be prefixed with a \f(CW\*(C`\-\*(C'\fR sign to prohibit using
1126them. This can be useful to selectively disable some extensions loaded
1127by default, or specified via the \f(CW\*(C`perl\-ext\-common\*(C'\fR resource. For
1128example, \f(CW\*(C`default,\-selection\*(C'\fR will use all the default extension except
1129\&\f(CW\*(C`selection\*(C'\fR.
1130.Sp
1131Extension names can also be followed by an argument in angle brackets
1132(e.g. \f(CW\*(C`searchable\-scrollback<M\-s>\*(C'\fR, which binds the hotkey for
1133searchable scrollback to Alt/Meta\-s). Mentioning the same extension
1134multiple times with different arguments will pass multiple arguments to
1135the extension.
1136.Sp
1137Each extension is looked up in the library directories, loaded if
1138necessary, and bound to the current terminal instance.
1139.Sp
1140If both of these resources are the empty string, then the perl
1141interpreter will not be initialized. The idea behind two options is that
1142\&\fBperl-ext-common\fR will be used for extensions that should be available to
1143all instances, while \fBperl-ext\fR is used for specific instances.
1144.IP "\fBperl-eval\fR: \fIstring\fR" 4
1145.IX Item "perl-eval: string"
1146Perl code to be evaluated when all extensions have been registered. See
1147the @@RXVT_NAME@@\fIperl\fR\|(3) manpage. Due to security reasons, this resource
1148will be ignored when running setuid/setgid.
1149.IP "\fBperl-lib\fR: \fIpath\fR" 4
1150.IX Item "perl-lib: path"
1151Colon-separated list of additional directories that hold extension
1152scripts. When looking for extensions specified by the \f(CW\*(C`perl\*(C'\fR resource,
1153@@RXVT_NAME@@ will first look in these directories and then in
1154\&\fI@@RXVT_LIBDIR@@/urxvt/perl/\fR. Due to security reasons, this resource
1155will be ignored when running setuid/setgid.
1156.Sp
1157See the @@RXVT_NAME@@\fIperl\fR\|(3) manpage.
1158.IP "\fBselection.pattern\-\f(BIidx\fB\fR: \fIperl-regex\fR" 4
1159.IX Item "selection.pattern-idx: perl-regex"
1160Additional selection patterns, see the @@RXVT_NAME@@\fIperl\fR\|(3) manpage for
1161details.
1162.IP "\fBselection\-autotransform.\f(BIidx\fB\fR: \fIperl-transform\fR" 4
1163.IX Item "selection-autotransform.idx: perl-transform"
1164Selection auto-transform patterns, see the @@RXVT_NAME@@\fIperl\fR\|(3) manpage
1165for details.
1166.IP "\fBsearchable\-scrollback:\fR \fIkeysym\fR" 4
1167.IX Item "searchable-scrollback: keysym"
1168Sets the hotkey that starts the incremental scrollback buffer search
1169(default: \f(CW\*(C`M\-s\*(C'\fR).
1170.IP "\fBurlLauncher\fR: \fIstring\fR" 4
1171.IX Item "urlLauncher: string"
1172Specifies the program to be started with a \s-1URL\s0 argument. Used by the
1173\&\f(CW\*(C`selection\-popup\*(C'\fR and \f(CW\*(C`mark\-urls\*(C'\fR perl extensions.
1174.IP "\fBtransient-for\fR: \fIwindowid\fR" 4
1175.IX Item "transient-for: windowid"
1176Compile \fIfrills\fR: Sets the \s-1WM_TRANSIENT_FOR\s0 property to the given window id.
1177.IP "\fBoverride-redirect\fR: \fIboolean\fR" 4
1178.IX Item "override-redirect: boolean"
1179Compile \fIfrills\fR: Sets override-redirect for the terminal window, making
1180it almost invisible to window managers; option \fB\-override\-redirect\fR.
1068.SH "THE SCROLLBAR" 1181.SH "THE SCROLLBAR"
1069.IX Header "THE SCROLLBAR" 1182.IX Header "THE SCROLLBAR"
1070Lines of text that scroll off the top of the \fB@@RXVT_NAME@@\fR window 1183Lines of text that scroll off the top of the \fB@@RXVT_NAME@@\fR window
1071(resource: \fBsaveLines\fR) and can be scrolled back using the scrollbar 1184(resource: \fBsaveLines\fR) and can be scrolled back using the scrollbar
1072or by keystrokes. The normal \fB@@RXVT_NAME@@\fR scrollbar has arrows and 1185or by keystrokes. The normal \fB@@RXVT_NAME@@\fR scrollbar has arrows and
1099to select a word; Left triple-click to select the entire logical line 1212to select a word; Left triple-click to select the entire logical line
1100(which can span multiple screen lines), unless modified by resource 1213(which can span multiple screen lines), unless modified by resource
1101\&\fBtripleclickwords\fR. 1214\&\fBtripleclickwords\fR.
1102.Sp 1215.Sp
1103Starting a selection while pressing the \fBMeta\fR key (or \fBMeta+Ctrl\fR keys) 1216Starting a selection while pressing the \fBMeta\fR key (or \fBMeta+Ctrl\fR keys)
1104(Compile: \fIfrills\fR) will create a rectangular selection instead of a normal 1217(Compile: \fIfrills\fR) will create a rectangular selection instead of a
1105one. 1218normal one. In this mode, every selected row becomes its own line in the
1219selection, and trailing whitespace is visually underlined and removed from
1220the selection.
1106.IP "\fBInsertion\fR:" 4 1221.IP "\fBInsertion\fR:" 4
1107.IX Item "Insertion:" 1222.IX Item "Insertion:"
1108Pressing and releasing the Middle mouse button (or \fBShift-Insert\fR) in 1223Pressing and releasing the Middle mouse button in an \fB@@RXVT_NAME@@\fR
1109an \fB@@RXVT_NAME@@\fR window causes the current text selection to be 1224window causes the value of the \s-1PRIMARY\s0 selection (or \s-1CLIPBOARD\s0 with the
1110inserted as if it had been typed on the keyboard. 1225Meta modifier) to be inserted as if it had been typed on the keyboard.
1226.Sp
1227Pressing \fBShift-Insert\fR causes the value of the \s-1PRIMARY\s0 selection to be
1228inserted too.
1111.SH "CHANGING FONTS" 1229.SH "CHANGING FONTS"
1112.IX Header "CHANGING FONTS" 1230.IX Header "CHANGING FONTS"
1113Changing fonts (or font sizes, respectively) via the keypad is not yet 1231Changing fonts (or font sizes, respectively) via the keypad is not yet
1114supported in rxvt\-unicode. Bug me if you need this. 1232supported in rxvt\-unicode. Bug me if you need this.
1115.PP 1233.PP
1116You can, however, switch fonts at runtime using escape sequences (and 1234You can, however, switch fonts at runtime using escape sequences, e.g.:
1117therefore using the menubar), e.g.:
1118.PP 1235.PP
1119.Vb 1 1236.Vb 1
1120\& printf '\ee]710;%s\e007' "9x15bold,xft:Kochi Gothic" 1237\& printf '\ee]710;%s\e007' "9x15bold,xft:Kochi Gothic"
1238.Ve
1239.PP
1240You can use keyboard shortcuts, too:
1241.PP
1242.Vb 2
1243\& URxvt.keysym.M\-C\-1: command:\e033]710;suxuseuro\e007\e033]711;suxuseuro\e007
1244\& URxvt.keysym.M\-C\-2: command:\e033]710;9x15bold\e007\e033]711;9x15bold\e007
1121.Ve 1245.Ve
1122.PP 1246.PP
1123rxvt-unicode will automatically re-apply these fonts to the output so far. 1247rxvt-unicode will automatically re-apply these fonts to the output so far.
1124.SH "ISO 14755 SUPPORT" 1248.SH "ISO 14755 SUPPORT"
1125.IX Header "ISO 14755 SUPPORT" 1249.IX Header "ISO 14755 SUPPORT"
1126\&\s-1ISO\s0 14755 is a standard for entering and viewing unicode characters 1250\&\s-1ISO\s0 14755 is a standard for entering and viewing unicode characters
1127and character codes using the keyboard. It consists of 4 parts. The 1251and character codes using the keyboard. It consists of 4 parts. The
1128first part is available rxvt-unicode has been compiled with 1252first part is available rxvt-unicode has been compiled with
1129\&\f(CW\*(C`\-\-enable\-frills\*(C'\fR, the rest is available when rxvt-unicode was compiled 1253\&\f(CW\*(C`\-\-enable\-frills\*(C'\fR, the rest is available when rxvt-unicode was compiled
1130with \f(CW\*(C`\-\-enable\-iso14755\*(C'\fR. 1254with \f(CW\*(C`\-\-enable\-iso14755\*(C'\fR.
1255.IP "\(bu" 4
1131.IP "* 5.1: Basic method" 4 12565.1: Basic method
1132.IX Item "5.1: Basic method" 1257.Sp
1133This allows you to enter unicode characters using their hexcode. 1258This allows you to enter unicode characters using their hexcode.
1134.Sp 1259.Sp
1135Start by pressing and holding both \f(CW\*(C`Control\*(C'\fR and \f(CW\*(C`Shift\*(C'\fR, then enter 1260Start by pressing and holding both \f(CW\*(C`Control\*(C'\fR and \f(CW\*(C`Shift\*(C'\fR, then enter
1136hex-digits (between one and six). Releasing \f(CW\*(C`Control\*(C'\fR and \f(CW\*(C`Shift\*(C'\fR will 1261hex-digits (between one and six). Releasing \f(CW\*(C`Control\*(C'\fR and \f(CW\*(C`Shift\*(C'\fR will
1137commit the character as if it were typed directly. While holding down 1262commit the character as if it were typed directly. While holding down
1142As an example of use, imagine a business card with a japanese e\-mail 1267As an example of use, imagine a business card with a japanese e\-mail
1143address, which you cannot type. Fortunately, the card has the e\-mail 1268address, which you cannot type. Fortunately, the card has the e\-mail
1144address printed as hexcodes, e.g. \f(CW\*(C`671d 65e5\*(C'\fR. You can enter this easily 1269address printed as hexcodes, e.g. \f(CW\*(C`671d 65e5\*(C'\fR. You can enter this easily
1145by pressing \f(CW\*(C`Control\*(C'\fR and \f(CW\*(C`Shift\*(C'\fR, followed by \f(CW\*(C`6\-7\-1\-D\-SPACE\-6\-5\-E\-5\*(C'\fR, 1270by pressing \f(CW\*(C`Control\*(C'\fR and \f(CW\*(C`Shift\*(C'\fR, followed by \f(CW\*(C`6\-7\-1\-D\-SPACE\-6\-5\-E\-5\*(C'\fR,
1146followed by releasing the modifier keys. 1271followed by releasing the modifier keys.
1272.IP "\(bu" 4
1147.IP "* 5.2: Keyboard symbols entry method" 4 12735.2: Keyboard symbols entry method
1148.IX Item "5.2: Keyboard symbols entry method" 1274.Sp
1149This mode lets you input characters representing the keycap symbols of 1275This mode lets you input characters representing the keycap symbols of
1150your keyboard, if representable in the current locale encoding. 1276your keyboard, if representable in the current locale encoding.
1151.Sp 1277.Sp
1152Start by pressing \f(CW\*(C`Control\*(C'\fR and \f(CW\*(C`Shift\*(C'\fR together, then releasing 1278Start by pressing \f(CW\*(C`Control\*(C'\fR and \f(CW\*(C`Shift\*(C'\fR together, then releasing
1153them. The next special key (cursor keys, home etc.) you enter will not 1279them. The next special key (cursor keys, home etc.) you enter will not
1154invoke it's usual function but instead will insert the corresponding 1280invoke its usual function but instead will insert the corresponding
1155keycap symbol. The symbol will only be entered when the key has been 1281keycap symbol. The symbol will only be entered when the key has been
1156released, otherwise pressing e.g. \f(CW\*(C`Shift\*(C'\fR would enter the symbol for 1282released, otherwise pressing e.g. \f(CW\*(C`Shift\*(C'\fR would enter the symbol for
1157\&\f(CW\*(C`ISO Level 2 Switch\*(C'\fR, although your intention might have been to enter a 1283\&\f(CW\*(C`ISO Level 2 Switch\*(C'\fR, although your intention might have been to enter a
1158reverse tab (Shift\-Tab). 1284reverse tab (Shift\-Tab).
1285.IP "\(bu" 4
1159.IP "* 5.3: Screen-selection entry method" 4 12865.3: Screen-selection entry method
1160.IX Item "5.3: Screen-selection entry method" 1287.Sp
1161While this is implemented already (it's basically the selection 1288While this is implemented already (it's basically the selection
1162mechanism), it could be extended by displaying a unicode character map. 1289mechanism), it could be extended by displaying a unicode character map.
1290.IP "\(bu" 4
1163.IP "* 5.4: Feedback method for identifying displayed characters for later input" 4 12915.4: Feedback method for identifying displayed characters for later input
1164.IX Item "5.4: Feedback method for identifying displayed characters for later input" 1292.Sp
1165This method lets you display the unicode character code associated with 1293This method lets you display the unicode character code associated with
1166characters already displayed. 1294characters already displayed.
1167.Sp 1295.Sp
1168You enter this mode by holding down \f(CW\*(C`Control\*(C'\fR and \f(CW\*(C`Shift\*(C'\fR together, then 1296You enter this mode by holding down \f(CW\*(C`Control\*(C'\fR and \f(CW\*(C`Shift\*(C'\fR together, then
1169pressing and holding the left mouse button and moving around. The unicode 1297pressing and holding the left mouse button and moving around. The unicode
1186.SH "COLORS AND GRAPHICS" 1314.SH "COLORS AND GRAPHICS"
1187.IX Header "COLORS AND GRAPHICS" 1315.IX Header "COLORS AND GRAPHICS"
1188In addition to the default foreground and background colours, 1316In addition to the default foreground and background colours,
1189\&\fB@@RXVT_NAME@@\fR can display up to 16 colours (8 \s-1ANSI\s0 colours plus 1317\&\fB@@RXVT_NAME@@\fR can display up to 16 colours (8 \s-1ANSI\s0 colours plus
1190high-intensity bold/blink versions of the same). Here is a list of the 1318high-intensity bold/blink versions of the same). Here is a list of the
1191colours with their \fBrgb.txt\fR names. 1319colours with their names.
1192.TS 1320.TS
1193l l l . 1321l l l .
1194color0 (black) = Black 1322color0 (black) = Black
1195color1 (red) = Red3 1323color1 (red) = Red3
1196color2 (green) = Green3 1324color2 (green) = Green3
1208color14 (bright cyan) = Cyan 1336color14 (bright cyan) = Cyan
1209color15 (bright white) = White 1337color15 (bright white) = White
1210foreground = Black 1338foreground = Black
1211background = White 1339background = White
1212.TE 1340.TE
1213
1214.PP 1341.PP
1215It is also possible to specify the colour values of \fBforeground\fR, 1342It is also possible to specify the colour values of \fBforeground\fR,
1216\&\fBbackground\fR, \fBcursorColor\fR, \fBcursorColor2\fR, \fBcolorBD\fR, \fBcolorUL\fR as 1343\&\fBbackground\fR, \fBcursorColor\fR, \fBcursorColor2\fR, \fBcolorBD\fR, \fBcolorUL\fR as
1217a number 0\-15, as a convenient shorthand to reference the colour name of 1344a number 0\-15, as a convenient shorthand to reference the colour name of
1218color0\-color15. 1345color0\-color15.
1346.PP
1347In addition to the colours defined above, @@RXVT_NAME@@ offers an
1348additional 72 colours. The first 64 of those (with indices 16 to 79)
1349consist of a 4*4*4 \s-1RGB\s0 colour cube (i.e. \fIindex = r * 16 + g * 4 + b +
135016\fR), followed by 8 additional shades of gray (with indices 80 to 87).
1351.PP
1352Together, all those colours implement the 88 colour xterm colours. Only
1353the first 16 can be changed using resources currently, the rest can only
1354be changed via command sequences (\*(L"escape codes\*(R").
1219.PP 1355.PP
1220Note that \fB\-rv\fR (\fB\*(L"reverseVideo: True\*(R"\fR) simulates reverse video by 1356Note that \fB\-rv\fR (\fB\*(L"reverseVideo: True\*(R"\fR) simulates reverse video by
1221always swapping the foreground/background colours. This is in contrast to 1357always swapping the foreground/background colours. This is in contrast to
1222\&\fIxterm\fR(1) where the colours are only swapped if they have not otherwise 1358\&\fIxterm\fR(1) where the colours are only swapped if they have not otherwise
1223been specified. For example, 1359been specified. For example,
1224.IP "\fB@@RXVT_NAME@@ \-fg Black \-bg White \-rv\fR" 4 1360.IP "\fB@@RXVT_NAME@@ \-fg Black \-bg White \-rv\fR" 4
1225.IX Item "@@RXVT_NAME@@ -fg Black -bg White -rv" 1361.IX Item "@@RXVT_NAME@@ -fg Black -bg White -rv"
1226would yield White on Black, while on \fIxterm\fR(1) it would yield Black 1362would yield White on Black, while on \fIxterm\fR(1) it would yield Black
1227on White. 1363on White.
1364.Sh "\s-1ALPHA\s0 \s-1CHANNEL\s0 \s-1SUPPORT\s0"
1365.IX Subsection "ALPHA CHANNEL SUPPORT"
1366If Xft support has been compiled in and as long as Xft/Xrender/X don't get
1367their act together, rxvt-unicode will support \f(CW\*(C`rgba:rrrr/gggg/bbbb/aaaa\*(C'\fR
1368(recommended, but \fB\s-1MUST\s0\fR have 4 digits/component) colour specifications,
1369in addition to the ones provided by X, where the additional A component
1370specifies opacity (alpha) values. The minimum value of \f(CW0\fR is completely
1371transparent). You can also prefix any color with \f(CW\*(C`[a]\*(C'\fR, where \f(CW\*(C`a\*(C'\fR is on
1372to four hex digits specifiying the opacity value.
1373.PP
1374You probably need to specify \fB\*(L"\-depth 32\*(R"\fR, too, and have the luck that
1375your X\-server uses \s-1ARGB\s0 pixel layout, as X is far from just supporting
1376\&\s-1ARGB\s0 visuals out of the box, and rxvt-unicode just fudges around.
1377.PP
1378For example, the following selects an almost completely transparent red
1379background, and an almost opaque pink foreground:
1380.PP
1381.Vb 1
1382\& @@RXVT_NAME@@ \-depth 32 \-bg rgba:0000/0000/0000/2222 \-fg "[e]pink"
1383.Ve
1384.PP
1385\&\fIPlease note that transparency of any kind if completely unsupported by
1386the author. Don't bug him with installation questions!\fR
1228.SH "ENVIRONMENT" 1387.SH "ENVIRONMENT"
1229.IX Header "ENVIRONMENT" 1388.IX Header "ENVIRONMENT"
1230\&\fB@@RXVT_NAME@@\fR sets and/or uses the following environment variables: 1389\&\fB@@RXVT_NAME@@\fR sets and/or uses the following environment variables:
1231.IP "\fB\s-1TERM\s0\fR" 4 1390.IP "\fB\s-1TERM\s0\fR" 4
1232.IX Item "TERM" 1391.IX Item "TERM"
1233Normally set to \f(CW\*(C`rxvt\-unicode\*(C'\fR, unless overwritten at configure time, via 1392Normally set to \f(CW\*(C`rxvt\-unicode\*(C'\fR, unless overwritten at configure time, via
1234resources or on the commandline. 1393resources or on the command line.
1235.IP "\fB\s-1COLORTERM\s0\fR" 4 1394.IP "\fB\s-1COLORTERM\s0\fR" 4
1236.IX Item "COLORTERM" 1395.IX Item "COLORTERM"
1237Either \f(CW\*(C`rxvt\*(C'\fR, \f(CW\*(C`rxvt\-xpm\*(C'\fR, depending on wether @@RXVT_NAME@@ was 1396Either \f(CW\*(C`rxvt\*(C'\fR, \f(CW\*(C`rxvt\-xpm\*(C'\fR, depending on whether @@RXVT_NAME@@ was
1238compiled with \s-1XPM\s0 support, and optionally with the added extension 1397compiled with \s-1XPM\s0 support, and optionally with the added extension
1239\&\f(CW\*(C`\-mono\*(C'\fR to indicate that rxvt-unicode runs on a monochrome screen. 1398\&\f(CW\*(C`\-mono\*(C'\fR to indicate that rxvt-unicode runs on a monochrome screen.
1240.IP "\fB\s-1COLORFGBG\s0\fR" 4 1399.IP "\fB\s-1COLORFGBG\s0\fR" 4
1241.IX Item "COLORFGBG" 1400.IX Item "COLORFGBG"
1242Set to a string of the form \f(CW\*(C`fg;bg\*(C'\fR or \f(CW\*(C`fg;xpm;bg\*(C'\fR, where \f(CW\*(C`fg\*(C'\fR is 1401Set to a string of the form \f(CW\*(C`fg;bg\*(C'\fR or \f(CW\*(C`fg;xpm;bg\*(C'\fR, where \f(CW\*(C`fg\*(C'\fR is
1256Set to the terminfo directory iff @@RXVT_NAME@@ was configured with 1415Set to the terminfo directory iff @@RXVT_NAME@@ was configured with
1257\&\f(CW\*(C`\-\-with\-terminfo=PATH\*(C'\fR. 1416\&\f(CW\*(C`\-\-with\-terminfo=PATH\*(C'\fR.
1258.IP "\fB\s-1DISPLAY\s0\fR" 4 1417.IP "\fB\s-1DISPLAY\s0\fR" 4
1259.IX Item "DISPLAY" 1418.IX Item "DISPLAY"
1260Used by @@RXVT_NAME@@ to connect to the display and set to the correct 1419Used by @@RXVT_NAME@@ to connect to the display and set to the correct
1261display in it's child processes. 1420display in its child processes.
1262.IP "\fB\s-1SHELL\s0\fR" 4 1421.IP "\fB\s-1SHELL\s0\fR" 4
1263.IX Item "SHELL" 1422.IX Item "SHELL"
1264The shell to be used for command execution, defaults to \f(CW\*(C`/bin/sh\*(C'\fR. 1423The shell to be used for command execution, defaults to \f(CW\*(C`/bin/sh\*(C'\fR.
1265.IP "\fB\s-1RXVTPATH\s0\fR" 4
1266.IX Item "RXVTPATH"
1267The path where @@RXVT_NAME@@ looks for support files such as menu and xpm
1268files.
1269.IP "\fB\s-1PATH\s0\fR" 4
1270.IX Item "PATH"
1271Used in the same way as \f(CW\*(C`RXVTPATH\*(C'\fR.
1272.IP "\fB\s-1RXVT_SOCKET\s0\fR" 4 1424.IP "\fB\s-1RXVT_SOCKET\s0\fR" 4
1273.IX Item "RXVT_SOCKET" 1425.IX Item "RXVT_SOCKET"
1274The unix domain socket path used by @@RXVT_NAME@@c(1) and 1426The unix domain socket path used by @@RXVT_NAME@@c(1) and
1275@@RXVT_NAME@@d(1). 1427@@RXVT_NAME@@d(1).
1276.Sp 1428.Sp
1277Default \fI$HOME/.rxvt\-unicode\-\fI<nodename\fI\fR. 1429Default \fI\f(CI$HOME\fI/.rxvt\-unicode\-\fI<nodename\fI\fR.
1278.IP "\fB\s-1HOME\s0\fR" 4 1430.IP "\fB\s-1HOME\s0\fR" 4
1279.IX Item "HOME" 1431.IX Item "HOME"
1280Used to locate the default directory for the unix domain socket for 1432Used to locate the default directory for the unix domain socket for
1281daemon communications and to locate various resource files (such as 1433daemon communications and to locate various resource files (such as
1282\&\f(CW\*(C`.Xdefaults\*(C'\fR) 1434\&\f(CW\*(C`.Xdefaults\*(C'\fR)
1299.IX Header "CURRENT PROJECT COORDINATOR" 1451.IX Header "CURRENT PROJECT COORDINATOR"
1300.IP "Project Coordinator" 4 1452.IP "Project Coordinator" 4
1301.IX Item "Project Coordinator" 1453.IX Item "Project Coordinator"
1302Marc A. Lehmann <rxvt\-unicode@schmorp.de> 1454Marc A. Lehmann <rxvt\-unicode@schmorp.de>
1303.Sp 1455.Sp
1304<http://software.schmorp.de/#rxvt\-unicode> 1456<http://software.schmorp.de/pkg/rxvt\-unicode.html>
1305.SH "AUTHORS" 1457.SH "AUTHORS"
1306.IX Header "AUTHORS" 1458.IX Header "AUTHORS"
1307.IP "John Bovey" 4 1459.IP "John Bovey" 4
1308.IX Item "John Bovey" 1460.IX Item "John Bovey"
1309University of Kent, 1992, wrote the original Xvt. 1461University of Kent, 1992, wrote the original Xvt.
1321.IP "Oezguer Kesim <kesim@math.fu\-berlin.de>" 4 1473.IP "Oezguer Kesim <kesim@math.fu\-berlin.de>" 4
1322.IX Item "Oezguer Kesim <kesim@math.fu-berlin.de>" 1474.IX Item "Oezguer Kesim <kesim@math.fu-berlin.de>"
1323Project Coordinator (changes.txt 2.21a to 2.4.5) 1475Project Coordinator (changes.txt 2.21a to 2.4.5)
1324.IP "Geoff Wing <gcw@pobox.com>" 4 1476.IP "Geoff Wing <gcw@pobox.com>" 4
1325.IX Item "Geoff Wing <gcw@pobox.com>" 1477.IX Item "Geoff Wing <gcw@pobox.com>"
1326Rewrote screen display and text selection routines. Project Coordinator 1478Rewrote screen display and text selection routines.
1479.Sp
1327(changes.txt 2.4.6 \- rxvt\-unicode) 1480Project Coordinator (changes.txt 2.4.6 \- rxvt\-unicode)
1328.IP "Marc Alexander Lehmann <rxvt\-unicode@schmorp.de>" 4 1481.IP "Marc Alexander Lehmann <rxvt\-unicode@schmorp.de>" 4
1329.IX Item "Marc Alexander Lehmann <rxvt-unicode@schmorp.de>" 1482.IX Item "Marc Alexander Lehmann <rxvt-unicode@schmorp.de>"
1330Forked rxvt\-unicode, rewrote most of the display code and internal 1483Forked rxvt\-unicode, unicode support, rewrote almost all the code, perl
1331character handling to store text in unicode, improve xterm 1484extension, random hacks, numerous bugfixes and extensions.
1332compatibility and apply numerous other bugfixes and extensions.
1333.Sp 1485.Sp
1334Project Coordinator (Changes 1.0 \-) 1486Project Coordinator (Changes 1.0 \-)
1487.IP "Emanuele Giaquinta <e.giaquinta@glauco.it>" 4
1488.IX Item "Emanuele Giaquinta <e.giaquinta@glauco.it>"
1489Pty/tty/utmp/wtmp rewrite, lots of random hacking and bugfixing.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines