Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!bryan From: bryan@cs.utexas.edu (Bryan Bayerdorffer @ Wit's End) Newsgroups: comp.sys.amiga.programmer Subject: COPY from SER:, why is it screwy? Message-ID: <292@mohawk.cs.utexas.edu> Date: 19 Mar 91 03:47:40 GMT Reply-To: bryan@cs.utexas.edu Organization: Spam Detection & Removal Squad, Austin, TX Lines: 16 Spam-Content: Negligible Why is it that something like 'copy SER: foo' refuses to close both SER: and foo when it reads EOF from the serial port? This is the case for both ARP 'copy' and AmigaDOS 'copy.' These commands behave correctly when reading from, say, a named pipe, so what is the difference? Might it be the Port-handler that's screwing thing up? What I'm after is a way to write/read files to/from SER: simultaneously from one or more shells, e.g.: shell 1 > run copy SER: foo shell 2 > copy bar SER: Sksh 'cp' refuses to read from SER:, so I'm stuck with 'copy', which works, except that it won't write the last block of the destination file and close it.