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!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news.illinois.net!attcg1!ip.att.net!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: variable length strings Date: 26 Oct 2004 07:48:54 -0500 Organization: LJK Software Message-ID: References: <1861614.TWv5A9FgVL@linux1.krischik.com> <4178e979_1@baen1673807.greenlnk.net> <1195374.UMjBCk7lO1@linux1.krischik.com> <1154613.ipZcUgduzp@linux1.krischik.com> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1098794906 13194 192.135.80.34 (26 Oct 2004 12:48:26 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Tue, 26 Oct 2004 12:48:26 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:5721 Date: 2004-10-26T07:48:54-05:00 List-Id: 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) 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). Solutions which involve rewriting the data into another format are only for people who have never seen a truly large file. ISO-9660, for example can use 32767 volumes to hold a single file, and even though the various DVD formats are limited to less than about 10 GB, the ISO-9660 format can also be used on magnetic disks.