From: harakka_j@kulminator.salcom.fi Subject: Re: 0.99pl6 and serial login doesn't work for me Date: 16 Mar 1993 20:18:18 GMT
In article <DLIU.93Mar15180245@ace.njit.edu>, dliu@ace.njit.edu (Dong Liu) writes:
> I found the problem is agetty cleared the CLOCAL bit in the c_cflag,
> here is my fix:
>
> in file agetty.c in poeigl-1.11a, around line 655, change the line
>
> tp->c_cflag = CS8 | HUPCL | CREAD | speed;
>
> to
>
> ioctl (0, TCGETA, tp);
> tp->c_cflag = CS8 | HUPCL | CREAD | speed | (tp -> c_cflag &CLOCAL);
>
>
> That works for me.
Me too! Thanks a lot!
- juha -
----Juha Harakka, SALCOM Finland OY, Box 37, SF-40321 Jyvaskyla -
---Tel: +358-41-685 333 & +358-49-643 319, Fax: +358-41-677 944 --
--X.400:c=fi;admd=fumail;o=salcom;s=Juha.Harakka,BIX: jharakka ---
-Internet: Juha.Harakka@salcom.fi PSImail: 244324100014::Harakka_J----