version 1.1, 2003/01/10 08:19:07 |
version 1.2, 2003/01/12 16:57:02 |
|
|
#include <libgen.h> |
#include <libgen.h> |
|
|
#include "atomicio.h" |
#include "atomicio.h" |
|
#include "progressmeter.h" |
|
|
/* Number of seconds before xfer considered "stalled". */ |
/* Number of seconds before xfer considered "stalled". */ |
#define STALLTIME 5 |
#define STALLTIME 5 |
|
|
static int get_tty_width(void); |
static int get_tty_width(void); |
|
|
/* Visual statistics about files as they are transferred. */ |
/* Visual statistics about files as they are transferred. */ |
static void draw_progress_meter(); |
static void draw_progress_meter(void); |
|
|
/* Time a transfer started. */ |
/* Time a transfer started. */ |
static struct timeval start; |
static struct timeval start; |