home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.coherent
- Path: sparky!uunet!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!clau
- From: clau@acs.ucalgary.ca (Christopher Lau)
- Subject: Coherent modem control and getty wedge
- Sender: news@acs.ucalgary.ca (USENET News System)
- Message-ID: <93Jan05.064339.14842@acs.ucalgary.ca>
- Date: Tue, 05 Jan 93 06:43:39 GMT
- Nntp-Posting-Host: acs5.acs.ucalgary.ca
- Organization: The University of Calgary, Alberta, Canada
- Lines: 42
-
- Hello-
-
- Has anyone out there tried the getty wedge program (wedge.zip on raven)?
- It needed a tweak or two (namely removing the "\n" from the part of the
- code sending the modem-init string, and writing a new disable command to
- fix permissions on the ports) to make it work.
-
- While it seems to work fine (I don't really need its auto-baud features since
- my modem is locked at 38.4k, but its automatic modem permission correction
- and modem initialization features are very useful- I can always connect fine
- whereas before, either the modeminit wouldn't work correctly (RD or TD light
- would stay lit after modeminit and modem wouldn't function until addressed
- (an AT command sent to it) or reset- this happened on five different modems
- ranging from a Hayes 2400 to a USR dual standard and on two different serial
- boards so I don't think its the modem nor the serial card's fault) or getty
- would spawn login too quickly and the login message would terminate connect.)
- but my question is: would it be possible to get these features, but with
- modem control (SIGHUP generated when CD is lost) on the line as well (the
- wedge currently requires that you run it on "local" port to avoid the blocking
- open of the modem control lines)?
-
- My "dream" version of modem control would be:
-
- o open would NOT block if CD signal is not present BUT,
- (can this be disabled in Coh 4.0?)
- o can use sgtty/termio to determine status of CD line
- o SIGHUP generated to all processes in process group on
- TRANSITION of CD line from high to low
-
- This isn't too different than what MWC is doing right now, but would be
- much more flexible than the current arrangement.
-
- Yes- I CAN write a daemon which would monitor the CD line using the
- TIOCRMSR function, but it would be MUCH easier (and less CPU intensive)
- to modify the driver since it's already doing most of what I'd like it to.
-
- c4
- --
- Christopher Lau | Dammit Jim, I'm a doctor,
- The University of Calgary | not an engineer!
- Dept. of Electrical & Computer Engg. | Well, you're an engineer now..
- lau@enel.ucalgary.ca -OR- clau@acs.ucalgary.ca -OR- root@fusion.cuc.ab.ca
-