1 /*
2  * Copyright (c) 1980 Regents of the University of California. All rights
3  * reserved.  The Berkeley software License Agreement specifies the terms and
4  * conditions for redistribution.
5  */
6 
7 #ifndef lint
8 static char	sccsid[] = "@(#)open.c	5.1 (Berkeley) 5/7/85";
9 #endif				/* not lint */
10 
11 #include <signal.h>
12 #include <stdlib.h>
13 #include <plot.h>
14 #include <string.h>
15 #include "crt.h"
16 
17 double		lowX, rangeX;	/* min and range of x */
18 double		lowY, rangeY;	/* min and range of y */
19 int		lastX, lastY;	/* last point plotted */
20 
21 void
pl_openpl(void)22 pl_openpl(void)
23 {
24 	initscr();
25 	noecho();
26 	nonl();
27 }
28 
29 void
pl_openvt(void)30 pl_openvt(void)
31 {
32 	pl_openpl();
33 }
34