

            vtterm (2) --- read terminal characteristics file        07/11/84


          | _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n

                 integer function vtterm (term_type)
                 character term_type (MAXTERMTYPE)

          |      Library: vswtlb (standard Subsystem library)


            _F_u_n_c_t_i_o_n

                 'Vtterm'  is  used  to  read  in  the  characteristics for a
                 terminal and put that information  into  the  common  blocks
                 used  by  the  other  VTH  routines.   It obtains the user's
                 terminal type and attempts  to  open  the  terminal  charac-
          |      teristic  file.   If it succeeds, the function return is OK,
          |      otherwise ERR.  The user should not call this  routine  him-
                 self,  but  should use the routine 'vtinit' as the interface
                 into this routine.


            _I_m_p_l_e_m_e_n_t_a_t_i_o_n

                 'Vtterm' calls 'gttype' to return the user's terminal  type.
                 It   attempts  to  open  the  file  "=vth=/<term_type>"  for
          |      reading, and if it can't, it  returns  ERR.   Otherwise,  it
          |      reads the file, decodes the symbolic characteristics, places
                 them in the VTH common block, 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

                 close,  ctoc,  ctoi,  encode, equal, getlin, gtattr, gttype,
                 length, mntoc, open, strbsr, vt$alc, vt$ier


            _S_e_e _A_l_s_o

                 other vt?* routines (2)















            vtterm (2)                    - 1 -                    vtterm (2)


