static unsigned char nl[2] = { CR, LF };
static const unsigned char nl[2] = { CR, LF };
static int telnet_send(void *handle, char *buf, int len){    Telnet telnet = (Telnet) handle;    unsigned char *p, *end;    static unsigned char iac[2] = { IAC, IAC };    static unsigned char cr[2] = { CR, NUL };#if 0    static unsigned char nl[2] = { CR, LF };#endif    if (telnet->s == NULL)	return 0;    p = (unsigned char *)buf;    end = (unsigned char *)(buf + len);    while (p < end) {	unsigned char *q = p;	while (p < end && iswritable(*p))	    p++;	telnet->bufsize = sk_write(telnet->s, (char *)q, p - q);	while (p < end && !iswritable(*p)) {	    telnet->bufsize = 		sk_write(telnet->s, (char *)(*p == IAC ? iac : cr), 2);	    p++;	}    }    return telnet->bufsize;}