This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Cygwin and filter selection
- From: Joerg Fischer <jf505 at gmx dot de>
- To: <cygwin-xfree at cygwin dot com>
- Date: Sun, 3 Aug 2003 22:42:41 +0200
- Subject: Re: Cygwin and filter selection
- Reply-to: cygwin-xfree at cygwin dot com
I can confirm the following report except that the limits of the return
sizes on my system are different. For tr the limit is 33K. As Tim noted,
sort seems to have no limit ... ?
------ mail forwarded, original message follows ------
To: jf505@gmx.de
From: timh@marmot-eng.com <Tim Hubberstey>
Subject: Re: Cygwin and filter selection
Date: Sun, 03 Aug 2003 11:54:44 -0700
> I didn't report it, yet, but I'll do so. I happen to know a bit more
> about how the shell commands read from the standard streams
> (they set up an Xt call back), just in case this error doesn't happen
> for vim. Or maybe I should get vim and figure out how to filter there ...
OK. I've found some additional behavior that might shed some more light:
For certain filters ('tr' for instance) the maximum return size on my
system is 16k (0x4000) but for some other filters (custom filters I
wrote) the maximum return size on my system is 17k (0x4400). Even more
interesting, 'sort' doesn't seem to have a problem with any size (I
stopped testing at 2 MB).
--
Tim Hubberstey, P.Eng. . . . . . Hardware/Software Consulting Engineer
Marmot Engineering . . . . . . . VHDL, ASICs, FPGAs, embedded systems
Vancouver, BC, Canada . . . . . . . . . . . http://www.marmot-eng.com