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.178 by root, Sun May 23 01:05:01 2010 UTC vs.
Revision 1.179 by root, Sun May 23 01:06:47 2010 UTC

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
1507The grayscale ramp uses indices 80..87 (232..239), from 10% to 90% in 10% 1507The grayscale ramp uses indices 80..87 (232..239), from 10% to 90% in 10%
1508steps (1/26 to 25/26 in 1/26 steps). 1508steps (1/26 to 25/26 in 1/26 steps) - black and white are already part of
1509the RGB cube.
1509 1510
1510Together, all those colours implement the 88 (256) colour xterm 1511Together, all those colours implement the 88 (256) colour xterm
1511colours. Only the first 16 can be changed using resources currently, the 1512colours. Only the first 16 can be changed using resources currently, the
1512rest can only be changed via command sequences ("escape codes"). 1513rest can only be changed via command sequences ("escape codes").
1514
1515Applications are advised to use terminfo or command sequences to discover
1516number and RGB values of all colours (yes, you can query this...).
1513 1517
1514Note that B<-rv> (B<"reverseVideo: True">) simulates reverse video by 1518Note that B<-rv> (B<"reverseVideo: True">) simulates reverse video by
1515always swapping the foreground/background colours. This is in contrast to 1519always swapping the foreground/background colours. This is in contrast to
1516I<xterm>(1) where the colours are only swapped if they have not otherwise 1520I<xterm>(1) where the colours are only swapped if they have not otherwise
1517been specified. For example, 1521been specified. For example,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines