telnetd/UGStub.cpp
/*--- function ug_get_forms_mode ---------------------------------
 *
 *  Returns TRUE if in forms mode.
 */
function ug_get_forms_mode
Returns TRUE if in forms mode.
function ug_get_forms_mode Returns TRUE if in forms mode .
int
ug_get_forms_mode(int conn_index)
{
   struct telnet_screen *tel_screen; 
   int cur_page = tel_screen_buffs[conn_index].cur_page; 
   if(tel_screen_buffs[conn_index].buf_num[cur_page]<0) return FALSE;
   load_screen_buf(tel_screen_buffs[conn_index].buf_type[cur_page], 
                   tel_screen_buffs[conn_index].buf_num[cur_page]);
   return (TELTERM_DATA != tel_screen->term_mode);
}
int ug_get_forms_mode ( int conn_index ) { struct telnet_screen * tel_screen ; int cur_page = tel_screen_buffs [ conn_index ] . cur_page ; if ( tel_screen_buffs [ conn_index ] . buf_num [ cur_page ] < 0 ) return FALSE ; load_screen_buf ( tel_screen_buffs [ conn_index ] . buf_type [ cur_page ] , tel_screen_buffs [ conn_index ] . buf_num [ cur_page ] ) ; return ( TELTERM_DATA != tel_screen -> term_mode ) ; }
function ug_get_forms_mode
  Returns TRUE if in forms mode.
function ug_get_forms_mode Returns TRUE if in forms mode .