karl@grebyn.COM (Karl A. Nyberg) (12/15/87)
> Has anyone an Ada interface to the C routines from the termcap > library? We would have a package for terminal independent > screen oriented output in Ada. The most natural way to do this, > is to make use of the C-routines of termcap. > We were wondering whether someone else has already defined an > interface package, preferably for a Verdix 5.41 compiler to > run under 4.3BSD. Check out the stuff from the Simtel Ada Repository. In particular, there is a set of packages in virterm that does exactly that. Here's the top of the file curses.pro. You want the file pd2:<ada.virterm>curses.src for the pragma interface stuff. You might prefer the one that comes from Verdix. Under VADS 5.41 (and later), you'll find a complete set of interface routines for this included with the release in the subdirectory publiclib, files curses_spec.a and curses_body.a There's also a complete implementation of a virtual terminal package in Ada in the same directory on SIMTEL20, although I can't vouch for its utility. -- Karl -- -------- SIMTEL20 Ada Software Repository Prologue ------------ -- -* -- Unit name : curses interface package specification -- Version : 1.0 -- Author : Steve Rosen -- : Siemens Research -- : -- : -- DDN Address : vrdxhq!siemens!gypsy!rosen@seismo -- Copyright : (c) -- Date created : 6 August 1985 -- Release date : 6 August 1985 -- Last update : 6 August 1985 -- Machine/System Compiled/Run on : VADS VAX/UNIX 4.06 -- -* --------------------------------------------------------------- -- -* -- Keywords : display, terminal update, screen ----------------: -- -- Abstract : This package provides an interface to the UNIX ----------------: curses package through Ada. -- -* ------------------ Revision history --------------------------- -- -* -- DATE VERSION AUTHOR HISTORY -- ??? 0.0 Steve Rosen Initial Release -- 8/6/85 1.0 Karl A. Nyberg Release to SIMTEL -- -* ------------------ Distribution and Copyright -----------------