Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site amdcad.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!amdcad!jimb From: jimb@amdcad.UUCP (Jim Budler) Newsgroups: net.sources.mac Subject: Re: How to post a program on this group Message-ID: <11491@amdcad.UUCP> Date: Sat, 26-Apr-86 13:59:42 EDT Article-I.D.: amdcad.11491 Posted: Sat Apr 26 13:59:42 1986 Date-Received: Sun, 27-Apr-86 06:51:15 EDT References: <2544@sdcc6.UUCP> Reply-To: jimb@amdcad.UUCP (Jim Budler) Organization: AMD, Sunnyvale, California Lines: 30 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