From 87e9bd0e89ee850cf01236939e5894d9c4af4b31 Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Fri, 17 Nov 1995 02:28:36 +0000 Subject: [PATCH] Add IEXTEN to lflags git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7111 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/ChangeLog | 9 +++++++++ src/appl/bsd/krlogind.c | 2 +- src/appl/bsd/login.c | 1 - 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index baf390dd9..74119d64a 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,12 @@ +Sun Nov 12 12:39:23 1995 Sam Hartman + + * krlogind.c (doit): Clear iextn for NetBSD and other 4.4-based + systems so that ctrl-o isn't special. + +Sat Oct 21 17:33:37 1995 Sam Hartman + + * login.c (main): Don't set LOGNAME twice. + Sun Nov 12 04:44:50 1995 Mark W. Eichin * krshd.c (doit): drag TZ= from parent environment into envinit to diff --git a/src/appl/bsd/krlogind.c b/src/appl/bsd/krlogind.c index 4e714ad9f..36dd01de7 100644 --- a/src/appl/bsd/krlogind.c +++ b/src/appl/bsd/krlogind.c @@ -621,7 +621,7 @@ int syncpipe[2]; #if defined(POSIX_TERMIOS) && !defined(ultrix) tcgetattr(t,&new_termio); - new_termio.c_lflag &= ~(ICANON|ECHO|ISIG); + new_termio.c_lflag &= ~(ICANON|ECHO|ISIG|IEXTEN); /* so that login can read the authenticator */ new_termio.c_iflag &= ~(IXON|IXANY|BRKINT|INLCR|ICRNL|ISTRIP); /* new_termio.c_iflag = 0; */ diff --git a/src/appl/bsd/login.c b/src/appl/bsd/login.c index 8600f9531..2f7456379 100644 --- a/src/appl/bsd/login.c +++ b/src/appl/bsd/login.c @@ -894,7 +894,6 @@ bad_login: setenv("PATH", LPATH, 0); setenv("USER", pwd->pw_name, 0); setenv("SHELL", pwd->pw_shell, 0); - setenv("LOGNAME", pwd->pw_name, 0); if (term[0] == '\0') (void) strncpy(term, stypeof(tty), sizeof(term)); -- 2.26.2