svn commit: trunk/busybox/loginutils

landley at busybox.net landley at busybox.net
Thu Aug 24 20:00:44 UTC 2006


Author: landley
Date: 2006-08-24 13:00:44 -0700 (Thu, 24 Aug 2006)
New Revision: 15984

Log:
Antti Seppala (with dots over the last two a's) wants our getty to initialize
the terminal the way mingetty does instead of the way agetty does.  It's
a bit ugly for somebody else to be writing to a console sitting at a
login: prompt, but it's uglier when newline doesn't work as expected if
they do.


Modified:
   trunk/busybox/loginutils/getty.c


Changeset:
Modified: trunk/busybox/loginutils/getty.c
===================================================================
--- trunk/busybox/loginutils/getty.c	2006-08-24 19:48:31 UTC (rev 15983)
+++ trunk/busybox/loginutils/getty.c	2006-08-24 20:00:44 UTC (rev 15984)
@@ -474,7 +474,8 @@
 		tp->c_cflag |= CLOCAL;
 	}
 
-	tp->c_iflag = tp->c_lflag = tp->c_oflag = tp->c_line = 0;
+	tp->c_iflag = tp->c_lflag = tp->c_line = 0;
+	tp->c_oflag = OPOST | ONLCR;
 	tp->c_cc[VMIN] = 1;
 	tp->c_cc[VTIME] = 0;
 




More information about the busybox-cvs mailing list