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 From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: variable length strings Date: 26 Oct 2004 14:46:25 -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 1098819947 19438 192.135.80.34 (26 Oct 2004 19:45:47 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Tue, 26 Oct 2004 19:45:47 +0000 (UTC) Path: g2news1.google.com!news1.google.com!news.glorb.com!prodigy.com!newshosting.com!nx02.iad01.newshosting.com!diablo.voicenet.com!news-peer1.sprintlink.net!news-in-west1.sprintlink.net!news.binc.net!kilgallen Xref: g2news1.google.com comp.lang.ada:5734 Date: 2004-10-26T14:46:25-05:00 List-Id: In article , =?ISO-8859-1?Q?Bj=F6rn_Persson?= writes: > Warren W. Gay VE3WWG wrote: > >> 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 ;-) > > The way I see it, the unfortunate reality is that any program that=20 > processes text files needs to handle both LF, CR and CR-LF, and maybe=20 > NEL too (and record-based files on such platforms I suppose), as well as = > both presence and absence of a line break at the end of the last line.=20 VAX/DEC/Compaq/HP Ada on VMS (and presumably GNAT on VMS) have that under control just by making the operating system call that takes care of such differences.