# 2.11BSD#431 - /usr/src/usr.lib/libplot/bitgraph/open.c

##### Functions

    openpl            X

##### Variables

    currentx          X
    currenty          X
    lowx              X
    lowy              X
    scale             X

       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: }

#### Defined functions

openpl defined in line 25; never used

#### Defined variables

currentx defined in line 19; used 8 times

- in line 31
- in /usr/src/usr.lib/libplot/bitgraph/cont.c line 17-20(2)
- in /usr/src/usr.lib/libplot/bitgraph/line.c line 17-19(2)
- in /usr/src/usr.lib/libplot/bitgraph/move.c line 17-20(2)
- in /usr/src/usr.lib/libplot/bitgraph/open.c line 31

currenty defined in line 20; used 8 times

- in line 32
- in /usr/src/usr.lib/libplot/bitgraph/cont.c line 18-20(2)
- in /usr/src/usr.lib/libplot/bitgraph/line.c line 17-19(2)
- in /usr/src/usr.lib/libplot/bitgraph/move.c line 18-20(2)
- in /usr/src/usr.lib/libplot/bitgraph/open.c line 32

lowx defined in line 21; used 3 times

- in /usr/src/usr.lib/libplot/bitgraph/bg.h line 22
- in /usr/src/usr.lib/libplot/bitgraph/space.c line 18-20(2)

lowy defined in line 22; used 3 times

- in /usr/src/usr.lib/libplot/bitgraph/bg.h line 23
- in /usr/src/usr.lib/libplot/bitgraph/space.c line 19-21(2)

scale defined in line 23; used 3 times

- in /usr/src/usr.lib/libplot/bitgraph/bg.h line 22-23(2)
- in /usr/src/usr.lib/libplot/bitgraph/space.c line 22

sccsid defined in line 8; never used

Last modified: 1987-02-18 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1089 |