jimb@amdcad.UUCP (Jim Budler) (04/26/86)
In article <2544@sdcc6.UUCP> ix21@sdcc6.UUCP (David Whiteman) writes: > >I have been trying for several days to post a program to this group. >The program and docs survive PackIt II and Binhex 4.0 without error, >and I am able to upload the file using either Kermit or xmodem >without errors; however, the file on this machine consists of one >long line of about 10,000 characters which postnews can't handle. >Is the file suppose to be one line, or what step am I leaving out? >I am using RedRyder 8.0 as a terminal program. > The Macintosh uses a carriage return as an end of line character, Unix uses a line feed. Some of the protocols do the conversion automatically, (macget -u, kermit from Columbia) others do not, (MacTerminal Text REMOVES line feeds only when following a carriage return). Xmodem does nothing but transfer. After transfering to unix I execute the following: % tr "\015" "\012" < inputfile > outputfile Prior to downloading from unix I execute the following: % tr "\012" "\015" < inputfile > outputfile This should take care of your problem. -- Jim Budler Advanced Micro Devices, Inc. (408) 749-5806 Usenet: {ucbvax,decwrl,ihnp4,allegra,intelca}!amdcad!jimb Compuserve: 72415,1200