public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cut and paste doesn't work
@ 2021-01-20 20:31 Wojciech Puchar
  2021-01-21  1:08 ` Thomas Wolff
  0 siblings, 1 reply; 9+ messages in thread
From: Wojciech Puchar @ 2021-01-20 20:31 UTC (permalink / raw)
  To: cygwin

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.

Where should i search for the problem?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cut and paste doesn't work
  2021-01-20 20:31 cut and paste doesn't work Wojciech Puchar
@ 2021-01-21  1:08 ` Thomas Wolff
  2021-01-21  7:34   ` KAVALAGIOS Panagiotis (EEAS-EXT)
  2021-03-04 10:14   ` Wojciech Puchar
  0 siblings, 2 replies; 9+ messages in thread
From: Thomas Wolff @ 2021-01-21  1:08 UTC (permalink / raw)
  To: cygwin

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

>
> Where should i search for the problem?
> -- 
> 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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: cut and paste doesn't work
  2021-01-21  1:08 ` Thomas Wolff
@ 2021-01-21  7:34   ` KAVALAGIOS Panagiotis (EEAS-EXT)
  2021-01-21  9:11     ` Hamish McIntyre-Bhatty
  2021-01-21 16:15     ` Eliot Moss
  2021-03-04 10:14   ` Wojciech Puchar
  1 sibling, 2 replies; 9+ messages in thread
From: KAVALAGIOS Panagiotis (EEAS-EXT) @ 2021-01-21  7:34 UTC (permalink / raw)
  To: cygwin

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

Application Architect
CONSULIAT (under contract with the EEAS)
BA.BS.3.IS
Office: EEAS B100 Floor 5 Area 048
Rue Belliard 100, 1000 Brussels
Phone: +32 2 584 6017


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cut and paste doesn't work
  2021-01-21  7:34   ` KAVALAGIOS Panagiotis (EEAS-EXT)
@ 2021-01-21  9:11     ` Hamish McIntyre-Bhatty
  2021-01-21 10:09       ` Andrey Repin
  2021-01-21 16:15     ` Eliot Moss
  1 sibling, 1 reply; 9+ messages in thread
From: Hamish McIntyre-Bhatty @ 2021-01-21  9:11 UTC (permalink / raw)
  To: cygwin


[-- Attachment #1.1.1: Type: text/plain, Size: 1604 bytes --]

On 21/01/2021 07:34, 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

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
very annoying, because when copying text to mintty I frequently click
and drag a small amount of text by accident.

Is this configurable somehow?

Hamish


[-- Attachment #1.1.2: 0x87B761FE07F548D6.asc --]
[-- Type: application/pgp-keys, Size: 3235 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cut and paste doesn't work
  2021-01-21  9:11     ` Hamish McIntyre-Bhatty
@ 2021-01-21 10:09       ` Andrey Repin
  2021-01-21 12:16         ` Hamish McIntyre-Bhatty
  0 siblings, 1 reply; 9+ messages in thread
From: Andrey Repin @ 2021-01-21 10:09 UTC (permalink / raw)
  To: Hamish McIntyre-Bhatty, cygwin

Greetings, Hamish McIntyre-Bhatty!

> On 21/01/2021 07:34, 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

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cut and paste doesn't work
  2021-01-21 10:09       ` Andrey Repin
@ 2021-01-21 12:16         ` Hamish McIntyre-Bhatty
  2021-01-21 12:40           ` Fergus Daly
  0 siblings, 1 reply; 9+ messages in thread
From: Hamish McIntyre-Bhatty @ 2021-01-21 12:16 UTC (permalink / raw)
  To: cygwin


[-- Attachment #1.1.1: Type: text/plain, Size: 988 bytes --]

On 21/01/2021 10:09, Andrey Repin wrote:
> Greetings, Hamish McIntyre-Bhatty!
>
>> 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.

No terminal I have ever used other than MinTTY behaves this way with
text selection, with the exception of the Windows command prompt. In
fairness, it probably makes sense for it to behave in a way that is more
normal for Windows users (I primarily run Linux).

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

Ah excellent, thank you :) AFAIR I don't seem to have a menubar when I
run MinTTY, how can I get to the options?

Hamish


[-- Attachment #1.1.2: 0x87B761FE07F548D6.asc --]
[-- Type: application/pgp-keys, Size: 3235 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* RE: cut and paste doesn't work
  2021-01-21 12:16         ` Hamish McIntyre-Bhatty
@ 2021-01-21 12:40           ` Fergus Daly
  0 siblings, 0 replies; 9+ messages in thread
From: Fergus Daly @ 2021-01-21 12:40 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

On 21/01/2021 10:09, Andrey Repin wrote:
> Greetings, Hamish McIntyre-Bhatty!
>
>> 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.

No terminal I have ever used other than MinTTY behaves this way with text selection, with the exception of the Windows command prompt. In fairness, it probably makes sense for it to behave in a way that is more normal for Windows users (I primarily run Linux).

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

Ah excellent, thank you :) AFAIR I don't seem to have a menubar when I run MinTTY, how can I get to the options?

Hamish


Right-click anywhere on your mintty screen and a Menu appears. "Options" is the last option.
Make a few wishes, then press Save.
(Well, that's how it works with me. This thread of un-working-nesses has got me worried .. ..) 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cut and paste doesn't work
  2021-01-21  7:34   ` KAVALAGIOS Panagiotis (EEAS-EXT)
  2021-01-21  9:11     ` Hamish McIntyre-Bhatty
@ 2021-01-21 16:15     ` Eliot Moss
  1 sibling, 0 replies; 9+ messages in thread
From: Eliot Moss @ 2021-01-21 16:15 UTC (permalink / raw)
  To: KAVALAGIOS Panagiotis (EEAS-EXT), cygwin

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: cut and paste doesn't work
  2021-01-21  1:08 ` Thomas Wolff
  2021-01-21  7:34   ` KAVALAGIOS Panagiotis (EEAS-EXT)
@ 2021-03-04 10:14   ` Wojciech Puchar
  1 sibling, 0 replies; 9+ messages in thread
From: Wojciech Puchar @ 2021-03-04 10:14 UTC (permalink / raw)
  To: Thomas Wolff; +Cc: cygwin

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

this may be a reason. anyway EVERYTHING else works.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-03-04 10:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-20 20:31 cut and paste doesn't work Wojciech Puchar
2021-01-21  1:08 ` Thomas Wolff
2021-01-21  7:34   ` KAVALAGIOS Panagiotis (EEAS-EXT)
2021-01-21  9:11     ` Hamish McIntyre-Bhatty
2021-01-21 10:09       ` Andrey Repin
2021-01-21 12:16         ` Hamish McIntyre-Bhatty
2021-01-21 12:40           ` Fergus Daly
2021-01-21 16:15     ` Eliot Moss
2021-03-04 10:14   ` Wojciech Puchar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).