Re: more in insert and copy from clipboard
Peter Valdemar Morch [EMAIL PROTECTED] writes: J. David Boyd david-at-adboyd.com |Lists| wrote: Okay, thanks, I'll start hanging out on the Cygwin/Xfree location. Makes sense, now I know where to start looking. Actually, I was under the impression that these lists didn't like or allow attachments. It must be list dependent. Man, that must be frustrating. Clipboard unreliability was the main reason I switched from XThinPro to cygwin's X server. Last week (two, three weeks ago?) I would have used the mouse to highlight the text in firefox (notepad, openoffice.org), then pressed Ctl-Ins to copy it into the clipboard. (Or clicked on copy in the menus, it worked either way.) Then I would have moved into my xterm, and type 'wget ' and then pressed shift-ins, to paste from the clipboard. I hit enter, and wget worked perfect. I can confirm that. That works here. Helping you grab at straws: You can see what is going on the with the windows clipboard run-time with the clipboard viewer: C:\WINNT\system32\clipbrd.exe on my W2K. Is there any such thing in X, anybody? A few additional test cases: The middle mouse button is the scroll-wheel on my two-button+wheel mouse. emacs calls it mouse-2, and hitting CTRL and then pressing that mouse-wheel-button, mouse-2, in an xterm gives me the VT Options menu. Now you know what button I mean. * Same test case as before, put some text on the windows clipboard (check with clipboard viewer) and then press the mouse-2 button (no CTRL) in the xterm, that pastes the windows clipboard contents in the xterm, right? (Note, no keyboard for paste) Here: yes - pass * Using the xterm, if you highlight something with the mouse (just highlight - no keypresses) does that make it to the windows clipboard? (As seen in the clipboard viewer?) Here: yes - pass I only use xemacs, and never emacs, but while looking at this, I started emacs. It complained about my start up files, some of which are xemacs-only, so that doesn't surprise me. But I saw that selecting something in emacs and then hitting ctrl-ins didn't put it into the windows clipboard - your symptoms. However, starting emacs as emacs -q skipping the startup files altogether made emacs behave right with my clipboard. Does emacs -q work for you? (X)Emacs also has its own kill-ring which just complicates matters... xterms are simpler! :-D And I don't think you've posted /tmp/XWin.log yet... Peter -- Peter Valdemar Mørch http://www.. -- 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/ Well, I do see some errors occassionaly in my /tmp/XWin.log file, but, after rebooting the other morning, cut and paste is again working. It has quit working several times since then, but a quick reboot brings it back. Windows! Thanks for the info on clipbrd, I didn't know that was there, and it was a handy debugging tool. Dave -- 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: more in insert and copy from clipboard
On Fri, 5 Aug 2005, J. David Boyd wrote: Igor Pechtchanski [EMAIL PROTECTED] writes: http://cygwin.com/acronyms/#PCYMTNQREAIYR. On Fri, 5 Aug 2005, J. David Boyd wrote: Is there some setting that tells Cygwin to use/not use the windows clipboard. [snip] For the longest time, I have been merryly cutting and pasting between firefox, notepad, a bash shell, emacs, etc, all using ctrl-insert and shft-insert. Sometime in the recent past, this no longer works. I can cut and paste between all of my cygwin programs no problem, but there is no communication with the windows side of things. [snip] There is no 'Properties' item. I'm running in Cygwin X-windows, and doing everything under X. My bash is running in an xterm, started with this command line (without the line break, of course): xterm -sl 5000 -sb -rightbar -ms red -cr red -fg black -bg white -e /usr/local/bin/bash -l Ah, so you're using an xterm. This makes the question off-topic for this list. I've redirected my reply to the right list, and set the Reply-To: accordingly. Please remove cygwin at cygwin dot com from further discussion of this, unless it veers back to something relevant to Cygwin at large, and not just Cygwin/X. My best example would be to wget something from a URL in a file. Last week (two, three weeks ago?) I would have used the mouse to highlight the text in firefox (notepad, openoffice.org), then pressed Ctl-Ins to copy it into the clipboard. (Or clicked on copy in the menus, it worked either way.) Then I would have moved into my xterm, and type 'wget ' and then pressed shift-ins, to paste from the clipboard. I hit enter, and wget worked perfect. Now, I do it all the same, but the shift-ins pastes whatever I last ctl-ins from a cygwin-X window. I don't recall changing any settings anywhere, but something might have changed in some internal Cygwin settings file, somewhere... This has nothing to do with Cygwin settings -- it's an internal setting of the X server. My guess would be that either the clipboard thread isn't starting properly, or you need to run xwinclip instead of using the -clipboard parameter. Looking at (and posting) /tmp/XWin.log would help. The X clipboard settings are generally confusing -- they have at least 4 clipboards, only one of which corresponds to the system clipboard. As far as I know, the recent X servers are pretty good at doing the copy/paste with the system clipboard, but there's always the possibility of misconfiguration or some other factor that affects this. Perhaps the people on the Cygwin/X list will have more helpful comments. If this doesn't help, please describe exactly what you're trying to do, what worked before, and what doesn't work now. Getting some information about your system as requested in http://cygwin.com/problems.html would also help. Okay, here is the output from my cygcheck -s -r -v output: (sorry, but it goes on for quite a while...) [snip] That's why we prefer it attached to the message, rather than included inline. At first glance[*], nothing looks wrong. HTH, Igor [*] For the Cygwin/X folks: rather than waste bandwidth, the original post on cygwin@ was http://cygwin.com/ml/cygwin/2005-08/msg00204.html. -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. /DA -- 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: more in insert and copy from clipboard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 From: Igor Pechtchanski [EMAIL PROTECTED] Subject: Re: more in insert and copy from clipboard Date: Fri, 5 Aug 2005 15:47:18 -0400 (EDT) Ah, so you're using an xterm. This makes the question off-topic for this list. I've redirected my reply to the right list, and set the Reply-To: accordingly. Please remove cygwin at cygwin dot com from further discussion of this, unless it veers back to something relevant to Cygwin at large, and not just Cygwin/X. Okay, thanks, I'll start hanging out on the Cygwin/Xfree location. This has nothing to do with Cygwin settings -- it's an internal setting of the X server. My guess would be that either the clipboard thread isn't starting properly, or you need to run xwinclip instead of using the -clipboard parameter. Looking at (and posting) /tmp/XWin.log would help. The X clipboard settings are generally confusing -- they have at least 4 clipboards, only one of which corresponds to the system clipboard. As far as I know, the recent X servers are pretty good at doing the copy/paste with the system clipboard, but there's always the possibility of misconfiguration or some other factor that affects this. Perhaps the people on the Cygwin/X list will have more helpful comments. Makes sense, now I know where to start looking. That's why we prefer it attached to the message, rather than included inline. At first glance[*], nothing looks wrong. Actually, I was under the impression that these lists didn't like or allow attachments. It must be list dependent. Thanks for the info, Dave -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFC88zgULP5ApZWlDMRAnbyAJ9vscjao1a1VtTNUTYH6TOpjbQgqQCeIRUP tXnSaVASQlt2GHl3AfFX+t0= =Lwgi -END PGP SIGNATURE- -- 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: more in insert and copy from clipboard
J. David Boyd david-at-adboyd.com |Lists| wrote: Okay, thanks, I'll start hanging out on the Cygwin/Xfree location. Makes sense, now I know where to start looking. Actually, I was under the impression that these lists didn't like or allow attachments. It must be list dependent. Man, that must be frustrating. Clipboard unreliability was the main reason I switched from XThinPro to cygwin's X server. Last week (two, three weeks ago?) I would have used the mouse to highlight the text in firefox (notepad, openoffice.org), then pressed Ctl-Ins to copy it into the clipboard. (Or clicked on copy in the menus, it worked either way.) Then I would have moved into my xterm, and type 'wget ' and then pressed shift-ins, to paste from the clipboard. I hit enter, and wget worked perfect. I can confirm that. That works here. Helping you grab at straws: You can see what is going on the with the windows clipboard run-time with the clipboard viewer: C:\WINNT\system32\clipbrd.exe on my W2K. Is there any such thing in X, anybody? A few additional test cases: The middle mouse button is the scroll-wheel on my two-button+wheel mouse. emacs calls it mouse-2, and hitting CTRL and then pressing that mouse-wheel-button, mouse-2, in an xterm gives me the VT Options menu. Now you know what button I mean. * Same test case as before, put some text on the windows clipboard (check with clipboard viewer) and then press the mouse-2 button (no CTRL) in the xterm, that pastes the windows clipboard contents in the xterm, right? (Note, no keyboard for paste) Here: yes - pass * Using the xterm, if you highlight something with the mouse (just highlight - no keypresses) does that make it to the windows clipboard? (As seen in the clipboard viewer?) Here: yes - pass I only use xemacs, and never emacs, but while looking at this, I started emacs. It complained about my start up files, some of which are xemacs-only, so that doesn't surprise me. But I saw that selecting something in emacs and then hitting ctrl-ins didn't put it into the windows clipboard - your symptoms. However, starting emacs as emacs -q skipping the startup files altogether made emacs behave right with my clipboard. Does emacs -q work for you? (X)Emacs also has its own kill-ring which just complicates matters... xterms are simpler! :-D And I don't think you've posted /tmp/XWin.log yet... Peter -- Peter Valdemar Mørch http://www.. -- 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/