mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:57:35 +00:00
Kernel+LibC: Support more termios
settings in TTY
This commit adds support for the various ECHO* lflags and fixes some POSIX conformance issues around newline handling. Also included are error messages when setting not implemented settings.
This commit is contained in:
parent
b1b0db946e
commit
f0375e3efe
3 changed files with 116 additions and 36 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#define TTYDEF_IFLAG (ICRNL | IXON | IXANY)
|
||||
#define TTYDEF_IFLAG (ICRNL)
|
||||
#define TTYDEF_OFLAG (OPOST | ONLCR)
|
||||
#define TTYDEF_LFLAG_NOECHO (ISIG | ICANON)
|
||||
#define TTYDEF_LFLAG_ECHO (TTYDEF_LFLAG_NOECHO | ECHO | ECHOE | ECHOK | ECHONL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue