Path: utzoo!attcan!uunet!cs.utexas.edu!asuvax!ncar!umigw!mthvax!wb8foz From: wb8foz@mthvax.cs.miami.edu (David Lesher) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: removal of CR Keywords: CR-LF CR text WordStar file conversion Message-ID: <1990May29.222706.9840@mthvax.cs.miami.edu> Date: 29 May 90 22:27:06 GMT References: <470@ra.MsState.Edu> Reply-To: wb8foz@mthvax.cs.miami.edu (David Lesher) Distribution: comp.binaries.ibm.pc.d Organization: NRK Clinic for habitual NetNews abusers Lines: 18 In a stock text file, you have CR/LF pairs. In a *word processor* file, you have something else that the wp can remove at will, a so-called "soft return" code. What this is varies from wp to wp. I think that what WordStar used was a CR with the 8th bit set. But when you import a text file, it is ALL CR/LF's, not "soft" ones. About the only way around this problem is to edit the file, looking for PAIRS of CR/LF's (because these are paragraph ends) and turn them into something unique, such as "ZQ@". Then remove all the remaining CR/LFs. The problem is that classic WordStar always hung when I tried this on long files. If it doesn't, go back, change ZQ@ into CRLFCRLF, and reform. -- A host is a host from coast to coast.....wb8foz@mthvax.cs.miami.edu & no one will talk to a host that's close............(305) 255-RTFM Unless the host (that isn't close)......................pob 570-335 is busy, hung or dead....................................33257-0335