ttyp$f (6) --- obtain the user's terminal type 03/25/82 _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n integer function ttyp$f (ttype) character ttype (MAXTERMTYPE) Library: vswtlb (standard Subsystem library) _F_u_n_c_t_i_o_n 'Ttyp$f' looks in the file "=termlist=" to see if a terminal type is defined for the user's terminal line. 'Ttyp$f' returns a character string which is the name of the user's terminal type in 'ttype'. It returns YES if it could determine the terminal type, and NO otherwise. _I_m_p_l_e_m_e_n_t_a_t_i_o_n 'Ttyp$f' tries to find the terminal name from the terminal list file in "=termlist=" (nominally "//extra/terms"); if it can find it, it returns the name found, sets the associated terminal attribute values in the Subsystem common area, and returns YES. If the terminal name could not be determined from the "=termlist=" file, it returns NO. _A_r_g_u_m_e_n_t_s _M_o_d_i_f_i_e_d ttype _C_a_l_l_s ctoi, close, date, getlin, open, ttyp$v _S_e_e _A_l_s_o term_type (1), other ttyp$?* routines (6) ttyp$f (6) - 1 - ttyp$f (6)