cut and paste doesn't work

Andrey Repin
Thu Jan 21 10:09:23 GMT 2021

Greetings, Hamish McIntyre-Bhatty!

> On 21/01/2021 07:34, KAVALAGIOS Panagiotis (EEAS-EXT) wrote:
>>> -----Original Message-----
>>> From: Cygwin <> 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

> NB: I don't think I have this problem, but I do seem to have an
> unrelated problem where as soon as I select any text in mintty it
> immediately replaced my clipboard contents which that selection.

This is standard behavior for a terminal for as long as I recall.

> This is very annoying, because when copying text to mintty I frequently click
> and drag a small amount of text by accident.

> Is this configurable somehow?

Of course it is configurable.
mintty - Options - Selection.

With best regards,
Andrey Repin
Thursday, January 21, 2021 13:07:38

Sorry for my terrible english...

More information about the Cygwin mailing list