SCCS-vsn: usr.bin/login/login.c 5.12
SCCS-vsn: usr.bin/login/login.c.1 5.12
#endif not lint
#ifndef lint
-static char sccsid[] = "@(#)login.c 5.11 (Berkeley) %G%";
+static char sccsid[] = "@(#)login.c 5.12 (Berkeley) %G%";
#endif not lint
/*
*/
if (rflag)
doremoteterm(term, &ttyb);
+ ttyb.sg_erase = CERASE;
+ ttyb.sg_kill = CKILL;
ioctl(0, TIOCSLTC, <c);
ioctl(0, TIOCSETC, &tc);
ioctl(0, TIOCSETP, &ttyb);
#endif not lint
#ifndef lint
-static char sccsid[] = "@(#)login.c.1 5.11 (Berkeley) %G%";
+static char sccsid[] = "@(#)login.c.1 5.12 (Berkeley) %G%";
#endif not lint
/*
*/
if (rflag)
doremoteterm(term, &ttyb);
+ ttyb.sg_erase = CERASE;
+ ttyb.sg_kill = CKILL;
ioctl(0, TIOCSLTC, <c);
ioctl(0, TIOCSETC, &tc);
ioctl(0, TIOCSETP, &ttyb);