Annotation of 43BSDTahoe/usr.lib/libplot/bitgraph/open.c, revision 1.1.1.1

1.1       root        1: /*
                      2:  * Copyright (c) 1980 Regents of the University of California.
                      3:  * All rights reserved.  The Berkeley software License Agreement
                      4:  * specifies the terms and conditions for redistribution.
                      5:  */
                      6: 
                      7: #ifndef lint
                      8: static char sccsid[] = "@(#)open.c     5.2 (Berkeley) 4/30/85";
                      9: #endif not lint
                     10: 
                     11: 
                     12: /*
                     13:  * Displays plot files on a BBN bitgraph terminal.
                     14:  */
                     15: 
                     16: #include <signal.h>
                     17: #include "bg.h"
                     18: 
                     19: int currentx = 0;
                     20: int currenty = 0;
                     21: double lowx = 0.0;
                     22: double lowy = 0.0;
                     23: double scale = 1.0;
                     24: 
                     25: openpl()
                     26: {
                     27:        int closepl();
                     28: 
                     29:        /* catch interupts */
                     30:        signal(SIGINT, closepl);
                     31:        currentx = 0;
                     32:        currenty = 0;
                     33: 
                     34:        space(0, 0, XMAX, YMAX);
                     35: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.