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