Commit | Line | Data |
---|---|---|
f27b3e44 RC |
1 | #ifndef lint |
2 | static char sccsid[] = "@(#)open.c 4.1 (Berkeley) %G%"; | |
3 | #endif | |
4 | ||
5 | /* | |
6 | * Displays plot files on a BBN bitgraph terminal. | |
7 | */ | |
8 | ||
9 | #include <signal.h> | |
10 | #include "bg.h" | |
11 | ||
12 | int currentx = 0; | |
13 | int currenty = 0; | |
14 | double lowx = 0.0; | |
15 | double lowy = 0.0; | |
16 | double scale = 1.0; | |
17 | ||
18 | openpl() | |
19 | { | |
20 | int closepl(); | |
21 | ||
22 | /* catch interupts */ | |
23 | signal(SIGINT, closepl); | |
24 | currentx = 0; | |
25 | currenty = 0; | |
26 | ||
27 | space(0, 0, XMAX, YMAX); | |
28 | } |