struct termio oldstate, newstate;\r
ioctl(0,TCGETA,&oldstate);\r
newstate = oldstate;\r
- newstate.c_iflag = 0;\r
- newstate.c_lflag = 0;\r
+ newgame.state.c_iflag = 0;\r
+ newgame.state.c_lflag = 0;\r
ioctl(0,TCSETA,&newstate);\r
read(0, &chbuf, 1);\r
ioctl(0,TCSETA,&oldstate);\r