1*48504Sbostic /*- 2*48504Sbostic * Copyright (c) 1980 The Regents of the University of California. 3*48504Sbostic * All rights reserved. 4*48504Sbostic * 5*48504Sbostic * %sccs.include.proprietary.c% 619851Sdist */ 719851Sdist 815421Sralph #ifndef lint 9*48504Sbostic static char sccsid[] = "@(#)open.c 5.4 (Berkeley) 04/22/91"; 10*48504Sbostic #endif /* not lint */ 1115421Sralph 1215421Sralph /* 1315421Sralph * Displays plot files on a BBN bitgraph terminal. 1415421Sralph */ 1515421Sralph 1615421Sralph #include <signal.h> 1715421Sralph #include "bg.h" 1815421Sralph 1915421Sralph int currentx = 0; 2015421Sralph int currenty = 0; 2115421Sralph double lowx = 0.0; 2215421Sralph double lowy = 0.0; 2315421Sralph double scale = 1.0; 2415421Sralph 2515421Sralph openpl() 2615421Sralph { 2746634Sbostic void closepl(); 2815421Sralph 2915421Sralph /* catch interupts */ 3015421Sralph signal(SIGINT, closepl); 3115421Sralph currentx = 0; 3215421Sralph currenty = 0; 3315421Sralph 3415421Sralph space(0, 0, XMAX, YMAX); 3515421Sralph } 36