XcmsCCCOfColormap(3X11) XLIB FUNCTIONS XcmsCCCOfColormap(3X11)NAME
XcmsCCCOfColormap, XcmsSetCCCOfColormap - query and modify CCC of a colormap
SYNTAX
XcmsCCC XcmsCCCOfColormap(Display *display, Colormap colormap);
XcmsCCC XcmsSetCCCOfColormap(Display *display, Colormap colormap, XcmsCCC ccc);
ARGUMENTS
display Specifies the connection to the X server.
ccc Specifies the CCC.
colormap Specifies the colormap.
DESCRIPTION
The XcmsCCCOfColormap function returns the CCC associated with the specified colormap. Once obtained, the CCC attributes can be queried or
modified. Unless the CCC associated with the specified colormap is changed with XcmsSetCCCOfColormap, this CCC is used when the specified
colormap is used as an argument to color functions.
The XcmsSetCCCOfColormap function changes the CCC associated with the specified colormap. It returns the CCC previously associated with
the colormap. If they are not used again in the application, CCCs should be freed by calling XcmsFreeCCC. Several colormaps may share the
same CCC without restriction; this includes the CCCs generated by Xlib with each colormap. Xlib, however, creates a new CCC with each new
colormap.
SEE ALSO DisplayOfCCC(3X11), XcmsConvertColors(3X11), XcmsCreateCCC(3X11), XcmsDefaultCCC(3X11), XcmsSetWhitePoint(3X11)
Xlib - C Language X Interface
XFree86 Version 4.7.0 XcmsCCCOfColormap(3X11)
Check Out this Related Man Page
XcmsCCCOfColormap(3X11) XLIB FUNCTIONS XcmsCCCOfColormap(3X11)NAME
XcmsCCCOfColormap, XcmsSetCCCOfColormap - query and modify CCC of a colormap
SYNTAX
XcmsCCC XcmsCCCOfColormap(display, colormap)
Display *display;
Colormap colormap;
XcmsCCC XcmsSetCCCOfColormap(display, colormap, ccc)
Display *display;
Colormap colormap;
XcmsCCC ccc;
ARGUMENTS
display Specifies the connection to the X server.
ccc Specifies the CCC.
colormap Specifies the colormap.
DESCRIPTION
The XcmsCCCOfColormap function returns the CCC associated with the specified colormap. Once obtained, the CCC attributes can be queried or
modified. Unless the CCC associated with the specified colormap is changed with XcmsSetCCCOfColormap, this CCC is used when the specified
colormap is used as an argument to color functions.
The XcmsSetCCCOfColormap function changes the CCC associated with the specified colormap. It returns the CCC previously associated with
the colormap. If they are not used again in the application, CCCs should be freed by calling XcmsFreeCCC. Several colormaps may share the
same CCC without restriction; this includes the CCCs generated by Xlib with each colormap. Xlib, however, creates a new CCC with each new
colormap.
SEE ALSO DisplayOfCCC(3X11), XcmsConvertColors(3X11), XcmsCreateCCC(3X11), XcmsDefaultCCC(3X11), XcmsSetWhitePoint(3X11)
Xlib - C Language X Interface
X Version 11 Release 6.6 XcmsCCCOfColormap(3X11)
Hi friends,
I have to change the file format. I am fighting with writing a script with awk to do it. My input file format is as follows,
AAA 123
AAA 200
BBB 320
BBB 400
CCC 120
CCC 460
I want to change it a following format,
AAA 123 200
BBB 320 400
CCC 120 460
Can somebody... (2 Replies)
Could someone tell me how to do the below without opening the file? (eg in sed or awk)
I have a file with the contenst below:
$ more file1.txt
10
AAA;
200
BBB;
3
CCC;
I want to delete the carriage return of one line above the line which has ";" at the end to get the... (3 Replies)
Hi have a lots of files with this type of code
Example--1
PROCEDURE DIVISION USING
AAA
BBB
CCC.
Example--2
PROCEDURE DIVISION
Some Commented Lines....
USING
AAA
BBB
CCC.
Example--3 (12 Replies)
I am curious if the following can be done in a file in unix. Let's say I have a flat file with the following data
AAA,12,2,,,,
BBB,3,1,,,,
CCC,,,,,
DDD,2,,,,,
SQQ,,,,,
ASJ,,3,5
I only want to capture the data with values into a new file. If the data contains the pattern ,,,,, as in... (2 Replies)
Hi
I am getting a source file where the columns are seperated by comma and double Quotes
Eg1 : "AAA","BBB","CCCC"
in the same source file i am also getting few lines where my last columns double quotes are ending in its next line or the next next line
Eg2: "AAA","BBB","CCC
CC"... (9 Replies)
Hi,
I have a file with this format:
name number
-------------- -----------
AAA 11700
BBB 6000
CCC 6000
I want to catch any of these names if number > 200
How to do that?
at a... (4 Replies)
Hi all,
I need a include a text from the file and include it in the top of the other file..
i.e file 1 contains
AAA
BBB
CCC
DDD
EEE
file2 contains
333
44
23
452
54235
232341
4321414
Now i need to insert the text from file1 to file2 at the top of the file2. (13 Replies)
Hi power user,
For examples, I have three different files:
file 1: file2: file 3:
AAA CCC ZZZ
BBB BBB CCC
CCC DDD DDD
DDD TTT AAA
EEE AAA XXX
I... (8 Replies)
Hi ,
I need some help on perl/sed conditional replacement
The situation is like below .
I have a file contents like below .
AAA|BBB|CCC|DDD
AAA|BCF|CCC|HHH
AAA|BVF|JJJ|KKK
Here in the above file . I know my second column value (taking "|" as my delimited )
Basically I have to... (3 Replies)
Hi,
I have file with Header Data and trailer records
Head|currentdate|EOF
Data|AAA|BBB|CCC|DDD|EEE|Source1
Data|AAA|BBB|CCC|DDD|EEE|Source1
Data|AAA|BBB|CCC|DDD|EEE|Source2
Data|AAA|BBB|CCC|DDD|EEE|Source2
Data|AAA|BBB|CCC|DDD|EEE|Source2
End|rec|EOF
Now I need the count of only... (3 Replies)
I have a file test.txt with the lines below :
$ cat test.txt
AAA 1
AAA 2
BBB 5
BBB 7
BBB 9
CCC 3
CCC 4
DDD 6
EEE 5
I want to filter the file above to make it have unique rows with the condition that if there are rows with the same value in the first column I want the row with the... (5 Replies)
I have input file like
AAA
AAA
CCC
CCC
CCC
EEE
EEE
EEE
EEE
FFF
FFF
GGG
GGG
i was trying to retrieve data between two strings using sed.
sed -n /CCC/,/FFF/p input_file
Am getting output like
CCC
CCC
CCC (22 Replies)
Hello. How does one grep lines in a file that have only one field?
AAA BBB CCC
DDD
AAA CCC
Is is possible to grep "DDD" becuase it has only one field?
Thanks.
---------- Post updated at 08:03 PM ---------- Previous update was at 07:25 PM ----------
I found it, thank you!
awk 'NF... (2 Replies)
After grep line with AAA/BBB/CCC from an XML file, the output file consists only the line as AAA\BBB\CCC..
How do i fix this. ???
can someboody please help with this?? (4 Replies)