1*13325Ssam /* con.h 4.1 83/06/27 */ 2*13325Ssam 3*13325Ssam # 4*13325Ssam #include <sgtty.h> 5*13325Ssam /* gsi plotting output routines */ 6*13325Ssam # define DOUBLE 010 7*13325Ssam #define ADDR 0100 8*13325Ssam #define COM 060 9*13325Ssam #define PENUP 04 10*13325Ssam #define MAXX 070 11*13325Ssam #define MAXY 07 12*13325Ssam #define SPACES 7 13*13325Ssam # define DOWN 012 14*13325Ssam # define UP 013 15*13325Ssam # define LEFT 010 16*13325Ssam # define RIGHT 040 17*13325Ssam # define BEL 007 18*13325Ssam # define ESC 033 19*13325Ssam # define ACK 006 20*13325Ssam # define INPLOT 'P' 21*13325Ssam # define CR 015 22*13325Ssam # define FF 014 23*13325Ssam # define VERTRESP 48 24*13325Ssam # define HORZRESP 60. 25*13325Ssam # define VERTRES 8. 26*13325Ssam # define HORZRES 6. 27*13325Ssam /* down is line feed, up is reverse line feed, 28*13325Ssam left is backspace, right is space. 48 points per inch 29*13325Ssam vertically, 60 horizontally */ 30*13325Ssam 31*13325Ssam extern int xnow, ynow; 32*13325Ssam extern int OUTF; 33*13325Ssam extern struct sgttyb ITTY, PTTY; 34*13325Ssam extern float HEIGHT, WIDTH, OFFSET; 35*13325Ssam extern int xscale, xoffset, yscale; 36*13325Ssam extern float botx, boty, obotx, oboty, scalex,scaley; 37*13325Ssam 38