What's up, guys. diff -Naur orig/pacman-2.8.4/src/pacsync.c pacman-2.8.4/src/pacsync.c --- orig/pacman-2.8.4/src/pacsync.c 2004-07-16 20:16:35.000000000 -0500 +++ pacman-2.8.4/src/pacsync.c 2004-08-25 03:00:31.000000000 -0500 @@ -57,6 +57,12 @@ extern PMList *pmc_syncs; extern int maxcols; +/* hot hot pacman action */ +unsigned int lastcur = 0; +struct mouth { + unsigned open:1; +} mouth; + int sync_synctree() { char ldir[PATH_MAX] = ""; @@ -424,13 +430,17 @@ printf(" %s [", sync_fnm); cur = (int)((maxcols-64)*pct/100); for(i = 0; i < maxcols-64; i++) { - (i < cur) ? printf("#") : printf(" "); + (i < cur) ? printf(" ") : (i == cur) ? ((lastcur == cur) ? + (mouth.open ? printf("C") : printf("c")) : + (++mouth.open ? printf("C") : printf("c"))) : + printf("."); } if(rate > 1000) { printf("] %3d%% %6dK %6.0fK/s %02d:%02d:%02d\r", pct, ((xfered+offset) / 1024), rate, eta_h, eta_m, eta_s); } else { printf("] %3d%% %6dK %6.1fK/s %02d:%02d:%02d\r", pct, ((xfered+offset) / 1024), rate, eta_h, eta_m, eta_s); } + lastcur = cur; fflush(stdout); return(1); } -- Michael Baehr - Arch Linux GNUstep Geek