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.5 required=5.0 tests=BAYES_00,INVALID_MSGID, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,a1da585f45400e4d,start X-Google-Attributes: gid103376,public From: "Newtelco News" Subject: TEXT_IO, How can I clear the In buffer? Date: 1998/01/25 Message-ID: <6aku86$jv7@svgotcha.ubs.net>#1/1 X-Deja-AN: 319688084 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Organization: UBS Networkservices Newsgroups: comp.lang.ada Date: 1998-01-25T00:00:00+00:00 List-Id: Hi, I'm a beginner in Ada my progs should run either on PC (Windows 95, Gnat 3.10, ANSI.SYS loaded) and Sun Workstations (Solaris, Gnat compiler). My problem is the following: when I use Get_Imediate(Standard_Input, Identifier), in order to get a character form the user, the character stay in the In Buffer, it has no effect in Xterm, but in my DOS windows, when I use a put and get instruction, the previous character is writen on the line. I tried to use Skip_Line(Standard_Input), but I must press the return touch (End_Of_Line), in order to continue the execution of my prog. So I'm wondering, if there is a method to clear the In_Buffer. I would appreciate an e-mail during the week at: crathgeb@dico.epfl.ch.net (remove the ".net" to reply) or during the weekend at: shark@infomaniak.ch.net (remove the ".net" to reply) Et si la r�ponse est en fran�ais c'est encore mieux ;-) ____________________________________ C�dric shark@infomaniak.ch.net (remove the ".net" to reply) EPFL - Switzerland ____________________________________