home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sun / admin / 4853 < prev    next >
Encoding:
Text File  |  1992-07-21  |  1.9 KB  |  47 lines

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!sun-barr!cs.utexas.edu!wotan.compaq.com!moxie!lobster!nuchat!buster!uhura1!bryan
  3. From: bryan@uhura1.uucp (Bryan Curnutt)
  4. Subject: "stty size" returns 0 0 ?!?
  5. Message-ID: <1992Jul21.054928.14004@uhura1.uucp>
  6. Reply-To: bryan%uhura1@uunet.uu.net
  7. Organization: Stoner Associates, Inc./DREM Incorporated, Houston Texas
  8. Date: Tue, 21 Jul 1992 05:49:28 GMT
  9. Lines: 36
  10.  
  11.  
  12. Environment: SunOS 4.1.2, OpenWindows 3.0, SPARCstation IPC
  13. I have a user here who starts up 5 xterms from his .openwin-init
  14. file, each executing "rlogin" to a different machine.  (Well, three
  15. of them are rlogin-ing to his own machine, which ain't the most
  16. efficient way to run things, but that's not the point...)
  17.  
  18. Sporadically, one of these xterms will lose the size of the window.
  19. "stty size" will return "0 0" instead of "25 80" or whatever the
  20. size is.  Re-sizing the window has no effect on this value.
  21. "stty -a" also, of course, shows "rows 0 columns 0".
  22.  
  23. Some of our software depends on being able to read the correct size
  24. of the window.
  25.  
  26. Sun tech support says that this problem has never been reported
  27. before, and (this seems weird to me) if you have a problem that
  28. you can't reliably reproduce, there's not even a way to put it on
  29. record as being a potential problem.  (I could see that you might
  30. not want to file a full bug report on something that can't be
  31. reliably reproduced, but it seems to me this should at least go
  32. into a database somewhere, so they can tell if a lot of people
  33. report it.  But I digress...)
  34.  
  35. Questions:
  36.  
  37. 1. Has anyone seen this sort of thing before?
  38.  
  39. 2. Does anyone have a clue about what might cause this?
  40.  
  41. Thanks for any insights,
  42. -- 
  43. Any opinions above are mine, and do not necessarily reflect the views of SAI.
  44.  
  45. Bryan Curnutt                   | "I hope that UNIX is more like my diner
  46. bryan%uhura1@uunet.uu.net       |  than like McDonald's." -- Doug McIlroy
  47.