<CNED0975@Ryerson.Ca> (06/22/91)
I am using Minix 1.5.1 and I would like to know how I can kill off a login
process which was forked off to COM2:  The /etc/ttys file has the line 1f2 in i
it because I am not sure exactly how getty and gettydefs work.  The comments
in the source for init.c mention something about stopping a login process
"manually".  How is this done?  What I want to be able to do is use the
modem on COM2: as a dialout device as well as a login port.  But every time
I try to do so, Minix says that it cannot access /dev/tty2.  Any help would
be appreciated.
                                   Steve Mane - Computer Science StudentJoerg Conradt <jac@unlisys.in-berlin.de> (06/26/91)
> > I am using Minix 1.5.1 and I would like to know how I can kill off a login > process which was forked off to COM2: The /etc/ttys file has the line 1f2 > in it because I am not sure exactly how getty and gettydefs work. The comments > in the source for init.c mention something about stopping a login process > "manually". How is this done? What I want to be able to do is use the > modem on COM2: as a dialout device as well as a login port. But every time > I try to do so, Minix says that it cannot access /dev/tty2. Any help would > be appreciated. > Steve Mane - Computer Science Student > Hello Steve, you're to replace the line "1f2" by "0f2" in your /etc/ttys file, then exec "kill -1 1" in the shell. If you now kill the current login on the port, there won't be started a new one. now you can use the modem to dial- out. if you change the line to 1f2 again and kill -1 1 a new login will be started by the init-process hope this helps joerg -- Joerg Conradt Berlin, Germany || UUCP: jac@unlisys.in-berlin.de