/* t4014.c - display on tetronix 4014 terminals */
static char *rcsid
= "$Header: /f/osi/others/quipu/photo/RCS/t4014.c,v 7.1 91/02/22 09:29:26 mrose Interim $";
* $Header: /f/osi/others/quipu/photo/RCS/t4014.c,v 7.1 91/02/22 09:29:26 mrose Interim $
* Revision 7.1 91/02/22 09:29:26 mrose
* Revision 7.0 89/11/23 22:01:47 mrose
* Acquisition, use, and distribution of this module and related
* materials are subject to the restrictions of a license agreement.
* Consult the Preface in the User's Manual for the full terms of
extern int NUMLINES
,PIC_LINESIZE
;
extern unsigned position
;
/* Any errors should be written to *stdout* */
/* if the process exits, with out giving an error message, quipu may hang */
putch (030); /* Return to non-graphic mode */
putch (035); /* Enter graphic mode */
signal (SIGTERM
,photo_quit
);
/* return 0 if sucessful -1 if not */
/* Decoding has finished - display the photo */
(void) close (1); /* this is needed for QUIPU */
/* wait until signalled to Terminate */
line ((position
*SCALE
)+X_OFFSET
,y
,((length
+position
-1)*SCALE
)+X_OFFSET
,y
);