1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Undefine the eol character in the default terminal settings.

This commit is contained in:
Jonas 'Sortie' Termansen 2020-11-22 17:39:12 +01:00
parent eb70062331
commit 20d4c09e26

View file

@ -140,7 +140,7 @@ TTY::TTY(dev_t dev, ino_t ino, mode_t mode, uid_t owner, gid_t group,
tio.c_cflag = CS8 /*| CREAD*/ | HUPCL; // CREAD unset for boot security. tio.c_cflag = CS8 /*| CREAD*/ | HUPCL; // CREAD unset for boot security.
tio.c_lflag = ECHO | ECHOE | ECHOK | ICANON | IEXTEN | ISIG; tio.c_lflag = ECHO | ECHOE | ECHOK | ICANON | IEXTEN | ISIG;
tio.c_cc[VEOF] = CONTROL('D'); tio.c_cc[VEOF] = CONTROL('D');
tio.c_cc[VEOL] = M_CONTROL('?'); tio.c_cc[VEOL] = 0;
tio.c_cc[VERASE] = CONTROL('?'); tio.c_cc[VERASE] = CONTROL('?');
tio.c_cc[VINTR] = CONTROL('C'); tio.c_cc[VINTR] = CONTROL('C');
tio.c_cc[VKILL] = CONTROL('U'); tio.c_cc[VKILL] = CONTROL('U');