/*********************************************************** * Name : DINIT * * Usage : dinit() * * Inputs : none. Expects vidptr to point to the ZCPR3 * termcap entry. * * Returns : TRUE if terminal deinitialized else FALSE * * Date Written : 86 May 10 **********************************************************/ dinit() { extern char *vidptr; char *c,delay; c = vidptr; if(*c <= ' ') /* return FALSE if no terminal */ return(0); delay = 0; c += 23; c = vidskp(c); /* skip CL string */ c = vidskp(c); /* skip CM string */ c = vidskp(c); /* skip CE string */ c = vidskp(c); /* skip SO string */ c = vidskp(c); /* skip SE string */ c = vidskp(c); /* skip TI string */ if(!*c) /* return FALSE if no deinitialize string */ return(0); vidout(delay,c); return(1); /* return TRUE when term deinitialized */ } /********************* End Of Function ********************/