148522Sbostic /*- 2*61403Sbostic * Copyright (c) 1983, 1993 3*61403Sbostic * The Regents of the University of California. All rights reserved. 448522Sbostic * 548522Sbostic * %sccs.include.proprietary.c% 648522Sbostic * 7*61403Sbostic * @(#)con.h 8.1 (Berkeley) 06/04/93 848522Sbostic */ 913325Ssam 1013325Ssam #include <sgtty.h> 1113325Ssam /* gsi plotting output routines */ 1213325Ssam # define DOUBLE 010 1313325Ssam #define ADDR 0100 1413325Ssam #define COM 060 1513325Ssam #define PENUP 04 1613325Ssam #define MAXX 070 1713325Ssam #define MAXY 07 1813325Ssam #define SPACES 7 1913325Ssam # define DOWN 012 2013325Ssam # define UP 013 2113325Ssam # define LEFT 010 2213325Ssam # define RIGHT 040 2313325Ssam # define BEL 007 2413325Ssam # define ESC 033 2513325Ssam # define ACK 006 2613325Ssam # define INPLOT 'P' 2713325Ssam # define CR 015 2813325Ssam # define FF 014 2913325Ssam # define VERTRESP 48 3013325Ssam # define HORZRESP 60. 3113325Ssam # define VERTRES 8. 3213325Ssam # define HORZRES 6. 3313325Ssam /* down is line feed, up is reverse line feed, 3413325Ssam left is backspace, right is space. 48 points per inch 3513325Ssam vertically, 60 horizontally */ 3613325Ssam 3713325Ssam extern int xnow, ynow; 3813325Ssam extern int OUTF; 3913325Ssam extern struct sgttyb ITTY, PTTY; 4013325Ssam extern float HEIGHT, WIDTH, OFFSET; 4113325Ssam extern int xscale, xoffset, yscale; 4213325Ssam extern float botx, boty, obotx, oboty, scalex,scaley; 4313325Ssam 44