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:
parent
ad3ba8838d
commit
919863dab3
1 changed files with 4 additions and 0 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue