Article View: comp.sys.ibm.pc
Article #43864Re: Why differences between PRINT and COPY?
From: Kevin D. Quitt
Date: Sat, 10 Mar 1990 18:10
Date: Sat, 10 Mar 1990 18:10
20 lines
1357 bytes
1357 bytes
The real reason is that DOS is basically hosed. All systems have
some EOF character for input from keyboards and/or serial lines. DOS
thinks this is such a good idea, it uses the EOF on output too! (not to
disk).
It's not that PRINT or COPY explicity check for EOF - when they send
the EOF, DOS closes the channel for them. If you specify /B to COPY, it
uses IOCTL to make the channel a raw output channel.
kdq
--
Kevin D. Quitt Manager, Software Development
DeMott Electronics Co. VOICE (818) 988-4975
14707 Keswick St. FAX (818) 997-1190
Van Nuys, CA 91405-1266 MODEM (818) 997-4496 Telebit PEP last
34 12 N 118 27 W srhqla!demott!kdq kdq@demott.com
"Next time, Jack, write a God-damned memo!" - Jack Ryan
Technical Details
Message-ID:
<64@demott.COM>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!snorkelwacker!usc!srhqla!demott!kdqReferences:
<6182@blake.acs.washington.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!snorkelwacker!usc!srhqla!demott!kdq From: kdq@demott.COM (Kevin D. Quitt) Newsgroups: comp.sys.ibm.pc,comp.sys.zenith Subject: Re: Why differences between PRINT and COPY? Keywords: PRINT, COPY, binary files Message-ID: <64@demott.COM> Date: 10 Mar 90 18:10:37 GMT References: <6182@blake.acs.washington.edu> Reply-To: kdq@demott.COM (Kevin D. Quitt) Followup-To: comp.sys.ibm.pc Distribution: na Organization: DeMott Electronics Co., Van Nuys CA Lines: 20