delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/06/16:45:20

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
Message-ID: <4F7F55A0.2030705@t-online.de>
Date: Fri, 06 Apr 2012 22:44:16 +0200
From: Christian Franke <Christian DOT Franke AT t-online DOT de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Firefox/10.0.2 SeaMonkey/2.7.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin 1.7.13 regression: Inheritance of /dev/clipboard filedesc fails
References: <4F7F4AB7 DOT 6000106 AT t-online DOT de> <2BF01EB27B56CC478AD6E5A0A28931F2043AD4BC AT A1DAL1SWPES19MB DOT ams DOT acs-inc DOT net>
In-Reply-To: <2BF01EB27B56CC478AD6E5A0A28931F2043AD4BC@A1DAL1SWPES19MB.ams.acs-inc.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Nellis, Kenneth wrote:
> From: 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. 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.

BTW: I would suggest to start CYGWIN_NATIVE_CLIPBOARD format with a 
version number that can be checked by external programs.

Christian


--
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