… | |
… | |
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> |
… | |
… | |
320 | on a tab character is displayed as a wide cursor; resource B<pastableTabs>. |
320 | on a tab character is displayed as a wide cursor; resource B<pastableTabs>. |
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 | |
|
|
326 | =item B<-uc>|B<+uc> |
|
|
327 | |
|
|
328 | Make the cursor underlined; resource B<cursorUnderline>. |
325 | |
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>. |
… | |
… | |
621 | 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 |
622 | corresponds to low-intensity (normal) colours and 8-15 corresponds to |
626 | corresponds to low-intensity (normal) colours and 8-15 corresponds to |
623 | high-intensity (bold = bright foreground, blink = bright background) |
627 | high-intensity (bold = bright foreground, blink = bright background) |
624 | 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, |
625 | 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 |
626 | names used are listed in the B<COLORS AND GRAPHICS> section. |
630 | names used are listed in the B<COLOURS AND GRAPHICS> section. |
627 | |
631 | |
628 | 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 |
629 | changed using an escape command (see @@RXVT_NAME@@(7)). |
633 | changed using an escape command (see @@RXVT_NAME@@(7)). |
630 | |
634 | |
631 | 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 |
… | |
… | |
642 | =item B<colorUL:> I<colour> |
646 | =item B<colorUL:> I<colour> |
643 | |
647 | |
644 | Use the specified colour to display underlined characters when the |
648 | Use the specified colour to display underlined characters when the |
645 | foreground colour is the default. |
649 | foreground colour is the default. |
646 | |
650 | |
647 | =item B<colorRV:> I<colour> |
|
|
648 | |
|
|
649 | Use the specified colour as the background for reverse video characters |
|
|
650 | when OPTION_HC is disabled (--disable-frills). |
|
|
651 | |
|
|
652 | =item B<underlineColor:> I<colour> |
651 | =item B<underlineColor:> I<colour> |
653 | |
652 | |
654 | 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 |
655 | 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. |
656 | |
665 | |
657 | =item B<cursorColor:> I<colour> |
666 | =item B<cursorColor:> I<colour> |
658 | |
667 | |
659 | 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 |
660 | foreground colour; option B<-cr>. |
669 | foreground colour; option B<-cr>. |
… | |
… | |
667 | |
676 | |
668 | =item B<reverseVideo:> I<boolean> |
677 | =item B<reverseVideo:> I<boolean> |
669 | |
678 | |
670 | B<True>: simulate reverse video by foreground and background colours; |
679 | B<True>: simulate reverse video by foreground and background colours; |
671 | option B<-rv>. B<False>: regular screen colours [default]; option |
680 | option B<-rv>. B<False>: regular screen colours [default]; option |
672 | B<+rv>. See note in B<COLORS AND GRAPHICS> section. |
681 | B<+rv>. See note in B<COLOURS AND GRAPHICS> section. |
673 | |
682 | |
674 | =item B<jumpScroll:> I<boolean> |
683 | =item B<jumpScroll:> I<boolean> |
675 | |
684 | |
676 | 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 |
677 | 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 |
… | |
… | |
808 | 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 |
809 | wide and 15 pixels high. |
818 | wide and 15 pixels high. |
810 | |
819 | |
811 | 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 |
812 | 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 |
813 | 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 |
814 | useful supplement. |
823 | useful supplement. |
815 | |
824 | |
816 | 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 |
817 | 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 |
818 | contains other characters, but we are not interested in them. |
827 | contains other characters, but we are not interested in them. |
… | |
… | |
1003 | |
1012 | |
1004 | =item B<cursorBlink:> I<boolean> |
1013 | =item B<cursorBlink:> I<boolean> |
1005 | |
1014 | |
1006 | 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]; |
1007 | option B<-bc>. |
1016 | option B<-bc>. |
|
|
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>. |
1008 | |
1022 | |
1009 | =item B<pointerBlank:> I<boolean> |
1023 | =item B<pointerBlank:> I<boolean> |
1010 | |
1024 | |
1011 | 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 |
1012 | of seconds of inactivity. B<False>: the pointer is always visible |
1026 | of seconds of inactivity. B<False>: the pointer is always visible |
… | |
… | |
1179 | when Control-Meta-c is being pressed": |
1193 | when Control-Meta-c is being pressed": |
1180 | |
1194 | |
1181 | 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 |
1182 | |
1196 | |
1183 | 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> |
1184 | 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) |
1185 | manpage. For example, the F<selection> extension (activated via |
1199 | manpage. For example, the F<selection> extension (activated via |
1186 | C<@@RXVT_NAME@@ -pe selection>) listens for C<selection:rot13> events: |
1200 | C<@@RXVT_NAME@@ -pe selection>) listens for C<selection:rot13> events: |
1187 | |
1201 | |
1188 | URxvt.keysym.M-C-c: perl:selection:rot13 |
1202 | URxvt.keysym.M-C-c: perl:selection:rot13 |
1189 | |
1203 | |
… | |
… | |
1286 | |
1300 | |
1287 | =item B<override-redirect>: I<boolean> |
1301 | =item B<override-redirect>: I<boolean> |
1288 | |
1302 | |
1289 | Compile I<frills>: Sets override-redirect for the terminal window, making |
1303 | Compile I<frills>: Sets override-redirect for the terminal window, making |
1290 | 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). |
1291 | |
1309 | |
1292 | =item B<iso14755_52:> I<boolean> |
1310 | =item B<iso14755_52:> I<boolean> |
1293 | |
1311 | |
1294 | Turn on/off ISO 14755 5.2 mode (default enabled). |
1312 | Turn on/off ISO 14755 5.2 mode (default enabled). |
1295 | |
1313 | |
… | |
… | |
1438 | 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 |
1439 | 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 |
1440 | 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 |
1441 | 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. |
1442 | |
1460 | |
1443 | =head1 COLORS AND GRAPHICS |
1461 | =head1 COLOURS AND GRAPHICS |
1444 | |
1462 | |
1445 | In addition to the default foreground and background colours, |
1463 | In addition to the default foreground and background colours, |
1446 | 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 |
1447 | 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 |
1448 | 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. |
1449 | |
1470 | |
1450 | =begin table |
1471 | =begin table |
1451 | |
1472 | |
1452 | B<color0> (black) = Black |
1473 | B<color0> (black) = Black |
1453 | B<color1> (red) = Red3 |
1474 | B<color1> (red) = Red3 |
… | |
… | |
1473 | 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>, |
1474 | B<background>, B<cursorColor>, B<cursorColor2>, B<colorBD>, B<colorUL> as |
1495 | B<background>, B<cursorColor>, B<cursorColor2>, B<colorBD>, B<colorUL> as |
1475 | 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 |
1476 | color0-color15. |
1497 | color0-color15. |
1477 | |
1498 | |
1478 | In addition to the colours defined above, @@RXVT_NAME@@ offers an |
1499 | The following text gives values for the standard 88 colour mode (and |
1479 | additional 72 colours. The first 64 of those (with indices 16 to 79) |
1500 | values for the 256 colour mode in parentheses). |
1480 | consist of a 4*4*4 RGB colour cube (i.e. I<index = r * 16 + g * 4 + b + |
|
|
1481 | 16>), followed by 8 additional shades of gray (with indices 80 to 87). |
|
|
1482 | |
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). |
|
|
1509 | |
1483 | Together, all those colours implement the 88 colour xterm colours. Only |
1510 | Together, all those colours implement the 88 (256) colour xterm |
1484 | the first 16 can be changed using resources currently, the rest can only |
1511 | colours. Only the first 16 can be changed using resources currently, the |
1485 | be changed via command sequences ("escape codes"). |
1512 | rest can only be changed via command sequences ("escape codes"). |
1486 | |
1513 | |
1487 | Note that B<-rv> (B<"reverseVideo: True">) simulates reverse video by |
1514 | Note that B<-rv> (B<"reverseVideo: True">) simulates reverse video by |
1488 | always swapping the foreground/background colours. This is in contrast to |
1515 | always swapping the foreground/background colours. This is in contrast to |
1489 | I<xterm>(1) where the colours are only swapped if they have not otherwise |
1516 | I<xterm>(1) where the colours are only swapped if they have not otherwise |
1490 | been specified. For example, |
1517 | been specified. For example, |
1491 | |
1518 | |
1492 | =over 4 |
|
|
1493 | |
|
|
1494 | =item B<@@RXVT_NAME@@ -fg Black -bg White -rv> |
1519 | @@RXVT_NAME@@ -fg Black -bg White -rv |
1495 | |
1520 | |
1496 | would yield White on Black, while on I<xterm>(1) it would yield Black |
1521 | would yield White on Black, while on I<xterm>(1) it would yield Black on |
1497 | on White. |
1522 | White. |
1498 | |
|
|
1499 | =back |
|
|
1500 | |
1523 | |
1501 | =head2 ALPHA CHANNEL SUPPORT |
1524 | =head2 ALPHA CHANNEL SUPPORT |
1502 | |
1525 | |
1503 | If Xft support has been compiled in and as long as Xft/Xrender/X don't get |
1526 | If Xft support has been compiled in and as long as Xft/Xrender/X don't get |
1504 | their act together, rxvt-unicode will do it's own alpha channel management: |
1527 | their act together, rxvt-unicode will do it's own alpha channel management: |
1505 | |
1528 | |
1506 | You can prefix any color with an opaquenes percentage enclosed in |
1529 | You can prefix any colour with an opaquenes percentage enclosed in |
1507 | brackets, i.e. C<[percent]>, where C<percent> is a decimal percentage |
1530 | brackets, i.e. C<[percent]>, where C<percent> is a decimal percentage |
1508 | (0-100) that specifies the opacity of the color, where C<0> is completely |
1531 | (0-100) that specifies the opacity of the colour, where C<0> is completely |
1509 | transparent and C<100> is completely opaque. For example, C<[50]red> is a |
1532 | transparent and C<100> is completely opaque. For example, C<[50]red> is a |
1510 | half-transparent red, while C<[95]#00ff00> is an almost opaque green. This |
1533 | half-transparent red, while C<[95]#00ff00> is an almost opaque green. This |
1511 | is the recommended format to specify transparency values, and works with |
1534 | is the recommended format to specify transparency values, and works with |
1512 | all ways to specify a colour. |
1535 | all ways to specify a colour. |
1513 | |
1536 | |
… | |
… | |
1621 | |
1644 | |
1622 | =over 4 |
1645 | =over 4 |
1623 | |
1646 | |
1624 | =item B</usr/lib/X11/rgb.txt> |
1647 | =item B</usr/lib/X11/rgb.txt> |
1625 | |
1648 | |
1626 | Color names. |
1649 | Colour names. |
1627 | |
1650 | |
1628 | =back |
1651 | =back |
1629 | |
1652 | |
1630 | =head1 SEE ALSO |
1653 | =head1 SEE ALSO |
1631 | |
1654 | |