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 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 PLOTIN 063 20 #define PLOTOUT 064 21 # define CR 015 22 # define FF 014 23 # define VERTRESP 48 24 # define HORZRESP 60. 25 # define VERTRES 8. 26 # define HORZRES 6. 27 /* down is line feed, up is reverse line feed, 28 left is backspace, right is space. 48 points per inch 29 vertically, 60 horizontally */ 30 31 extern int xnow, ynow; 32 extern int OUTF; 33 extern struct sgttyb ITTY, PTTY; 34 extern float HEIGHT, WIDTH, OFFSET; 35 extern int xscale, xoffset, yscale; 36 extern float botx, boty, obotx, oboty, scalex,scaley; 37 38