home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / coherent / 6579 < prev    next >
Encoding:
Text File  |  1993-01-05  |  2.6 KB  |  54 lines

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