This fixes situations where messages "scroll horizontally", making them unreadable, because agetty has opened and initialized the terminal. From: Jacoby Hickerson <hickersonjl@xxxxxxxxx> Signed-off-by: Dennis Jensen <dennis.h.jensen@xxxxxxxxxxx> --- term-utils/agetty.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/term-utils/agetty.c b/term-utils/agetty.c index 041e1f7..27edac5 100644 --- a/term-utils/agetty.c +++ b/term-utils/agetty.c @@ -1091,7 +1091,8 @@ static void termio_init(struct options *op, struct termios *tp) #else tp->c_iflag = 0; #endif - tp->c_lflag = tp->c_oflag = 0; + tp->c_lflag = 0; + tp->c_oflag = OPOST | ONLCR; if ((op->flags & F_KEEPCFLAGS) == 0) tp->c_cflag = CS8 | HUPCL | CREAD | (tp->c_cflag & CLOCAL); -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html