Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!ux1.cso.uiuc.edu!midway!valley From: valley@uchicago (Doug Dougherty) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: djgcc: Parse error before character 032? Message-ID: Date: 25 Mar 91 19:50:48 GMT References: Sender: news@midway.uchicago.edu (News Administrator) Organization: University of Chicago Lines: 27 roy%cybrspc@cs.umn.edu (Roy M. Silvernail) writes: >valley@uchicago (me) writes: >[...] >> >> This is the ^Z problem, right? Funny, my version of vi doesn't >> put no steenkin' ^Z's at the end of my files. >> >> Either find an editor that doesn't put out ^Z's, or find a utility >> to fix ^Z'd files. I have one if you don't find one elsewhere. >I think your solution has its phase inverted. He needs a file _with_ a >^Z appended. Since that's the only way to terminate a 'copy con foo', >there must be a ^Z at the end of the file that worked. I doubt it. I just did copy con foo, typed "this is a test" (14 chars), then ^Z and enter, and got a 16 char file (14 + CR/LF). Inspection with DEBUG showed no steekin' ^Z. Besides, Wordstar, a known CP/M program ported to DOS is likely to be emitting ^Z's, given its heritage. Finally, it was noted quite a while ago that djgcc choked on ^Z files, and while I have not observed it myself, I was merely parrotting (sp?) that line. (Hope this helps, Roy...)