Path: utzoo!utgpu!water!watmath!clyde!bellcore!tness7!tness1!sugar!karl From: karl@sugar.uu.net (Karl Lehenbauer) Newsgroups: comp.unix.microport Subject: Trying to use the same line to dial in and out Keywords: Bell Tech Unix Message-ID: <2332@sugar.uu.net> Date: 23 Jul 88 22:13:14 GMT Organization: Sugar Land Unix - Houston, TX Lines: 22 We're trying to get Bell Tech Unix to use the same line for dial in and dial out. The problem is that to dial out, tty0 must be opened without modem controls. Otherwise, the open hangs until CD is present. getty, on the other hand, wants to open the device with modem controls, so it won't initiate a login until someone connects with the modem. Incidentally, there is no entry in /dev for tty00 or tty01 with modem controls. Section 7 of the sysadmin manuals has a section called ASY that says you need to OR a 16 into the minor device number, so we mknod'ed /dev/ttym0 with this bit set. Does anyone believe ordinary DOS weenies are going to be able or willing to figure this stuff out? Anyway, the problem now is that uugetty and uucico use different filenames for tty0, hence they don't manage to lock each other out. Specifically, when uucico places a call, as soon as it gets carrier detect, uugetty will try to get the remote sytstem to log in. That's bad. Shouldn't the Unix validation stuff include making sure that one can plug modems into serial ports, especially the built-in ones, and be configured for both dial in and dial out, as uugetty is documented to allow? What is the fix? -- -- backups: always in season; never out of style. -- karl@sugar.uu.net aka uunet!sugar!karl