curl-users
Re: cURL under Windows stops reading data from stdin on ^Z (fwd)
From: Ignacio Vazquez-Abrams <ivazquez_at_ivazquez.net>
Date: Thu, 27 Oct 2005 08:34:12 -0400
Received on 2005-10-27
Date: Thu, 27 Oct 2005 08:34:12 -0400
On Thu, 2005-10-27 at 14:20 +0200, Daniel Stenberg wrote:
> On Thu, 27 Oct 2005, Ignacio Vazquez-Abrams wrote:
>
> > Ctrl-Z is the EOF marker in text under DOS/Windows.
>
> So how do we work around it? Set stdin to binary mode?
Not really sure, but trying that can't hurt. (I left DOS/Win programming
a *long* time ago... too many weird corner cases to deal with ;) )
-- Ignacio Vazquez-Abrams <ivazquez_at_ivazquez.net> http://fedora.ivazquez.net/ gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72
- application/pgp-signature attachment: This is a digitally signed message part