SFTP Status Bar..

Wendy Palm wendyp at cray.com
Thu Feb 7 10:43:52 EST 2002


my apologies.  after sending the email, i realized it was a field-size issue.
file names show up for shorter pathnames easily.  just a wierd coincidence.

wendy


Wendy Palm wrote:
> 
> ok, in that case-
> 
> works for multiples on the crays, however, the name of the file isn't making it
> in the output
> sftp> get f*
> /ptmp/wendyp/ftpdir/ 100% |*****************************|   102 KB    00:00
> /ptmp/wendyp/ftpdir/  99% |**************************** | 31770       00:00
> /ptmp/wendyp/ftpdir/ 100% |*****************************|  1505 KB    00:01
> /ptmp/wendyp/ftpdir/ 100% |*****************************| 91042       00:00
> /ptmp/wendyp/ftpdir/ 100% |*****************************|   246 KB    00:01
> sftp> quit
> 
> (same problem on my redhat linux box)
> 
> however, to get it to compile, i had to modify
> misc.c/foregroundproc() to
> 
> static int
> foregroundproc(void)
> {
>         static pid_t pgrp = -1;
>         int ctty_pgrp;
> 
>         if (pgrp == -1)
>                 pgrp = getpgrp();
> 
> #ifdef HAVE_TCGETPGRP
>         return ((ctty_pgrp = tcgetpgrp(STDOUT_FILENO)) != -1 &&
>                 ctty_pgrp == pgrp);
> #else
>         return ((ioctl(STDOUT_FILENO, TIOCGPGRP, &ctty_pgrp) != -1 && ctty_pgrp== pgrp));
> #endif
> }
> 
> mouring wrote:
> >
> > It is default on, but as what William pointed out single gets
> > seem not to trigger it for some odd reason (looking into it now).
> >
> > - Ben
> >
> 
> --
> wendy palm
> Cray OS Sustaining Engineering, Cray Inc.
> wendyp at cray.com, 651-605-9154
> _______________________________________________
> openssh-unix-dev at mindrot.org mailing list
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev

-- 
wendy palm
Cray OS Sustaining Engineering, Cray Inc.
wendyp at cray.com, 651-605-9154



More information about the openssh-unix-dev mailing list