Unix and Linux Discussions Tagged with mos |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
11,930 |
What is on Your Mind? |
|
|
|
0 |
2,282 |
What is on Your Mind? |
|
|
|
0 |
5,155 |
What is on Your Mind? |
|
|
|
5 |
3,622 |
Shell Programming and Scripting |
|
|
|
6 |
1,545 |
What is on Your Mind? |
|
|
|
0 |
2,658 |
Oracle Updates (RSS) |
|
|
|
3 |
2,277 |
Shell Programming and Scripting |
|
|
|
2 |
3,104 |
Solaris |
|
|
|
6 |
9,968 |
Cybersecurity |
|
|
|
0 |
1,351 |
UNIX and Linux RSS News |
|
|
|
0 |
3,305 |
IT Security RSS |
|
|
|
0 |
942 |
Software Releases - RSS News |
|
|
|
1 |
1,760 |
Shell Programming and Scripting |
|
|
|
0 |
1,012 |
Software Releases - RSS News |
|
|
|
0 |
1,380 |
UNIX and Linux RSS News |
|
|
|
16 |
8,095 |
Shell Programming and Scripting |
|
|
|
0 |
3,137 |
Oracle Updates (RSS) |
|
|
|
0 |
1,329 |
Software Releases - RSS News |
|
|
|
0 |
1,840 |
UNIX and Linux RSS News |
|
|
|
0 |
1,153 |
Software Releases - RSS News |
|
|
|
2 |
5,704 |
Ubuntu |
|
|
|
6 |
24,084 |
HP-UX |
|
|
|
3 |
2,488 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,418 |
IP Networking |
|
|
|
3 |
2,801 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
11,724 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
9,802 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,613 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,717 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
2 |
3,646 |
Programming |
|
|
|
1 |
2,670 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,220 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
37,418 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
2,351 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
7,474 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
18,948 |
Programming |
|
|
|
2 |
8,612 |
Programming |
|
|
|
1 |
33,303 |
Where do I download LINUX & UNIX? |
|
|
|
5 |
14,159 |
UNIX for Advanced & Expert Users |
|
|
|
6 |
7,182 |
Cybersecurity |
CMAP(5) File Formats Manual CMAP(5)
NAME
cmap - format of .cmap files (color maps)
DESCRIPTION
Color-map files define the mapping between eight-bit color numbers and red, green and blue intensities used for those numbers. They are
read by Magic as part of system startup, and also by the :load and :save commands in color-map windows. Color-map file names usually have
the form x.y.z.cmapn, where x is a class of technology files, y is a class of displays, z is a class of monitors, and n is a version number
(currently 1). The version number will change in the future if the formap of color-map files ever changes. Normally, x and y correspond to
the corresponding parts of a display styles file. For example, the color map file mos.7bit.std.cmap1 is used today for most nMOS and CMOS
technology files using displays that support at least seven bits of color per pixel and standard-phosphor monitors. It corresponds to the
display styles file mos.7bit.dstyle5.
Color-map files are stored in ASCII form, with each line containing four decimal integers separated by white space. The first three inte-
gers are red, green, and blue intensities, and the fourth field is a color number. For current displays the intensities must be integers
between 0 and 255. The color numbers must increase from line to line, and the last line must have a color number of 255. The red, green,
and blue intensities on the first line are used for all colors from 0 up to and including the color number on that line. For other lines,
the intensities on that line are used for all colors starting one color above the color number on the previous line and continuing up and
through the color number on the current line. For example, consider the color map below:
255 0 0 2
0 0 255 3
255 255 255 256
This color map indicates that colors 0, 1, and 2 are to be red, color 3 is to be blue, and all other colors are to be white.
SEE ALSO
magic(1), dstyle(5)
4th Berkeley Distribution CMAP(5)