Return to ssh.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.123, 2001/05/31 10:30:17 | version 1.124, 2001/06/07 20:23:05 | ||
---|---|---|---|
|
|
||
cp = getenv("TERM"); | cp = getenv("TERM"); | ||
if (!cp) | if (!cp) | ||
cp = ""; | cp = ""; | ||
packet_put_string(cp, strlen(cp)); | packet_put_cstring(cp); | ||
/* Store window size in the packet. */ | /* Store window size in the packet. */ | ||
if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) < 0) | if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) < 0) |