* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
static char sccsid
[] = "@(#)open.c 5.1 (Berkeley) %G%";
* This accepts plot file formats and produces the appropriate plots
* for dumb terminals. It can also be used for printing terminals and
* lineprinter listings, although there is no way to specify number of
* lines and columns different from your terminal. This would be easy
* to change, and is left as an exercise for the reader.
int minX
, rangeX
; /* min and range of x */
int minY
, rangeY
; /* min and range of y */
/* A very large screen! (probably should use malloc) */
char screenmat
[MAXCOLS
][MAXLINES
];
COLS
= 48; /* lower bound on # of cols? */
COLS
--; /* prevent auto wrap */
LINES
= 20; /* lower bound on # of lines? */