148525Sbostic /*- 2*61410Sbostic * Copyright (c) 1983, 1993 3*61410Sbostic * The Regents of the University of California. All rights reserved. 448525Sbostic * 548525Sbostic * %sccs.include.proprietary.c% 648525Sbostic * 7*61410Sbostic * @(#)con.h 8.1 (Berkeley) 06/04/93 848525Sbostic */ 913364Ssam 1013364Ssam #include <sgtty.h> 1113364Ssam /* gsi plotting output routines */ 1213364Ssam # define DOWN 012 1313364Ssam # define UP 013 1413364Ssam # define LEFT 010 1513364Ssam # define RIGHT 040 1613364Ssam # define BEL 007 1713364Ssam # define ESC 033 1813364Ssam # define ACK 006 1913364Ssam #define PLOTIN 063 2013364Ssam #define PLOTOUT 064 2113364Ssam # define CR 015 2213364Ssam # define FF 014 2313364Ssam # define VERTRESP 48 2413364Ssam # define HORZRESP 60. 2513364Ssam # define VERTRES 8. 2613364Ssam # define HORZRES 6. 2713364Ssam /* down is line feed, up is reverse line feed, 2813364Ssam left is backspace, right is space. 48 points per inch 2913364Ssam vertically, 60 horizontally */ 3013364Ssam 3113364Ssam extern int xnow, ynow; 3213364Ssam extern int OUTF; 3313364Ssam extern struct sgttyb ITTY, PTTY; 3413364Ssam extern float HEIGHT, WIDTH, OFFSET; 3513364Ssam extern int xscale, xoffset, yscale; 3613364Ssam extern float botx, boty, obotx, oboty, scalex,scaley; 3713364Ssam 38