Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdahl!dwl10 From: dwl10@uts.amdahl.com (Dave Lowrey) Newsgroups: comp.sys.amiga Subject: Re: CrossDos sources Message-ID: <482A02WA51kX01@amdahl.uts.amdahl.com> Date: 1 Sep 89 16:01:40 GMT References: <22971@louie.udel.EDU> Reply-To: dwl10@amdahl.uts.amdahl.com (Dave Lowrey) Organization: Amdahl Corporation, Houston TX Lines: 31 >Subject: Re: CrossDos sources > >ejkst@unix.cis.pittsburgh.edu asks: > >> Does CrossDos do CRLF<-->LF conversion on text files? > >Yes, you request it by embedding a 'flag' character (I think it's "[") >anywhere within the file name. > > --- Cal Jones > Hobbit Hole BBS, 904-243-6219, 12/24/9600HST > 340Meg online. Strictly Amiga. You append a ']' character to the file name to do the conversion. When reading the file, the ']' causes all carrage returns and EOFs (Ctrl-Z) to be removed from the file. When writing to a MSDOS file, the ']' causes carrage returns to be addrd before all linefeeds, and adds an EOF to the end of the file. Another note: The demo version od CrossDos has a bug in the TDPatch13 program, that causes it to not work. I called the author, and he gave me the following patch.... Use NewZap to edit TDPatch13. Search for two bytes with "0e00". There is only one occurance of these two bytes. Change the "0e00" to "0380" and save the program. That's all there is to it. -- "What is another word | Dave Lowrey | [The opinions expressed MAY be for 'Thesaurus'?" | Amdahl Corp. | those of the author and are not | Houston, Texas | necessarily those of his Steven Wright | amdahl!dwl10 | employer] (`nuff said!)