Path: utzoo!utgpu!attcan!uunet!peregrine!elroy!ames!amdahl!pacbell!pbseps!rdp From: rdp@pbseps.UUCP (Richard Perlman) Newsgroups: comp.sys.mac Subject: Re: 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: <133@pbseps.UUCP> Date: 29 Jul 88 16:12:06 GMT References: <4314@saturn.ucsc.edu> <12695@agate.BERKELEY.EDU> Reply-To: rdp@pbseps.PacBell.COM (Richard Perlman) Organization: Pacific Bell Separations, San Francisco, CA Lines: 31 >In article <4314@saturn.ucsc.edu> bushnel@ucscb.UCSC.EDU (Bill Bushnell) writes: > 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. >[etc, etc] Try copying your document to the clipboard from inside your WP program. Then go on-line, start up vi and paste (send) the clipboard. This works in VersaTerm and MacTerminal, I'm sure other programs support it too. A cleaner way is to enter the following UNIX command line: stty -echo cat > file_name [paste clipboard contents] ^D stty echo vi file_name You could easily build a shell for this, and if your Mac terminal emulation program allows, even start the transfer procedure by sending the correct escape sequence to the Mac. BTW, this also works great with DG's CEO word processing. -- Richard Perlman * pbseps!rdp@PacBell.COM || {ames,sun,att}!pacbell!pbseps!rdp 180 New Montgomery St. rm 602, San Francisco, CA 94105 |*| (415) 545-0233