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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: [ANN] List_Image v0.2.0 Date: Thu, 1 Feb 2018 10:48:53 +0100 Organization: Adalog Message-ID: References: <575826a1-c983-49aa-95e2-54048f6b7b5b@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 1 Feb 2018 09:56:14 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="6374c6e08836e19b3ac5e1e1938b7b17"; logging-data="1547"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX188b1Rus2gf9jD0v7efruFN" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 In-Reply-To: Content-Language: fr Cancel-Lock: sha1:RbsLB5+6ReWM5C3ag2dKB+QvlY4= Xref: reader02.eternal-september.org comp.lang.ada:50244 Date: 2018-02-01T10:48:53+01:00 List-Id: Le 31/01/2018 à 22:11, Lionel Draghi a écrit : > I defaulted EOL to Windows CRLF, because it's seems to work well on > my Linux box also. But note that it can be overridden when > instantiating Cursors. I don't now a standard way to get the good > line terminator. There is none, for the simple reason that some operating systems have no physical line terminator. That's why we have a New_Line procedure in Ada, rather than some special character. What I do when I need to return strings that span several lines is to mark the places with LF; when I need to /print/ these strings, I scan them and call New_Line at the place of the LF. -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr