[Home] [By Thread] [By Date] [Recent Entries]


Rick Jelliffe scripsit:

>  From: "John Cowan" <cowan@m...>
>  
> > > So if you can send ^D down your UNIX pipes, it is because the specific programs in the 
> > > pipeline happen to be reading the input stream in binary mode not text mode.  
> > 
> > There is no such distinction at all in Unix.  If some stdio operations on
> > Windows terminate when they see a #x19 in the input, it is purely for CP/M
> > compatibility (no :-) ).
>  
> Where did I say it was a distinction built into UNIX?  
> 
> I said "it is because the specific programs".  And I gave examples of the 
> APIs from C++, Python, Haskell and Perl where this can happen.

In their Unix implementations?  No.  No Unix stdio treats any incoming byte
as EOF.

-- 
John Cowan           http://www.ccil.org/~cowan              cowan@c...
Please leave your values        |       Check your assumptions.  In fact,
   at the front desk.           |          check your assumptions at the door.
     --sign in Paris hotel      |            --Miles Vorkosigan

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member