24.15 klclose (8055)

8057:

Find the address of the appropriate “tty” structure in the array of such structures, “kl11” (8015). (This operation may be observed in all the procedures in the second column of Sheet 80, and its relevance should be noted.)

8058:

“wflushtty” (8217) allows the output queue for the terminal to “drain” and then flushes the input queue

8059:

“t_state” is reset so that “ISOPEN” and
“CARR_ON” are no longer true.