summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/appl/bsd/ChangeLog3
-rw-r--r--src/appl/bsd/login.c9
2 files changed, 12 insertions, 0 deletions
diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog
index 74e43a8ea..8b252e3cc 100644
--- a/src/appl/bsd/ChangeLog
+++ b/src/appl/bsd/ChangeLog
@@ -1,5 +1,8 @@
Wed Oct 19 12:36:47 1994 Theodore Y. Ts'o (tytso@dcl)
+ * login.c (main): Add other termios c_cc initializations for the
+ ALPHA.
+
* krlogind.c (protocol): Make protocol buffers be unsigned, since
we're comparing against unsigned data.
diff --git a/src/appl/bsd/login.c b/src/appl/bsd/login.c
index 995a285ae..e45db69d6 100644
--- a/src/appl/bsd/login.c
+++ b/src/appl/bsd/login.c
@@ -436,9 +436,18 @@ main(argc, argv)
#ifdef VDISCRD
tc.c_cc[VDISCRD] = CFLUSH;
#endif
+#ifdef VDISCARD
+ tc.c_cc[VDISCARD] = CDISCARD;
+#endif
#ifdef VWERSE
tc.c_cc[VWERSE] = CWERASE;
#endif
+#ifdef VWERASE
+ tc.c_cc[VWERASE] = CWERASE;
+#endif
+#ifdef VSTATUS
+ tc.c_cc[VSTATUS] = CSTATUS;
+#endif
#endif /* NO_INIT_CC */
tcsetattr(0, TCSANOW, &tc);
#else