From be26080345138c98bc4c019ff21156fd60c66ffc Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 25 Aug 2018 19:08:07 +0100 Subject: [PATCH] kernel: don't make the console block on carrier It's really annoying if you've not got it wired and you can't work out why it hangs on boot! --- Kernel/start.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/start.c b/Kernel/start.c index 9af91609..53dc0bf9 100644 --- a/Kernel/start.c +++ b/Kernel/start.c @@ -21,7 +21,7 @@ static uint8_t ro = 1; static const struct termios ttydflt = { BRKINT | ICRNL, OPOST | ONLCR, - CS8 | TTY_INIT_BAUD | CREAD | HUPCL, + CS8 | TTY_INIT_BAUD | CREAD | HUPCL | CLOCAL, ISIG | ICANON | ECHO | ECHOE | ECHOK | IEXTEN, {CTRL('D'), 0, CTRL('H'), CTRL('C'), CTRL('U'), CTRL('\\'), CTRL('Q'), CTRL('S'), -- 2.34.1