… | |
… | |
152 | non-tiled backgrounds, currently. See also the B<-sh> option that can be |
152 | non-tiled backgrounds, currently. See also the B<-sh> option that can be |
153 | used to brighten or darken the image in addition to tinting it. |
153 | used to brighten or darken the image in addition to tinting it. |
154 | Please note that certain tint colours can be applied on the server-side, |
154 | Please note that certain tint colours can be applied on the server-side, |
155 | thus yielding performance gain of two orders of magnitude. These colours are: |
155 | thus yielding performance gain of two orders of magnitude. These colours are: |
156 | blue, red, green, cyan, magenta, yellow, and those close to them. Also |
156 | blue, red, green, cyan, magenta, yellow, and those close to them. Also |
157 | pure black and pure white colors essentially mean no tinting; resource |
157 | pure black and pure white colours essentially mean no tinting; resource |
158 | I<tintColor>. Example: |
158 | I<tintColor>. Example: |
159 | |
159 | |
160 | @@RXVT_NAME@@ -tr -tint blue -sh 40 |
160 | @@RXVT_NAME@@ -tr -tint blue -sh 40 |
161 | |
161 | |
162 | =item B<-sh> I<number> |
162 | =item B<-sh> I<number> |
… | |
… | |
168 | =item B<-blt> I<string> |
168 | =item B<-blt> I<string> |
169 | |
169 | |
170 | Specify background blending type. If background pixmap is specified |
170 | Specify background blending type. If background pixmap is specified |
171 | at the same time as transparency - such pixmap will be blended over |
171 | at the same time as transparency - such pixmap will be blended over |
172 | transparency image, using method specified. Supported values are : |
172 | transparency image, using method specified. Supported values are : |
173 | B<add>, B<alphablend>, B<allanon> - color values averaging, B<colorize>, |
173 | B<add>, B<alphablend>, B<allanon> - colour values averaging, B<colorize>, |
174 | B<darken>, B<diff>, B<dissipate>, B<hue>, B<lighten>, B<overlay>, |
174 | B<darken>, B<diff>, B<dissipate>, B<hue>, B<lighten>, B<overlay>, |
175 | B<saturate>, B<screen>, B<sub>, B<tint>, B<value>. The default is |
175 | B<saturate>, B<screen>, B<sub>, B<tint>, B<value>. The default is |
176 | alpha-blending. Compile I<afterimage>; resource I<blendType>. |
176 | alpha-blending. Compile I<afterimage>; resource I<blendType>. |
177 | |
177 | |
178 | =item B<-blr> I<HxV> |
178 | =item B<-blr> I<HxV> |
… | |
… | |
186 | |
186 | |
187 | =item B<-icon> I<file> |
187 | =item B<-icon> I<file> |
188 | |
188 | |
189 | Compile I<afterimage>: Use the specified image as application icon. This |
189 | Compile I<afterimage>: Use the specified image as application icon. This |
190 | is used by many window managers, taskbars and pagers to represent the |
190 | is used by many window managers, taskbars and pagers to represent the |
191 | appliation window; resource I<iconFile>. |
191 | application window; resource I<iconFile>. |
192 | |
192 | |
193 | =item B<-bg> I<colour> |
193 | =item B<-bg> I<colour> |
194 | |
194 | |
195 | Window background colour; resource B<background>. |
195 | Window background colour; resource B<background>. |
196 | |
196 | |
… | |
… | |
321 | |
321 | |
322 | =item B<-bc>|B<+bc> |
322 | =item B<-bc>|B<+bc> |
323 | |
323 | |
324 | Blink the cursor; resource B<cursorBlink>. |
324 | Blink the cursor; resource B<cursorBlink>. |
325 | |
325 | |
|
|
326 | =item B<-uc>|B<+uc> |
|
|
327 | |
|
|
328 | Make the cursor underlined; resource B<cursorUnderline>. |
|
|
329 | |
326 | =item B<-iconic> |
330 | =item B<-iconic> |
327 | |
331 | |
328 | Start iconified, if the window manager supports that option. |
332 | Start iconified, if the window manager supports that option. |
329 | Alternative form is B<-ic>. |
333 | Alternative form is B<-ic>. |
330 | |
334 | |
… | |
… | |
366 | =item B<-lsp> I<number> |
370 | =item B<-lsp> I<number> |
367 | |
371 | |
368 | Compile I<frills>: Lines (pixel height) to insert between each row of |
372 | Compile I<frills>: Lines (pixel height) to insert between each row of |
369 | the display. Useful to work around font rendering problems; resource |
373 | the display. Useful to work around font rendering problems; resource |
370 | B<lineSpace>. |
374 | B<lineSpace>. |
|
|
375 | |
|
|
376 | =item B<-letsp> I<number> |
|
|
377 | |
|
|
378 | Compile I<frills>: Amount to adjust the computed character width by |
|
|
379 | to control overall letter spacing. Negative values will tighten up the |
|
|
380 | letter spacing, positive values will space letters out more. Useful to |
|
|
381 | work around odd font metrics; resource B<letterSpace>. |
371 | |
382 | |
372 | =item B<-tn> I<termname> |
383 | =item B<-tn> I<termname> |
373 | |
384 | |
374 | This option specifies the name of the terminal type to be set in the |
385 | This option specifies the name of the terminal type to be set in the |
375 | B<TERM> environment variable. This terminal type must exist in the |
386 | B<TERM> environment variable. This terminal type must exist in the |
… | |
… | |
614 | Use the specified colour for the colour value I<n>, where 0-7 |
625 | Use the specified colour for the colour value I<n>, where 0-7 |
615 | corresponds to low-intensity (normal) colours and 8-15 corresponds to |
626 | corresponds to low-intensity (normal) colours and 8-15 corresponds to |
616 | high-intensity (bold = bright foreground, blink = bright background) |
627 | high-intensity (bold = bright foreground, blink = bright background) |
617 | colours. The canonical names are as follows: 0=black, 1=red, 2=green, |
628 | colours. The canonical names are as follows: 0=black, 1=red, 2=green, |
618 | 3=yellow, 4=blue, 5=magenta, 6=cyan, 7=white, but the actual colour |
629 | 3=yellow, 4=blue, 5=magenta, 6=cyan, 7=white, but the actual colour |
619 | names used are listed in the B<COLORS AND GRAPHICS> section. |
630 | names used are listed in the B<COLOURS AND GRAPHICS> section. |
620 | |
631 | |
621 | Colours higher than 15 cannot be set using resources (yet), but can be |
632 | Colours higher than 15 cannot be set using resources (yet), but can be |
622 | changed using an escape command (see @@RXVT_NAME@@(7)). |
633 | changed using an escape command (see @@RXVT_NAME@@(7)). |
623 | |
634 | |
624 | Colours 16-79 form a standard 4x4x4 colour cube (the same as xterm with |
635 | Colours 16-79 form a standard 4x4x4 colour cube (the same as xterm with |
… | |
… | |
635 | =item B<colorUL:> I<colour> |
646 | =item B<colorUL:> I<colour> |
636 | |
647 | |
637 | Use the specified colour to display underlined characters when the |
648 | Use the specified colour to display underlined characters when the |
638 | foreground colour is the default. |
649 | foreground colour is the default. |
639 | |
650 | |
640 | =item B<colorRV:> I<colour> |
|
|
641 | |
|
|
642 | Use the specified colour as the background for reverse video characters |
|
|
643 | when OPTION_HC is disabled (--disable-frills). |
|
|
644 | |
|
|
645 | =item B<underlineColor:> I<colour> |
651 | =item B<underlineColor:> I<colour> |
646 | |
652 | |
647 | If set, use the specified colour as the colour for the underline |
653 | If set, use the specified colour as the colour for the underline |
648 | itself. If unset, use the foreground colour. |
654 | itself. If unset, use the foreground colour. |
|
|
655 | |
|
|
656 | =item B<highlightColor:> I<colour> |
|
|
657 | |
|
|
658 | If set, use the specified colour as the background for highlighted |
|
|
659 | characters. If unset, use reverse video. |
|
|
660 | |
|
|
661 | =item B<highlightTextColor:> I<colour> |
|
|
662 | |
|
|
663 | If set and highlightColor is set, use the specified colour as the |
|
|
664 | foreground for highlighted characters. |
649 | |
665 | |
650 | =item B<cursorColor:> I<colour> |
666 | =item B<cursorColor:> I<colour> |
651 | |
667 | |
652 | Use the specified colour for the cursor. The default is to use the |
668 | Use the specified colour for the cursor. The default is to use the |
653 | foreground colour; option B<-cr>. |
669 | foreground colour; option B<-cr>. |
… | |
… | |
660 | |
676 | |
661 | =item B<reverseVideo:> I<boolean> |
677 | =item B<reverseVideo:> I<boolean> |
662 | |
678 | |
663 | B<True>: simulate reverse video by foreground and background colours; |
679 | B<True>: simulate reverse video by foreground and background colours; |
664 | option B<-rv>. B<False>: regular screen colours [default]; option |
680 | option B<-rv>. B<False>: regular screen colours [default]; option |
665 | B<+rv>. See note in B<COLORS AND GRAPHICS> section. |
681 | B<+rv>. See note in B<COLOURS AND GRAPHICS> section. |
666 | |
682 | |
667 | =item B<jumpScroll:> I<boolean> |
683 | =item B<jumpScroll:> I<boolean> |
668 | |
684 | |
669 | B<True>: specify that jump scrolling should be used. When receiving lots |
685 | B<True>: specify that jump scrolling should be used. When receiving lots |
670 | of lines, @@RXVT_NAME@@ will only scroll once a whole screen height of lines |
686 | of lines, @@RXVT_NAME@@ will only scroll once a whole screen height of lines |
… | |
… | |
801 | it is named first) and thus defines the character cell grid to be 9 pixels |
817 | it is named first) and thus defines the character cell grid to be 9 pixels |
802 | wide and 15 pixels high. |
818 | wide and 15 pixels high. |
803 | |
819 | |
804 | The second font is just used to add additional unicode characters not in |
820 | The second font is just used to add additional unicode characters not in |
805 | the base font, likewise the third, which is unfortunately non-bold, but |
821 | the base font, likewise the third, which is unfortunately non-bold, but |
806 | the bold version of the font does contain less characters, so this is a |
822 | the bold version of the font does contain fewer characters, so this is a |
807 | useful supplement. |
823 | useful supplement. |
808 | |
824 | |
809 | The third font is an Xft font with aliasing turned off, and the characters |
825 | The third font is an Xft font with aliasing turned off, and the characters |
810 | are limited to the B<JIS 0208> codeset (i.e. japanese kanji). The font |
826 | are limited to the B<JIS 0208> codeset (i.e. japanese kanji). The font |
811 | contains other characters, but we are not interested in them. |
827 | contains other characters, but we are not interested in them. |
… | |
… | |
997 | =item B<cursorBlink:> I<boolean> |
1013 | =item B<cursorBlink:> I<boolean> |
998 | |
1014 | |
999 | B<True>: blink the cursor. B<False>: do not blink the cursor [default]; |
1015 | B<True>: blink the cursor. B<False>: do not blink the cursor [default]; |
1000 | option B<-bc>. |
1016 | option B<-bc>. |
1001 | |
1017 | |
|
|
1018 | =item B<cursorUnderline:> I<boolean> |
|
|
1019 | |
|
|
1020 | B<True>: Make the cursor underlined. B<False>: Make the cursor a box [default]; |
|
|
1021 | option B<-uc>. |
|
|
1022 | |
1002 | =item B<pointerBlank:> I<boolean> |
1023 | =item B<pointerBlank:> I<boolean> |
1003 | |
1024 | |
1004 | B<True>: blank the pointer when a key is pressed or after a set number |
1025 | B<True>: blank the pointer when a key is pressed or after a set number |
1005 | of seconds of inactivity. B<False>: the pointer is always visible |
1026 | of seconds of inactivity. B<False>: the pointer is always visible |
1006 | [default]. |
1027 | [default]. |
… | |
… | |
1019 | large number (e.g. C<987654321>) to effectively disable the timeout. |
1040 | large number (e.g. C<987654321>) to effectively disable the timeout. |
1020 | |
1041 | |
1021 | =item B<backspacekey:> I<string> |
1042 | =item B<backspacekey:> I<string> |
1022 | |
1043 | |
1023 | The string to send when the backspace key is pressed. If set to B<DEC> |
1044 | The string to send when the backspace key is pressed. If set to B<DEC> |
1024 | or unset it will send B<Delete> (code 127) or, if shifted, B<Backspace> |
1045 | or unset it will send B<Delete> (code 127) or, with control, B<Backspace> |
1025 | (code 8) - which can be reversed with the appropriate DEC private mode |
1046 | (code 8) - which can be reversed with the appropriate DEC private mode |
1026 | escape sequence. |
1047 | escape sequence. |
1027 | |
1048 | |
1028 | =item B<deletekey:> I<string> |
1049 | =item B<deletekey:> I<string> |
1029 | |
1050 | |
… | |
… | |
1172 | when Control-Meta-c is being pressed": |
1193 | when Control-Meta-c is being pressed": |
1173 | |
1194 | |
1174 | URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007 |
1195 | URxvt.keysym.M-C-c: command:\033]701;zh_CN.GBK\007 |
1175 | |
1196 | |
1176 | If I<string> takes the form C<perl:STRING>, then the specified B<STRING> |
1197 | If I<string> takes the form C<perl:STRING>, then the specified B<STRING> |
1177 | is passed to the C<on_keyboard_command> perl handler. See the @@RXVT_NAME@@perl(3) |
1198 | is passed to the C<on_user_command> perl handler. See the @@RXVT_NAME@@perl(3) |
1178 | manpage. For example, the F<selection> extension (activated via |
1199 | manpage. For example, the F<selection> extension (activated via |
1179 | C<@@RXVT_NAME@@ -pe selection>) listens for C<selection:rot13> events: |
1200 | C<@@RXVT_NAME@@ -pe selection>) listens for C<selection:rot13> events: |
1180 | |
1201 | |
1181 | URxvt.keysym.M-C-c: perl:selection:rot13 |
1202 | URxvt.keysym.M-C-c: perl:selection:rot13 |
1182 | |
1203 | |
… | |
… | |
1279 | |
1300 | |
1280 | =item B<override-redirect>: I<boolean> |
1301 | =item B<override-redirect>: I<boolean> |
1281 | |
1302 | |
1282 | Compile I<frills>: Sets override-redirect for the terminal window, making |
1303 | Compile I<frills>: Sets override-redirect for the terminal window, making |
1283 | it almost invisible to window managers; option B<-override-redirect>. |
1304 | it almost invisible to window managers; option B<-override-redirect>. |
|
|
1305 | |
|
|
1306 | =item B<iso14755:> I<boolean> |
|
|
1307 | |
|
|
1308 | Turn on/off ISO 14755 (default enabled). |
1284 | |
1309 | |
1285 | =item B<iso14755_52:> I<boolean> |
1310 | =item B<iso14755_52:> I<boolean> |
1286 | |
1311 | |
1287 | Turn on/off ISO 14755 5.2 mode (default enabled). |
1312 | Turn on/off ISO 14755 5.2 mode (default enabled). |
1288 | |
1313 | |
… | |
… | |
1431 | B<@@RXVT_NAME@@> tries to write an entry into the I<utmp>(5) file so that |
1456 | B<@@RXVT_NAME@@> tries to write an entry into the I<utmp>(5) file so that |
1432 | it can be seen via the I<who(1)> command, and can accept messages. To |
1457 | it can be seen via the I<who(1)> command, and can accept messages. To |
1433 | allow this feature, B<@@RXVT_NAME@@> may need to be installed setuid root |
1458 | allow this feature, B<@@RXVT_NAME@@> may need to be installed setuid root |
1434 | on some systems or setgid to root or to some other group on others. |
1459 | on some systems or setgid to root or to some other group on others. |
1435 | |
1460 | |
1436 | =head1 COLORS AND GRAPHICS |
1461 | =head1 COLOURS AND GRAPHICS |
1437 | |
1462 | |
1438 | In addition to the default foreground and background colours, |
1463 | In addition to the default foreground and background colours, |
1439 | B<@@RXVT_NAME@@> can display up to 16 colours (8 ANSI colours plus |
1464 | B<@@RXVT_NAME@@> can display up to 88/256 colours: 8 ANSI colours plus |
1440 | high-intensity bold/blink versions of the same). Here is a list of the |
1465 | high-intensity (potentially bold/blink) versions of the same, and 72 (or |
1441 | colours with their names. |
1466 | 240 in 256 colour mode) colours arranged in an 4x4x4 (or 6x6x6) colour RGB |
|
|
1467 | cube plus a 8 (24) colour greyscale ramp. |
|
|
1468 | |
|
|
1469 | Here is a list of the ANSI colours with their names. |
1442 | |
1470 | |
1443 | =begin table |
1471 | =begin table |
1444 | |
1472 | |
1445 | B<color0> (black) = Black |
1473 | B<color0> (black) = Black |
1446 | B<color1> (red) = Red3 |
1474 | B<color1> (red) = Red3 |
… | |
… | |
1466 | It is also possible to specify the colour values of B<foreground>, |
1494 | It is also possible to specify the colour values of B<foreground>, |
1467 | B<background>, B<cursorColor>, B<cursorColor2>, B<colorBD>, B<colorUL> as |
1495 | B<background>, B<cursorColor>, B<cursorColor2>, B<colorBD>, B<colorUL> as |
1468 | a number 0-15, as a convenient shorthand to reference the colour name of |
1496 | a number 0-15, as a convenient shorthand to reference the colour name of |
1469 | color0-color15. |
1497 | color0-color15. |
1470 | |
1498 | |
1471 | In addition to the colours defined above, @@RXVT_NAME@@ offers an |
1499 | The following text gives values for the standard 88 colour mode (and |
1472 | additional 72 colours. The first 64 of those (with indices 16 to 79) |
1500 | values for the 256 colour mode in parentheses). |
1473 | consist of a 4*4*4 RGB colour cube (i.e. I<index = r * 16 + g * 4 + b + |
|
|
1474 | 16>), followed by 8 additional shades of gray (with indices 80 to 87). |
|
|
1475 | |
1501 | |
|
|
1502 | The RGB cube uses indices 16..79 (16..231) using the following formulas: |
|
|
1503 | |
|
|
1504 | index_88 = (r * 4 + g) * 4 + b + 16 # r, g, b = 0..3 |
|
|
1505 | index_256 = (r * 16 + g) * 16 + b + 16 # r, g, b = 0..15 |
|
|
1506 | |
|
|
1507 | The grayscale ramp uses indices 80..87 (232..239), from 10% to 90% in 10% |
|
|
1508 | steps (1/26 to 25/26 in 1/26 steps) - black and white are already part of |
|
|
1509 | the RGB cube. |
|
|
1510 | |
1476 | Together, all those colours implement the 88 colour xterm colours. Only |
1511 | Together, all those colours implement the 88 (256) colour xterm |
1477 | the first 16 can be changed using resources currently, the rest can only |
1512 | colours. Only the first 16 can be changed using resources currently, the |
1478 | be changed via command sequences ("escape codes"). |
1513 | rest can only be changed via command sequences ("escape codes"). |
|
|
1514 | |
|
|
1515 | Applications are advised to use terminfo or command sequences to discover |
|
|
1516 | number and RGB values of all colours (yes, you can query this...). |
1479 | |
1517 | |
1480 | Note that B<-rv> (B<"reverseVideo: True">) simulates reverse video by |
1518 | Note that B<-rv> (B<"reverseVideo: True">) simulates reverse video by |
1481 | always swapping the foreground/background colours. This is in contrast to |
1519 | always swapping the foreground/background colours. This is in contrast to |
1482 | I<xterm>(1) where the colours are only swapped if they have not otherwise |
1520 | I<xterm>(1) where the colours are only swapped if they have not otherwise |
1483 | been specified. For example, |
1521 | been specified. For example, |
1484 | |
1522 | |
1485 | =over 4 |
|
|
1486 | |
|
|
1487 | =item B<@@RXVT_NAME@@ -fg Black -bg White -rv> |
1523 | @@RXVT_NAME@@ -fg Black -bg White -rv |
1488 | |
1524 | |
1489 | would yield White on Black, while on I<xterm>(1) it would yield Black |
1525 | would yield White on Black, while on I<xterm>(1) it would yield Black on |
1490 | on White. |
1526 | White. |
1491 | |
|
|
1492 | =back |
|
|
1493 | |
1527 | |
1494 | =head2 ALPHA CHANNEL SUPPORT |
1528 | =head2 ALPHA CHANNEL SUPPORT |
1495 | |
1529 | |
1496 | If Xft support has been compiled in and as long as Xft/Xrender/X don't get |
1530 | If Xft support has been compiled in and as long as Xft/Xrender/X don't get |
1497 | their act together, rxvt-unicode will do it's own alpha channel management: |
1531 | their act together, rxvt-unicode will do it's own alpha channel management: |
1498 | |
1532 | |
1499 | You can prefix any color with an opaquenes percentage enclosed in |
1533 | You can prefix any colour with an opaqueness percentage enclosed in |
1500 | brackets, i.e. C<[percent]>, where C<percent> is a decimal percentage |
1534 | brackets, i.e. C<[percent]>, where C<percent> is a decimal percentage |
1501 | (0-100) that specifies the opacity of the color, where C<0> is completely |
1535 | (0-100) that specifies the opacity of the colour, where C<0> is completely |
1502 | transparent and C<100> is completely opaque. For example, C<[50]red> is a |
1536 | transparent and C<100> is completely opaque. For example, C<[50]red> is a |
1503 | half-transparent red, while C<[95]#00ff00> is an almost opaque green. This |
1537 | half-transparent red, while C<[95]#00ff00> is an almost opaque green. This |
1504 | is the recommended format to specify transparency values, and works with |
1538 | is the recommended format to specify transparency values, and works with |
1505 | all ways to specify a colour. |
1539 | all ways to specify a colour. |
1506 | |
1540 | |
… | |
… | |
1614 | |
1648 | |
1615 | =over 4 |
1649 | =over 4 |
1616 | |
1650 | |
1617 | =item B</usr/lib/X11/rgb.txt> |
1651 | =item B</usr/lib/X11/rgb.txt> |
1618 | |
1652 | |
1619 | Color names. |
1653 | Colour names. |
1620 | |
1654 | |
1621 | =back |
1655 | =back |
1622 | |
1656 | |
1623 | =head1 SEE ALSO |
1657 | =head1 SEE ALSO |
1624 | |
1658 | |