Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!mgnetp!ihnp4!houxm!houxz!vax135!floyd!cmcl2!seismo!hao!hplabs!sri-unix!stan@RICE.ARPA From: stan@RICE.ARPA Newsgroups: net.unix-wizards Subject: Re: _print/_doprnt; curses on sys III Message-ID: <948@sri-arpa.UUCP> Date: Sun, 17-Jun-84 13:58:46 EDT Article-I.D.: sri-arpa.948 Posted: Sun Jun 17 13:58:46 1984 Date-Received: Fri, 22-Jun-84 09:49:27 EDT Lines: 28 From: Stan HanksToby, It is standard System III. AT&T finally wised up to how much software broke when they took _doprnt away, and made it come back in System V. Not that this helps you any, but..... Anyway, here's how you work this: 1) the FILE * that you are printing to is not in the arguments to _print. Instead, this goes in the external variable "_pfile". 2) the first argument to _print is the format, followed by the various arguments Therefore the "_doprnt(fmt, args, file)" becomes "_pfile = file; _print(fmt, args)" No sweat. Stan Hanks Department of Computer Science Rice University Houston TX stan@rice.ARPA (arpanet) stan@rice (csnet) ...!lbl-csam!rice!stan (uucp)