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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e44a032d26775cd3,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1994-09-14 10:58:42 PST Newsgroups: comp.lang.ada Path: bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.cic.net!newsxfer.itd.umich.edu!europa.eng.gtefsd.com!emory!swrinde!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!mksol!cramer From: cramer@mksol.dseg.ti.com (Norman W Cramer) Subject: How to check for characters in input stream? Message-ID: <1994Sep14.140207.2304@mksol.dseg.ti.com> Organization: Texas Instruments Inc X-Newsreader: TIN [version 1.2 PL0] Date: Wed, 14 Sep 1994 14:02:07 GMT Date: 1994-09-14T14:02:07+00:00 List-Id: I need to simulate the behavior of a serial port using Sun Ada. The problem I am having is that the functions in text_io block until a is entered. I need to return each character as it is typed and some status code if there are no characters available. Is there a way to do this in Ada? Thanks , Norm cramer@dseg.ti.com