[comp.sys.amiga.programmer] COPY from SER:, why is it screwy?

bryan@cs.utexas.edu (Bryan Bayerdorffer @ Wit's End) (03/19/91)

	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.