Use RAW, not CBREAK
This commit is contained in:
parent
a8d9c79cf8
commit
7837dcf615
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=20595
@ -96,7 +96,7 @@ set_tty()
|
|||||||
ioctl(std_in, TIOCGETC, &tco);
|
ioctl(std_in, TIOCGETC, &tco);
|
||||||
sgn = sgo;
|
sgn = sgo;
|
||||||
tc = tco;
|
tc = tco;
|
||||||
sgn.sg_flags |= CBREAK;
|
sgn.sg_flags |= RAW;
|
||||||
sgn.sg_flags &= ~ECHO;
|
sgn.sg_flags &= ~ECHO;
|
||||||
ospeed = sgo.sg_ospeed;
|
ospeed = sgo.sg_ospeed;
|
||||||
tc.t_intrc = 17; /* ^Q */
|
tc.t_intrc = 17; /* ^Q */
|
||||||
|
Loading…
Reference in New Issue
Block a user