After applying the following patch to login.c from poeigl-1.9a.tar.Z login
can be used with the new vhangup() code in the 0.99p6 kernel. It's a slight
adaption of a patch by Rick Sladkey.
--- login.c.orig Mon Jan 18 09:40:57 1993
ttt.c_cflag &= ~HUPCL;
tcsetattr(0,TCSAFLUSH,&ttt);
vhangup();
+ close(0); close(1); close(2);
tcsetattr(0,TCSAFLUSH,&tt);
}
(void)signal(SIGHUP, SIG_DFL);
I've tested it both for modem and console logins.
The separated dial-out (/dev/cua?) and dial-in (/dev/ttyS?) devices work
perfectly for me now in Linux 0.99pl6 with this patched login.
Arjan
--