From mboxrd@z Thu Jan 1 00:00:00 1970 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R.Carter" Newsgroups: comp.lang.ada Subject: Re: get_immediate echoe character--compiled error? Date: Wed, 4 Oct 2023 15:05:03 +0200 Organization: A noiseless patient Spider Message-ID: References: <87fs2tr2vf.fsf@nosuchdomain.example.com> <87lecku0bu.fsf@nosuchdomain.example.com> <874jj75joi.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 4 Oct 2023 13:05:04 -0000 (UTC) Injection-Info: dont-email.me; posting-host="23db2b78be619bad34dfefd5064badd8"; logging-data="199314"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+z6FbgUSy+BU0cAucbBAX2+I0LTgVCMNQ=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:r0R2Ul4SkllZSndLVbtFrfISDaE= In-Reply-To: Content-Language: en-US Xref: news.eternal-september.org comp.lang.ada:65781 List-Id: On 2023-10-04 13:38, Simon Wright wrote: > > Obviously you need to turn echoing off for password input. But neither > the ARM nor the GNAT RM says anything about Get_Immediate's echoing > behaviour, so it's hard to explain why OA does the same thing. Does its > manual specify this behaviour? Unfortunately, Ada does not provide a standard way to turn off echo. I agree that the ARM says nothing about echo for any of its operations on Standard_Input, but clearly there is a broad consensus of Ada.Text_IO writers and users who think this is desirable behavior. -- Jeff Carter “[A]bout half the patterns in the 'Gang of Four' book only exist because of defects in C++ ...” Brian Drummond 174