cygrunsrv + sshd + rsync = 20 times too slow -- throttled?
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Sep 15 11:40:55 GMT 2021
On Sep 15 13:34, Corinna Vinschen wrote:
> On Sep 15 19:58, Takashi Yano wrote:
> > On Wed, 15 Sep 2021 19:48:58 +0900
> > Takashi Yano wrote:
> > > On Wed, 15 Sep 2021 11:57:44 +0200
> > > Corinna Vinschen wrote:
> > > > Btw., this doesn't work as expected:
> > > >
> > > > $ yes | /cygdrive/c/Windows/System32/more
> > > >
> > > > It just hangs until pressing Ctrl-C. Is that expected currently?
> > >
> > > Indeed. However, this also does not work in cygwin 3.2.0,
> > >
> > > while
> > > yes AAAAAA | /cygdrive/c/Windows/System32/more
> > > works...
> > >
> > > I am not sure why so far.
> >
> > \cygwin64\bin\yes | more
> > in command prompt also does not work.
> >
> > Maybe newline code problem?
>
> It's weird. `yes AA | ...' works but `yes A | ...' doesn't.
> Maybe you're right and the missing CR confuses more...
Yes, that's the problem, apparently. I created a sophisticated
testcase:
$ cat > yes.c <<EOF
include <stdio.h>
int
main ()
{
while (1)
printf ("y\010\n");
}
EOF
$ gcc -g -o yes yes.c
$ ./yes | /cygdrive/c/Windows/System32/more
y
y
y
y
-- MORE --
Corinna
More information about the Cygwin-developers
mailing list