Lines Matching refs:IAC
94 dprintf(TT.sock,"%c%c%c%c%c%c",IAC,DONT,TELOPT_ECHO,IAC,DONT,TELOPT_SGA); in handle_esc()
102 dprintf(TT.sock,"%c%c%c%c%c%c",IAC,DO,TELOPT_ECHO,IAC,DO,TELOPT_SGA); in handle_esc()
122 if (TT.request == DO) dprintf(TT.sock, "%c%c%c", IAC, WONT, TELOPT_ECHO); in handle_wwdd()
128 dprintf(TT.sock, "%c%c%c", IAC, TT.echo ? DO : DONT, TELOPT_ECHO); in handle_wwdd()
135 dprintf(TT.sock, "%c%c%c", IAC, TT.sga ? DO : DONT, TELOPT_SGA); in handle_wwdd()
137 dprintf(TT.sock, "%c%c%c", IAC, WILL, TELOPT_TTYPE); in handle_wwdd()
142 dprintf(TT.sock, "%c%c%c%c%c%c%c%c%c%c%c%c", IAC, WILL, TELOPT_NAWS, in handle_wwdd()
143 IAC, SB, TELOPT_NAWS, cols>>8, cols, rows>>8, rows, in handle_wwdd()
144 IAC, SE); in handle_wwdd()
147 dprintf(TT.sock, "%c%c%c", IAC, (TT.request == WILL) ? DONT : WONT, opt); in handle_wwdd()
186 dprintf(TT.sock, "%c%c%c%c%s%c%c", IAC, SB, TELOPT_TTYPE, TELQUAL_IS, in handle_server_output()
187 getenv("TERM") ?: "NVT", IAC, SE); in handle_server_output()
191 if (ch == IAC) TT.state = WANT_SE; in handle_server_output()
194 } else if (ch == IAC) { in handle_server_output()
219 if (ch == IAC) toybuf[i++] = IAC; // IAC -> IAC IAC in handle_user_input()