xref: /original-bsd/lib/libplot/t300s/con.h (revision c3e32dec)
1 /*-
2  * Copyright (c) 1983, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.proprietary.c%
6  *
7  *	@(#)con.h	8.1 (Berkeley) 06/04/93
8  */
9 
10 #include <sgtty.h>
11 /* gsi plotting output routines */
12 # define DOUBLE 010
13 #define ADDR 0100
14 #define COM 060
15 #define PENUP 04
16 #define MAXX 070
17 #define MAXY 07
18 #define SPACES 7
19 # define DOWN 012
20 # define UP 013
21 # define LEFT 010
22 # define RIGHT 040
23 # define BEL 007
24 # define ESC 033
25 # define ACK 006
26 # define INPLOT 'P'
27 # define CR 015
28 # define FF 014
29 # define VERTRESP 48
30 # define HORZRESP 60.
31 # define VERTRES 8.
32 # define HORZRES 6.
33 /* down is line feed, up is reverse line feed,
34    left is backspace, right is space.  48 points per inch
35    vertically, 60 horizontally */
36 
37 extern int xnow, ynow;
38 extern int OUTF;
39 extern struct sgttyb ITTY, PTTY;
40 extern float HEIGHT, WIDTH, OFFSET;
41 extern int xscale, xoffset, yscale;
42 extern float botx, boty, obotx, oboty, scalex,scaley;
43 
44