home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / hp / 9238 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.2 KB

  1. Xref: sparky comp.sys.hp:9238 comp.unix.programmer:4271
  2. Path: sparky!uunet!gatech!gatech!warlord!bwilab3!chris
  3. From: chris@bwilab3.UUCP (Chris Curtin)
  4. Newsgroups: comp.sys.hp,comp.unix.programmer
  5. Subject: pty programing question
  6. Message-ID: <172@bwilab3.UUCP>
  7. Date: 12 Aug 92 19:02:29 GMT
  8. Followup-To: comp.sys.hp
  9. Organization: Bradley Ward Inc., Atlanta, Ga
  10. Lines: 26
  11.  
  12.  
  13. hello,
  14.  
  15. I have written a program that opens a pty by trying to open all the pty
  16. files in the master directory. This works okay but is not very elegant and
  17. sometimes fails.
  18.  
  19. I found a C++ class from HP called PTYOPEN(3X) that does want I want
  20. but, I need ANSI C. I called HP and they said that this was an AT&T library
  21. and that they could not provide any info about it.
  22.  
  23. So my question: Does anyone know how PTYOPEN(3X) gets a pty? HP does not
  24. document the pty interface for HP-UX. I pressed the HP support engineer
  25. and he said that the HP-UX pty interface is probably standard AT&T. Does 
  26. anyone have any documentation of this interface?
  27.  
  28. I am running HP-UX 8.0, 8.02 and 8.07 on 9000 series [78]00.
  29.  
  30. Thanks
  31.  
  32. Chris
  33. -- 
  34. --
  35. Christopher M. Curtin                Bradley Ward Systems, Inc.
  36. gatech!warlord!bwilab3!chris            5901-A Peachtree Dunwoody Rd
  37.                         Atlanta, Ga 30350
  38.