1 |
pcg |
1.1 |
COMMENT(-- $Id: rxvt-colours.yo,v 1.1 2003/11/18 14:22:16 root Exp $ --) |
2 |
|
|
COMMENT(----------------------------------------------------------------------) |
3 |
|
|
manpagesection(COLORS AND GRAPHICS) |
4 |
|
|
|
5 |
|
|
If graphics support was enabled at compile-time, bf(rxvt) can be queried |
6 |
|
|
with ANSI escape sequences and can address individual pixels instead of |
7 |
|
|
text characters. Note the graphics support is still considered beta code. |
8 |
|
|
|
9 |
|
|
In addition to the default foreground and background colours, bf(rxvt) |
10 |
|
|
can display up to 16 colours (8 ANSI colours plus high-intensity bold/blink |
11 |
|
|
versions of the same). |
12 |
|
|
Here is a list of the colours with their bf(rgb.txt) names. |
13 |
|
|
|
14 |
|
|
starttable(3)(l l l)(0)\ |
15 |
|
|
row(cell(bf(color0))cell((black))cell(= Black))\ |
16 |
|
|
row(cell(bf(color1))cell((red))cell(= Red3))\ |
17 |
|
|
row(cell(bf(color2))cell((green))cell(= Green3))\ |
18 |
|
|
row(cell(bf(color3))cell((yellow))cell(= Yellow3))\ |
19 |
|
|
row(cell(bf(color4))cell((blue))cell(= Blue3))\ |
20 |
|
|
row(cell(bf(color5))cell((magenta))cell(= Magenta3))\ |
21 |
|
|
row(cell(bf(color6))cell((cyan))cell(= Cyan3))\ |
22 |
|
|
row(cell(bf(color7))cell((white))cell(= AntiqueWhite))\ |
23 |
|
|
row(cell(bf(color8))cell((bright black))cell(= Grey25))\ |
24 |
|
|
row(cell(bf(color9))cell((bright red))cell(= Red))\ |
25 |
|
|
row(cell(bf(color10))cell((bright green))cell(= Green))\ |
26 |
|
|
row(cell(bf(color11))cell((bright yellow))cell(= Yellow))\ |
27 |
|
|
row(cell(bf(color12))cell((bright blue))cell(= Blue))\ |
28 |
|
|
row(cell(bf(color13))cell((bright magenta))cell(= Magenta))\ |
29 |
|
|
row(cell(bf(color14))cell((bright cyan))cell(= Cyan))\ |
30 |
|
|
row(cell(bf(color15))cell((bright white))cell(= White))\ |
31 |
|
|
row(cell(bf(foreground))cell()cell(= Black))\ |
32 |
|
|
row(cell(bf(background))cell()cell(= White))\ |
33 |
|
|
endtable() |
34 |
|
|
|
35 |
|
|
It is also possible to specify the colour values of bf(foreground), |
36 |
|
|
bf(background), bf(cursorColor), bf(cursorColor2), bf(colorBD), bf(colorUL) |
37 |
|
|
as a number 0-15, as a convenient shorthand to reference the colour name of |
38 |
|
|
color0-color15. |
39 |
|
|
|
40 |
|
|
Note that bf(-rv) (bf("reverseVideo: True")) simulates reverse video by |
41 |
|
|
always swapping the foreground/background colours. This is in contrast to |
42 |
|
|
em(xterm)(1) where the colours are only swapped if they have not otherwise been |
43 |
|
|
specified. |
44 |
|
|
For example, |
45 |
|
|
|
46 |
|
|
startdit() |
47 |
|
|
dit(bf(rxvt -fg Black -bg White -rv)) |
48 |
|
|
would yield White on Black, while on em(xterm)(1) it would yield |
49 |
|
|
Black on White. |
50 |
|
|
enddit() |