Use a sane VEOL setting
authorEric Andersen <andersen@codepoet.org>
Thu, 14 Apr 2005 20:48:58 +0000 (20:48 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 14 Apr 2005 20:48:58 +0000 (20:48 -0000)
loginutils/getty.c

index 923432b..a9ef561 100644 (file)
@@ -85,7 +85,7 @@ extern void updwtmp(const char *filename, const struct utmp *ut);
 #define DEF_QUIT       CTL('\\')       /* default quit char */
 #define DEF_KILL       CTL('U')        /* default kill char */
 #define DEF_EOF                CTL('D')        /* default EOF char */
-#define DEF_EOL                0
+#define DEF_EOL                '\n'
 #define DEF_SWITCH     0                       /* default switch char */
 
  /*