Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!bonnie!akgua!sdcsvax!sdcrdcf!hplabs!hao!seismo!brl-tgr!tgr!wls@astrovax.uucp From: wls@astrovax.uucp Newsgroups: net.unix-wizards Subject: Re: Dial-in, Dial-out. Same line, easy? Message-ID: <6582@brl-tgr.ARPA> Date: Mon, 10-Dec-84 00:07:03 EST Article-I.D.: brl-tgr.6582 Posted: Mon Dec 10 00:07:03 1984 Date-Received: Wed, 12-Dec-84 05:42:51 EST Sender: news@brl-tgr.ARPA Organization: Ballistic Research Lab Lines: 25 I have just posted the changes to the 4.2 BSD uucp and tip to use the same line for both dialing in and dialing out. Similar changes existed here when we were running 4.1 BSD. The heart of it is a program called acucntrl that does a lot of poking and hacking (which it must because no straightforward hooks are provided into the operating system to do what must be done), and thus is specific to 4.2 BSD with the Vax dz, dh, or dmf drivers. Thus I can't guarantee it for other than the VAX although who knows. The modifications to it if any for 4.X BSD on some other computer should be at least straight forward. The modifications to it for System V are harder but should be doable (though System V provides other hooks than those used here). This may start some flaming but I should at least say what I think one of those hooks should be. For a start, I think that the use of modem control should be settable by an ioctl. Terminal lines with modem control enabled should hang on first read rather than hanging on open, to allow one to gain the access to do this ioctl. To enable/disable modem control I must poke in /dev/kmen to toggle one of the driver bits, which accounts for the driver dependence. Some better communication with init (process one) would also be nice. For instance in 4.2 BSD it could be listening to a socket. There are some terrible kluges resulting from the fact that one has little way of determining when init has responded to a request. -- Bill Sebok Princeton University, Astrophysics {allegra,akgua,burl,cbosgd,decvax,ihnp4,noao,princeton,vax135}!astrovax!wls