caca_event(3caca) libcaca caca_event(3caca)NAME
caca_event -
Handling of user events.
SYNOPSIS
Data Fields
enum caca_event_type type
union {
struct {
int x
int y
int button
} mouse
struct {
int w
int h
} resize
struct {
int ch
uint32_t utf32
char utf8 [8]
} key
} data
Detailed Description
This structure is filled by caca_get_event() when an event is received. It is an opaque structure that should only be accessed through
caca_event_get_type() and similar functions. The struct members may no longer be directly accessible in future versions.
Field Documentation
enum caca_event_type caca_event::type The event type.
union { ... } caca_event::data The event information data
Author
Generated automatically by Doxygen for libcaca from the source code.
Version 0.99.beta18 Fri Apr 6 2012 caca_event(3caca)
Check Out this Related Man Page
libcaca-canvas(3caca) libcaca libcaca-canvas(3caca)NAME
libcaca-canvas - The libcaca canvas format (version 1) All types are big endian.
struct
{
magic:
uint8_t caca_header[2]; // ''
uint8_t caca_file_type[2]; // 'CV'
canvas_header:
uint32_t control_size; // Control size (canvas_data - canvas_header)
uint32_t data_size; // Data size (EOF - canvas_data)
uint16_t version; // Canvas format version
// bit 0: set to 1 if canvas is compatible
// with version 1 of the format
// bits 1-15: unused yet, must be 0
uint32_t frames; // Frame count
uint16_t flags; // Feature flags
// bits 0-15: unused yet, must be 0
frame_info:
struct
{
uint32_t width; // Frame width
uint32_t height; // Frame height
uint32_t duration; // Frame duration in milliseconds, 0 to
// not specify a duration
uint32_t attr; // Graphics context attribute
int32_t cursor_x; // Cursor X coordinate
int32_t cursor_y; // Cursor Y coordinate
int32_t handle_x; // Handle X coordinate
int32_t handle_y; // Handle Y coordinate
}
frame_list[frames];
control_extension_1:
control_extension_2:
...
control_extension_N:
... // reserved for future use
canvas_data:
uint8_t data[data_size]; // canvas data
data_extension_1:
data_extension_2:
...
data_extension_N:
... // reserved for future use
};
Version 0.99.beta18 Fri Apr 6 2012 libcaca-canvas(3caca)
I have a 1 million record file and in there i have 580 bad records meaning like they were spread on to 2 lines and is making my process fail as it is expecting single line records. How can i correct this records spread into 2 lines into single line or how i can writer these records into a new... (34 Replies)
Hello Unix gurus,
I am new to Unix. I am working on some dummy project which involves unix scripting.
I have a query :
There is a file Number.dat which is of form say
AAA|123|4563|animal
AAA|1234|45634|animal2
BBB|123444|456312|bird
BBB|123445|456313|bird2
Here AAA,BBB are... (29 Replies)
Hello,
How can I know if ORACLE Database is running slow due to Memory or due to processing power ?
I have only Oracle Database running on a P4 with 4GB RAM.
Could anyone suggest any tools which can help me determine exactly if it is memory issue or processor issue. (43 Replies)
i'm using a C program and running it on a linux server, i got 2 adressess of 2 variables, and 2 addresses of 2 chars, and compared it. and got the size of a int and the size of a char.
why is a size of a int (4 bytes) bigger then the size of a char (1 byte)?
also if i do &a-&b i get 1, but if i... (30 Replies)
I have a file which looks like this:
/* ----------------- EDW$MOC139_R_NNA_BR_SUM_FACT2 ----------------- */
insert_job: EDW$MOC139_R_NNA_BR_SUM_FACT2 job_type: c
command: /home/btchproc/load_process/batch_files/batch_nna_brn_split_sum_fact2.sh m
machine: edwprod02.dsm.pwj.com
#owner:... (29 Replies)
Hi, Im not a unix person but need to analyse some data.
This is bat data (animals) from large roosts using data loggers.
I think AWK is probably the best thing to use but dont really know so any help appreciated.
(python, grep) whichever it is, I'll have to learn it!
here is an example of... (27 Replies)
I have a file in unix with sample data as follows :
--------------------------------------------------------------
--------------------------------------------------------------
{30001002|XXparameter|Layout|$
I want this file to be splitted into different files and corresponding to the sample... (54 Replies)
Hi,
I have a flaty file from which i am fetching few columns in tablular form as below code.
Now i want to fetch the column 6 and 7 in below code only if it either of them is non zero.However below startement
awk -F, '$6==0 && $7==0{exit 1}' ${IFILE}
is not working..Not sure where is the... (36 Replies)
hi
i need to extract lines from multiple files to a csv file.
for example, i have these 3 files
file1.txt
date:29dec1980
caller:91245824255
called:8127766
file2.txt
date:11apr2014
caller:9155584558
called:8115478
file3.txt
date:25jun2015
caller:445225552
called:8117485 (30 Replies)
I have two input file.:
File 1 is a large reference sequence (A large Fasta sequence);
File 1 (is a file which first line is the header description and line other ">" is its corresponding word and counting from 1 till end of file);
>Data_1
ASWDADAQTWQQGSAAAAASDAFAFA
.
.
File 2 is... (31 Replies)
I need to rank a large number of data points that exist in multiple files. My data points (Column 3) are based on unique values in columns 1 and 2. I need to rank the values that are in File 1, Column 3.
For instance:
Input File 1
AAA BBB 10
CCC DDD 16
EEE FFF 20
Input File 2
... (47 Replies)
I have this 5GB file, and i want to extract from the file particulars pattern.
this is my script:
//
count=`grep -wc "MSISDN" file_name`
k=1
>OUTPUT
>OUTPUT_Final
while
do
cat file_name | awk -F":" -v var="$k" '$1=="MSISDN" {m++}m==var{print; exit}' >> OUTPUT
cat file_name |awk -F":"... (33 Replies)
Hello everyone,
I am having an issue here with CentOS release 6.6 (Final) that shows all of the space used up, but I can't tell where the space went.
Seemingly I am using up 100%, according to
df -h
Filesystem Size Used Avail Use% Mounted on... (27 Replies)