Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

capl(1) [debian man page]

cacaplay(1)						      General Commands Manual						       cacaplay(1)

NAME
cacaplay - play libcaca files SYNOPSIS
cacaplay [FILE] DESCRIPTION
cacaplay plays libcaca animation files. These files can be created by any libcaca program by setting the CACA_DRIVER environment variable to raw and storing the program's standard output. If no file argument is provided or '-' is used, cacaplay will read its data from the standard input. EXAMPLES
cacaplay file.caca CACA_DRIVER=raw CACA_GEOMETRY=80x32 cacademo | cacaplay SEE ALSO
cacaserver(1) AUTHOR
This manual page was written by Sam Hocevar <sam@hocevar.net>. libcaca 2006-11-10 cacaplay(1)

Check Out this Related Man Page

libcaca-tutorial(3caca) 					      libcaca						   libcaca-tutorial(3caca)

NAME
libcaca-tutorial - A libcaca tutorial First, a very simple working program, to check for basic libcaca functionalities. #include <caca.h> int main(void) { caca_canvas_t *cv; caca_display_t *dp; caca_event_t ev; dp = caca_create_display(NULL); if(!dp) return 1; cv = caca_get_canvas(dp); caca_set_display_title(dp, 'Hello!'); caca_set_color_ansi(cv, CACA_BLACK, CACA_WHITE); caca_put_str(cv, 0, 0, 'This is a message'); caca_refresh_display(dp); caca_get_event(dp, CACA_EVENT_KEY_PRESS, &ev, -1); caca_free_display(dp); return 0; } What does it do? o Create a display. Physically, the display is either a window or a context in a terminal (ncurses, slang) or even the whole screen (VGA). o Get the display's associated canvas. A canvas is the surface where everything happens: writing characters, sprites, strings, images... It is unavoidable. Here the size of the canvas is set by the display. o Set the display's window name (only available in windowed displays, does nothing otherwise). o Set the current canvas colours to black background and white foreground. o Write the string 'This is a message' onto the canvas, using the current colour pair. o Refresh the display, causing the text to be effectively displayed. o Wait for an event of type CACA_EVENT_KEY_PRESS. o Free the display (release memory). Since it was created together with the display, the canvas will be automatically freed as well. You can then compile this code on an UNIX-like system using the following commans (requiring pkg-config and gcc): gcc `pkg-config --libs --cflags caca` example.c -o example Version 0.99.beta18 Fri Apr 6 2012 libcaca-tutorial(3caca)
Man Page

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

System hanged. help required.

HI, I have a Fedora running box. I am not able to ping/login. I guess it got hanged. Can any one help me how to login to that box with out restart? (8 Replies)
Discussion started by: praveen_b744
8 Replies

2. UNIX for Advanced & Expert Users

wierd Blue Quartz GUI problem with Virtual domains

Hi all Sorry this will turn out to be a long post since the code is kinda long. I have a centos 4.x box running Blue Quartz management system. I manage like 70 virtual domains on this server. I asked this question at the Blue Quartz Forum site NuOnce Networks / Cobalt - BlueQuartz - CentOS... (1 Reply)
Discussion started by: mcraul
1 Replies

3. Solaris

Sense Key: Media Error

Hi all, We have below WARNING in /var/adm/messages file from our Solaris server. WARNING: /sbus@1f,0/SUNW,fas@e,8800000/sd@0,0 (sd0): Error for Command: write(10) Error Level: Fatal Requested Block: 16745265 Error Block: 16745269 Vendor: SEAGATE Serial Number:... (8 Replies)
Discussion started by: summerboy
8 Replies

4. Shell Programming and Scripting

searching thru or combining multiple lines in a unix file

This is the problem actually: This regex: egrep "low debug.*\".*\"" $dbDir/alarmNotification.log is looking for data between the two quotation marks: ".*\" When I hate data like this: low debug 2009/3/9 8:30:20.47 ICSNotificationAlarm Prodics01ics0003 IC... (0 Replies)
Discussion started by: ndedhia1
0 Replies

5. Programming

Modifying sniffex.c to include concepts of parallel programming or threads

HI For the past 1 week i have been trying to include the concepts of parallel programming or thread in the sniffex.c code. Haven't been able to.. Please suggest sm appropriate modifications to the following code: /* * sniffex.c * * Sniffer example of TCP/IP packet capture using... (1 Reply)
Discussion started by: aka.bhagvanji
1 Replies

6. Shell Programming and Scripting

Preserving file format and spacing in output file

Hi I have a file with the following structure "VATTENFALL GLOBAL" "Vattenfall Tray" "BARCLAYS BANK LONDON" "Capula" "P1 AGEAS GLOBAL COMPANY" "AAC - Optiver" The requirement is like this 1) Take 2 input... (16 Replies)
Discussion started by: sudeep.id
16 Replies

7. Shell Programming and Scripting

awk script to split file into multiple files based on many columns

So I have a space delimited file that I'd like to split into multiple files based on multiple column values. This is what my data looks like 1bc9A02 1 10 1000 FTDLNLVQALRQFLWSFRLPGEAQKIDRMMEAFAQRYCQCNNGVFQSTDTCYVLSFAIIMLNTSLHNPNVKDKPTVERFIAMNRGINDGGDLPEELLRNLYESIKNEPFKIPELEHHHHHH 1ku1A02 1 10... (9 Replies)
Discussion started by: viored
9 Replies

8. UNIX for Dummies Questions & Answers

Intersection by part of the string

Hi, I like to intersect two files based on their first columns. Here is the code which does the trick for me: awk 'NR==FNR{A;next}$1 in A' file1 file2 However, this only looks for exact matches between the two files in the first column. I need them to be printed even if part of the string... (10 Replies)
Discussion started by: a_bahreini
10 Replies

9. Shell Programming and Scripting

Shell Script with following awk command pls help

Hi I want to create a shell script with the following awk command & also get the filenames in output. awk '/<catetcsecuretty0>/ {p=1} /<catvarlogmessages0>/ {p=0} p' *.xml As there will be multiple outputs related to many xml files I cannot identify which output belongs to which file ... (5 Replies)
Discussion started by: sharp488
5 Replies