Background writes in csh

Esa K Viitala esa at tglobe2.tollpost-globe
Tue Oct 2 21:31:25 AEST 1990


In article <90Oct1195212*Harald.Eikrem at elab-runit.sintef.no> Harald.Eikrem at elab-runit.sintef.no writes:
  >Joe Wells <jbw at bu.edu> responding to Gordon C. Galligher <gorpong at ping.uucp>:
  >================
  >   >
  >   >   alias ls 'ls -FC \!* |more'
  >   >
  >   >This works fine, however sometimes it stops both tasks and puts them in 
  >   >the background, (this is on various Suns using csh and tcsh).  Typing
  >   >fg restarts the listing.  This is really irritating, typing fg and all.
  >   >
  >   More(1) is the problem here.  I have not quite figured it out, but I had a 
  >I suspect you're wrong, because there is a known problem with Sun's csh
  >that causes this problem with pipelines in general.  It's a race condition
  >during the setup of the pipeline by the csh.  I suspect that less works
  >because it has a larger executable file and thus takes slightly longer for
  >SunOS to load.
  >
  >I dont know.  I experience this problem somewhat different on a Sun Sparc
  >490 with os 4.0.3.  I always use tcsh 5.12, btw.  I think in nearly half
  >the cases I pipe something into less, less hangs indefinitely and I have to
  >suspend it with a ^Z and then fg.  Nothing whatsoever gets written to my tty
  >What is going on?
  >
  >--Harald E

Same thing on my SPARCstation 1 & Sun 3/80, it has been going for some
time now. I thought it was our "Cable Guys" causing problems on my LAN,
because they've been doing some installing. A closer look into it
reveals that I experience the same pipeline trouble as others.

Sometimes the i/o gets going in a while (in a few seconds) but it happens
I have to use ^Z + fg, too.

      On the Sparcstation I run: SunOS Release 4.0.3c,
      on Sun 3/80: SunOS Release 4.0.3_EXPORT

Any cure for this available?

-- 
Esa Viitala
TOLLPOST-GLOBE A/S, Systemavdeling, PO Box 100, N6301 ]ndalsnes, Norway
Tel: (+47 72) 21211 / 264, Fax: (+47 72) 22161 ...!mcsun!nuug!tglobe2!esa



More information about the Comp.unix.shell mailing list