Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-tis!ames!pasteur!agate!saturn!ucscb.UCSC.EDU!bushnel From: bushnel@ucscb.UCSC.EDU (60163000) Newsgroups: comp.sys.mac Subject: WANTED: Program to translate Mac generic text to UNIX text Keywords: Program to insert UNIX "new-line" chars at eoln in Mac text file. Message-ID: <4314@saturn.ucsc.edu> Date: 28 Jul 88 01:05:05 GMT Sender: usenet@saturn.ucsc.edu Reply-To: bushnel@ucscb.UCSC.EDU (Bill Bushnell) Organization: University of California, Santa Cruz; CATS Lines: 21 Help: I need a utility (Mac or UNIX, but Mac preferred) that translates a generic text file on the Macintosh to a file I can use in UNIX. One nice thing about the Mac is that it has a smart auto-wraparound so that I don't have to hit "return" at the end of every line; the Mac takes care of that automatically, without splitting up words. Unfortunately, while vi has auto-wraparound, it doesn't keep the words together. If I try copying a text file from the Mac directly to UNIX, each paragraph ends up as one line in vi with the wraparound chopping words in half or worse. A friend of mine, running Bitcom on his XT-clone is always complaining that he loses everything past 80 characters when I mail him messages typed on my Mac. I tried writing a short Pascal program to insert a real carriage return or new-line character in place of the last white-space before the right margin, but I gave up after I realized that it wasn't a trivial problem. If anyone has a PD or Shareware program which does this, I would be most appreciative. I'm surprised this problem hasn't been mentioned before. Have I missed something? Bill Bushnell bushnel@ucscb.UCSC.EDU (Bill Bushnell)