Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin@cygwin.com
From: Rolf Campbell <Endlisnis@mailc.net>
Subject: Re: 1.5.3s: /dev/clipboard does not work for non-cygwin programs
Date: Wed, 27 Aug 2003 12:08:48 -0400
Lines: 25
Message-ID: <biil2r$m64$1@sea.gmane.org>
References: <biik1r$jsa$1@sea.gmane.org> <20030827155608.GA23637@redhat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030723 Thunderbird/0.1
X-Accept-Language: en-us, en
In-Reply-To: <20030827155608.GA23637@redhat.com>

Christopher Faylor wrote:

> On Wed, Aug 27, 2003 at 11:51:20AM -0400, Rolf Campbell wrote:
> 
>>$ ipconfig > /dev/clipboard
>>$ ipconfig | cat > /dev/clipboard
>>
>>The first command does *nothing* to the content of the clipboard.  The
>>2nd command does what I expected the first command to do.
> 
> 
> And is this a regression?  

Not really.  I only recently started using /dev/clipboard.

 > I would be astonished if a non-cygwin program could understand a 
cygwin-specific device like /dev/clipboard.

I was running this all from bash.  Isn't it bash that sets up the it's 
i/o handles before forking the sub-process?  So, theoretically, couldn't 
cygwin do something special if it is launching a non-cygwin app with 
cygwin-specific devices as it's i/o handles?

-Rolf



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

