logevent("Sent EOF message");
static void ssh_special (Telnet_Special code) {    if (code == TS_EOF) {        if (ssh_version = 1) {            send_packet(SSH1_CMSG_EOF, PKT_END);        } else {            ssh2_pkt_init(SSH2_MSG_CHANNEL_EOF);            ssh2_pkt_adduint32(mainchan->remoteid);            ssh2_pkt_send();        }    } else {        /* do nothing */    }}