Some more termios compatibility options.

--HG--
branch : dtrg-videocore
This commit is contained in:
David Given
2013-05-30 23:25:22 +01:00
parent 2054618e75
commit d5a112dbfd
2 changed files with 17 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ int tcgetattr(int fd, struct termios* t)
t->c_iflag = _sys_ttyflags & INLCR;
t->c_oflag = _sys_ttyflags & ONLCR;
t->c_lflag = _sys_ttyflags & ECHO;
t->c_cflag = 0;
return 0;
}