Path: utzoo!utgpu!water!watmath!clyde!rutgers!cmcl2!husc6!mailrus!umix!uunet!mcvax!enea!tut!santra!clinet!pete From: pete@clinet.FI (Petri Helenius) Newsgroups: comp.unix.wizards Subject: NCR Tower/400/600 System Bug? Message-ID: <596@clinet.FI> Date: 18 Feb 88 19:54:03 GMT Reply-To: pete@clinet.UUCP (Petri Helenius) Organization: City Lines Oy, Helsinki, Finland (The land of Santa-Claus!) Lines: 25 I have a problem, that can be solved with some hardware modifications, which I've already done, but I would like to see this done without tricks. I've an autodial modem connected to my serial port tty05, during fidomail times I need both send autodial commands to modem (the DCD is down) and receive incoming calls and monitor the DCD signal (ie. get SIGHUPs). The problem is when I do the following: func() { int fd; fd = open ("/dev/tty05",O_NDELAY|O_RDWR); /* get params with ioctl call */ /* set CLOCAL bit */ /* set params */ /* fcntl O_NDELAY off */ write (fd,"ATDT35808745258\n\r",17); /* the write call then returns ZERO, it fails! */ My question is very simple: Since the Tower hasn't separate dial-out device files without carrier monitoring and it doesn't either seem to support the standard way to disable DCD monitoring and allow writes to serial line without DCD on, how can I write to my autodial modem? Currently I've connected two serial lines to the same port, with some kind of logical-OR connection. It works pretty well, but I'm really not satisfied.