Path: utzoo!attcan!uunet!decwrl!sun-barr!olivea!mintaka!bloom-beacon!eru!hagbard!sunic!nuug!tglobe2!esa From: esa@tglobe2.tollpost-globe (Esa K Viitala) Newsgroups: comp.unix.shell Subject: Re: Background writes in csh Message-ID: <1025@tglobe2.tollpost-globe> Date: 2 Oct 90 11:31:25 GMT References: <1990Sep19.203803.25798@cs.umn.edu> <1990Sep20.185147.14158@ping.uucp> <90Oct1195212*Harald.Eikrem@elab-runit.sintef.no> Reply-To: esa@tglobe2.UUCP (Esa K Viitala) Organization: TOLLPOST-GLOBE AS, Systemsdepartment, N-6300 ]ndalsnes, Norway Lines: 42 In article <90Oct1195212*Harald.Eikrem@elab-runit.sintef.no> Harald.Eikrem@elab-runit.sintef.no writes: >Joe Wells responding to Gordon C. Galligher : >================ > > > > 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