/* Screen editor: terminal output module Source: ed6.ccc This file was created by the configuration program: Version 2: September 6, 1981. */ #include ed.h #include bdscio.h #include ed1.ccc #include edext.cc /* Define the current coordinates of the cursor. */ /* Return the current coordinates of the cursor. */ outgetx() { return(outx); } outgety() { return(outy); } /* Output one printable character to the screen. */ outchar(c) char c; { syscout(c); outx++; return(c); } /* Position cursor to position x,y on screen. 0,0 is the top left corner. */ outxy(x,y) int x,y; { outx=x; outy=y; syscout(27); syscout('Y'); syscout(y+32); syscout(x+32); } /* Erase the entire screen. Make sure the rightmost column is erased. */ outclr() { int k; syscout(12); /* k=0; while (k