home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / programm / 4253 < prev    next >
Encoding:
Text File  |  1992-08-12  |  1.4 KB  |  36 lines

  1. Newsgroups: comp.unix.programmer
  2. Path: sparky!uunet!psgrain!hippo!ucthpx!aim1!aim1!gram
  3. From: gram@aim1.aztec.co.za (Graham Wheeler)
  4. Subject: STREAMS, getty and cu
  5. Message-ID: <gram.713623064@aim1>
  6. Organization: Aztec Information Management
  7. Date: Wed, 12 Aug 1992 12:37:44 GMT
  8. Lines: 26
  9.  
  10. Hi all
  11.  
  12. I have a question relating to archaic technology (namely SVR3), which has
  13. no STREAMS autopush facility. If one needs to push a line discipline module
  14. above a STREAMS device driver which has a getty attached, how does one do it?
  15.  
  16. I can think of two possibilities:
  17.  
  18. 1) Use the Devconfig file. However (at least in SVR3.0), the only services
  19.     that can be specified are uucico and cu, *not* getty. So one could
  20.     use this for outgoing calls but probably not incoming. Or have things
  21.     changed in SVR3.2? (I don't have SVR3.2 manuals, only SVR3.0 and SVR4).
  22.  
  23. 2) Have a daemon process which opens the device, pushes the module, and sleeps.
  24.     The assumption here is that when getty opens the device (the second
  25.     open), it is still going to interface through the pushed module. Is
  26.     this the case? If it is, this is probably the simplest solution.
  27.  
  28. Thanks in advance
  29.  
  30. Graham
  31. -- 
  32. Graham Wheeler                     | "That which is weak conquers the strong,
  33. Software Systems Engineer/Student  | that which is soft conquers the hard."
  34. Aztec Information Management/UCT   |         Lao Tzu - Tao Te Ching Ch. 78
  35. gram@aim1.aztec.co.za / gram@cs.uct.ac.za 
  36.