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).
This commit is contained in:
cinap_lenrek 2013-12-05 22:05:57 +01:00
parent ad3ba8838d
commit 919863dab3

View file

@ -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");
}