terminaltypeok
if (his_state_is_will(TELOPT_TTYPE) && !terminaltypeok(terminaltype)) {
if (terminaltypeok(terminaltype))
int terminaltypeok(char *);