1 /*- 2 * Copyright (c) 1983 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.proprietary.c% 6 * 7 * @(#)con.h 4.2 (Berkeley) 04/22/91 8 */ 9 10 #include <sgtty.h> 11 /* gsi plotting output routines */ 12 # define DOWN 012 13 # define UP 013 14 # define LEFT 010 15 # define RIGHT 040 16 # define BEL 007 17 # define ESC 033 18 # define ACK 006 19 # define CR 015 20 # define FF 014 21 # define VERTRESP 48 22 # define HORZRESP 60. 23 # define VERTRES 8. 24 # define HORZRES 6. 25 /* down is line feed, up is reverse line feed, 26 left is backspace, right is space. 48 points per inch 27 vertically, 60 horizontally */ 28 29 extern int xnow, ynow; 30 extern int OUTF; 31 extern struct sgttyb ITTY, PTTY; 32 extern float HEIGHT, WIDTH, OFFSET; 33 extern int xscale, xoffset, yscale; 34 extern float botx, boty, obotx, oboty, scalex,scaley; 35 36