telnetd/UGStub.cpp
/* =========================================================================
= $BEGDOC  em_determine_page CR  Sets current page in term_state
*/
$BEGDOC  em_determine_page CR  Sets current page in term_state
$BEGDOC em_determine_page CR Sets current page in term_state
boolean em_determine_page (int16 conn_index,
				int16 page)
{
    proc_trace("em_determine_page");
#if 0
    if (page == 0)
	tel_screen_buffs[conn_index].term_state = TERMSTATE_RECV1;
    else if (page == 1)
	tel_screen_buffs[conn_index].term_state = TERMSTATE_RECV2;
    else if (page == 2)
	tel_screen_buffs[conn_index].term_state = TERMSTATE_RECV3;
    else if (page == 3)
	tel_screen_buffs[conn_index].term_state = TERMSTATE_RECV4;
#else
   tel_screen_buffs[conn_index].term_state = page + 1;
#endif
    return(1);
}
boolean em_determine_page ( int16 conn_index , int16 page ) { proc_trace ( " " ) ; #if 0 if ( page == 0 ) tel_screen_buffs [ conn_index ] . term_state = TERMSTATE_RECV1 ; else if ( page == 1 ) tel_screen_buffs [ conn_index ] . term_state = TERMSTATE_RECV2 ; else if ( page == 2 ) tel_screen_buffs [ conn_index ] . term_state = TERMSTATE_RECV3 ; else if ( page == 3 ) tel_screen_buffs [ conn_index ] . term_state = TERMSTATE_RECV4 ; #else tel_screen_buffs [ conn_index ] . term_state = page + 1 ; #endif return ( 1 ) ; }
$BEGDOC  em_determine_page CR  Sets current page in term_state
$BEGDOC em_determine_page CR Sets current page in term_state
/*
=  DESCRIPTION:
=
=  RETURNS:  NONE
=
=  SEE ALSO:
=
=  FILES:
=
=  BUGS/NOTES:
=
= $ENDDOC
========================================================================== */