home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / hp48 / 4088 < prev    next >
Encoding:
Text File  |  1992-07-30  |  1.2 KB  |  33 lines

  1. Newsgroups: comp.sys.hp48
  2. Path: sparky!uunet!sun-barr!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!m2.dseg.ti.com!ernest!cmptrc!carter
  3. From: carter@cmptrc.lonestar.org (Carter Bennett)
  4. Subject: Re: FTP Files
  5. Summary: DOS "type" command will perform LF -> CRLF
  6. Message-ID: <Bs7vs2.6ps@cmptrc.lonestar.org>
  7. Sender: carter@cmptrc.lonestar.org
  8. Date: Thu, 30 Jul 1992 19:36:02 GMT
  9. References: <1992Jul29.175940.29255@ultb.isc.rit.edu>
  10. Organization: CompuTrac Inc., Richardson TX
  11. Lines: 20
  12.  
  13. In article <1992Jul29.175940.29255@ultb.isc.rit.edu> jks4675@ritvax.isc.rit.edu writes:
  14. >After uncompressing them, the files have ^J's instead of
  15. >'returns'. Thus, my Norton Editor can't get them in a format the
  16. >48SX can understand.
  17.  
  18. I couldn't decide whether to mail this or post it.  I finally decided it
  19. might be useful for someone else, so here it is.  Please, no flames.
  20.  
  21. The remote system (probably Unix-like) is using LF (^J) as a newline.
  22. DOS programs (most of them) look of CR or CRLF, but not LF.  Interestingly,
  23. one DOS command, "type", understands though.
  24.  
  25. FTP your file, then type:
  26.       type  old-file-name  >  new-file-name
  27.  
  28. That should fix it.
  29.  
  30. Carter R. Bennett, Jr. - Scientist      No matter where you go...
  31. carter@scilab.lonestar.org                 ...tty!
  32. KI5SR
  33.