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