

            gtattr (2) --- get a user's terminal attributes          02/24/82


            _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n

                 integer function gtattr (attr)
                 integer attr

                 Library:  vswtlb (standard Subsystem library)


            _F_u_n_c_t_i_o_n

                 'Gtattr'  returns the value of the attribute 'attr' that the
                 user desires.  Currently, the following attribute types  are
                 accepted :

                 TA_SE_USEABLE -  indicates  whether the terminal can use the
                      screen editor ('se').  The returned value is either YES
                      or NO.

                 TA_VTH_USEABLE -  indicates whether  the  terminal  is  sup-
                      ported  by  the Virtual Terminal Handler package (VTH).
                      The returned value is either YES or NO.

                 TA_UPPER_ONLY -  indicates  whether  the  terminal  supports
                      only  the upper case character set.  The returned value
                      is either YES or NO.

                 The value of each of the above attributes is set upon  entry
                 into  the  Subsystem,  but  can  be changed by executing the
                 'term' command.


            _I_m_p_l_e_m_e_n_t_a_t_i_o_n

                 'Gtattr' first verifies that the given attribute is a  legal
                 one;  if it isn't, then NO is returned.  If the attribute is
                 legal, its value is obtained from the Subsystem common  area
                 and returned as the function value.


            _S_e_e _A_l_s_o

                 term (1), term_type (1), VTH routines (vt?*) (2)
















            gtattr (2)                    - 1 -                    gtattr (2)


