comp.lang.ada
 help / color / mirror / Atom feed
From: do_while@owens.ridgecrest.ca.us (Do-While Jones)
Subject: Re: Unbuffered Keyboard I/O
Date: Mon, 6 Feb 1995 14:19:10 GMT
Date: 1995-02-06T14:19:10+00:00	[thread overview]
Message-ID: <D3L13z.n0n@ridgecrest.ca.us> (raw)
In-Reply-To: 1995Feb3.071931.1@clstcs

> 
> 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 |
            +--------------------------------+



       reply	other threads:[~1995-02-06 14:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1995Feb3.071931.1@clstcs>
1995-02-06 14:19 ` Do-While Jones [this message]
1995-02-08 15:38 ` Unbuffered Keyboard I/O Theodore E. Dennison
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox