usr.bin/tn3270/distribution/sys_dos/termout.c
/* InitTerminal - called to initialize the screen, etc. */
called to initialize the screen, etc.
called to initialize the screen etc .
void
InitTerminal()
{
    InitMapping();		
    if (!screenInitd) { 	
	MaxNumberLines = 24;	
	MaxNumberColumns = 80;	
	scrini();
	scrsave(saveScreen);	
	ClearArray(Screen);
	terminalCursorAddress = SetBufferAddress(0,0);
	screenInitd = 1;
	screenStopped = 0;		
    }
}
void InitTerminal ( ) { InitMapping ( ) ; if ( ! screenInitd ) { MaxNumberLines = 24 ; MaxNumberColumns = 80 ; scrini ( ) ; scrsave ( saveScreen ) ; ClearArray ( Screen ) ; terminalCursorAddress = SetBufferAddress ( 0 , 0 ) ; screenInitd = 1 ; screenStopped = 0 ; } }
InitTerminal - called to initialize the screen, etc.
InitTerminal - called to initialize the screen etc .
/* Go do mapping file (MAP3270) first */ /* not initialized */ /* XXX */ /* XXX */ /* Save the screen buffer away */ /* Not stopped */