Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46261 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20714 invoked from network); 1 Dec 2009 21:23:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Dec 2009 21:23:13 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.222.172 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.222.172 mail-pz0-f172.google.com Received: from [209.85.222.172] ([209.85.222.172:47662] helo=mail-pz0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 51/85-65100-E39851B4 for ; Tue, 01 Dec 2009 16:23:10 -0500 Received: by pzk2 with SMTP id 2so3798809pzk.26 for ; Tue, 01 Dec 2009 13:23:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=jwEwUTDztR/AVuAZDxJsMIdchjqNP+9HZR2H3oo4WiM=; b=p1qhi2XqY+C8t2HRdDhzqvzp1QTlsYf9Xpoc70iDJDv9MWPeMIhtZneShEarQ5ITrY SuUx9DY9+Y663sSebjN+olGQMMu6HDLDU+nhKiPJ8BXp8nIK59wd6AlSpSsJ2y+kx3ez 8CMQeaeYuvHCaDa5nx9JZ1tTT9gzx9UN4HQ2o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Pw5eXjIMdwuv7ye2jDzRaZUxHOzMtz6sbeL/JXRbEhi8JuhDf1I7D0xx887bejYVER S113a3BFCk3G8k6pKqoxIqmPwyPvtMxGkgdNn5zfXKwJ73AYF0ZdGejNBBWjvpSkjegv Fyj3wSRQ7UOPWtO7PycyaL7w5jfiNHPw5KBns= MIME-Version: 1.0 Received: by 10.142.4.17 with SMTP id 17mr749587wfd.85.1259702586894; Tue, 01 Dec 2009 13:23:06 -0800 (PST) In-Reply-To: <1259702379.25156.8.camel@samuel-laptop> References: <1259702379.25156.8.camel@samuel-laptop> Date: Tue, 1 Dec 2009 22:23:06 +0100 Message-ID: To: Samuel ROZE Cc: PHP Developers Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] An SSH shell like a stream From: pierre.php@gmail.com (Pierre Joye) hi, Please discuss PECL extension in the PECL mailing list or report a bug via pecl.php.net/ssh2. Cheers, On Tue, Dec 1, 2009 at 10:19 PM, Samuel ROZE wrote: > Hi, > > In the description of ssh2_shell, there's: > "Open a shell at the remote end and allocate a stream for it." > > So the result of this command must be a stream. Well, it's good, I'll > use fgets, fwrite and stream_* functions ! BUT, the problem is that I > can't use a SSH2 Stream with the stream_select function... > > Warning: =A0stream_select() [function.stream-select]: cannot represent a > stream of type SSH2 Channel as a select()able descriptor in XX on line > XX > > Why I cannot ? Is there a workaround ? > > Regards, > Samuel ROZE. > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --=20 Pierre http://blog.thepimp.net | http://www.libgd.org