Home | History | Annotate | Download | only in pending

Lines Matching refs:iac

31   char iac[256];
70 // flushes all data in IAC buff to server.
73 int wlen = write(TT.sfd, TT.iac, TT.piac);
75 if(wlen <= 0) error_msg("IAC : send failed.");
79 // puts DATA in iac buff of length LEN and updates iac buff pointer.
86 for(;len > 0; TT.iac[TT.piac++] = (uint8_t)va_arg(va, int), len--);
90 // puts string STR in iac buff and updates iac buff pointer.
96 strcpy(&TT.iac[TT.piac], str);
122 put_iac(6, IAC,DONT,TELOPT_ECHO,IAC,DONT, TELOPT_SGA);
132 put_iac(6, IAC,DO,TELOPT_ECHO,IAC,DO,TELOPT_SGA);
167 put_iac(4, IAC,SB,TELOPT_TTYPE,TELQUAL_IS);
169 put_iac(2, IAC,SE);
186 if (ddww == DO) put_iac(3, IAC,WONT,TELOPT_ECHO);
192 (TT.flags & UF_ECHO)? put_iac(3, IAC,DO,TELOPT_ECHO) :
193 put_iac(3, IAC,DONT,TELOPT_ECHO);
203 (TT.flags & UF_SGA)? put_iac(3, IAC,DO,TELOPT_SGA) :
204 put_iac(3, IAC,DONT,TELOPT_SGA);
208 (TT.ttype)? put_iac(3, IAC,WILL,TELOPT_TTYPE):
209 put_iac(3, IAC,WONT,TELOPT_TTYPE);
213 put_iac(3, IAC,WILL,TELOPT_NAWS);
214 put_iac(9, IAC,SB,TELOPT_NAWS,(TT.win_width >> 8) & 0xff,
216 TT.win_height & 0xff,IAC,SE);
220 if(ddww == WILL) put_iac(3, IAC,DONT,opt);
221 if(ddww == DO) put_iac(3, IAC,WONT,opt);
238 if (curr == IAC) {
281 if (*c == IAC) toybuf[i++] = *c; /* IAC -> IAC IAC */