Xref: utzoo comp.unix.questions:14628 comp.unix.xenix:6537 Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!ames!amdahl!pacbell!att!chinet!les From: les@chinet.chi.il.us (Leslie Mikesell) Newsgroups: comp.unix.questions,comp.unix.xenix Subject: Re: CU & login-scripts Message-ID: <8825@chinet.chi.il.us> Date: 1 Jul 89 19:59:44 GMT References: <294@lancelot.UUCP> Reply-To: les@chinet.chi.il.us (Leslie Mikesell) Followup-To: comp.unix.questions Organization: Chinet - Public Access Unix Lines: 25 In article <294@lancelot.UUCP> lance@lancelot.UUCP (Lancelot of Caid) writes: >Hi, > I have SCO Xenix 2.3.1 and HDB UUCP. I was wondering if there is a >way to have cu use a Expect-Send script like uucico does? I have >the Systems file split into seperate files (Systeme.cico, Systems.cu) >so there will be no problems of conflicts. > >Any ideas, comments, etc? First you might want to look at kermit, which has a login script facility. However, if you don't come up with anything better, you can add a login (or whatever) script to your Dialer entry by extending the dialing script (calling it a different name, of course). Then you make a Systems file entry that uses the "modem class" field to tie it to one or more entries in your Devices file where you specify the tty line(s), the new modem class and the new dialer script. You can have multiple entries for each tty line, so this will not affect other usage. The annoying thing is that you have to make separate entries for each tty line that might be used and make multiple entries if the modems on different lines require different scripts. I've used this technique to connect through dial-up packet networks so I can dig up an example it this description is not clear enough. Les Mikesell