diff --git a/ttynvt.c b/ttynvt.c index 314b2e3..9814244 100644 --- a/ttynvt.c +++ b/ttynvt.c @@ -470,6 +470,8 @@ static void ttynvt_open(fuse_req_t req, struct fuse_file_info *info) tty->fds[FD_MASTER].fd = fd; tty->fds[FD_MASTER].events = POLLIN; + memset(&ios, 0, sizeof(ios)); + ios.c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL | IXON); ios.c_oflag &= ~OPOST;