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 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!GMUVAX.GMU.EDU!ecragg From: ecragg@GMUVAX.GMU.EDU ("EDWARD CRAGG") Newsgroups: comp.lang.ada Subject: Re: Keyboard input Message-ID: <9009241905.AA13463@ajpo.sei.cmu.edu> Date: 24 Sep 90 19:00:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet List-Id: > From: seas.gwu.edu!mfeldman@uunet.uu.net (Michael Feldman) > Subject: Keyboard input > [ text deleted ] > I would like very much to see a portable character-IO library - > portable in the sense that there would be an implementation-independent > package spec. The routine described by Rick Conn in a previous posting is > a good start in this direction. I will see if I have a copy and post it. > The package _body_ will necessarily be OS-dependent, because it's something > that can't be directly written in Ada. The ALS/N project has taken the approach of writing a package IMMEDIATE_IO (using VMS QIOW's) which is effectively a TEXT_IO clone for all the objects for which it makes sense. (All the various column/line/page related objects are eliminated). As a result, it is interchangeable with TEXT_IO (assuming WITHs and USEs) and does not require a "thought pattern" change when writing code. When live keyboard input is required, IMMEDIATE_IO is used, otherwise TEXT_IO is used. I have found the package to be very practical and effective. ed ............................................................ Edward E Cragg Bitnet: ECRAGG@GMUVAX Internet: ECRAGG@GMUVAX.GMU.EDU