X-Recipient: archive-cygwin AT delorie DOT 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 Reply-To: Andrey Repin Message-ID: <587672301.20120407185932@mtu-net.ru> To: Christian Franke , cygwin AT cygwin DOT com Subject: Re: Cygwin 1.7.13 regression: Inheritance of /dev/clipboard filedesc fails In-Reply-To: <4F7F55A0.2030705@t-online.de> References: <4F7F4AB7 DOT 6000106 AT t-online DOT de> <2BF01EB27B56CC478AD6E5A0A28931F2043AD4BC AT A1DAL1SWPES19MB DOT ams DOT acs-inc DOT net> <4F7F55A0 DOT 2030705 AT t-online DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 AT freemail DOT 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