home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / atari / st / tech / 6227 < prev    next >
Encoding:
Text File  |  1992-12-12  |  2.0 KB  |  41 lines

  1. Newsgroups: comp.sys.atari.st.tech
  2. Path: sparky!uunet!spool.mu.edu!yale.edu!yale!gumby!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!vega!ntomczak
  3. From: ntomczak@vega.math.ualberta.ca (N Tomczak-Jaegermann)
  4. Subject: Re: *Help* I need to make a non-standard text file standard.
  5. Message-ID: <ntomczak.724213438@vega>
  6. Sender: news@kakwa.ucs.ualberta.ca
  7. Nntp-Posting-Host: vega.math.ualberta.ca
  8. Organization: University Of Alberta, Edmonton Canada
  9. References: <H._cc6LL0jI1_@elfhaven.ersys.edmonton.ab.ca> <71472@cup.portal.com> <1g9vjpINNjbl@golem.wcc.govt.nz> <1992Dec11.153506.9013@csi.uottawa.ca>
  10. Date: Sun, 13 Dec 1992 02:23:58 GMT
  11. Lines: 28
  12.  
  13. cbbrowne@csi.uottawa.ca (Christopher Browne) writes:
  14.  
  15. >Thank you Roger for your useful comments.  Of course, it's not
  16. >actually Atari's standard that you're talking about - it's Microsoft's
  17. >standard.  That's where it came from.
  18.  
  19. As a matter of fact both of you are wrong.  It came from CP/M.
  20. The idea was that when you are dumping your text file to a printer
  21. then the printer, faced with CR/LF pair, will do "the right thing"
  22. so you may skimp on a printer driver.  Unfortunately some printers
  23. got too smart and we are back on a square one.  Other operating
  24. systems are handling text line terminators in many, many different
  25. and often interesting ways.  Single LF is a Unix convention.
  26. Mac is using a lone CR for a change.  BTW - libraries which are
  27. coming with ST version of gcc compiler will handle this minor
  28. annoyace in a transparent manner.
  29.  
  30. >There's a little utility that I found at atari.archive.umich.edu
  31. >called "Flip."  It will "flip" the line delimiters from one to the
  32. >other on demand.  I recompiled it under the latest version of GCC, and
  33. >may have sent a newer copy in.  I don't remember.  If it needs to be
  34. >updated, I certainly have it around at home here, and can upload it.
  35.  
  36. There are uncountable ways to perform a conversion.  For Unix->TOS
  37. probably the simplest will be 'cat' (sane version of it).
  38.  
  39.    Michal Jaegermann
  40.    ntomczak@vega.math.ualberta.ca
  41.