Unix and Linux Discussions Tagged with mos |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
11,932 |
What is on Your Mind? |
|
|
|
0 |
2,282 |
What is on Your Mind? |
|
|
|
0 |
5,159 |
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,973 |
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,013 |
Software Releases - RSS News |
|
|
|
0 |
1,380 |
UNIX and Linux RSS News |
|
|
|
16 |
8,096 |
Shell Programming and Scripting |
|
|
|
0 |
3,137 |
Oracle Updates (RSS) |
|
|
|
0 |
1,329 |
Software Releases - RSS News |
|
|
|
0 |
1,842 |
UNIX and Linux RSS News |
|
|
|
0 |
1,153 |
Software Releases - RSS News |
|
|
|
2 |
5,706 |
Ubuntu |
|
|
|
6 |
24,087 |
HP-UX |
|
|
|
3 |
2,488 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,420 |
IP Networking |
|
|
|
3 |
2,801 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
11,725 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
9,804 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,613 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,718 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
2 |
3,648 |
Programming |
|
|
|
1 |
2,670 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,221 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
37,420 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
2,351 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
7,477 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
18,949 |
Programming |
|
|
|
2 |
8,615 |
Programming |
|
|
|
1 |
33,306 |
Where do I download LINUX & UNIX? |
|
|
|
5 |
14,161 |
UNIX for Advanced & Expert Users |
|
|
|
6 |
7,183 |
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)