Article View: comp.sources.d
Article #1339Re: unix Pcomm problems
From: jay.r.harbeston
Date: Mon, 07 Jan 1991 15:38
Date: Mon, 07 Jan 1991 15:38
46 lines
2399 bytes
2399 bytes
Keywords: Pcomm problems Summary: fix for uugetty and pcomm > In article <3044@polari.UUCP> kentkar@polari.UUCP (kent karrer) writes: > <When I try to use the Pcomm program, it seems to execute correctly but I am > <unable to communicate to my modem. I checked the Pcomm tty setups and I added > <one to look the same as my inittab, ie ttyd0. I have tried various setups and I > <don't see the indicators on my modem change. > < > <Finally out of frustration, I edited my inittab file to turn off my port 1 from > <respawn. I have my modem on port 1. Pcomm seems to execute correctly. I am able > <to dial out and communicate but only to a point. I am fine until I download a > <file. After the download completes and terminates, I am unable to communicate > <with the remote system I am dialed into. It's as if I'm stuck talking to my > <terminal exclusively. At that point the only thing I can do to terminate the > <session is to hang up the modem. > < > <So, I guess I really have two problems: > < > < 1. I have to go to great lengths to modify my inittab file and kill > < the active uugetty that I have set up on my com port. > < To get around the problem with the uugetty holding the line, you have to tell uugetty out of the way.. to do this firstcheck for a lock file on the port in /usr/spool/locks. Next, place a lock on the lock file using fcntl and the F_SETLK. Now open the port and the place a lock on the /dev/ttyxx device. Next, remove the lock on the lock file and close it. And you can now communi- cate with the fool thing! > < 2. After downloading files I am unable to communicate with the remote > < system. > < Put some debug code in to check and make sure that the ioctl modes are getting reset properly for both the incoming and outgoing ports. Something is probably not reset right. > I have pcomm working on a Sun Workstation, but it will not talk with the > modem on my ISC system either. I would appreciate suggestions as well. > -- try the above! Jay Harbeston
Technical Details
Message-ID:
<1991Jan7.153821.18652@cbnewsm.att.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!cbnews!cbnewsm!jrh2Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!cbnews!cbnewsm!jrh2 From: jrh2@cbnewsm.att.com (jay.r.harbeston) Newsgroups: comp.sources.d Subject: Re: unix Pcomm problems Message-ID: <1991Jan7.153821.18652@cbnewsm.att.com> Date: 7 Jan 91 15:38:21 GMT Distribution: usa Organization: AT&T Bell Laboratories Lines: 46