/*************************************************************************
 ***                        screen.c                     (JJB TEMPLAR) ***
 *** Date modifications begun: 7/8/89.                                 ***
 *** Last modified: 26/8/89.                                           ***
 *************************************************************************/
/*** Used to be termcap oriented. Now (since Amiga only) uses straight ***
 *** in-line code strings.                                             ***
 *** Well, actually, its all done with #defines now. Prestigiation!    ***
 *** Well again, I've had to put some functions back. Basically all    ***
 *** those that are used more than once elsewhere are back.            ***
 *************************************************************************/

int     sc_width = 77;
int     sc_height = 23;                 /* Height & width of screen */
char    sc_lower_left[10] = "[23;1H"; /* Updated by resize (win.c) */

char    sc_home[]      = "[1;1H";
char    sc_addline[]   = "[L";
char    sc_clear[]     = "\f";
char    sc_u_in[]      = "[1;32;40m";   /* "Underline" mode on. */
char    sc_out[]       = "[m";          /* ^^^^^ off. */

void    home() /*========================================================*/
{
    tputs(sc_home);
}

void    clear() /*=======================================================*/
{
    tputs(sc_clear);
}
