jsnyder@lehi3b15.csee.Lehigh.EDU (Jay Snyder) (03/22/90)
My system is connect to an IBX network that has data boxes that look like a modem to my system. The dialing is done through an interectrive dialog, the network gives you a prompt that asks you what you want to do (set baud rate, dial out, etc.) , interactively, this is neat, but makes dialing scripts a real drag. I managed to make a successful dialing script but, I can't seem to make getty work right. I'm trying to use one as a dial-in/dial-out lines, but when getty comes up, it raises DTR causing the network to send it's system prompt. This causes a long drawn out conversation between login prompts and dialer prompts. When one of these boxes 'recieves' a call it toggles the ring detect line much as a regular modem does. I have an MSDOS program that watches for this and then raises DTR. What I need is a device driver and a getty to do the same. Another idea the might work would be a getty that ignores and (doesn't reprompt) uppercase letters, as the dialer prompts are all upper case. If the dialer gets no response after 30 seconds it times out and is ready to receive a call. Source code for any getty the compiles a runs under SCO Xenix would be appreciated, then I could modify it to do what I need. Thank you, Jay Snyder ==================================================== Jay A. Snyder jsnyder@lehi3b15.csee.lehigh.edu CSEE Dept. lehi3b15!jsnyder Lehigh University -- ==================================================== Jay A. Snyder jsnyder@lehi3b15.csee.lehigh.edu CSEE Dept. lehi3b15!jsnyder Lehigh University
dag@fciva.FRANKLIN.COM (Daniel A. Graifer) (03/22/90)
In article <826@lehi3b15.csee.Lehigh.EDU> jsnyder@lehi3b15.csee.Lehigh.EDU (Jay Snyder) writes: >My system is connect to an IBX network that has data boxes that look like >a modem to my system. [...] >When one of these boxes 'recieves' a call it toggles the ring detect line >much as a regular modem does. [...] >Jay A. Snyder jsnyder@lehi3b15.csee.lehigh.edu >CSEE Dept. lehi3b15!jsnyder >Lehigh University I'm not familer with your network, but you might try this: If it is supposed to look like a network then it should bring up DCD and CTS when a call "connects". Your getty should be keeping DTR up so the "modem" knows it is ok to answer a call. If you can keep DCD from coming up until after the control messages, a uugetty from the /usr/lib/uucp directory should block on open until this control signal is seen. Hope this helps Dan ---- Daniel A. Graifer Franklin Mortgage Capital Corporation uunet!fciva!dag 7900 Westpark Drive, Suite A130 (703)448-3300 McLean, VA 22102 -- Daniel A. Graifer Franklin Mortgage Capital Corporation uunet!dag@fmccva.franklin.com 7900 Westpark Drive, Suite A130 (703)448-3300 McLean, VA 22102
jsnyder@lehi3b15.csee.Lehigh.EDU (Jay Snyder) (03/23/90)
Maybe I didn't explain the problem clearly before. The way this network works, I must keep DTR low to avoid the dial out prompts from the network. When a call comes in, the ring detect line is toggled, raising DTR then will answer the line. ==================================================== Jay A. Snyder jsnyder@lehi3b15.csee.lehigh.edu CSEE Dept. lehi3b15!jsnyder Lehigh University -- ==================================================== Jay A. Snyder jsnyder@lehi3b15.csee.lehigh.edu CSEE Dept. lehi3b15!jsnyder Lehigh University