home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / hp / 8551 < prev    next >
Encoding:
Text File  |  1992-07-26  |  2.2 KB  |  48 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!utcsri!helios.physics.utoronto.ca!alchemy.chem.utoronto.ca!system
  3. From: system@alchemy.chem.utoronto.ca (System Admin (Mike Peterson))
  4. Subject: Re: various questions/complaints
  5. Message-ID: <1992Jul26.122902.14093@alchemy.chem.utoronto.ca>
  6. Keywords: 710, hpux, amd, script
  7. Organization: University of Toronto Chemistry Department
  8. References: <1992Jul23.182711.24883@doug.cae.wisc.edu> <1992Jul24.222818.22280@gdwest.gd.com>
  9. Date: Sun, 26 Jul 1992 12:29:02 GMT
  10. Lines: 36
  11.  
  12. In article <1992Jul24.222818.22280@gdwest.gd.com> good@gdwest.gd.com (CWP 570499236 Good) writes:
  13. >In article <1992Jul23.182711.24883@doug.cae.wisc.edu> longstre@cae.wisc.edu (Jon Longstreth) writes:
  14. >>Third problem:
  15. >>back to the 710 running hpux 8.07
  16. >>the command 
  17. >>eval `resize -c`
  18. >>returns the error message
  19. >>broken pipe
  20. >>about half of the time.
  21. >
  22. >Check your .cshrc or ksh ENV file for weird things, especially anything that
  23. >expects to talk to a tty.  Some of our Sun users have put things like:
  24. >
  25. > if (`tty` != "console")...
  26. >
  27. >in their .cshrc, and caused themselves all kinds of trouble.  Hmmm. Come
  28. >to think of it, That could be a potential cause for Problem #1 as well.
  29.  
  30. While there are many 'stty' problems with HP-UX (don't do 'stty -tabs'
  31. in your .cshrc/.kshrc unless you can guarantee you are in an 
  32. "interactive" shell for example), the "broken pipe" message comes
  33. from something else, since you can get it by running many other
  34. things through pipes (e.g. 'zcat blah.tar.Z | tar xf -' will give the
  35. same message about half the time) - my guess would be that the first
  36. process in the pipeline is seeing the second process terminate,
  37. which would close the pipe, and complains about it instead of just
  38. going away quietly. You can also get it by piping things to a pager,
  39. then exitting the pager before the first process has had time to
  40. complete.
  41.  
  42. Our "solution" for 'resize' was to invoke it twice in a row (we
  43. use an alias to run it in any case, so having it done twice is not
  44. too hard).
  45. -- 
  46. What are the chances that any computer system will ever "work" properly?
  47. ... and Slim just left town. -*- Mike Peterson, SysAdmin, U/Toronto Chemistry
  48.