home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / aix / 8879 < prev    next >
Encoding:
Internet Message Format  |  1992-08-17  |  1.4 KB

  1. Path: sparky!uunet!olivea!mintaka.lcs.mit.edu!eswu
  2. From: eswu@expo.lcs.mit.edu (Eng-Shien Wu)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: xterm: no available ptys
  5. Message-ID: <eswu.714102363@rsx.lcs.mit.edu>
  6. Date: 18 Aug 92 01:46:03 GMT
  7. References: <BIS.92Aug14124438@maud.ifi.uio.no> <1992Aug16.014547.5054@uvm.edu>
  8. Sender: news@mintaka.lcs.mit.edu
  9. Organization: X Consortium, MIT Laboratory for Computer Science
  10. Lines: 20
  11.  
  12. wollman@sadye (Garrett Wollman) writes:
  13.  
  14. >Get X11R5 and apply the following patch in the xterm directory.  After
  15. >we did this, we never had to worry about pty problems again.  (In a
  16. >nutshell: Xterm didn't know how to use /dev/ptc to allocate a PTY from
  17. >whole cloth, so it use /dev/[pt]ty[pqrs]? instead.  Eventually, it ran
  18. >out.  Even worse, it would occasionally pick up a PTY that still had
  19. >someone else's program running on it!  This seems to have fixed both
  20. >problems when we were running AIX 3.1, and it hasn't hurt anything in
  21. >3.2.  As a general rule, replace all your IBM X programs (except
  22. >Xibm!) with the X11R5 versions and you'll be much happier.)
  23.  
  24. FYI: The multiplexed pty was fixed in MIT public patch 9 (it was
  25. included with the fix "xterm: orphaned shells on AIX if connection is
  26. lost" but it was not mentioned--oversight). Garrett's patch seems to
  27. do more things, like frevoke().
  28.  
  29. --
  30. Eng-Shien Wu (eswu@expo.lcs.mit.edu)
  31. IBM Graphic Systems/MIT X Consortium
  32.