ref: f01217370a928536a27879cc00c036e586662423
parent: 6508ad8e2638798f13070c22617663654ccfc8f0
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Apr 17 23:06:39 EDT 2017
ssh: close the channel when vt hangs up
--- a/sys/src/cmd/ssh.c
+++ b/sys/src/cmd/ssh.c
@@ -997,7 +997,7 @@
buf, n);
}
send.eof = 1;
- sendpkt("bu", MSG_CHANNEL_EOF, 0);+ sendpkt("bu", raw ? MSG_CHANNEL_CLOSE : MSG_CHANNEL_EOF, 0);qunlock(&sl);
break;
case MSG_CHANNEL_REQUEST:
--
⑨