TELOPT_TTYPE
send_will(TELOPT_TTYPE, 1);
case TELOPT_TTYPE: /* terminal type option */
case TELOPT_TTYPE:
if (my_want_state_is_wont(TELOPT_TTYPE))
snprintf(temp, sizeof(temp), "%c%c%c%c%s%c%c", IAC, SB, TELOPT_TTYPE,
case TELOPT_TTYPE:
case TELOPT_TTYPE: { /* Yaaaay! */
if (his_state_is_wont(TELOPT_TTYPE)) /* Ignore if option disabled */
case TELOPT_TTYPE:
case TELOPT_TTYPE:
case TELOPT_TTYPE:
IAC, SB, TELOPT_TTYPE, TELQUAL_SEND, IAC, SE
send_do(TELOPT_TTYPE, 1);
his_will_wont_is_changing(TELOPT_TTYPE) ||
if (his_state_is_will(TELOPT_TTYPE)) {
if (his_state_is_will(TELOPT_TTYPE)) {
if (his_state_is_will(TELOPT_TTYPE) && !terminaltypeok(terminaltype)) {
his_state_is_wont(TELOPT_TTYPE)) {
if (his_state_is_wont(TELOPT_TTYPE))
case TELOPT_TTYPE: