search for: progressbar

Displaying 20 results from an estimated 54 matches for "progressbar".

Did you mean: progress_bar
2002 Feb 02
0
Version two of progressbar for scp/sftp
...P, &ctty_pgrp) != -1 && + ctty_pgrp == pgrp)); +} + +void +progressmeter(off_t statbytes, off_t totalbytes, char *filename) +{ +#define STALLTIME 5 /* number of seconds before xfer assumed "stalled" */ + static const char prefixes[] = " KMGTP"; + static char *progressbar = NULL, file = NULL; + static struct timeval *start = NULL, lastupdate; + static off_t lastsize; + static size_t progressbar_size = 0; + struct timeval now, td, wait; + off_t cursize, abbrevsize; + double elapsed; + int ratio, barlength, i, remaining; + char buf[256]; + + if (!start) { + start = x...
2002 Feb 06
2
SFTP Status Bar..
...insize.ws_col ? winsize.ws_col : 80); + else + return (80); +} + +void +progressmeter(off_t statbytes, off_t totalbytes, char *filename) +{ +#define STALLTIME 5 /* number of seconds before xfer assumed "stalled" */ + static const char prefixes[] = " KMGTP"; + static char *progressbar = NULL; + static struct timeval *start = NULL, lastupdate; + static off_t lastsize; + static size_t progressbar_size = 0; + struct timeval now, td, wait; + off_t cursize, abbrevsize; + double elapsed; + int ratio, barlength, i, remaining; + char buf[256]; + + if (!start) { + start = xmalloc(sizeof...
2006 May 22
1
rerender tcltk toplevel
Hi everybody, I am trying to write a simple progress display based on a tcltk toplevel. My first approach was to use the progressBar widget from the BWidget library but since this is not available on every system (missing on at least almost all windows systems, I guess...) I wanted to have a backup there. So my second strategy was to use a simple toplevel with a label and update the tclvariable assigned to it. This works nicely...
2011 Jan 20
1
[PATCH] Don't display a progress bar if stderr isn't on a tty
Apart from being a good idea, this works round an apparent bug in either Term::ProgressBar or Term::ReadKey which seems to result in an attempt to write an exceptionally long progress bar. Fixes RHBZ#671083 --- lib/Sys/VirtV2V/Connection/Source.pm | 30 ++++++++++++++++++++++-------- 1 files changed, 22 insertions(+), 8 deletions(-) diff --git a/lib/Sys/VirtV2V/Connection/Source.pm...
2003 May 06
2
scp: missing progressbar, better behaviour on small windows
I miss the stars when doing scp. My suggestion for progressmeter.c makes scp to display different fields on different terminal widths. Maybe this is useful for you. Once in "start_progress_meter()" the outlook of the progressline is calculated. In "draw_progress_meter()" sprintf() instead of snprintf() together with some strlen()'s can be used, because the buffersize has
2010 Nov 17
1
efficient conversion of matrix column rows to list elements
...y to convert the columns of combn() to elements of a single list. Any constructive suggestions will be greatly appreciated. Thanks for your consideration, C code: ------------ unionIndependant <- function(outcomes) { intsctn <- c() column2list <- function(x){list(x)} pb <- ProgressBar(max=length(outcomes),stepLength=1,newlineWhenDone=TRUE) for (i in 2:length(outcomes)){ increase(pb) outcomes_ <- apply(combn(outcomes,i),2,column2list) for (j in 1:length(outcomes_)){outcomes_[[j]] <- outcomes_[[j]][[1]]} outcomes_container <- mclapply(o...
2007 Sep 24
3
Trouble using backgroundrb
...orker(:class => "passwd:get_passwds_worker", :args => "") end def get_progress if request.xhr? progress_percent = MiddleMan.get_worker(session[:job_key]).progress render :update do |page| page.call(''progressPercent'', ''progressbar'', progress_percent) page.redirect_to( :action => ''done'') if progress_percent >= 100 end else redirect_to :action => ''index'' end end def done render :text => "De database is bijgewerkt" Middle...
2011 May 14
1
odfWeave 0.7.17 stutters on Debian testing 64-bit amd64 systems.
...nzipping ODF file using unzip -o In1.odt Archive: In1.odt extracting: mimetype creating: Configurations2/statusbar/ inflating: Configurations2/accelerator/current.xml creating: Configurations2/floater/ creating: Configurations2/popupmenu/ creating: Configurations2/progressbar/ creating: Configurations2/toolpanel/ creating: Configurations2/menubar/ creating: Configurations2/toolbar/ creating: Configurations2/images/Bitmaps/ inflating: content.xml inflating: manifest.rdf inflating: styles.xml extracting: meta.xml...
2008 Jan 30
1
Waiting bar
Hi, I would like to know if it is possible to generate a waiting bar in R when you execute your programs like in Matlab, to make the program more living. Particularly for the loops, it can be useful to know how many time left... Thanks in advance, Lo?c Joffre -- View this message in context: http://www.nabble.com/Waiting-bar-tp15186895p15186895.html Sent from the R help mailing list archive at
2009 Jul 06
1
odfWeave: odt-file damaged
...opyright (c) 1999-2009 Igor Pavlov 2009-02-03 Processing archive: odfWeave-test.odt Extracting mimetype Extracting Configurations2\statusbar Extracting Configurations2\accelerator\current.xml Extracting Configurations2\floater Extracting Configurations2\popupmenu Extracting Configurations2\progressbar Extracting Configurations2\menubar Extracting Configurations2\toolbar Extracting Configurations2\images\Bitmaps Extracting content.xml Extracting styles.xml Extracting meta.xml Extracting Thumbnails\thumbnail.png Extracting settings.xml Extracting META-INF\manifest.xml Everything is Ok F...
2002 Jan 30
1
Quick sftp status indicator.
...+progressmeter(int flag, off_t statbytes, off_t totalbytes, char *curfile) +{ +#define STALLTIME 5 /* number of seconds before xfer assumed "stalled" */ + static const char prefixes[] = " KMGTP"; + static struct timeval lastupdate; + static off_t lastsize; + static u_char *progressbar = NULL; + static size_t progressbar_size = 0; + static struct timeval start; + struct timeval now, td, wait; + off_t cursize, abbrevsize; + double elapsed; + int ratio, barlength, i, remaining; + char buf[256]; + + if (flag == -1) { + (void) gettimeofday(&start, (struct timezone *) 0); + last...
2007 Jul 18
1
Grand Theft Auto Vice City and WIne 0.9.41
...o, GTA Vice City will not start saved or new games anymore in Wine 0.9.41. When you start the game, it displays the menu (after you pressed a random key to skip the intro movie, which does not play). You can change options etc., but when you start a new game or load a save game the game hangs. The progressbar on the bottom of the screen almost gets to a 100%, but hangs around 95%. It does not respond and I have to kill it from a terminal. The game worked perfecty in Wine 0.9.40. Anyone else experienced this? Or has a solution? Regards, Chris _______________________________________________...
2007 Aug 09
1
odfWeave processing error, file specific
...ve09155238949 Unzipping ODF file using unzip -o balf.odt Archive: balf.odt extracting: mimetype creating: Configurations2/statusbar/ inflating: Configurations2/accelerator/current.xml creating: Configurations2/floater/ creating: Configurations2/popupmenu/ creating: Configurations2/progressbar/ creating: Configurations2/menubar/ creating: Configurations2/toolbar/ creating: Configurations2/images/Bitmaps/ inflating: layout-cache inflating: content.xml inflating: styles.xml inflating: meta.xml inflating: Thumbnails/thumbnail.png inflating: settings.xml inflating: MET...
2009 Aug 01
1
odfWeave : sudden and unexplained error
...imetype inflating: content.xml inflating: layout-cache inflating: styles.xml extracting: meta.xml inflating: Thumbnails/thumbnail.png inflating: Configurations2/accelerator/current.xml creating: Configurations2/progressbar/ creating: Configurations2/floater/ creating: Configurations2/popupmenu/ creating: Configurations2/menubar/ creating: Configurations2/toolbar/ creating: Configurations2/images/Bitmaps/ creating: Configurations2/statusbar/ inflating: settings.xml inflating: META-INF...
2009 Jan 11
1
Problem using odfWeave
...ing unzip -o "roffice.odt" Archive: roffice.odt extracting: mimetype creating: Configurations2/statusbar/ inflating: Configurations2/accelerator/current.xml creating: Configurations2/floater/ creating: Configurations2/popupmenu/ creating: Configurations2/progressbar/ creating: Configurations2/menubar/ creating: Configurations2/toolbar/ creating: Configurations2/images/Bitmaps/ inflating: content.xml inflating: styles.xml extracting: meta.xml inflating: Thumbnails/thumbnail.png inflating: settings.x...
2013 Feb 18
3
odfWeave: Trouble Getting the Package to Work
...ing: layout-cache              inflating: manifest.rdf               creating: Configurations2/popupmenu/    creating: Configurations2/images/Bitmaps/    creating: Configurations2/toolpanel/    creating: Configurations2/statusbar/    creating: Configurations2/toolbar/    creating: Configurations2/progressbar/    creating: Configurations2/menubar/    creating: Configurations2/floater/   inflating: Configurations2/accelerator/current.xml    inflating: styles.xml                inflating: META-INF/manifest.xml     Removing  simple.odt   Creating a Pictures directory   Pre-processing the contents   Swe...
2012 Mar 07
6
Can't find the PostgreSQL client library (libpq)
When i try it start my ruby server i get a error that looks like rails server Could not find pg-0.12.2 in any of the sources Run `bundle install` to install missing gems. I dont know what to do Thanks for all the help -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2011 Aug 12
1
odfWeave repeats output
...51677 Unzipping ODF file using unzip -o GCAMT_in.odt Archive: GCAMT_in.odt extracting: mimetype creating: Configurations2/statusbar/ inflating: Configurations2/accelerator/current.xml creating: Configurations2/floater/ creating: Configurations2/popupmenu/ creating: Configurations2/progressbar/ creating: Configurations2/toolpanel/ creating: Configurations2/menubar/ creating: Configurations2/toolbar/ creating: Configurations2/images/Bitmaps/ inflating: content.xml inflating: manifest.rdf inflating: styles.xml extracting: meta.xml inflating: Thumbnails/thumbnail.png...
2006 Jul 09
4
concurrent ajax requests
Hello, maybe someone on this list can help me. I am trying to implement a sort of long database search. In order inform the user about what''s happening, status messages should be displayed to the user while the request is working. e.g. - starting search process - currently searching through database A - found 10 results - currently searching through database B - found 25 results -
2011 Jan 28
5
mysql quotation wonky
Why would, in an upgrade from 3.0.1 to 3.0.3, a rake db:migrate run this: SELECT "schema_migrations"."version" FROM "schema_migrations" vs this ? SELECT `schema_migrations`.`version` FROM `schema_migrations` __ rake db:migrate output __ rake aborted! Mysql::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version