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=-2.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,29495b0e9519b616 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-12 18:29:24 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!proxad.net!freenix!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: "amado.alves" Newsgroups: comp.lang.ada Subject: RE: Latin_1 and portability Date: Sat, 13 Dec 2003 02:27:30 -0000 Organization: Cuivre, Argent, Or Message-ID: NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: melchior.cuivre.fr.eu.org 1071282511 6363 80.67.180.195 (13 Dec 2003 02:28:31 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Sat, 13 Dec 2003 02:28:31 +0000 (UTC) To: Return-Path: X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 content-class: urn:content-classes:message Thread-Topic: Latin_1 and portability Thread-Index: AcPBCrbVdDf6RmubS3O2kh5Lncfd8wAFMn8b X-OriginalArrivalTime: 13 Dec 2003 02:27:30.0728 (UTC) FILETIME=[A88AAA80:01C3C120] X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.3 Precedence: list List-Id: Gateway to the comp.lang.ada Usenet newsgroup List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:3429 Date: 2003-12-13T02:27:30+00:00 << Are you saying that some implementations of TEXT_IO.GET_LINE do not handle OS terminals properly ? I thought GET_LINE was the way around OS-dependencies in this area. >> =20 I find this fascinating. You can have an X-conventioned text file in a Y = system, where X and Y are operating systems (with distinct end of line = conventions). If you compile your Ada program to the Y target, it will = not read the X file properly. Amongs other unwarranted effects. Thit is = why I adopt an 1-N conversion approach. Say 8-bit characters. I use = Latin_1.NEL for end of line in the main application (the "1" side), and = provide (simple) converters to/from the N conventions.