home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / apple2 / 20235 < prev    next >
Encoding:
Text File  |  1992-09-12  |  2.0 KB  |  52 lines

  1. Newsgroups: comp.sys.apple2
  2. Path: sparky!uunet!spool.mu.edu!uwm.edu!linac!att!cbnewsm!cbnewsl!att-out!cbnewsd!bird
  3. From: bird@cbnewsd.cb.att.com (j.l.walters)
  4. Subject: Re: Proterm file transfer & appleworks files
  5. Organization: AT&T
  6. Date: Sat, 12 Sep 1992 18:45:55 GMT
  7. Message-ID: <1992Sep12.184555.4873@cbnewsd.cb.att.com>
  8. References: <1992Sep11.153032.3575@ll.mit.edu>
  9. Lines: 41
  10.  
  11. From article <1992Sep11.153032.3575@ll.mit.edu>, by yasu@ll.mit.edu (Alan Yasutovich):
  12. > In article <19920911.055155.597@almaden.ibm.com> Pauley@vnet.ibm.com (Paul Benson) writes:
  13. >>In <1992Sep10.195221.16348@ll.mit.edu> Alan Yasutovich writes:
  14. >>>   I am trying to transfer files from a sun to my apple IIc.
  15. >>>   I am able to transfer the file to a disk, but the appleworks
  16. >>>   software doesn't recognize it; it's in the wrong format.
  17. >>
  18. >>Well, more than likely the (text?) files you are getting from your sun are
  19. >>straight ASCII files.  AW does not read those in directly.  You have to
  20. >>Create New Document->From ASCII File->(provide pathname), and that should
  21. >>read it in.  If this is what you are doing, then something else is messed
  22. >>up.
  23. >>
  24. >>Pauley
  25. >>GEnie: P.Benson1
  26. >     You are right.  Thank you. I am able to suck in the file
  27. >     that way.  Is there a way to transfer the file so that
  28. >     all the garbage  (i.e. many "#"'s) go away, and there
  29. >     isn't any editing to do from the transfer?  (Or at least
  30. >     a minimal amount)?
  31.  
  32. The # signs you are seeing come from the Control-J used by Unix(R)
  33. to distinguish the end of a line. Apple uses a Control-M for this
  34. purpose.
  35.  
  36. MS-DOS uses both the Control-J and Control-M (You can't be too
  37. sure about the end of the line.)
  38.  
  39. This means that you have to convert the file at one end or the
  40. other and the Unix end is normally the easiest. I use two local
  41. commands, utoa filename(s) and atou filename(s). Both are simply 
  42. tr commands that look for the control character of interest and
  43. change it to the wanted.
  44. -- 
  45.  
  46.  
  47.                 Joe Walters att!ihlpw!bird   
  48.                 IH 2A-227 (708) 979-9527
  49.