diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2013-12-05 22:05:57 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2013-12-05 22:05:57 +0100 |
commit | 919863dab3490b624fdb6197566cf9e3b5980c2a (patch) | |
tree | 98edb47d8f46ec2d856a0d07cc1f10b0adcc3639 /sys/src/cmd/ip | |
parent | ad3ba8838d82267cbafa5d293b86e2eef41fa9c5 (diff) |
telnet: disable changing raw mode when a pipe was being used (from sources telnet-notkbd patch)
This patch corrects a minor problem with telnet when using
the notkbd option (-n).
Diffstat (limited to 'sys/src/cmd/ip')
-rw-r--r-- | sys/src/cmd/ip/telnet.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/src/cmd/ip/telnet.c b/sys/src/cmd/ip/telnet.c index 0706ee93f..e4885bf6a 100644 --- a/sys/src/cmd/ip/telnet.c +++ b/sys/src/cmd/ip/telnet.c @@ -333,6 +333,8 @@ consctlcmd(char *s) void rawon(void) { + if(notkbd) + return; consctlcmd("rawon"); } @@ -342,6 +344,8 @@ rawon(void) void rawoff(void) { + if(notkbd) + return; consctlcmd("rawoff"); } |