Article View: comp.bbs.waffle
Article #3008Re: The woes of ^Z
From: Phil Hill
Date: Mon, 21 Dec 1992 04:28
Date: Mon, 21 Dec 1992 04:28
33 lines
2026 bytes
2026 bytes
>jon@vector0.SAC.CA.US (Dazed N. Confused) writes: >> Somewhere in the middle of the article the poster had put in a >> ^Z. Waffle stopped at this point and read no further, even though >> the rest of the file was about 10k. roy%cybrspc@cs.umn.edu (Roy M. Silvernail) writes: >Waffle handles files in text mode, except when reading/writing the spool >for off-site traffic. (right, Bill?) ^Z happens to the the DOS EOF >marker for text files. Waffle hasn't got a bug. MS-DOS has a bozon >filesystem. Doesn't have anything to do with the filesystem. The DEFAULT mode to read a file is "TEXT" mode, in which case a ^Z is treated as EOF. If WAFFLE didn't open the news files in "TEXT" mode, then this bug would be fixed. But then you would have to contend with CR/LF line delimiters. > >Hey, Unix types... what happens if a DOS site embeds a ^D in mail or >news? ^D is only treated as the EOF character when it's typed in from the keyboard. As a matter of fact you can change which character is treated as EOF by issuing a 'stty' command. "stty eof ^Z" will make UNIX act more like DOS. ^D or ^Z doesn't have any effect when read from a file unless a program is setup to look for those characters. ------------------------------------------------------------------------- | Phil Hill | "All you people in TV land, | | Miracle Computer Consultants | I will wake up your empty shells. | | | Peak time viewing blown in a flash, | | | as I burn into your memory cells. | | Email: phil@miracle.com | 'cause I'm alive." - Peter Gabriel |
Technical Details
Message-ID:
<21Dec92002848@miracle.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!darwin.sura.net!spool.mu.edu!agate!linus!alliant!merk!miracle!philShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!paladin.american.edu!darwin.sura.net!spool.mu.edu!agate!linus!alliant!merk!miracle!phil From: phil@miracle.com (Phil Hill) Newsgroups: comp.bbs.waffle Subject: Re: The woes of ^Z Message-ID: <21Dec92002848@miracle.com> Date: Mon, 21 Dec 92 00:28:48 EDT Organization: Miracle Computer Consultants Lines: 44