From owner-freebsd-current Wed Sep 2 07:42:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA29509 for freebsd-current-outgoing; Wed, 2 Sep 1998 07:42:13 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from titus.stade.co.uk (stade.demon.co.uk [158.152.29.164]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA29499 for ; Wed, 2 Sep 1998 07:42:04 -0700 (PDT) (envelope-from aw1@stade.co.uk) Received: (from aw1@localhost) by titus.stade.co.uk (8.9.1/8.8.8) id MAA03927; Wed, 2 Sep 1998 12:22:45 +0100 (BST) (envelope-from aw1) Message-ID: <19980902122245.A707@stade.co.uk> Date: Wed, 2 Sep 1998 12:22:45 +0100 From: Adrian Wontroba To: Mike Smith Cc: current@FreeBSD.ORG Subject: Re: Pipeline behaviour - changed? Reply-To: aw1@stade.co.uk References: <19980901034551.A27539@stade.co.uk> <199808312259.WAA01092@word.smith.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199808312259.WAA01092@word.smith.net.au>; from Mike Smith on Mon, Aug 31, 1998 at 10:58:58PM +0000 Organization: Stade Computers Ltd, UK X-Phone: +(44) 121 681 6677 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I wrote: > > This sort of construct: > > > > #!/bin/sh > > yes | head -2 > > > > No longer exits when the head finishes. Anybody else seeing this sort > > of thing with a current 3.0-CURRENT? If so, we might be in for a lot of > > complaints when people start installing netscape. I've deleted /usr/src/* and the cruft from /usr/lib, run cvs and buildworld / installworld, and rebooted. 'yes | head -2' behaves as it should when run from the console, with csh, sh, bash and ksh. It probably always has. It misbehaves when run in an xterm under kde. It works when run under kvt under kde. Other than saying "it seems to be an xterm problem" I'm baffled. -- Adrian Wontroba, Stade Computers Limited. phone: (+44) 121 681 6677 Mail info@accu.org for information about the Association of C and C++ Users or see To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message