🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #1217

WRL Modula-2 and curses

#1217
From: Michael O'Rourke
Date: Thu, 04 Oct 1990 14:10
21 lines
1020 bytes
Anybody out there using the WRL Modula-2 compiler?

I need to interface it with the Berkley curses routines on a VAX
8810, but am having problems understanding how to write a .def
file for the interface. Namely, I can't figure out how to
give the definition for the printw command which, like printf,
has a variable argument list.

printw has the following format:
	
	printw(fmt, arg1, arg2, ...)
	char *fmt;

Can anybody tell me how to define this in a definition module so
I can interface to the C routines in Unix?

Please respond directly to morourk@hubcap.clemson.edu because
I don't monitor this newsgroup regularly.

Thanx,
Michael
Technical Details
Message-ID: <10779@hubcap.clemson.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!swrinde!emory!hubcap!morourk

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!swrinde!emory!hubcap!morourk
From: morourk@hubcap.clemson.edu (Michael O'Rourke)
Newsgroups: comp.lang.modula2
Subject: WRL Modula-2 and curses
Message-ID: <10779@hubcap.clemson.edu>
Date: 4 Oct 90 14:10:33 GMT
Organization: X-1/Center for NonLinear Studies, LANL
Lines: 21