X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=2.0 required=5.0	tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED
X-Spam-Check-By: sourceware.org
Date: Sat, 7 Apr 2012 18:59:32 +0400
From: Andrey Repin <anrdaemon@freemail.ru>
Reply-To: Andrey Repin <cygwin@cygwin.com>
Message-ID: <587672301.20120407185932@mtu-net.ru>
To: Christian Franke <Christian.Franke@t-online.de>, cygwin@cygwin.com
Subject: Re: Cygwin 1.7.13 regression: Inheritance of /dev/clipboard filedesc fails
In-Reply-To: <4F7F55A0.2030705@t-online.de>
References: <4F7F4AB7.6000106@t-online.de> <2BF01EB27B56CC478AD6E5A0A28931F2043AD4BC@A1DAL1SWPES19MB.ams.acs-inc.net> <4F7F55A0.2030705@t-online.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Greetings, Christian Franke!

>>> Confirmed :-)
>> Yes, but...
>>
>> $ uname -vrs
>> CYGWIN_NT-5.1 1.7.14s(0.260/5/3) 20120406 19:41:34
>> $ echo test1 | cat>  /dev/clipboard
>> $ cat<  /dev/clipboard
>> test1
>> $ getclip
>> [Garbage]test[Garbage]
>> ...
>> Segmentation fault (core dumped)

> This is unrelated.

Unrelated, but notable.
It's worth checking if redirecting to /dev/clipboard actually clear the clipboard
before writing to it.
We've seen enough of it, when some application fills (f.e.) "text in unicode",
but leaves "text in ANSI" unchanged/undefined/in result - garbage.

> Apparently getclip is no longer compatible with current cygwin. The cygwin
> native clipboard format has changed. New format starts with a timestamp
> which is interpreted as data size by getclip. 


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 07.04.2012, <18:54>

Sorry for my terrible english...


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

