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=0.6 required=5.0 tests=BAYES_20,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5d47c120235ba244 X-Google-Attributes: gid103376,public From: rehixon@aol.com (RE Hixon) Subject: Re: Text_IO.Get_Line Date: 1997/05/22 Message-ID: <19970522184500.OAA10276@ladder02.news.aol.com>#1/1 X-Deja-AN: 243172561 References: Organization: AOL http://www.aol.com Newsgroups: comp.lang.ada X-Admin: news@aol.com Date: 1997-05-22T00:00:00+00:00 List-Id: In your last message you suggested using Get_Immediate. According to all my sources here it should work exactly the way that I want. I only have one problem -- it doesn't. Cohen states in his book, Ada as a Second Language, p. 769, that "Get_Immediate works just like the Character version of Get, except that if the underlying operating system allows it, unbuffered input is used." I guess that DOS 6.22 and Win 95 are two of those operating systems that do not allow unbuffered input. On both systems using GNAT 3.07, Get_Immediate did not recognize the character input without pressing the ENTER key. Do you have any other suggestions or ideas that would allow me to create interactive input using Ada 95 and/or limiting the number of characters that a user can enter? Thanks in advance. Russell E. Hixon, USAF COMM 601.377.0520 Master Instructor FAX 601.377.1252 333rd Training Squadron EMAIL REHixon@aol.com