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
caca_conio_text_info(3caca) libcaca caca_conio_text_info(3caca)NAME
caca_conio_text_info -
DOS text area information.
SYNOPSIS
Data Fields
unsigned char winleft
unsigned char wintop
unsigned char winright
unsigned char winbottom
unsigned char attribute
unsigned char normattr
unsigned char currmode
unsigned char screenheight
unsigned char screenwidth
unsigned char curx
unsigned char cury
Detailed Description
This structure stores text area information for the DOS conio.h compatibility layer.
Field Documentation
unsigned char caca_conio_text_info::winleft left window coordinate
unsigned char caca_conio_text_info::wintop top window coordinate
unsigned char caca_conio_text_info::winright right window coordinate
unsigned char caca_conio_text_info::winbottom bottom window coordinate
unsigned char caca_conio_text_info::attribute text attribute
unsigned char caca_conio_text_info::normattr normal attribute
unsigned char caca_conio_text_info::currmode current video mode: BW40, BW80, C40, C80, or C4350
unsigned char caca_conio_text_info::screenheight text screen's height
unsigned char caca_conio_text_info::screenwidth text screen's width
unsigned char caca_conio_text_info::curx x-coordinate in current window
unsigned char caca_conio_text_info::cury y-coordinate in current window
Author
Generated automatically by Doxygen for libcaca from the source code.
Version 0.99.beta18 Fri Apr 6 2012 caca_conio_text_info(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)