

            vtinfo (2) --- return VTH common block information       07/11/84


            _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n

                 integer function vtinfo (key, info)
                 integer key, info (ARB)

                 Library: vswtlb (standard Subsystem library)


            _F_u_n_c_t_i_o_n

                 'Vtinfo'  is  used to return certain needed information from
                 the VTH common blocks.  The first argument is a key to  tell
                 'vtinfo'  what  set  of  information  to return.  The second
                 argument is an array to return the information.   The  func-
                 tion  return is OK if a correct key is given, and ERR other-
                 wise.

                 'Vtinfo'  currently  supports  the  following  value(s)  for
                 'key':

                 VT_MAXRC       returns  the  maximum  row and col values for
                                the user's terminal in the first two words of
                                'info'.

                 VT_WRAP        returns YES in 'info' if the  terminal  wraps
                                to the next line after putting a character in
                                the last column and NO otherwise.

                 VT_HWINS       returns  YES  in  'info'  if the terminal has
                                hardware insert capabilities.

                 VT_HWDEL       returns YES in 'info'  if  the  terminal  has
                                hardware delete capabilities.

                 VT_HWCEL       returns  YES  in  'info'  if the terminal has
                                hardware clear to end-of-line capabilities.


            _I_m_p_l_e_m_e_n_t_a_t_i_o_n

                 The key is checked as being legal, and  then  the  requested
                 information is simply copied from the VTH common blocks.


            _A_r_g_u_m_e_n_t_s _M_o_d_i_f_i_e_d

                 info


            _S_e_e _A_l_s_o

                 other vt?* routines (2)






            vtinfo (2)                    - 1 -                    vtinfo (2)


