comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Get_Immediate does not read CR in CRLF pairs
Date: Tue, 8 Mar 2022 09:03:36 +0100	[thread overview]
Message-ID: <t072kn$1jeo$1@gioia.aioe.org> (raw)
In-Reply-To: 1bd9b7ee-9195-44b3-8de2-c018a44b7eden@googlegroups.com

On 2022-03-08 08:45, Marius Amado-Alves wrote:
> Behaviour of Ada.Text_IO on GNAT/Windows 11:
> 
> (1) Get_Immediate does not read the CR in CRLF pairs
> 
> (2) Get_Immediate does not read the ending CRLF pair at all (in loop terminated upon End_Of_File)
> 
> (3) an extra ending CRLF pair is output
> 
> Does this behaviour follow from the ARM?
> Do other compilers behave 'better'?
> 
> Sequential_IO instantiated with Character works correctly (so I am not blocked, just curious:-)

I guess this is a part of translation text I/O does and sequential and 
stream I/O do not.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de

  parent reply	other threads:[~2022-03-08  8:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-08  7:45 Get_Immediate does not read CR in CRLF pairs Marius Amado-Alves
2022-03-08  7:46 ` Luke A. Guest
2022-03-08 12:08   ` Marius Amado-Alves
2022-03-08 14:57     ` Luke A. Guest
2022-03-08 16:43       ` Marius Amado-Alves
2022-03-08 17:21         ` Dennis Lee Bieber
2022-03-08 17:26         ` Dennis Lee Bieber
2022-03-09  9:11         ` Luke A. Guest
2022-03-08  8:03 ` Dmitry A. Kazakov [this message]
2022-03-08  9:06 ` Jeffrey R.Carter
2022-03-08 12:20   ` Marius Amado-Alves
2022-03-08 12:53     ` Dmitry A. Kazakov
2022-03-09 11:26       ` Marius Amado-Alves
2022-03-09 12:54         ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox