From: Alan Cox Date: Sat, 25 Aug 2018 18:08:07 +0000 (+0100) Subject: kernel: don't make the console block on carrier X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=be26080345138c98bc4c019ff21156fd60c66ffc;p=FUZIX.git 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! --- 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'),