autoexecution of a program by tty
Gary Weimer 253-7796
weimer at garden.ssd.kodak.com
Thu Apr 11 05:36:19 AEST 1991
In article <1991Apr08.130553.16073 at ddsw1.MCS.COM>, ebrill at ddsw1.MCS.COM
(Edward Brill) writes:
|> I was kinda hoping that it could assume that any connects on xty00 thru
|> xty3f are BBS connections, and that the user wouldn't even have to face
|> a login: prompt. I am getting the feeling that this is basically
|> impossible.
That depends on who much trouble you want to go through...
Two things that might work:
1) modify the code for getty(8) to call the BBS instead of login(1)
and change /etc/ttytab to call the modified version for the BBS ports.
2) write your own program to open and initialize the tty line and run
the BBS, then change /etc/ttytab to use this for the BBS ports.
NOTE: I think some versions use an inittab file or some such thing in
place of the ttytab file.
weimer at ssd.kodak.com ( Gary Weimer )
More information about the Comp.unix.questions
mailing list