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,6543bf63afffd95a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-02-06 06:19:10 PST Newsgroups: comp.lang.ada Path: nntp.gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!hudson.lm.com!netline-fddi.jpl.nasa.gov!nntp-server.caltech.edu!news.ridgecrest.ca.us!owens!do_while From: do_while@owens.ridgecrest.ca.us (Do-While Jones) Subject: Re: Unbuffered Keyboard I/O Message-ID: Sender: usenet@ridgecrest.ca.us (Ridgenet Usenet admin) Nntp-Posting-Host: owens Organization: RidgeNet - SLIP/PPP Internet, Ridgecrest, CA. (619) 371-3501 References: <1995Feb3.071931.1@clstcs> Date: Mon, 6 Feb 1995 14:19:10 GMT Date: 1995-02-06T14:19:10+00:00 List-Id: > > I posted earlier about unbuffered keyboard io, well it works really well (i > used the one at owens.ridgecrest.ca.us) but when the package initializes itself > it must screw with the i/o channels some how because the PUT statement does not > work but all the others like PUT_LINE and NEW_LINE work... PUT actually will > show up after a PUT_LINE or a NEW_LINE or quitting the program... anyone have > any ideas on how to fix this? Thanx in advance > > In general, unbuffered I/O DOES change the configuration of the I/O interface. This is especially true of the UNIX and MPX-32 operating systems. As a result, you can't mix your own unbuffered I/O with buffered I/O via TEXT_IO. Furthermore, you have to be sure to restore the original I/O parameters before you end your program, or else your responses to the command line won't echo any more! You have to know what you are doing if you are going to do unbuffered I/O. -- +--------------------------------+ | Know Ada | | [Ada's Portrait] | | Will Travel | | wire do_while@ridgecrest.ca.us | +--------------------------------+