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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e759c9142eba3ec1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-02-20 13:52:27 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!wn14feed!worldnet.att.net!207.35.177.252!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail From: "Warren W. Gay VE3WWG" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Keyboard Polling Solution References: <4033DB01.2CE34E32@me.org> In-Reply-To: <4033DB01.2CE34E32@me.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Fri, 20 Feb 2004 16:38:19 -0500 NNTP-Posting-Host: 198.96.223.163 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1077313036 198.96.223.163 (Fri, 20 Feb 2004 16:37:16 EST) NNTP-Posting-Date: Fri, 20 Feb 2004 16:37:16 EST Organization: Bell Sympatico Xref: archiver1.google.com comp.lang.ada:5702 Date: 2004-02-20T16:38:19-05:00 List-Id: Me wrote: > Yes, "Get_Immediate" seems to do the trick. Thanks for the tip. > > Test Example : ... One annoying thing about it however is that for w2k use, Control-D causes "End_of_File" to occur, whether or not it was the first character entered on a line or not. Under *NIX/*BSD, the end of file character is only special at the start of the line (or not active at all). This means that Get_Immediate cannot return ^D when you want it to :< AFAIK, under w2k. Note however, that ^Z _is_ readable, which usually causes EOF to windoze/DOS progs. -- Warren W. Gay VE3WWG http://ve3wwg.tk