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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6b8df82ba3cba40f X-Google-Attributes: gid103376,public From: dewar@cs.nyu.edu (Robert Dewar) Subject: Re: Getting a single key stroke Date: 1996/05/05 Message-ID: #1/1 X-Deja-AN: 153196890 references: <4metj6$ll5@netra.oscs.montana.edu> <4mj956$687@newsbf02.news.aol.com> organization: Courant Institute of Mathematical Sciences newsgroups: comp.lang.ada Date: 1996-05-05T00:00:00+00:00 List-Id: Joh Herro said " I don't think it's possible to get a single keystroke in a "somewhat portable" manner in Ada 83. Even in Ada 95, which has a "portable" routine to do that, there are no guarantees that the routine will work on all systems!" Well there are no guarantees because there are sysmtes on which getting a single keystroke is impossible or is a meaningless concept, but you can assume that all Ada 95 compilers will support this in appropriate environments. During its development, some versions of GNAT did not support this (indeed some versions of GNAT did not, and some still do not) support tasking, but as the technology develops, and implementations mature, I think you will be able to count on Get_Immediate as solidly as you can count on any other feature of the language.