Use RAW, not CBREAK

This commit is contained in:
Jordan K. Hubbard 1996-12-17 15:26:40 +00:00
parent a8d9c79cf8
commit 7837dcf615
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=20595

View File

@ -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 */