chkinp (2) --- check for terminal input availability 03/24/80 _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n logical function chkinp (flag) logical flag Library: vswtlb (standard Subsystem library) _F_u_n_c_t_i_o_n 'Chkinp' returns the value ".true." if there are characters waiting to be read in the user's terminal buffer. Other- wise, 'chkinp' returns ".false.". _I_m_p_l_e_m_e_n_t_a_t_i_o_n 'Chkinp' enters 64R addressing mode and executes the instruction SKS '704 (which is trapped and interpreted by Primos). If the instruction skips, 'chkinp' reenters 64V mode and returns ".true.". Otherwise, it reenters 64V mode and returns ".false.". _A_r_g_u_m_e_n_t_s _M_o_d_i_f_i_e_d flag chkinp (2) - 1 - chkinp (2)