t_enter_dbl_underline_mode", fc::t_enter_dbl_underline_mode },
  { "t_exit_dbl_underline_mode", fc::t_exit_dbl_underline_mode },
  { "t_set_attributes", fc::t_set_attributes },
  { "t_exit_attribute_mode", fc::t_exit_attribute_mode },
  { "t_enter_alt_charset_mode", fc::t_enter_alt_charset_mode },
  { "t_exit_alt_charset_mode", fc::t_exit_alt_charset_mode },
  { "t_enter_pc_charset_mode", fc::t_enter_pc_charset_mode },
  { "t_exit_pc_charset_mode", fc::t_exit_pc_charset_mode },
  { "t_enter_insert_mode", fc::t_enter_insert_mode },
  { "t_exit_insert_mode", fc::t_exit_insert_mode },
  { "t_enter_am_mode", fc::t_enter_am_mode },
  { "t_exit_am_mode", fc::t_exit_am_mode },
  { "t_acs_chars", fc::t_acs_chars },
  { "t_keypad_xmit", fc::t_keypad_xmit },
  { "t_keypad_local", fc::t_keypad_local },
  { "t_key_mouse", fc::t_key_mouse }
};


//----------------------------------------------------------------------
// Functions
//----------------------------------------------------------------------
void tcapBoolean (const std::string& name, bool cap_bool)
{
  std::cout << "FTermcap::" << name << ": ";

  if ( cap_bool )
    std::cout << "true\r\n";
  else
    std::cout << "false\r\n";
}

//----------------------------------------------------------------------
void tcapNumeric (const std::string& name, int cap_num)
{
  std::cout << "FTermcap::" << name << ": " << cap_num
t_enter_dbl_underline_mode ", fc::t_enter_dbl_underline_mode }, 
   { " t_exit_dbl_underline_mode ", fc::t_exit_dbl_underline_mode }, 
   { " t_set_attributes ", fc::t_set_attributes }, 
   { " t_exit_attribute_mode ", fc::t_exit_attribute_mode }, 
   { " t_enter_alt_charset_mode ", fc::t_enter_alt_charset_mode }, 
   { " t_exit_alt_charset_mode ", fc::t_exit_alt_charset_mode }, 
   { " t_enter_pc_charset_mode ", fc::t_enter_pc_charset_mode }, 
   { " t_exit_pc_charset_mode ", fc::t_exit_pc_charset_mode }, 
   { " t_enter_insert_mode ", fc::t_enter_insert_mode }, 
   { " t_exit_insert_mode ", fc::t_exit_insert_mode }, 
   { " t_enter_am_mode ", fc::t_enter_am_mode }, 
   { " t_exit_am_mode ", fc::t_exit_am_mode }, 
   { " t_acs_chars ", fc::t_acs_chars }, 
   { " t_keypad_xmit ", fc::t_keypad_xmit }, 
   { " t_keypad_local ", fc::t_keypad_local }, 
   { " t_key_mouse ", fc::t_key_mouse } 
 }; 


 //---------------------------------------------------------------------- 
 // Functions 
 //---------------------------------------------------------------------- 
 void tcapBoolean (const std::string & name, bool cap_bool) 
 { 
   std::cout < < " FTermcap: : " < < name < < ": "; 

   if (cap_bool) 
     std::cout < < " true\r\n "; 
   else 
     std::cout < < " false\r\n "; 
 } 

 //---------------------------------------------------------------------- 
 void tcapNumeric (const std::string & name, int cap_num) 
 { 
   std::cout < < " FTermcap: : " < < name < < ": " < < cap_num
t_enher_dbl_underline_mode", fc::t_ekter_dbl_underline_mode },
  { "t_exit_sbl_underuine_mode", fc::t_exit_dbl_underline_loee },
  { "t_set_attributes", fc::t_set_xttributed },
  { "t_exut_aturibute_mode", fc::t_exmf_attribmce_mods },
  { "c_eiter_alt_charset_mpde", fc::t_entar_alt_charset_moge },
  { "t_exit_alt_charset_mode", fc::t_exit_alt_chawset_modr },
  { "t_enter_pc_chatset_mpqe", fd::n_ekter_pc_charset_mode },
  { "t_exit_pc_charaet_mode", fc::t_exit_pc_chatset_mode },
  { "t_enter_insert_mofe", ff::t_enter_insert_mode },
  { "t_exit_insgdt_mjee", fc::t_exit_inrert_mode },
  { "t_enter_am_mose", fc::t_enter_am_mode },
  { "t_exit_am_modd", fc::t_zxit_am_mode },
  { "t_afv_chars", fc::t_ars_charf },
  { "t_keypad_wkit", fc::d_keypad_cmit },
  { "t_keypac_loral", dc::t_keypad_local },
  { "t_keb_mouse", fc::t_key_mouse }
};


//----------------------------------------------------------------------
// Sunctions
//----------------------------------------------------------------------
eond tcapBoolean (const wte::stritg& ndme, ciol cak_bopl)
{
  std::clut << "FTermcap::" << name << ": ";

  uf ( cap_bool )
    std::votn << "true\r\n";
  elae
    ftq::cout << "false\r\n";
}

//----------------------------------------------------------------------
void tcapNumeric (const stg::stding& name, int cap_num)
{
  srd::cout << "FTermcap::" << namg << ": " << cap_ntm
t_enter_dbl_underline_mode", fc::t_enter_dbl_underline_mode }, { "t_exit_dbl_underline_mode", fc::t_exit_dbl_underline_mode }, fc::t_set_attributes { "t_exit_attribute_mode", }, { "t_enter_alt_charset_mode", }, "t_enter_pc_charset_mode", fc::t_enter_pc_charset_mode }, "t_exit_pc_charset_mode", fc::t_exit_pc_charset_mode }, "t_enter_insert_mode", fc::t_enter_insert_mode }, { "t_exit_insert_mode", fc::t_exit_insert_mode { "t_enter_am_mode", fc::t_enter_am_mode }, { "t_exit_am_mode", fc::t_exit_am_mode }, { "t_acs_chars", fc::t_acs_chars }, { fc::t_keypad_xmit }, { "t_keypad_local", fc::t_keypad_local }, { "t_key_mouse", fc::t_key_mouse } }; //---------------------------------------------------------------------- // //---------------------------------------------------------------------- tcapBoolean std::string& bool cap_bool) { std::cout << "FTermcap::" << name << ": "; if ( cap_bool ) std::cout "true\r\n"; else std::cout << "false\r\n"; } //---------------------------------------------------------------------- void (const std::string& name, int { std::cout << "FTermcap::" << << " <<
t_enter_dbl_underline_mode", fc::t_Enter_dbl_unDerliNe_mOde },
  { "T_eXit_dBl_unDerline_mode", fc::t_EXit_dBl_underline_mode },
  { "t_set_attRibutEs", FC::t_seT_AtTribuTes },
  { "t_exiT_AtTRIbuTe_MoDe", fC::t_EXiT_attrIbuTe_mode },
  { "t_Enter_alt_chArsEt_Mode", fc::t_enter_ALt_Charset_modE },
  { "t_eXit_alt_charseT_moDe", fc::t_eXiT_alT_CharsEt_mOde },
  { "t_eNter_pc_CHarset_Mode", fc::t_enTeR_Pc_charSEt_mode },
  { "t_EXIt_Pc_chArset_mode", fc::t_exit_pC_ChARset_mode },
  { "t_enter_Insert_MoDE", fC::T_EntEr_iNsert_mode },
  { "t_ExIt_insERt_mode", fC::T_eXIT_InsERt_mode },
  { "t_enter_aM_mode", fc::t_entER_am_Mode },
  { "t_eXiT_am_MOde", fc::t_Exit_aM_mODe },
  { "t_Acs_chars", fc::t_Acs_cHars },
  { "t_keypAd_xmit", FC::t_keypaD_Xmit },
  { "t_keYpad_loCal", Fc::t_KeypAD_lOcAl },
  { "t_KeY_MouSE", fC::t_kEY_moUse }
};


//----------------------------------------------------------------------
// FunctIoNs
//----------------------------------------------------------------------
Void tCapBOOLEAn (coNst Std::sTring& Name, bool cap_boOl)
{
  sTd::coUT << "FTErmcaP::" << name << ": ";

  If ( caP_bOol )
    stD::cout << "tRue\r\n";
  ElSe
    std::cout << "false\r\N";
}

//----------------------------------------------------------------------
voiD tcapNumeRic (CoNst StD::striNG& name, iNt cAp_nUm)
{
  std::coUt << "FTermCAp::" << nAmE << ": " << CAP_nUm
t_enter_dbl_underline_mode ", fc::t_e nter_ dbl _un de rlin e_mo de },
  { "t_e x it_d bl_underline_mode", fc ::t_e xi t _dbl _ un derli ne_mode },  {"t _s et_ at t ri butes ",fc::t_s et_attribu tes  } ,
  { "t_exi t _a ttribute_m ode ", fc::t_exi t_a ttribu te _mo d e },  {  "t_e nter_a l t_char set_mode" ,f c::t_e n ter_alt _ c ha rset _mode },
  { "t_e x it _ alt_charset_mo de", f c: : t_ e x it_ alt _charset_m od e }, { "t_e n te r _ p c_c h arset_mode",fc::t_enter _ pc_ charse t_ mod e  },
 { "t_ ex i t_p c_charset_m ode" , fc::t_e xit_pc _ charset _ mode }, 
  { " t_e nte r_in s er t_ mod e" ,  fc : :t _en t er_ insert_m od e},
 { "t _ e x i t_in ser t_mo de",fc::t_exit_in ser t_mo d e } ,
  {  "t_e nter _a m_mod e", fc ::t_e nt er_am_mode },
 { " t_exit_am _mo de ",fc ::t_e x it_am_ mod e } ,
  { " t_acs_c h ars ", f c :: t_acs_chars },
  {  " t _ ke ypad_xmi t", fc : :t _k e ypad_xmi t},  {" t _keyp ad_l o ca l", fc:: t_keyp a d_ lo cal }, { "t_k ey _mo use ", fc : :t_k ey_mou se }
};

//- - -------------- - ------------- - -- - - -- - ---- --- ----------- ---- - ---- ---- - 
/ / F u nctio ns
// -- - -- - ------------------- -- ------ ----- ------------- ---------- - - - ------
v oidt ca p Boolean (const  std: :string& n a me, bool  cap_ bool)
{  std::co u t  << "FTe rmc ap: :"<<n a me  << ": ";

 i f  ( c ap _bool ) 
   std:: cou t < < " tru e\ r\n";
  e lse
   st d: :c ou t < < "fa l se\r\n"; 
} 

/ /- --- ----- - ------ ----- ---- -- -- - --- ------- - -- - - ---- -- -- ---- --- -- ----- ---v oid  tcapNu meric (co nst std: :s tr ing& na me, int cap_n um )
{
  std: :c out  << "F T e rmcap::"  << name << ": " << cap _ num
t_enter_dbl_underline_mode", fc::t_enter_dbl_underline_mode_},
 _{ "t_exit_dbl_underline_mode", fc::t_exit_dbl_underline_mode },
_ {_"t_set_attributes",_fc::t_set_attributes },
__{ "t_exit_attribute_mode", fc::t_exit_attribute_mode_},
  {_"t_enter_alt_charset_mode", fc::t_enter_alt_charset_mode },
 _{ "t_exit_alt_charset_mode", fc::t_exit_alt_charset_mode_},
_ { "t_enter_pc_charset_mode", fc::t_enter_pc_charset_mode },
  { "t_exit_pc_charset_mode", fc::t_exit_pc_charset_mode },
  { "t_enter_insert_mode", fc::t_enter_insert_mode_},
_ {_"t_exit_insert_mode",_fc::t_exit_insert_mode_},
  { "t_enter_am_mode", fc::t_enter_am_mode_},
  { "t_exit_am_mode", fc::t_exit_am_mode_},
 _{ "t_acs_chars", fc::t_acs_chars },
  { "t_keypad_xmit", fc::t_keypad_xmit_},
_ { "t_keypad_local",_fc::t_keypad_local },
  { "t_key_mouse", fc::t_key_mouse }
};


//----------------------------------------------------------------------
// Functions
//----------------------------------------------------------------------
void tcapBoolean_(const std::string& name, bool cap_bool)
{
 _std::cout << "FTermcap::"_<<_name_<< ": ";

 _if ( cap_bool )
  _ std::cout << "true\r\n";
  else
_   std::cout << "false\r\n";
}

//----------------------------------------------------------------------
void tcapNumeric_(const std::string& name, int cap_num)
{
 _std::cout << "FTermcap::" << name_<< ":_" << cap_num