X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EFD81398B809
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=cs.umass.edu
Authentication-Results: sourceware.org;
 spf=pass smtp.mailfrom=moss@cs.umass.edu
Subject: Re: cut and paste doesn't work
To: "KAVALAGIOS Panagiotis (EEAS-EXT)"
 <Panagiotis.KAVALAGIOS@ext.eeas.europa.eu>,
        "cygwin@cygwin.com" <cygwin@cygwin.com>
References: <5c16c464-cc4-479-b19a-7a5401e329c@puchar.net>
 <913c6bf6-a153-e162-36a3-cdd1d9dc240e@towo.net>
 <57432e1c8a2142978a77e6b118427391@BELBRU-EXMP101.eeas.europa.eu>
From: Eliot Moss <moss@cs.umass.edu>
Message-ID: <8d868731-044e-0b29-203b-f3ec257bcfb2@cs.umass.edu>
Date: Thu, 21 Jan 2021 11:15:49 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101
 Thunderbird/68.12.1
MIME-Version: 1.0
In-Reply-To: <57432e1c8a2142978a77e6b118427391@BELBRU-EXMP101.eeas.europa.eu>
Content-Language: en-US
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL,
 KAM_DMARC_STATUS, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Reply-To: moss@cs.umass.edu
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

On 1/21/2021 2:34 AM, KAVALAGIOS Panagiotis (EEAS-EXT) wrote:
>> -----Original Message-----
>> From: Cygwin <cygwin-bounces@cygwin.com> On Behalf Of Thomas Wolff
>> Sent: 21 January 2021 02:08
>>
>> Am 20.01.2021 um 21:31 schrieb Wojciech Puchar:
>>> trying to mark text in cygwin windows by mouse doesn't work at all.
>>> Windows 10.
>>>
>>> The same cygwin 64 installation on windows 7 works properly.
>>>
>>> It was installed to windows 10 host by simply copying whole c:\cygwin
>>> directory.
>>>
>>> Everything works except cut&paste.
>> What does `ls -l /dev/clipboard` say?
>> Copying the filesystem rather than installing loses some special file
>> properties, especially in the /dev folder.
>> Not sure whether it's possible to fix that with `mknod`.
> 
> There might be other problems as well. Symlinks are also going to be affected. We couldn't find a reliable solution back in Win7 to simply copy Cygwin installation by preserving the symlinks in a zip archive.
> 
> I would strongly advise to perform a normal installation and simply copy only the contents of your Cygwin home directory (C:\Cygwin\home\<username>). It will be quicker that trying to identify and fix all the possible issues.
> 
> Panos

I observe that it is possible to get a list of what is installed and do a more automated install of 
the same things again.  The techniques were posted recently in other threads, I believe.  I agree 
that this would be more reliable than trying to copy the file structure,
unless you really really know what you're doing.

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