320 remove /usr/has/bin/patch
[illumos-gate.git] / usr / src / lib / libplot / t450 / common / con.h
bloba8fd1871d84d98fec6bf79d498da72f986e156e2
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
22 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
23 /* All Rights Reserved */
27 * Copyright (c) 1997 by Sun Microsystems, Inc.
28 * All rights reserved
31 #pragma ident "%Z%%M% %I% %E% SMI" /* SVr4.0 1.2 */
33 #include <termio.h>
35 /* gsi plotting output routines */
36 #define DOWN 012
37 #define UP 013
38 #define LEFT 010
39 #define RIGHT 040
40 #define BEL 007
41 #define ESC 033
42 #define ACK 006
43 #define PLOTIN 063
44 #define PLOTOUT 064
45 #define CR 015
46 #define FF 014
47 #define VERTRESP 48
48 #define HORZRESP 60.
49 #define VERTRES 8.
50 #define HORZRES 6.
52 /* vert and horiz spacing */
53 #define RS 036
54 #define US 037
55 #define HT 011
58 * down is line feed, up is reverse line feed,
59 * left is backspace, right is space. 48 points per inch
60 * vertically, 60 horizontally
63 extern int xnow, ynow;
64 extern struct termio ITTY, PTTY;
65 extern int OUTF;
66 extern int xscale, xoffset, yscale;
67 extern float botx, boty, obotx, oboty, scalex, scaley;
68 extern void movep(int, int);
69 extern void spew(char);
70 extern int xconv(int);
71 extern int yconv(int);
72 extern void inplot(void);
73 extern void outplot(void);
74 extern int xsc(int);
75 extern int ysc(int);
76 extern void reset(void);
77 extern float dist2(int, int, int, int);