home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / coherent / 6654 < prev    next >
Encoding:
Internet Message Format  |  1993-01-07  |  3.8 KB

  1. Path: sparky!uunet!van-bc!rwsys!root
  2. From: root@rwsys.wimsey.bc.ca (Superuser)
  3. Newsgroups: comp.os.coherent
  4. Distribution: world
  5. Subject: Re: Coherent modem control and getty wedge
  6. References: <93Jan05.064339.14842@acs.ucalgary.ca>
  7. Message-ID: <93010612506@rwsys.wimsey.bc.ca>
  8. Organization: RWSYS Exporter BBS system
  9. Date: Wed,  6 Jan 93 22:50:24 PST
  10. Lines: 76
  11.  
  12. clau@acs.ucalgary.ca (Christopher Lau) writes:
  13. > My "dream" version of modem control would be:
  14. >         o  open would NOT block if CD signal is not present BUT,
  15. >            (can this be disabled in Coh 4.0?)
  16. >         o  can use sgtty/termio to determine status of CD line
  17. >         o  SIGHUP generated to all processes in process group on
  18. >            TRANSITION of CD line from high to low
  19. > This isn't too different than what MWC is doing right now, but would be
  20. > much more flexible than the current arrangement.
  21.  
  22. > Yes- I CAN write a daemon which would monitor the CD line using the
  23. > TIOCRMSR function, but it would be MUCH easier (and less CPU intensive)
  24. > to modify the driver since it's already doing most of what I'd like it to.
  25. > c4
  26. > -- 
  27. > Christopher Lau                      |    Dammit Jim, I'm a doctor,
  28. > The University of Calgary            |    not an engineer!
  29. > Dept. of Electrical & Computer Engg. |    Well, you're an engineer now..
  30. > lau@enel.ucalgary.ca -OR- clau@acs.ucalgary.ca -OR- root@fusion.cuc.ab.ca
  31.  
  32. I have written a Version 2 of gettyw. I think I was a bit premature in
  33. releasing version 1.  The new version *does* watch CD and generates a
  34. sighup on *loss* of cd. I'm not sure how to interpret 'not block' as mentioned
  35. above.
  36.  
  37. Anyway, the NEW wedge also offers a much improved logging. It will log
  38. PROTOCOL, COMPRESSION and CARRIER messages if you use MNP or V42, This
  39. allows it to be used with locked rate modems, and still return the
  40. telco line baud rate for information. It also allows the system admin
  41. to determine what kind of modems are most popular among the callers,
  42. what protocols are being used etc... You can specify 3 levels of
  43. logging -none, regular (as above) or debug. debug will log just
  44. about everything that comes over the line up to the point of
  45. a login.
  46.  
  47. I have also incorporated a suggestion that allows the wedge to log
  48. caller id messages that are returned by certain modems. I don't have
  49. caller id myself, so I'm waiting to hear how this works out. The wedge
  50. scans for NAME, NUMBER, TIME and DATE strings and collects them into
  51. the log file.
  52.  
  53. I also want to add recognition for fax connections, but I'm too busy
  54. to write fax software. Never-the-less, a getty wedge is the appropriate
  55. hook point for calling fax a fax receiver.
  56.  
  57. The new program is named wedge2.zip (surprise surprise). I'll
  58. upload it to raven tonight.
  59.  
  60. I also am including pperm, which verifies lock files and port
  61. permission via the output of ps. It was included in the previous
  62. package. If you ever have uucico leave your port with permissions
  63. screwed up, or lock files for processes that have passed into oblivion,
  64. you'll appreciate pperm.
  65.  
  66. Also included is rmdh, another log file tool. rmhd removes lines from 
  67. the beginning of a log file. By default it'll take off the first 100 
  68. lines ( unless there are less than 100). But you can supply a commandline 
  69. argument to trim off as many as you like. It is an alternative to
  70. a method such as uumvlog.
  71.  
  72. I have also written and included man pages in this package.
  73.  
  74. IF you have caller id on your modem, and you decide to log 'em via
  75. the wedge, please let me know how it works out.
  76.  
  77. Randy
  78.  
  79. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  80. root@rwsys.wimsey.bc.ca (Randy Wright)                     Exporter BBS
  81. (604) 581-0518  8N1  (Bell 103/212A, V22.bis)  interactive login: guest
  82. Anon uucp:  ogin: uguest     MACHINE=uguest LOGNAME=uguest MYNAME=rwsys
  83. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  84.