12-02-2005
script animation
I have read hundreds of the postings and cannot find the answer to my question...so I hope that someone is able to answer it for me.
I am writing a script in bash, and would like to add animation. I have a gif file that I would like to open and have displayed on the screen. Can this be done? Of course the ways I have tried...the results have not been pretty.
Thank you for your time and expertise.
debit
P.S. You guys are great!
8 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
DOES ANYBODY KNOW WHY C OR ANY OTHER UNIX LANGUAGE IS USED IN THREE DIMENSIONAL ANIMATION AND RENDERING (5 Replies)
Discussion started by: aloysius1001
5 Replies
2. UNIX Desktop Questions & Answers
What are the benefits to using UNIX for 3d animation. I am looking into the field, and most places require a strong background in UNIX. Why is this? (3 Replies)
Discussion started by: aloysius1001
3 Replies
3. What is on Your Mind?
I realy Love the look of the Flash animation at top of the forum, very sweet.
But it uses all of my cpu power :( even winamp starts getting little skips.
Then i have to scroll down and hide the nice animation :(
Maybe someone could try to tune it a little bit.
Thats on a 1,6 Ghz... (0 Replies)
Discussion started by: Lazzar
0 Replies
4. Shell Programming and Scripting
Hi,
I want to write a shell script which can do some animation
The animation is as follows
it is like a progress barwhich hould gone on inresing with time & at the end of the line there should be the progess
Eg
== - 10%... (2 Replies)
Discussion started by: wojtyla
2 Replies
5. Shell Programming and Scripting
Hi,
I am looking for basic shell script to feed Gnuplot with live data, to arrange basic animation.
I mean one-liner one variable real function.
Any idea or experiences from the past, generating Gnuplot animation on dumb terminal (ASCII only) ?
Or please refer me to a nice web site.
... (7 Replies)
Discussion started by: darius2
7 Replies
6. Shell Programming and Scripting
This is just for fun but i can't work it out
I want to animate this dotted line in a shell script.
..................................................................................
I want it to start at one dot like this
.
and end up printing them all.
I think I need a while loop... (5 Replies)
Discussion started by: digitalviking
5 Replies
7. What is on Your Mind?
I found that the pages that lists all the forums were too cluttered with the forum descriptions, so I added a bit of jQuery to hide the forum descriptions and to fade them in and out on mouseover:
<script>
$(document).ready(function() {
jQuery(".neo-forum-description").hide();... (2 Replies)
Discussion started by: Neo
2 Replies
8. What is on Your Mind?
Should have done this 10 years ago, so better late than never:
Just added a "loading" animation to the the man page repositories when they load, especially since some are very large and take many seconds to load.
See for example:
https://www.unix.com/man-page-opensolaris-repository.php
... (1 Reply)
Discussion started by: Neo
1 Replies
RRDp(3) User Contributed Perl Documentation RRDp(3)
NAME
RRDp - Attach RRDtool from within a perl script via a set of pipes;
SYNOPSIS
use RRDp
RRDp::start path to RRDtool executable
RRDp::cmd rrdtool commandline
$answer = RRD::read
$status = RRD::end
$RRDp::user, $RRDp::sys, $RRDp::real, $RRDp::error_mode, $RRDp::error
DESCRIPTION
With this module you can safely communicate with the RRDtool.
After every RRDp::cmd you have to issue an RRDp::read command to get RRDtools answer to your command. The answer is returned as a pointer,
in order to speed things up. If the last command did not return any data, RRDp::read will return an undefined variable.
If you import the PERFORMANCE variables into your namespace, you can access RRDtool's internal performance measurements.
use RRDp
Load the RRDp::pipe module.
RRDp::start path to RRDtool executable
start RRDtool. The argument must be the path to the RRDtool executable
RRDp::cmd rrdtool commandline
pass commands on to RRDtool. Check the RRDtool documentation for more info on the RRDtool commands.
Note: Due to design limitations, RRDp::cmd does not support the "graph -" command - use "graphv -" instead.
$answer = RRDp::read
read RRDtool's response to your command. Note that the $answer variable will only contain a pointer to the returned data. The
reason for this is, that RRDtool can potentially return quite excessive amounts of data and we don't want to copy this around in
memory. So when you want to access the contents of $answer you have to use $$answer which dereferences the variable.
$status = RRDp::end
terminates RRDtool and returns RRDtool's status ...
$RRDp::user, $RRDp::sys, $RRDp::real
these variables will contain totals of the user time, system time and real time as seen by RRDtool. User time is the time RRDtool
is running, System time is the time spend in system calls and real time is the total time RRDtool has been running.
The difference between user + system and real is the time spent waiting for things like the hard disk and new input from the Perl
script.
$RRDp::error_mode and $RRDp::error
If you set the variable $RRDp::error_mode to the value 'catch' before you run RRDp::read a potential ERROR message will not cause
the program to abort but will be returned in this variable. If no error occurs the variable will be empty.
$RRDp::error_mode = 'catch';
RRDp::cmd qw(info file.rrd);
print $RRDp::error if $RRDp::error;
EXAMPLE
use RRDp;
RRDp::start "/usr/local/bin/rrdtool";
RRDp::cmd qw(create demo.rrd --step 100
DS:in:GAUGE:100:U:U
RRA:AVERAGE:0.5:1:10);
$answer = RRDp::read;
print $$answer;
($usertime,$systemtime,$realtime) = ($RRDp::user,$RRDp::sys,$RRDp::real);
SEE ALSO
For more information on how to use RRDtool, check the manpages.
AUTHOR
Tobias Oetiker <tobi@oetiker.ch>
perl v5.16.3 2014-06-10 RRDp(3)