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.8 required=5.0 tests=BAYES_00,INVALID_DATE, MSGID_SHORT autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!sdd.hp.com!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!unido!uniol!Arne.Gehlhaar From: Arne.Gehlhaar@arbi.informatik.uni-oldenburg.de (Arne Gehlhaar) Newsgroups: comp.lang.ada Subject: How do I read in a character w/out pressing return ? Keywords: get text_io Message-ID: <3858@uniol.UUCP> Date: 19 Nov 90 12:31:41 GMT Organization: University of Oldenburg, Germany List-Id: Hello I have Question concerning the input of characters. I wrote a little program, to scan through a sequential file, and want to be able to go forward and backward. So I wrote : direction : character; get(direction); case ... The thing is though, that I have to press return every time I enter the "command". Is there any way I can make the program accept just a 'touch of a button'? I tried looking at the text_io file, but it turned out, that the thing is a little more complicated than I expected. As far as I know, there is no ADA command that allows me to do that. Is there a way of getting around that ? Thanks for any replys! Greetings Arne received data 988 bytes 5.95 secs