From donn@u.washington.edu Mon May 19 20:32:01 1997
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id UAA27780 for <bugs@RT-11.MIT.EDU>; Mon, 19 May 1997 20:32:01 -0400
Received: from melville.u.washington.edu by MIT.EDU with SMTP
id AA11098; Mon, 19 May 97 20:31:16 EDT
Received: (from donn@localhost)
by melville.u.washington.edu (8.8.4+UW97.04/8.8.4+UW97.05)
id RAA90136; Mon, 19 May 1997 17:31:59 -0700
Message-Id: <199705200031.RAA90136@melville.u.washington.edu>
Date: Mon, 19 May 1997 17:31:59 -0700
From: Donn Cave <donn@u.washington.edu>
Reply-To: donn@u.washington.edu
To: krb5-bugs@MIT.EDU
Subject: appl/bsd/login.c: need "new" tty discipline for all shells
X-Send-Pr-Version: 3.99
University of Washington
System: AIX melville 2 4 000010504900
use csh, or ksh or bash or what have you. NTTYDISC is the
right one for all of them, on Ultrix.
----------------------
*** src/appl/bsd/login.c.dist Wed Apr 2 23:35:11 1997
--- src/appl/bsd/login.c Mon May 19 17:02:13 1997
***************
*** 1801,1811 ****
if (*pwd->pw_shell == '\0')
pwd->pw_shell = BSHELL;
#if defined(NTTYDISC) && defined(TIOCSETD)
! /* turn on new line discipline for the csh */
! if (!strcmp(pwd->pw_shell, "/bin/csh")) {
! ioctlval = NTTYDISC;
! (void)ioctl(0, TIOCSETD, (char *)&ioctlval);
! }
#endif
ccname = getenv("KRB5CCNAME"); /* save cache */
--- 1801,1809 ----
if (*pwd->pw_shell == '\0')
pwd->pw_shell = BSHELL;
#if defined(NTTYDISC) && defined(TIOCSETD)
! /* turn on new line discipline for job control shells. */
! ioctlval = NTTYDISC;
! (void)ioctl(0, TIOCSETD, (char *)&ioctlval);
#endif
ccname = getenv("KRB5CCNAME"); /* save cache */
State-Changed-From-To: open-closed
State-Changed-By: tytso
State-Changed-When: Fri Jun 6 22:34:41 1997
State-Changed-Why: patch applied to sources
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id UAA27780 for <bugs@RT-11.MIT.EDU>; Mon, 19 May 1997 20:32:01 -0400
Received: from melville.u.washington.edu by MIT.EDU with SMTP
id AA11098; Mon, 19 May 97 20:31:16 EDT
Received: (from donn@localhost)
by melville.u.washington.edu (8.8.4+UW97.04/8.8.4+UW97.05)
id RAA90136; Mon, 19 May 1997 17:31:59 -0700
Message-Id: <199705200031.RAA90136@melville.u.washington.edu>
Date: Mon, 19 May 1997 17:31:59 -0700
From: Donn Cave <donn@u.washington.edu>
Reply-To: donn@u.washington.edu
To: krb5-bugs@MIT.EDU
Subject: appl/bsd/login.c: need "new" tty discipline for all shells
X-Send-Pr-Version: 3.99
Show quoted text
>Number: 428
>Category: krb5-appl
>Synopsis: login.krb5 limits new tty discipline to csh.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: krb5-unassigned
>State: closed
>Class: change-request
>Submitter-Id: unknown
>Arrival-Date: Mon May 19 20:33:00 EDT 1997
>Last-Modified: Fri Jun 06 22:35:06 EDT 1997
>Originator: Donn Cave
>Organization:
University Computing Services>Category: krb5-appl
>Synopsis: login.krb5 limits new tty discipline to csh.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: krb5-unassigned
>State: closed
>Class: change-request
>Submitter-Id: unknown
>Arrival-Date: Mon May 19 20:33:00 EDT 1997
>Last-Modified: Fri Jun 06 22:35:06 EDT 1997
>Originator: Donn Cave
>Organization:
University of Washington
Show quoted text
>Release: 1.0pl1
>Environment:
Ultrix 4.2>Environment:
System: AIX melville 2 4 000010504900
Show quoted text
>Description:
All users should get the same line discipline, whether theyuse csh, or ksh or bash or what have you. NTTYDISC is the
right one for all of them, on Ultrix.
Show quoted text
>How-To-Repeat:
>Fix:
Context diff appended.>Fix:
----------------------
*** src/appl/bsd/login.c.dist Wed Apr 2 23:35:11 1997
--- src/appl/bsd/login.c Mon May 19 17:02:13 1997
***************
*** 1801,1811 ****
if (*pwd->pw_shell == '\0')
pwd->pw_shell = BSHELL;
#if defined(NTTYDISC) && defined(TIOCSETD)
! /* turn on new line discipline for the csh */
! if (!strcmp(pwd->pw_shell, "/bin/csh")) {
! ioctlval = NTTYDISC;
! (void)ioctl(0, TIOCSETD, (char *)&ioctlval);
! }
#endif
ccname = getenv("KRB5CCNAME"); /* save cache */
--- 1801,1809 ----
if (*pwd->pw_shell == '\0')
pwd->pw_shell = BSHELL;
#if defined(NTTYDISC) && defined(TIOCSETD)
! /* turn on new line discipline for job control shells. */
! ioctlval = NTTYDISC;
! (void)ioctl(0, TIOCSETD, (char *)&ioctlval);
#endif
ccname = getenv("KRB5CCNAME"); /* save cache */
Show quoted text
>Audit-Trail:
State-Changed-From-To: open-closed
State-Changed-By: tytso
State-Changed-When: Fri Jun 6 22:34:41 1997
State-Changed-Why: patch applied to sources
Show quoted text
>Unformatted: