Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69194 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92964 invoked from network); 18 Sep 2013 14:13:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Sep 2013 14:13:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=remi@fedoraproject.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=remi@fedoraproject.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fedoraproject.org from 212.27.42.3 cause and error) X-PHP-List-Original-Sender: remi@fedoraproject.org X-Host-Fingerprint: 212.27.42.3 smtp3-g21.free.fr Linux 2.6 Received: from [212.27.42.3] ([212.27.42.3:41236] helo=smtp3-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E6/DA-43258-C15B9325 for ; Wed, 18 Sep 2013 10:13:50 -0400 Received: from schrodingerscat.famillecollet.com (unknown [82.241.130.121]) by smtp3-g21.free.fr (Postfix) with ESMTP id 512C4A62D6 for ; Wed, 18 Sep 2013 16:13:41 +0200 (CEST) Message-ID: <5239B513.1010204@fedoraproject.org> Date: Wed, 18 Sep 2013 16:13:39 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: PHP Internals References: <20130914114540.GF3919@phcomp.co.uk> <523763A1.2090607@divbyzero.net> <20130917002719.GM3919@phcomp.co.uk> <5237F6AA.9030209@fedoraproject.org> <20130918140444.GI20925@phcomp.co.uk> In-Reply-To: <20130918140444.GI20925@phcomp.co.uk> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] PHP CLI setting cooked terminal mode From: remi@fedoraproject.org (Remi Collet) Le 18/09/2013 16:04, Alain Williams a écrit : > What is needed is for this to NOT be called if the standard output is not > connected to a tty. From your previous message: > ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 > ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon echo ...}) = 0 Which is standard input, not standard output I can get it to not do this by connecting stdin to /dev/null: ./myScript < /dev/null | less qed > Should I raise this as a bug ? So, I don't think there is any bug there. Remi.