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.2 required=5.0 tests=BAYES_00,INVALID_DATE, PDS_OTHER_BAD_TLD autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!mnetor!uunet!husc6!think!ames!ucbcad!ucbvax!grebyn.COM!karl From: karl@grebyn.COM (Karl A. Nyberg) Newsgroups: comp.lang.ada Subject: Curses interface Message-ID: <8712151517.AA26089@grebyn.com> Date: 15 Dec 87 15:17:15 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet List-Id: > 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: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 -----------------