Re: Cut Paste problem between X windows

2009-11-12 Thread dblevi
Hi, 

I am having trouble with pasting text into xterm windows, in cygwin1.7. The 
problem I'm having seems like the same one recently reported in this thread 
'Cut  Paste problem between X windows'. However, I am using a microsoft mouse 
(the problem in that thread was with a logitech mouse). I was wondering if 
anybody else is seeing the problem with a microsoft mouse, and whether there is 
a workaround/fix. 

I installed cygwin1.7 yesterday (in place of 1.5 which I had been using). 
Basically, I can select text in an xterm using mouse buttons 1 and 3, but 
cannot paste using button 2. Clicking with button 2 has no effect. 

In general, cygwinx is recognizing mouse button 2, as I can use it for other 
things in other X clients without any problems. Also, I've tried xev, and can 
see the ButtonPress and ButtonRelease events for button 2. 

I tried installing the microsoft intellipoint software, and in it, I set the 
action for button 2 to 'Middle Click'. This seemed equivalent to what was 
suggested previously for the logitech mouse, using the logitech 'setpoint' 
software. But this didn't seem to have any effect. 

One other issue, not sure if this is related, but when I select text in an 
xterm, I cannot paste it in windows. It seems like the selection is not being 
shared between cygwinx and windows, like it was with cygwin1.5. I am starting 
Xwin.exe with the -clipboard option, just as I was with cygwin1.5, but 
selection sharing just doesn't seem to work. 

Anybody have any ideas about these problems? Thanks! 

-Dave Levi 
dbl...@comcast.net 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Cut Paste problem between X windows

2009-11-12 Thread dblevi
Hi,

I just discovered that setting LANG=en_US.UTF-8 in my environment solved the 
problem with pasting into an xterm.  Not exactly sure why this fixed that 
problem, anybody know?

I still have the problem with clipboard sharing between windows and cygwinx, 
though.  Could this also be related to the LANG environment variable?  Is there 
some other value other than en_US.UTF-8 required to get it to work?

-Dave Levi
dbl...@comcast.net


- Original Message - 
From: dbl...@comcast.net 
To: cygwin-xfree@cygwin.com 
Sent: Thursday, November 12, 2009 3:11:22 PM GMT -05:00 US/Canada Eastern 
Subject: Re: Cut  Paste problem between X windows 

Hi, 

I am having trouble with pasting text into xterm windows, in cygwin1.7. The 
problem I'm having seems like the same one recently reported in this thread 
'Cut  Paste problem between X windows'. However, I am using a microsoft mouse 
(the problem in that thread was with a logitech mouse). I was wondering if 
anybody else is seeing the problem with a microsoft mouse, and whether there is 
a workaround/fix. 

I installed cygwin1.7 yesterday (in place of 1.5 which I had been using). 
Basically, I can select text in an xterm using mouse buttons 1 and 3, but 
cannot paste using button 2. Clicking with button 2 has no effect. 

In general, cygwinx is recognizing mouse button 2, as I can use it for other 
things in other X clients without any problems. Also, I've tried xev, and can 
see the ButtonPress and ButtonRelease events for button 2. 

I tried installing the microsoft intellipoint software, and in it, I set the 
action for button 2 to 'Middle Click'. This seemed equivalent to what was 
suggested previously for the logitech mouse, using the logitech 'setpoint' 
software. But this didn't seem to have any effect. 

One other issue, not sure if this is related, but when I select text in an 
xterm, I cannot paste it in windows. It seems like the selection is not being 
shared between cygwinx and windows, like it was with cygwin1.5. I am starting 
Xwin.exe with the -clipboard option, just as I was with cygwin1.5, but 
selection sharing just doesn't seem to work. 

Anybody have any ideas about these problems? Thanks! 

-Dave Levi 
dbl...@comcast.net 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Cut Paste problem between X windows

2009-11-12 Thread Eliot Moss

dbl...@comcast.net wrote:

Hi,

I just discovered that setting LANG=en_US.UTF-8 in my environment solved the 
problem with pasting into an xterm.  Not exactly sure why this fixed that problem, 
anybody know?

I still have the problem with clipboard sharing between windows and cygwinx, 
though.  Could this also be related to the LANG environment variable?  Is there 
some other value other than en_US.UTF-8 required to get it to work?

-Dave Levi
dbl...@comcast.net


Explicitly setting LANG=C (not C.UTF-8) enabled me to work around
various X problems until enough other things were fixed. With the
latest available X-org packages and the latest cygwin (released
just in the last day or so) en_US.UTF-8 and C.UTF-8 started
working for me *provided* I also installed several sets of
fonts:

font-daewoo-misc
font-isas-misc
font-jis-misc

Apparently these were needed because X wants them around *in case*
it needs their encodings -- but only demands them if LANG is set
to a UTF-8 encoding (meaning: not in the LANG=C case).

Cheers -- Eliot Moss

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Cut Paste problem between X windows

2009-11-12 Thread Gery
Sounds weird, perhaps you've tried already but did you just highlight  
the word in the xterm (without clicking) to copy it and then (in some  
other place) press the middle (button 2) to paste it?I saw some  
friends having this little problem time ago.


Sent from my iPod

On Nov 12, 2009, at 3:11 PM, dbl...@comcast.net wrote:


Hi,

I am having trouble with pasting text into xterm windows, in  
cygwin1.7. The problem I'm having seems like the same one recently  
reported in this thread 'Cut  Paste problem between X windows'.  
However, I am using a microsoft mouse (the problem in that thread  
was with a logitech mouse). I was wondering if anybody else is  
seeing the problem with a microsoft mouse, and whether there is a  
workaround/fix.


I installed cygwin1.7 yesterday (in place of 1.5 which I had been  
using). Basically, I can select text in an xterm using mouse buttons  
1 and 3, but cannot paste using button 2. Clicking with button 2 has  
no effect.


In general, cygwinx is recognizing mouse button 2, as I can use it  
for other things in other X clients without any problems. Also, I've  
tried xev, and can see the ButtonPress and ButtonRelease events for  
button 2.


I tried installing the microsoft intellipoint software, and in it, I  
set the action for button 2 to 'Middle Click'. This seemed  
equivalent to what was suggested previously for the logitech mouse,  
using the logitech 'setpoint' software. But this didn't seem to have  
any effect.


One other issue, not sure if this is related, but when I select text  
in an xterm, I cannot paste it in windows. It seems like the  
selection is not being shared between cygwinx and windows, like it  
was with cygwin1.5. I am starting Xwin.exe with the -clipboard  
option, just as I was with cygwin1.5, but selection sharing just  
doesn't seem to work.


Anybody have any ideas about these problems? Thanks!

-Dave Levi
dbl...@comcast.net

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: Cut Paste problem between X windows

2009-09-15 Thread Wallace, Steve
Hi,

I am assuming that you mean the XP control panel however I cannot see any 
option for middle button emulation.
I an using the following command to start X
XWin -nodecoration -clipboard

Some further information:

The mouse is a logitech MX600 laser cordless which has an additional rocker 
switch and button next to the left button, two thumb buttons on the side and 
the wheel also moves side to side for horizontal scrolling

I am using the logitech setpoint utility within XP with the default settings, 
although these were also used on the previous setup.

Cut and paste from a X-window to XP is working correctly but not the other way 
round as does scrolling within a terminal window.

Running 'xev' to capture mouse and keyboard events I see button press and 
release events for buttons -
1 - Left button
3 - Right button
4 - Scroll wheel forward
5 - Scroll wheel backward
6 - Side button 1
7 - Side button 2

I also see key events for the remaining rocker and button normally used for 
zooming in  out and return to 100% from within XP.

I do not see any events when I click the wheel, presumably these would be 
button 2.
There are also no events when I move the wheel sideways but I did not really 
expect any.

It would appear that everything is working correctly except for middle button 
clicks not being recognised by the X server

Thanks
Steve

-Original Message-
From: Mike Ayers [mailto:mike_ay...@tvworks.com]
Sent: 14 September 2009 23:14
To: st...@btinternet.com
Cc: Wallace, Steve; cygwin-xfree@cygwin.com
Subject: RE: Cut  Paste problem between X windows

 From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-
 ow...@cygwin.com] On Behalf Of Steve Wallace

 Any text within X-term or urxvt is highlighted correctly but when
 clicking the centre mouse button it is not pasted into either the same
 x-term or any other.

Please check your Control Panel Mouse settings to verify that you do 
not have middle button emulate enabled, which can mess with the second 
button, or anything else that might be re-interpreting the buttons.

As a workaround, try using ctrl-insert to paste.  this works for me 
both from X and Windows apps on XP.


HTH,

Mike

Please visit our website - www.aiguk.co.uk

AIG UK Limited is authorised and regulated by the UK Financial Services 
Authority.


AIG UK Limited is a member company of American International Group Inc. (AIG).

AIG UK Limited
Registered in England: company number 1486260

Registered address: The AIG Building, 58 Fenchurch Street, London EC3M 4AB, 
United Kingdom.

 

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: Cut Paste problem between X windows

2009-09-15 Thread Phil Betts
Steve Wallace wrote, 
 I am using the logitech setpoint utility within XP with the default
 settings, although these were also used on the previous setup.

In setpoint (assuming it's similar to the version I have), there's a 
tab with 1. Select Mouse, 2. Select Button, and 3.Select Task

Select your mouse model in 1, click on the middle button in 2, and 
in 3, you need to select Other.  Then click on Select Functions.  
You should see a number of options.  Select Middle Mouse and you 
should be in business.

HTH,

Phil
-- 


This email has been scanned by Ascribe Ltd using Microsoft Antigen for Exchange.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: Cut Paste problem between X windows

2009-09-15 Thread Gery Herbozo Jimenez

 
Hi Steve,
 
I had the same problem time ago. What I normally do is just highlighting a text 
(withouth clicking!) and then click the middle button of the mouse in the xterm 
(and rxvt) whrere you have to paste it. If you don't have it, try to find one 
with that button! However, in the bash term is different, you have to change 
the properties and put quick mode, then highlight a text, press return and 
paste with the right button (this last directions just work under the bash 
term!).
 
Hope this helps,
 
Gery





 



_
Descárgate Internet Explorer 8 ¡Y gana gratis viajes con Spanair!
http://www.vivelive.com/spanair

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



RE: Cut Paste problem between X windows

2009-09-14 Thread Mike Ayers
 From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree-
 ow...@cygwin.com] On Behalf Of Steve Wallace

 Any text within X-term or urxvt is highlighted correctly but when
 clicking the centre mouse button it is not
 pasted into either the same x-term or any other.

Please check your Control Panel Mouse settings to verify that you do 
not have middle button emulate enabled, which can mess with the second 
button, or anything else that might be re-interpreting the buttons.

As a workaround, try using ctrl-insert to paste.  this works for me 
both from X and Windows apps on XP.


HTH,

Mike