Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!uunet!ncrlnk!ncrcce!mercer From: mercer@ncrcce.StPaul.NCR.COM (Dan Mercer) Newsgroups: comp.unix.questions Subject: How do I hang up modem port SYSV R3? Message-ID: <1763@ncrcce.StPaul.NCR.COM> Date: 30 Nov 89 23:59:39 GMT Reply-To: mercer@ncrcce.StPaul.NCR.COM (Dan Mercer) Organization: NCR Comten, Inc. Lines: 20 Keywords: I have a program that dials out a Unix port to a Unix port, across which session traffic runs. In many ways, it mimics cu. Unfortunately, unlike cu, it won't hang up the line when it exits. I change the struct termio parameters so that HUPCL is set, CLOCAL is not, and CBAUD = 0. I close the file. Still the processes on the terminal line stay up, even though DTR should have dropped. If I use cu for the same purpose, and enter ~., the line drops and the terminal processes all get SIGHUP. What is cu doing to drop the line? HELP! This is driving me crazy!!! -- Dan Mercer Reply-To: mercer@ncrcce.StPaul.NCR.COM (Dan Mercer)