break; default: write(fd, "Unknown command\r", 16); }
void remotecommand(char buf[], int bytes){    int firstchar;    if (bytes == 0)	return;    switch (buf[0]) {    case 'e':    case 'E':	{	    for (firstchar = 0; buf[firstchar] != ' '; firstchar++);	    firstchar++;	    buf[bytes] = '\n';	    convert_lf_cr(buf + firstchar, bytes - firstchar + 1);	    write(fd, buf + firstchar, bytes - firstchar + 1);	}	break;    default:	write(fd, "Unknown command\r", 16);    }}