Aug. 30, 2010
3:55 p.m.
Eric Pouech <eric.pouech(a)orange.fr> writes:
+ if (tcgetattr(fd, &term) < 0) fprintf(stderr, "Couldn't get termios\n"); + console_input->termios = term; + term.c_lflag &= ~(ECHO | ECHONL | ICANON | IEXTEN); + term.c_iflag &= ~(BRKINT | ICRNL | INPCK | ISTRIP | IXON);
Errors need to be handled properly in the server, you can't just print a message and continue as if nothing happened. -- Alexandre Julliard julliard(a)winehq.org