Sponsored Content
Full Discussion: Shell Script Animation
Top Forums Shell Programming and Scripting Shell Script Animation Post 302070308 by wojtyla on Tuesday 4th of April 2006 02:51:05 AM
Old 04-04-2006
Shell Script Animation

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%
==== | 20%
============== / 40%

something like this
(the %age progress is at a constant place the html format is not showing it properly)
can someone help me with this ??
 

8 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

Graphics And Animation

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

3d animation

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?

unix.com Flash animation

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. UNIX for Dummies Questions & Answers

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... (0 Replies)
Discussion started by: debit
0 Replies

5. Shell Programming and Scripting

Gnuplot shell script controlled animation

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

While loop animation

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?

Forum Description Animation with jQuery

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?

Loading Animation for Large Man Page Repositories

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
ttk::progressbar(n)						 Tk Themed Widget					       ttk::progressbar(n)

__________________________________________________________________________________________________________________________________________________

NAME
ttk::progressbar - Provide progress feedback SYNOPSIS
ttk::progressbar pathName ?options? _________________________________________________________________ DESCRIPTION
A ttk::progressbar widget shows the status of a long-running operation. They can operate in two modes: determinate mode shows the amount completed relative to the total amount of work to be done, and indeterminate mode provides an animated display to let the user know that something is happening. STANDARD OPTIONS
-class -cursor -takefocus -style See the ttk_widget manual entry for details on the standard options. WIDGET-SPECIFIC OPTIONS [-orient orient] One of horizontal or vertical. Specifies the orientation of the progress bar. [-length length] Specifies the length of the long axis of the progress bar (width if horizontal, height if vertical). [-mode mode] One of determinate or indeterminate. [-maxi- mum maximum] A floating point number specifying the maximum -value. Defaults to 100. [-value value] The current value of the progress bar. In determinate mode, this represents the amount of work completed. In indeterminate mode, it is interpreted modulo -maximum; that is, the progress bar completes one "cycle" when the -value increases by -maximum. [-variable variable] The name of a Tcl variable which is linked to the -value. If specified, the -value of the progress bar is automatically set to the value of the variable whenever the latter is modified. [-phase phase] Read-only option. The widget periodically increments the value of this option whenever the -value is greater than 0 and, in determinate mode, less than -maximum. This option may be used by the current theme to provide additional animation effects. WIDGET COMMAND
pathName cget option Returns the current value of the specified option; see ttk::widget(n). pathName configure ?option? ?value option value ...? Modify or query widget options; see ttk::widget(n). pathName identify x y Returns the name of the element at position x, y. See ttk::widget(n). pathName instate statespec ?script? Test the widget state; see ttk::widget(n). pathName start ?interval? Begin autoincrement mode: schedules a recurring timer event that calls step every interval milliseconds. If omitted, interval defaults to 50 milliseconds (20 steps/second). pathName state ?stateSpec? Modify or query the widget state; see ttk::widget(n). pathName step ?amount? Increments the -value by amount. amount defaults to 1.0 if omitted. pathName stop Stop autoincrement mode: cancels any recurring timer event initiated by pathName start. SEE ALSO
ttk::widget(n) Tk 8.5 ttk::progressbar(n)
All times are GMT -4. The time now is 02:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy