SB
static unsigned char str_lm[] = { IAC, SB, TELOPT_LINEMODE, 0, 0, IAC, SE };
IAC, SB, TELOPT_LINEMODE, LM_MODE, 0, IAC, SE
IAC, SB, TELOPT_LINEMODE, LM_SLC, 0, SLC_VARIABLE, 0, IAC, SE
IAC, SB, TELOPT_LINEMODE, LM_SLC, 0, SLC_DEFAULT, 0, IAC, SE
*slc_replyp++ = SB;
*opt_replyp++ = SB;
case SB:
case SB: /* loop forever looking for the SE */
*cp++ = SB;
snprintf(temp2, sizeof(temp2), "%c%c%c%c....%c%c", IAC, SB, TELOPT_COMPORT,
*cp++ = SB;
snprintf(temp, sizeof(temp), "%c%c%c%c%s%c%c", IAC, SB, TELOPT_TTYPE,
snprintf((char *)temp, sizeof(temp), "%c%c%c%c%ld,%ld%c%c", IAC, SB, TELOPT_TSPEED,
snprintf(temp, sizeof(temp), "%c%c%c%c%s%c%c", IAC, SB,
case SB:
IAC, SB, TELOPT_LINEMODE, LM_SLC);
ADD(SB);
ADD(SB);
ADD(SB);
ADD(SB);
ADD(SB);
case SB:
IAC, SB, TELOPT_LFLOW,
IAC, SB, TELOPT_TTYPE, TELQUAL_SEND, IAC, SE
{ IAC, SB, TELOPT_TSPEED, TELQUAL_SEND, IAC, SE };
{ IAC, SB, TELOPT_XDISPLOC, TELQUAL_SEND, IAC, SE };
{ IAC, SB, TELOPT_NEW_ENVIRON, TELQUAL_SEND, IAC, SE };
{ IAC, SB, TELOPT_OLD_ENVIRON, TELQUAL_SEND, IAC, SE };
output_data("%c%c%c%c%c%c%c", IAC, SB,
output_data("%c%c%c%c%c%c%c", IAC, SB,
IAC, SB, TELOPT_LFLOW,
IAC, SB, TELOPT_LFLOW,
SB, TELOPT_LINEMODE, LM_MODE,
SB, TELOPT_LINEMODE, LM_MODE,
case SB: /* loop forever looking for the SE */
case SB:
static unsigned char str_request[64] = { IAC, SB,
static unsigned char str_none[] = { IAC, SB, TELOPT_AUTHENTICATION,
= { IAC, SB, TELOPT_AUTHENTICATION, TELQUAL_NAME, };
fbp->fb_feed[1] = SB;
static unsigned char str_send[64] = { IAC, SB, TELOPT_ENCRYPT,
static unsigned char str_start[72] = { IAC, SB, TELOPT_ENCRYPT };
static unsigned char str_end[] = { IAC, SB, TELOPT_ENCRYPT, 0, IAC, SE };
static unsigned char str_keyid[(MAXKEYLEN*2)+5] = { IAC, SB, TELOPT_ENCRYPT };
static unsigned char str_data[1024] = { IAC, SB, TELOPT_AUTHENTICATION, 0,
static unsigned char str_data[1024] = { IAC, SB, TELOPT_AUTHENTICATION, 0,
static unsigned char str_data[1024] = { IAC, SB, TELOPT_AUTHENTICATION, 0,
static unsigned char str_name[1024] = { IAC, SB, TELOPT_AUTHENTICATION,
static unsigned char str_data[1024] = { IAC, SB, TELOPT_AUTHENTICATION, 0,
static unsigned char str_name[1024] = { IAC, SB, TELOPT_AUTHENTICATION,
static unsigned char str_data[1024] = { IAC, SB, TELOPT_AUTHENTICATION, 0,