From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,a0833bbed8752e1f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail From: "Warren W. Gay VE3WWG" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: variable length strings References: <1861614.TWv5A9FgVL@linux1.krischik.com> <4178e979_1@baen1673807.greenlnk.net> <1195374.UMjBCk7lO1@linux1.krischik.com> <1154613.ipZcUgduzp@linux1.krischik.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Tue, 26 Oct 2004 12:11:11 -0400 NNTP-Posting-Host: 198.96.223.163 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1098807072 198.96.223.163 (Tue, 26 Oct 2004 12:11:12 EDT) NNTP-Posting-Date: Tue, 26 Oct 2004 12:11:12 EDT Organization: Bell Sympatico Xref: g2news1.google.com comp.lang.ada:5725 Date: 2004-10-26T12:11:11-04:00 List-Id: Larry Kilgallen wrote: > In article , Marius Amado Alves writes: > > >>This however perpetuates another problem: text files cannot be shared >>between different OSes. > > > The problem of variable length record text files is beyond the reach > of any Ada standard. > > The possibilities VMS must handle are: > > Out-of-band record termination (as codified in ISO-9660 6.10.4) > CRLF record termination (compatible with Microsoft) > CR record termination (compatible with MacOS) > LF record termination (compatible with Unix) Conceptually, someone/OS could also create: LFCR record termination though I don't know of any in the wild. > I do not think any non-proprietary standard supports all of those (in > the sense of providing an out-of-band indicator regarding which is in > use). Agreed. I think it is reasonable that text files be in the correct format for the platform in use. If they are not, then they require conversion. I also accept that from a practical point of view, we all like it to adapt anyway ;-) Warren.