telnetd/UGStub.cpp
/*--- function ug_set_term_state -------------------------------
 *
 *  Set terminal state to Local or Receive.
 *
 *  Entry:  conn_index  is the connection index.  Smallest allowed
 *                      value is 1.
 *          bReceive    is TRUE for Receive, else FALSE for Local.
 *                      TRUE is mapped to the appropriate internal
 *                      representation for the current page.
 */
function ug_set_term_state
Set terminal state to Local or Receive.

conn_index  is the connection index.  Smallest allowed
value is 1.
bReceive    is TRUE for Receive, else FALSE for Local.
TRUE is mapped to the appropriate internal
representation for the current page.
function ug_set_term_state Set terminal state to Local or Receive . conn_index is the connection index . Smallest allowed value is 1 . bReceive is TRUE for Receive else FALSE for Local . TRUE is mapped to the appropriate internal representation for the current page .
void 
ug_set_term_state(int conn_index, BOOL bReceive)
{
   if(!bReceive) {
      tel_screen_buffs[conn_index].term_state = TERMSTATE_LOCAL;
   } else {
      em_determine_page(conn_index,tel_screen_buffs[conn_index].cur_page);
   }
}
void ug_set_term_state ( int conn_index , BOOL bReceive ) { if ( ! bReceive ) { tel_screen_buffs [ conn_index ] . term_state = TERMSTATE_LOCAL ; } else { em_determine_page ( conn_index , tel_screen_buffs [ conn_index ] . cur_page ) ; } }
function ug_set_term_state
  Set terminal state to Local or Receive.
function ug_set_term_state Set terminal state to Local or Receive .