printoption
printoption("SENT", IAC, s->what);
void printoption(char *direction, int cmd, int option);
printoption("RCVD", IAC, DM);
printoption("RCVD", IAC, c);
printoption("RCVD", WILL, c);
printoption("RCVD", WONT, c);
printoption("RCVD", DO, c);
printoption("RCVD", DONT, c);
printoption("In SUBOPTION processing, RCVD", IAC, c);
printoption("SENT",DO, c);
printoption("SENT", DO, TELOPT_TM);
printoption("SENT", IAC, AO);
printoption("SENT", IAC, EL);
printoption("SENT", IAC, EC);
printoption("SENT", IAC, DM);
printoption("SENT", IAC, IP);
printoption("SENT", IAC, BREAK);
printoption("SENT", IAC, ABORT);
printoption("SENT", IAC, SUSP);
printoption("SENT", DONT, c);
printoption("SENT", IAC, xEOF);
printoption("SENT", IAC, AYT);
printoption("SENT", WILL, c);
printoption("SENT", WONT, c);