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

Comparing rxvt-unicode/doc/rxvt.1.pod (file contents):
Revision 1.1 by root, Thu Aug 12 20:42:12 2004 UTC vs.
Revision 1.32 by root, Sat Oct 9 11:18:12 2004 UTC

2 2
3rxvt-unicode (ouR XVT, unicode) - (a VT102 emulator for the X window system) 3rxvt-unicode (ouR XVT, unicode) - (a VT102 emulator for the X window system)
4 4
5=head1 SYNOPSIS 5=head1 SYNOPSIS
6 6
7B<@@RXVTNAME@@> [options] [-e command [ args ]] 7B<@@RXVT_NAME@@> [options] [-e command [ args ]]
8 8
9=head1 DESCRIPTION 9=head1 DESCRIPTION
10 10
11B<rxvt-unicode>, version B<@@RXVTVERSION@@>, is a colour vt102 terminal 11B<rxvt-unicode>, version B<@@RXVT_VERSION@@>, is a colour vt102 terminal
12emulator intended as an I<xterm>(1) replacement for users who do not 12emulator intended as an I<xterm>(1) replacement for users who do not
13require features such as Tektronix 4014 emulation and toolkit-style 13require features such as Tektronix 4014 emulation and toolkit-style
14configurability. As a result, B<rxvt-unicode> uses much less swap space -- 14configurability. As a result, B<rxvt-unicode> uses much less swap space --
15a significant advantage on a machine serving many X sessions. 15a significant advantage on a machine serving many X sessions.
16 16
17=head1 FREQUENTLY ASKED QUESTIONS
18
19See @@RXVT_NAME@@(7) (try C<man 7 @@RXVT_NAME@@>) for a list of frequently
20asked questions and answer to them and some common problems.
21
22=head1 RXVT-UNICODE VS. RXVT
23
24Unlike the original rxvt, B<rxvt-unicode> stores all text in Unicode
25internally. That means it can store and display most scripts in the
26world. Being a terminal emulator, however, some things are very difficult,
27especially cursive scripts such as arabic, vertically written scripts
28like mongolian or scripts requiring extremely complex combining rules,
29like tibetan or devenagari. Don't expect pretty output when using these
30scripts. Most other scripts, latin, cyrillic, kanji, thai etc. should work
31fine, though. A somewhat difficult case are left-to-right scripts, such
32as hebrew: B<rxvt-unicode> adopts the view that bidirectional algorithms
33belong into the application, not the terminal emulator (too many things --
34such as cursor-movement while editing -- break otherwise), but that might
35change.
36
37If you are looking for a terminal that supports more exotic scripts, let
38me recommend C<mlterm>, which is a very userfriendly, lean and clean
39terminal emulator. In fact, the reason rxvt-unicode was born was solely
40because the author couldn't get C<mlterm> to use one font for latin1 and
41another for japanese.
42
43Therefore another design rationale was the use of multiple fonts to
44display characters: The idea of a single unicode font which many other
45programs force onto it's users never made sense to me: You should be able
46to choose any font for any script freely.
47
48Apart from that, rxvt-unicode is also much better internationalised than
49it's predecessor, supports things such as XFT and ISO 14755 that are handy
50in i18n-environments, is faster, and has a lot less bugs than the original
51rxvt. This all in addition to dozens of other small improvements.
52
53It is still faithfully following the original rxvt idea of being lean
54and nice on resources: for example, you can still configure rxvt-unicode
55without most of it's features to get a lean binary. It also comes with
56a client/daemon pair that lets you open any number of terminal windows
57from within a single process, which makes startup time very fast and
58drastically reduces memory usage. See @@RXVT_NAME@@d(1) (daemon) and
59@@RXVT_NAME@@c(1) (client).
60
61It also makes technical information about escape sequences (which have
62been extended) easier accessible: see @@RXVT_NAME@@(7) for technical
63reference documentation (escape sequences etc.).
64
17=head1 OPTIONS 65=head1 OPTIONS
18 66
19The B<@@RXVTNAME@@> options (mostly a subset of I<xterm>'s) are listed 67The B<@@RXVT_NAME@@> options (mostly a subset of I<xterm>'s) are listed
20below. In keeping with the smaller-is-better philosophy, options may be 68below. In keeping with the smaller-is-better philosophy, options may be
21eliminated or default values chosen at compile-time, so options and 69eliminated or default values chosen at compile-time, so options and
22defaults listed may not accurately reflect the version installed on 70defaults listed may not accurately reflect the version installed on
23your system. `rxvt -h' gives a list of major compile-time options on 71your system. `@@RXVT_NAME@@ -h' gives a list of major compile-time options on
24the I<Options> line. Option descriptions may be prefixed with which 72the I<Options> line. Option descriptions may be prefixed with which
25compile option each is dependent upon. e.g. `Compile I<XIM>:' requires 73compile option each is dependent upon. e.g. `Compile I<XIM>:' requires
26I<XIM> on the I<Options> line. Note: `rxvt -help' gives a list of all 74I<XIM> on the I<Options> line. Note: `@@RXVT_NAME@@ -help' gives a list of all
27command-line options compiled into your version. 75command-line options compiled into your version.
28 76
29Note that B<@@RXVTNAME@@> permits the resource name to be used as a 77Note that B<@@RXVT_NAME@@> permits the resource name to be used as a
30long-option (--/++ option) so the potential command-line options are 78long-option (--/++ option) so the potential command-line options are
31far greater than those listed. For example: `rxvt --loginShell --color1 79far greater than those listed. For example: `@@RXVT_NAME@@ --loginShell --color1
32Orange'. 80Orange'.
33 81
34The following options are available: 82The following options are available:
35 83
36=over 4 84=over 4
106 154
107The mouse pointer background colour; resource B<pointerColor2>. 155The mouse pointer background colour; resource B<pointerColor2>.
108 156
109=item B<-bd> I<colour> 157=item B<-bd> I<colour>
110 158
111The colour of the border between the xterm scrollbar and the text; 159The colour of the border around the text area and between the scrollbar and the text;
112resource B<borderColor>. 160resource B<borderColor>.
113 161
114=item B<-fn> I<fontname> 162=item B<-fn> I<fontlist>
115 163
116Select the fonts to be used. This is a comma seperated list of font 164Select the fonts to be used. This is a comma separated list of font names
117names that are used in turn when trying to display Unicode characters. 165that are used in turn when trying to display Unicode characters. The
118The first font defines the cell size for characters; other fonts might 166first font defines the cell size for characters; other fonts might be
119be smaller, but not larger. A reasonable default font list is always 167smaller, but not (in general) larger. A reasonable default font list is
120appended to it. resource B<font>. 168always appended to it. See resource B<font> for details.
121 169
122=item B<-rb>|B<+rb> 170See also the question "How does rxvt-unicode choose fonts?" in the FAQ
171section of @@RXVT_NAME@@(7).
123 172
124Enable "real bold" support. When this option is on, bold text will be 173=item B<-fb> I<fontlist>
125displayed using the first available bold font in the font list. Bold 174
126fonts should thus be specified in the font list after their 175Compile font-styles: The bold font list to use when bold characters are to
127corresponding regular fonts. If no bold font can be found, a regular 176be printed. See resource B<boldFont> for details.
128font will be used. resource B<realBold>. 177
178=item B<-fi> I<fontlist>
179
180Compile font-styles: The italic font list to use when bold characters are to
181be printed. See resource B<italicFont> for details.
182
183=item B<-fbi> I<fontlist>
184
185Compile font-styles: The bold italic font list to use when bold characters are to
186be printed. See resource B<boldItalicFont> for details.
129 187
130=item B<-name> I<name> 188=item B<-name> I<name>
131 189
132Specify the application name under which resources are to be obtained, 190Specify the application name under which resources are to be obtained,
133rather than the default executable file name. Name should not contain 191rather than the default executable file name. Name should not contain
202B<externalBorder>. 260B<externalBorder>.
203 261
204=item B<-bl> 262=item B<-bl>
205 263
206Compile I<frills>: Set MWM hints to request a borderless window, i.e. 264Compile I<frills>: Set MWM hints to request a borderless window, i.e.
207if honoured by the WM, the rxvt window will not have window 265if honoured by the WM, the rxvt-unicode window will not have window
208decorations; resource B<borderLess>. 266decorations; resource B<borderLess>.
209 267
210=item B<-lsp> I<number> 268=item B<-lsp> I<number>
211 269
212Compile I<linespace>: Lines (pixel height) to insert between each row 270Compile I<linespace>: Lines (pixel height) to insert between each row
219I<termcap(5)> database and should have I<li#> and I<co#> entries; 277I<termcap(5)> database and should have I<li#> and I<co#> entries;
220resource B<termName>. 278resource B<termName>.
221 279
222=item B<-e> I<command [arguments]> 280=item B<-e> I<command [arguments]>
223 281
224Run the command with its command-line arguments in the B<@@RXVTNAME@@> 282Run the command with its command-line arguments in the B<@@RXVT_NAME@@>
225window; also sets the window title and icon name to be the basename of 283window; also sets the window title and icon name to be the basename of
226the program being executed if neither I<-title> (I<-T>) nor I<-n> are 284the program being executed if neither I<-title> (I<-T>) nor I<-n> are
227given on the command line. If this option is used, it must be the last 285given on the command line. If this option is used, it must be the last
228on the command-line. If there is no B<-e> option then the default is to 286on the command-line. If there is no B<-e> option then the default is to
229run the program specified by the B<SHELL> environment variable or, 287run the program specified by the B<SHELL> environment variable or,
283Turn on/off secondary screen scroll (default enabled); resource 341Turn on/off secondary screen scroll (default enabled); resource
284B<secondaryScroll>. 342B<secondaryScroll>.
285 343
286=item B<-xrm> I<resourcestring> 344=item B<-xrm> I<resourcestring>
287 345
288No effect on rxvt. Simply passes through an argument to be made 346No effect on rxvt-unicode. Simply passes through an argument to be made
289available in the instance's argument list. Appears in I<WM_COMMAND> in 347available in the instance's argument list. Appears in I<WM_COMMAND> in
290some window managers. 348some window managers.
291 349
292=back 350=back
293 351
294=head1 RESOURCES (available also as long-options) 352=head1 RESOURCES (available also as long-options)
295 353
296Note: `@@RXVTNAME@@ --help' gives a list of all resources (long 354Note: `@@RXVT_NAME@@ --help' gives a list of all resources (long
297options) compiled into your version. 355options) compiled into your version.
298 356
299There are two different methods that @@RXVTNAME@@ can use to get the 357There are two different methods that @@RXVT_NAME@@ can use to get the
300Xresource data: using the X libraries (Xrm*-functions) or internal 358Xresource data: using the X libraries (Xrm*-functions) or internal
301Xresources reader (B<~/.Xdefaults>). For the first method (ie. 359Xresources reader (B<~/.Xdefaults>). For the first method (ie.
302B<@@RXVTNAME@@ -h> lists B<XGetDefaults>), you can set and change the 360B<@@RXVT_NAME@@ -h> lists B<XGetDefaults>), you can set and change the
303resources using X11 tools like B<xset>. Many distribution do also load 361resources using X11 tools like B<xset>. Many distribution do also load
304settings from the B<~/.Xresources> file when X starts. 362settings from the B<~/.Xresources> file when X starts.
305 363
306If compiled with internal Xresources support (i.e. B<@@RXVTNAME@@ -h> 364If compiled with internal Xresources support (i.e. B<@@RXVT_NAME@@ -h>
307lists B<.Xdefaults>) then B<@@RXVTNAME@@> accepts application defaults 365lists B<.Xdefaults>) then B<@@RXVT_NAME@@> accepts application defaults
308set in XAPPLOADDIR/URxvt (compile-time defined: usually 366set in XAPPLOADDIR/URxvt (compile-time defined: usually
309B</usr/lib/X11/app-defaults/URxvt>) and resources set in 367B</usr/lib/X11/app-defaults/URxvt>) and resources set in
310B<~/.Xdefaults>, or B<~/.Xresources> if B<~/.Xdefaults> does not exist. 368B<~/.Xdefaults>, or B<~/.Xresources> if B<~/.Xdefaults> does not exist.
311Note that when reading X resources, B<@@RXVTNAME@@> recognizes two 369Note that when reading X resources, B<@@RXVT_NAME@@> recognizes two
312class names: B<XTerm> and B<URxvt>. The class name B<Rxvt> allows 370class names: B<XTerm> and B<URxvt>. The class name B<Rxvt> allows
313resources common to both B<@@RXVTNAME@@> and the original I<rxvt> to be 371resources common to both B<@@RXVT_NAME@@> and the original I<rxvt> to be
314easily configured, while the class name B<URxvt> allows resources 372easily configured, while the class name B<URxvt> allows resources
315unique to B<@@RXVTNAME@@>, notably colours and key-handling, to be 373unique to B<@@RXVT_NAME@@>, notably colours and key-handling, to be
316shared between different B<@@RXVTNAME@@> configurations. If no 374shared between different B<@@RXVT_NAME@@> configurations. If no
317resources are specified, suitable defaults will be used. Command-line 375resources are specified, suitable defaults will be used. Command-line
318arguments can be used to override resource settings. The following 376arguments can be used to override resource settings. The following
319resources are allowed: 377resources are allowed:
320 378
321=over 4 379=over 4
342high-intensity (bold = bright foreground, blink = bright background) 400high-intensity (bold = bright foreground, blink = bright background)
343colours. The canonical names are as follows: 0=black, 1=red, 2=green, 401colours. The canonical names are as follows: 0=black, 1=red, 2=green,
3443=yellow, 4=blue, 5=magenta, 6=cyan, 7=white, but the actual colour 4023=yellow, 4=blue, 5=magenta, 6=cyan, 7=white, but the actual colour
345names used are listed in the B<COLORS AND GRAPHICS> section. 403names used are listed in the B<COLORS AND GRAPHICS> section.
346 404
405Colours higher than 15 cannot be set using resources (yet), but can be
406changed using an escape command (see @@RXVT_NAME@@(7)).
407
408Colours 16-79 form a standard 4x4x4 colour cube (the same as xterm with
40988 colour support). Colours 80-87 are evenly spaces grey steps.
410
347=item B<colorBD:> I<colour> 411=item B<colorBD:> I<colour>
348 412
413=item B<colorIT:> I<colour>
414
349Use the specified colour to display bold characters when the foreground 415Use the specified colour to display bold or italic characters when the
350colour is the default. This option will be ignored if B<realBold> is 416foreground colour is the default. If font styles are not available
351enabled. 417(Compile styles) and this option is unset, reverse video is used instead.
352 418
353=item B<colorUL:> I<colour> 419=item B<colorUL:> I<colour>
354 420
355Use the specified colour to display underlined characters when the 421Use the specified colour to display underlined characters when the
356foreground colour is the default. 422foreground colour is the default.
400=item B<shading:> I<number> 466=item B<shading:> I<number>
401 467
402Darken (0 .. 100) or lighten (-1 .. -100) the transparent background 468Darken (0 .. 100) or lighten (-1 .. -100) the transparent background
403image in addition to tinting it. 469image in addition to tinting it.
404 470
405=item B<fading:> I<number>
406
407Scale the tint colour by the given percentage.
408
409=item B<scrollColor:> I<colour> 471=item B<scrollColor:> I<colour>
410 472
411Use the specified colour for the scrollbar [default #B2B2B2]. 473Use the specified colour for the scrollbar [default #B2B2B2].
412 474
413=item B<troughColor:> I<colour> 475=item B<troughColor:> I<colour>
414 476
415Use the specified colour for the scrollbar's trough area [default 477Use the specified colour for the scrollbar's trough area [default
416#969696]. Only relevant for normal (non XTerm/NeXT) scrollbar. 478#969696]. Only relevant for normal (non XTerm/NeXT) scrollbar.
479
480=item B<borderColor:> I<colour>
481
482The colour of the border around the text area and between the scrollbar
483and the text.
417 484
418=item B<backgroundPixmap:> I<file[;geom]> 485=item B<backgroundPixmap:> I<file[;geom]>
419 486
420Use the specified XPM file (note the `.xpm' extension is optional) for 487Use the specified XPM file (note the `.xpm' extension is optional) for
421the background and also optionally specify its scaling with a geometry 488the background and also optionally specify its scaling with a geometry
437 504
438Specify the colon-delimited search path for finding files (XPM and 505Specify the colon-delimited search path for finding files (XPM and
439menus), in addition to the paths specified by the B<RXVTPATH> and 506menus), in addition to the paths specified by the B<RXVTPATH> and
440B<PATH> environment variables. 507B<PATH> environment variables.
441 508
442=item B<font:> I<fontname> 509=item B<font:> I<fontlist>
443 510
444Select the fonts to be used. This is a comma seperated list of font 511Select the fonts to be used. This is a comma separated list of font
445names that are used in turn when trying to display Unicode characters. 512names that are used in turn when trying to display Unicode characters.
446The first font defines the cell size for characters; other fonts might 513The first font defines the cell size for characters; other fonts might
447be smaller, but not larger. A reasonable default font list is always 514be smaller, but not larger. A reasonable default font list is always
448appended to it. option B<-fn>. 515appended to it. option B<-fn>.
449 516
450=item B<realBold:> I<boolean> 517Each font can either be a standard X11 core font (XLFD) name, with
518optional prefix C<x:> or a Xft font (Compile xft), prefixed with C<xft:>.
451 519
452B<True>: Enable "real bold" support. When this option is on, bold text 520In addition, each font can be prefixed with additional hints and
453will be displayed using the first available bold font in the font list. 521specifications enclosed in square brackets (C<[]>). The only available
454Bold fonts should thus be specified in the font list after their 522hint currently is C<codeset=codeset-name>, and this is only used for Xft
455corresponding regular fonts. If no bold font can be found, a regular 523fonts.
456font will be used. option B<-rb>. B<False>: Display bold text in a 524
457regular font, using the color specified with B<colorBD>; option B<+rb>. 525For example, this font resource
526
527 URxvt*font: 9x15bold,\
528 -misc-fixed-bold-r-normal--15-140-75-75-c-90-iso10646-1,\
529 -misc-fixed-medium-r-normal--15-140-75-75-c-90-iso10646-1, \
530 [codeset=JISX0208]xft:Kochi Gothic:antialias=false, \
531 xft:Code2000:antialias=false
532
533specifies five fonts to be used. The first one is C<9x15bold> (actually
534the iso8859-1 version of the second font), which is the base font (because
535it is named first) and thus defines the character cell grid to be 9 pixels
536wide and 15 pixels high.
537
538the second font is just used to add additional unicode characters not in
539the base font, likewise the third, which is unfortunately non-bold, but
540the bold version of the font does contain less characters, so this is a
541useful supplement.
542
543The third font is an Xft font with aliasing turned off, and the characters
544are limited to the B<JIS 0208> codeset (i.e. japanese kanji). The font
545contains other characters, but we are not interested in them.
546
547The last font is a useful catch-all font that supplies most of the
548remaining unicode characters.
549
550=item B<boldFont:> I<fontlist>
551
552=item B<italicFont:> I<fontlist>
553
554=item B<boldItalicFont:> I<fontlist>
555
556The font list to use for displaying B<bold>, I<italic> or B<< I<bold
557italic> >> characters, respectively.
558
559If specified and non-empty, then the syntax is the same as for the
560B<font>-resource, and the given font list will be used as is, which makes
561it possible to substitute completely different font styles for bold and
562italic.
563
564If unset (the default), a suitable font list will be synthesized by
565"morphing" the normal text font list into the desired shape. If that is
566not possible, replacement fonts of the desired shape will be tried.
567
568If set, but empty, then this specific style is disabled and the normal
569text font will being used for the given style.
458 570
459=item B<selectstyle:> I<mode> 571=item B<selectstyle:> I<mode>
460 572
461Set mouse selection style to B<old> which is 2.20, B<oldword> which is 573Set mouse selection style to B<old> which is 2.20, B<oldword> which is
462xterm style with 2.20 old word selection, or anything else which gives 574xterm style with 2.20 old word selection, or anything else which gives
463xterm style selection. 575xterm style selection.
464 576
465=item B<scrollstyle:> I<mode> 577=item B<scrollstyle:> I<mode>
466 578
467Set scrollbar style to B<@@RXVTNAME@@>, B<rxvt>, B<plain>, B<next> or 579Set scrollbar style to B<rxvt>, B<plain>, B<next> or B<xterm>. B<plain> is
468B<xterm> 580the author's favourite..
469 581
470=item B<title:> I<string> 582=item B<title:> I<string>
471 583
472Set window title string, the default title is the command-line 584Set window title string, the default title is the command-line
473specified after the B<-e> option, if any, otherwise the application 585specified after the B<-e> option, if any, otherwise the application
527Align the B<top>, B<bottom> or B<centre> [default] of the scrollbar 639Align the B<top>, B<bottom> or B<centre> [default] of the scrollbar
528thumb with the pointer on middle button press/drag. 640thumb with the pointer on middle button press/drag.
529 641
530=item B<scrollTtyOutput:> I<boolean> 642=item B<scrollTtyOutput:> I<boolean>
531 643
532B<True>: scroll to bottom when tty receives output; option B<+si>. 644B<True>: scroll to bottom when tty receives output; option B<-si>.
533B<False>: do not scroll to bottom when tty receives output; option 645B<False>: do not scroll to bottom when tty receives output; option
534B<-si>. 646B<+si>.
535 647
536=item B<scrollWithBuffer:> I<boolean> 648=item B<scrollWithBuffer:> I<boolean>
537 649
538B<True>: scroll with scrollback buffer when tty recieves new lines (and 650B<True>: scroll with scrollback buffer when tty receives new lines (and
539B<scrollTtyOutput> is False); option B<+sw>. B<False>: do not scroll 651B<scrollTtyOutput> is False); option B<+sw>. B<False>: do not scroll
540with scrollback buffer when tty recieves new lines; option B<-sw>. 652with scrollback buffer when tty recieves new lines; option B<-sw>.
541 653
542=item B<scrollTtyKeypress:> I<boolean> 654=item B<scrollTtyKeypress:> I<boolean>
543 655
544B<True>: scroll to bottom when a non-special key is pressed. Special 656B<True>: scroll to bottom when a non-special key is pressed. Special keys
545keys are those which are intercepted by rxvt for special handling and 657are those which are intercepted by rxvt-unicode for special handling and
546are not passed onto the shell; option B<-sk>. B<False>: do not scroll 658are not passed onto the shell; option B<-sk>. B<False>: do not scroll to
547to bottom when a non-special key is pressed; option B<+sk>. 659bottom when a non-special key is pressed; option B<+sk>.
548
549=item B<smallfont_key:> I<keysym>
550
551If enabled, use B<@@HOTKEY@@->I<keysym> to toggle to a smaller font
552[default B<@@HOTKEY@@-@@SMALLFONT@@>]
553
554=item B<bigfont_key:> I<keysym>
555
556If enabled, use B<@@HOTKEY@@->I<keysym> to toggle to a bigger font
557[default B<@@HOTKEY@@-@@BIGFONT@@>]
558 660
559=item B<saveLines:> I<number> 661=item B<saveLines:> I<number>
560 662
561Save I<number> lines in the scrollback buffer [default 64]. This 663Save I<number> lines in the scrollback buffer [default 64]. This
562resource is limited on most machines to 65535; option B<-sl>. 664resource is limited on most machines to 65535; option B<-sl>.
572option B<-w>, B<-bw>, B<-borderwidth>. 674option B<-w>, B<-bw>, B<-borderwidth>.
573 675
574=item B<borderLess:> I<boolean> 676=item B<borderLess:> I<boolean>
575 677
576Set MWM hints to request a borderless window, i.e. if honoured by the 678Set MWM hints to request a borderless window, i.e. if honoured by the
577WM, the rxvt window will not have window decorations; option B<-bl>. 679WM, the rxvt-unicode window will not have window decorations; option B<-bl>.
578 680
579=item B<termName:> I<termname> 681=item B<termName:> I<termname>
580 682
581Specifies the terminal type name to be set in the B<TERM> environment 683Specifies the terminal type name to be set in the B<TERM> environment
582variable; option B<-tn>. 684variable; option B<-tn>.
652The locale to use for opening the IM. You can use an LC_CTYPE of e.g. 754The locale to use for opening the IM. You can use an LC_CTYPE of e.g.
653de_DE.UTF-8 for normal text processing but ja_JP.EUC-JP for the input 755de_DE.UTF-8 for normal text processing but ja_JP.EUC-JP for the input
654extension to be able to input japanese characters while staying in 756extension to be able to input japanese characters while staying in
655another locale. option B<-imlocale>. 757another locale. option B<-imlocale>.
656 758
657=item B<insecure> 759=item B<insecure:> I<boolean>
658 760
659Enables "insecure" mode. Rxvt-unicode offers some escape sequences that 761Enables "insecure" mode. Rxvt-unicode offers some escape sequences that
660echo arbitrary strings like the icon name or the locale. This could be 762echo arbitrary strings like the icon name or the locale. This could be
661abused if somebody gets 8-bit-clean access to your display, wether 763abused if somebody gets 8-bit-clean access to your display, whether
662throuh a mail client displaying mail bodies unfiltered or though 764throuh a mail client displaying mail bodies unfiltered or though
663write(1). Therefore, these sequences are disabled by default. (Note 765write(1). Therefore, these sequences are disabled by default. (Note
664that other terminals, including xterm, have these sequences 766that other terminals, including xterm, have these sequences
665enabled by default). You can enable them by setting this boolean 767enabled by default). You can enable them by setting this boolean
666resource or specifying B<-insecure> as an option. At the moment, this 768resource or specifying B<-insecure> as an option. At the moment, this
673B<hyper>, B<super>, B<mod1>, B<mod2>, B<mod3>, B<mod4>, B<mod5>; option 775B<hyper>, B<super>, B<mod1>, B<mod2>, B<mod3>, B<mod4>, B<mod5>; option
674B<-mod>. 776B<-mod>.
675 777
676=item B<answerbackString:> I<string> 778=item B<answerbackString:> I<string>
677 779
678Specify the reply rxvt sends to the shell when an ENQ (control-E) 780Specify the reply rxvt-unicode sends to the shell when an ENQ (control-E)
679character is passed through. It may contain escape values as described 781character is passed through. It may contain escape values as described
680in the entry on B<keysym> following. 782in the entry on B<keysym> following.
681 783
682=item B<secondaryScreen:> I<bool> 784=item B<secondaryScreen:> I<bool>
683 785
703 805
704=back 806=back
705 807
706=head1 THE SCROLLBAR 808=head1 THE SCROLLBAR
707 809
708Lines of text that scroll off the top of the B<@@RXVTNAME@@> window 810Lines of text that scroll off the top of the B<@@RXVT_NAME@@> window
709(resource: B<saveLines>) and can be scrolled back using the scrollbar 811(resource: B<saveLines>) and can be scrolled back using the scrollbar
710or by keystrokes. The normal B<@@RXVTNAME@@> scrollbar has arrows and 812or by keystrokes. The normal B<@@RXVT_NAME@@> scrollbar has arrows and
711its behaviour is fairly intuitive. The B<xterm-scrollbar> is without 813its behaviour is fairly intuitive. The B<xterm-scrollbar> is without
712arrows and its behaviour mimics that of I<xterm> 814arrows and its behaviour mimics that of I<xterm>
713 815
714Scroll down with B<Button1> (B<xterm-scrollbar>) or B<Shift-Next>. 816Scroll down with B<Button1> (B<xterm-scrollbar>) or B<Shift-Next>.
715Scroll up with B<Button3> (B<xterm-scrollbar>) or B<Shift-Prior>. 817Scroll up with B<Button3> (B<xterm-scrollbar>) or B<Shift-Prior>.
740Left click at the beginning of the region, drag to the end of the 842Left click at the beginning of the region, drag to the end of the
741region and release; Right click to extend the marked region; Left 843region and release; Right click to extend the marked region; Left
742double-click to select a word; Left triple-click to select the entire 844double-click to select a word; Left triple-click to select the entire
743line. 845line.
744 846
847Starting a selection while pressing the B<Meta> key (or B<Meta+Ctrl> keys)
848(Compile: frills) will create a rectangular selection instead of a normal
849one.
850
745=item B<Insertion>: 851=item B<Insertion>:
746 852
747Pressing and releasing the Middle mouse button (or B<Shift-Insert>) in 853Pressing and releasing the Middle mouse button (or B<Shift-Insert>) in
748an B<@@RXVTNAME@@> window causes the current text selection to be 854an B<@@RXVT_NAME@@> window causes the current text selection to be
749inserted as if it had been typed on the keyboard. 855inserted as if it had been typed on the keyboard.
750 856
751=back 857=back
752 858
753=head1 CHANGING FONTS 859=head1 CHANGING FONTS
754 860
755You can change fonts on-the-fly, which is to say cycle through the 861Changing fonts (or font sizes, respectively) via the keypad is not yet
756default font and others of various sizes, by using B<Shift-KP_Add> and 862supported in rxvt-unicode. Bug me if you need this.
757B<Shift-KP_Subtract>. Or, alternatively (if enabled) with 863
758B<@@HOTKEY@@-@@BIGFONT@@> and B<@@HOTKEY@@-@@SMALLFONT@@>, where the 864You can, however, switch fonts at runtime using escape sequences (and
759actual key can be selected using resources 865therefore using the menubar), e.g.:
760B<smallfont_key>/B<bigfont_key>. 866
867 printf '\e]701;%s\007' "9x15bold,xft:Kochi Gothic"
868
869rxvt-unicode will automatically re-apply these fonts to the output so far.
870
871=head1 ISO 14755 SUPPORT
872
873ISO 14755 is a standard for entering and viewing unicode characters
874and character codes using the keyboard. It consists of 4 parts. The
875first part is available rxvt-unicode has been compiled with
876C<--enable-frills>, the rest is available when rxvt-unicode was compiled
877with C<--enable-iso14755>.
878
879=over 4
880
881=item 5.1: Basic method
882
883This allows you to enter unicode characters using their hexcode.
884
885Start by pressing and holding both C<Control> and C<Shift>, then enter
886hex-digits (between one and six). Releasing C<Control> and C<Shift> will
887commit the character as if it were typed directly. While holding down
888C<Control> and C<Shift> you can also enter multiple characters by pressing
889C<Space>, which will commit the current character and lets you start a new
890one.
891
892As an example of use, imagine a business card with a japanese e-mail
893address, which you cannot type. Fortunately, the card has the e-mail
894address printed as hexcodes, e.g. C<671d 65e5>. You can enter this easily
895by pressing C<Control> and C<Shift>, followed by C<6-7-1-D-SPACE-6-5-E-5>,
896followed by releasing the modifier keys.
897
898=item 5.2: Keyboard symbols entry method
899
900This mode lets you input characters representing the keycap symbols of
901your keyboard, if representable in the current locale encoding.
902
903Start by pressing C<Control> and C<Shift> together, then releasing
904them. The next special key (cursor keys, home etc.) you enter will not
905invoke it's usual function but instead will insert the corresponding
906keycap symbol. The symbol will only be entered when the key has been
907released, otherwise pressing e.g. C<Shift> would enter the symbol for
908C<ISO Level 2 Switch>, although your intention might have been to enter a
909reverse tab (Shift-Tab).
910
911=item 5.3: Screen-selection entry method
912
913While this is implemented already (it's basically the selection
914mechanism), it could be extended by displaying a unicode character map.
915
916=item 5.4: Feedback method for identifying displayed characters for later input
917
918This method lets you display the unicode character code associated with
919characters already displayed.
920
921You enter this mode by holding down C<Control> and C<Shift> together, then
922pressing and holding the left mouse button and moving around. The unicode
923hex code(s) (it might be a combining character) of the character under the
924pointer is displayed until you release C<Control> and C<Shift>.
925
926In addition to the hex codes it will display the font used to draw this
927character - due to implementation reasons, characters combined with
928combining characters, line drawing characters and unknown characters will
929always be drawn using the built-in support font.
930
931=back
932
933With respect to conformance, rxvt-unicode is supposed to be compliant to
934both scenario A and B of ISO 14755, including part 5.2.
761 935
762=head1 LOGIN STAMP 936=head1 LOGIN STAMP
763 937
764B<@@RXVTNAME@@> tries to write an entry into the I<utmp>(5) file so 938B<@@RXVT_NAME@@> tries to write an entry into the I<utmp>(5) file so
765that it can be seen via the I<who(1)> command, and can accept messages. 939that it can be seen via the I<who(1)> command, and can accept messages.
766To allow this feature, B<@@RXVTNAME@@> must be installed setuid root on 940To allow this feature, B<@@RXVT_NAME@@> must be installed setuid root on
767some systems. 941some systems.
768 942
769=head1 COLORS AND GRAPHICS 943=head1 COLORS AND GRAPHICS
770 944
771In addition to the default foreground and background colours, 945In addition to the default foreground and background colours,
772B<@@RXVTNAME@@> can display up to 16 colours (8 ANSI colours plus 946B<@@RXVT_NAME@@> can display up to 16 colours (8 ANSI colours plus
773high-intensity bold/blink versions of the same). Here is a list of the 947high-intensity bold/blink versions of the same). Here is a list of the
774colours with their B<rgb.txt> names. 948colours with their B<rgb.txt> names.
775 949
776=begin table 950=begin table
777 951
806I<xterm>(1) where the colours are only swapped if they have not otherwise 980I<xterm>(1) where the colours are only swapped if they have not otherwise
807been specified. For example, 981been specified. For example,
808 982
809=over 4 983=over 4
810 984
811=item B<rxvt -fg Black -bg White -rv> 985=item B<@@RXVT_NAME@@ -fg Black -bg White -rv>
812 986
813would yield White on Black, while on I<xterm>(1) it would yield Black 987would yield White on Black, while on I<xterm>(1) it would yield Black
814on White. 988on White.
815 989
816=back 990=back
817 991
818=head1 ENVIRONMENT 992=head1 ENVIRONMENT
819 993
820B<@@RXVTNAME@@> sets the environment variables B<TERM>, B<COLORTERM> 994B<@@RXVT_NAME@@> sets the environment variables B<TERM>, B<COLORTERM>
821and B<COLORFGBG>. The environment variable B<WINDOWID> is set to the X 995and B<COLORFGBG>. The environment variable B<WINDOWID> is set to the X
822window id number of the B<@@RXVTNAME@@> window and it also uses and 996window id number of the B<@@RXVT_NAME@@> window and it also uses and
823sets the environment variable B<DISPLAY> to specify which display 997sets the environment variable B<DISPLAY> to specify which display
824terminal to use. B<@@RXVTNAME@@> uses the environment variables 998terminal to use. B<@@RXVT_NAME@@> uses the environment variables
825B<RXVTPATH> and B<PATH> to find XPM files. 999B<RXVTPATH> and B<PATH> to find XPM files.
826 1000
827=head1 FILES 1001=head1 FILES
828 1002
829=over 4 1003=over 4
836 1010
837Color names. 1011Color names.
838 1012
839=back 1013=back
840 1014
841=head1 SEEALSO 1015=head1 SEE ALSO
842 1016
843I<xterm>(1), I<sh>(1), I<resize>(1), I<X>(1), I<pty>(4), I<tty>(4), I<utmp>(5) 1017@@RXVT_NAME@@(7), xterm(1), sh(1), resize(1), X(1), pty(4), tty(4), utmp(5)
844
845See rxvtRef.html rxvtRef.txt for detailed information on recognized escape sequences and menuBar syntax, etc.
846 1018
847=head1 BUGS 1019=head1 BUGS
848 1020
849Check the BUGS file for an up-to-date list. 1021Check the BUGS file for an up-to-date list.
850 1022
851Cursor change support is not yet implemented. 1023Cursor change support is not yet implemented.
852 1024
853Click-and-drag doesn't work with X11 mouse report overriding. 1025Click-and-drag doesn't work with X11 mouse report overriding.
854 1026
855=head1 FTP LOCATION
856
857rxvt-+@@RXVTVERSION@@.tar.gz can be found at the following ftp sites L<@@RXVTFTPSITE@@>(@@RXVTFTPSITE@@)
858
859=head1 CURRENT PROJECT COORDINATOR 1027=head1 CURRENT PROJECT COORDINATOR
860 1028
861=over 4 1029=over 4
862 1030
863=item Project Coordinator 1031=item Project Coordinator
864 1032
865@@RXVTMAINT@@ L<@@RXVTMAINTEMAIL@@> 1033@@RXVT_MAINT@@ L<@@RXVT_MAINTEMAIL@@>
866 1034
867=item Web page maintainter 1035=item Web page maintainter
868 1036
869@@RXVTWEBMAINT@@ L<@@RXVTWEBMAINTEMAIL@@> 1037@@RXVT_WEBMAINT@@ L<@@RXVT_WEBMAINTEMAIL@@>
870 1038
871L<@@RXVTWEBPAGE@@>(@@RXVTWEBPAGE@@) 1039L<@@RXVT_WEBPAGE@@>
872 1040
873=back 1041=back
874 1042
875=head1 AUTHORS 1043=head1 AUTHORS
876 1044

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines