Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!van-bc!norsat!dbin From: dbin@norsat.UUCP (Dave Binette) Newsgroups: comp.periphs Subject: "intelli"port problems (DTR drop) Keywords: aha! fixed, timeout Message-ID: <170@norsat.UUCP> Date: 17 Dec 89 04:53:35 GMT Organization: NII Norsat International Inc. Surrey, BC, CANADA Lines: 25 In a previous posting i grumbled about the COMPUTONE INTELLIPORT not disconnecting after my BBS user logged off. Found the problem! (soooo simple). I added the lines marked /* fix dtr drop */ fclose(stdout); /* fix dtr drop */ fclose(stdin); /* fix dtr drop */ fclose(stderr); /* fix dtr drop */ sleep(2); /* fix dtr drop */ exit(n); } The solution then is be sure that the TTY lines are closed and *most important* Keep them closed long enough for the DTR drop to be sensed by the modem. Without the sleep(2) "getty" kicks in too fast and the modem ignores the very brief drop of DTR. Thanks to all who responded and Merry *CHRIST*mas to you too! --- uucp: {uunet,ubc-cs}!van-bc!norsat!dbin | 302-12886 78th Ave bbs: (604)597-4361 24/12/PEP/3 | Surrey BC CANADA voice: (604)597-6298 (Dave Binette) | V3W 8E7 */