mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-05-04 03:02:09 -05:00
Explicitly set MIN and TIME when in raw mode to request single characters
with no timeout. This seems to make Plink work better on Solaris. [originally from svn r5436]
This commit is contained in:
parent
3aa041b157
commit
16c3026b28
@ -135,6 +135,8 @@ void ldisc_update(void *frontend, int echo, int edit)
|
||||
} else {
|
||||
mode.c_iflag &= ~ICRNL;
|
||||
mode.c_lflag &= ~(ISIG | ICANON);
|
||||
mode.c_cc[VMIN] = 1;
|
||||
mode.c_cc[VTIME] = 0;
|
||||
}
|
||||
|
||||
tcsetattr(0, TCSANOW, &mode);
|
||||
|
Loading…
x
Reference in New Issue
Block a user