delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/12/04/11:00:29

From: cgf AT bbc DOT com (Chris Faylor)
Subject: Re: Piped Commands Loss Of Output
4 Dec 1997 11:00:29 -0800 :
Message-ID: <EKo3oH.24F.cygnus.gnu-win32@bbc.com>
References: <34856BB1 DOT 68CC2642 AT boxhill DOT com>
Reply-To: cgf AT bbc DOT com
To: gnu-win32 AT cygnus DOT com

In article <34856BB1 DOT 68CC2642 AT boxhill DOT com>,
Jason Tishler  <jt AT boxhill DOT com> wrote:
>Has anyone noticed a transient loss of output with piped commands
>similar to the following:
>
>    $ fgrep export .bashrc | wc
>         12      30     339
>    $ fgrep export .bashrc | wc
>    $
>
>[snip]
>
>I am using b18 with Sergey's coolview 25 Nov 97.  I seem to remember
>that I began to observe this problem when I upgraded to one of Sergey's
>coolview ?? Sept 97 versions.  Has anyone observed this too?  Anyone
>know whats wrong?

I've observed this.  I added this to my .profile to "fix" the problem.
Maybe it will work for you:

	trap '' 5

In cygwin B18, signal 5 is SIGHUP.  I think there is a problem in recent
coolviews with the way SIGHUP is propagated to members of a process group.

The `trap' command merely causes the shell to ignore hangup signals.
-- 
http://www.bbc.com/	cgf AT bbc DOT com			"Strange how unreal
VMS=>UNIX Solutions	Boston Business Computing	 the real can be."
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019