Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!rochester!kodak!ispd-newsserver!garden.ssd.kodak.com!weimer From: weimer@garden.ssd.kodak.com (Gary Weimer (253-7796)) Newsgroups: comp.unix.questions Subject: Re: autoexecution of a program by tty Message-ID: <1991Apr10.193619.3099@ssd.kodak.com> Date: 10 Apr 91 19:36:19 GMT References: <1991Mar28.143204.27014@ddsw1.MCS.COM> <1991Apr3.135455.3191@athena.mit.edu> <1991Apr08.130553.16073@ddsw1.MCS.COM> Sender: news@ssd.kodak.com Reply-To: weimer@ssd.kodak.com Organization: Eastman Kodak Co.; Rochester, NY Lines: 21 In article <1991Apr08.130553.16073@ddsw1.MCS.COM>, ebrill@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@ssd.kodak.com ( Gary Weimer )