… | |
… | |
1040 | large number (e.g. C<987654321>) to effectively disable the timeout. |
1040 | large number (e.g. C<987654321>) to effectively disable the timeout. |
1041 | |
1041 | |
1042 | =item B<backspacekey:> I<string> |
1042 | =item B<backspacekey:> I<string> |
1043 | |
1043 | |
1044 | 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> |
1045 | 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> |
1046 | (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 |
1047 | escape sequence. |
1047 | escape sequence. |
1048 | |
1048 | |
1049 | =item B<deletekey:> I<string> |
1049 | =item B<deletekey:> I<string> |
1050 | |
1050 | |
… | |
… | |
1503 | |
1503 | |
1504 | index_88 = (r * 4 + g) * 4 + b + 16 # r, g, b = 0..3 |
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 |
1505 | index_256 = (r * 16 + g) * 16 + b + 16 # r, g, b = 0..15 |
1506 | |
1506 | |
1507 | The grayscale ramp uses indices 80..87 (232..239), from 10% to 90% in 10% |
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). |
1508 | steps (1/26 to 25/26 in 1/26 steps) - black and white are already part of |
|
|
1509 | the RGB cube. |
1509 | |
1510 | |
1510 | Together, all those colours implement the 88 (256) colour xterm |
1511 | Together, all those colours implement the 88 (256) colour xterm |
1511 | colours. Only the first 16 can be changed using resources currently, the |
1512 | colours. Only the first 16 can be changed using resources currently, the |
1512 | rest can only 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...). |
1513 | |
1517 | |
1514 | Note that B<-rv> (B<"reverseVideo: True">) simulates reverse video by |
1518 | Note that B<-rv> (B<"reverseVideo: True">) simulates reverse video by |
1515 | always swapping the foreground/background colours. This is in contrast to |
1519 | always swapping the foreground/background colours. This is in contrast to |
1516 | 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 |
1517 | been specified. For example, |
1521 | been specified. For example, |
… | |
… | |
1524 | =head2 ALPHA CHANNEL SUPPORT |
1528 | =head2 ALPHA CHANNEL SUPPORT |
1525 | |
1529 | |
1526 | 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 |
1527 | 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: |
1528 | |
1532 | |
1529 | You can prefix any colour with an opaquenes percentage enclosed in |
1533 | You can prefix any colour with an opaqueness percentage enclosed in |
1530 | 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 |
1531 | (0-100) that specifies the opacity of the colour, where C<0> is completely |
1535 | (0-100) that specifies the opacity of the colour, where C<0> is completely |
1532 | 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 |
1533 | 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 |
1534 | is the recommended format to specify transparency values, and works with |
1538 | is the recommended format to specify transparency values, and works with |