

            vtinit (2) --- initialize terminal characteristics       07/11/84


          | _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n

                 integer function vtinit (term_type)
                 character term_type (MAXTERMTYPE)

          |      Library: vswtlb (standard Subsystem library)


            _F_u_n_c_t_i_o_n

                 'Vtinit'  initializes  the  terminal  characteristic  common
                 blocks for the virtual terminal handler.  It must be  called
                 before  any  of  the  other  routines  are used.  The single
                 argument is the returned terminal type of the users  current
                 process.   The  value  returned  from  'vtinit' is OK if the
                 descriptor file for that type of terminal is found,  and  is
                 in the correct format, and ERR otherwise.


            _I_m_p_l_e_m_e_n_t_a_t_i_o_n

                 'Vtinit'  first  calls  'vtterm'  to initialize the terminal
                 characteristic tables and  return  the  terminal  type.   If
                 'vtterm'  couldn't  initialize  the  tables,  then  'vtinit'
          |      returns ERR.  'Vtinit' then proceeds  to  clear  the  screen
          |      buffers,  status  information, input enabling, and turns off
                 terminal echo, and then returns OK.


            _A_r_g_u_m_e_n_t_s _M_o_d_i_f_i_e_d

                 term_type


            _C_a_l_l_s

                 vtterm, Primos duplx$


            _S_e_e _A_l_s_o

                 other vt?* routines (2)
















            vtinit (2)                    - 1 -                    vtinit (2)


