projects
/
u
/
mdw
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fc63575
)
Explicitly set MIN and TIME when in raw mode to request single characters
author
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Thu, 3 Mar 2005 13:07:25 +0000
(13:07 +0000)
committer
ben
<ben@cda61777-01e9-0310-a592-d414129be87e>
Thu, 3 Mar 2005 13:07:25 +0000
(13:07 +0000)
with no timeout. This seems to make Plink work better on Solaris.
git-svn-id: svn://svn.tartarus.org/sgt/putty@5436
cda61777
-01e9-0310-a592-
d414129be87e
unix/uxplink.c
patch
|
blob
|
blame
|
history
diff --git
a/unix/uxplink.c
b/unix/uxplink.c
index
8d1aac7
..
851cefd
100644
(file)
--- a/
unix/uxplink.c
+++ b/
unix/uxplink.c
@@
-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);