delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/07/11:05:43

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 <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <587672301.20120407185932@mtu-net.ru>
To: Christian Franke <Christian DOT Franke AT t-online DOT de>, 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
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019