This used to work a while ago, now isn't working (for me at least). I'm running on MacOSX Mountain Lion, and want to cut-n-paste to/from the clipboard. I run the following one-liner:
Enter some text into the text window, then highlight characters, then right-click Edit->Copy, the clipboard doesn't seem to be getting the highlighted characters loaded.perl -MTk -e "MainWindow->new->Scrolled('Text')->pack; MainLoop();"
If I copy from some other Xquartz window, the clipboard gets loaded, and I can paste that into the Perl-Tk Text widget and/or other Xquartz windows. I just don't seem to be able to load the clipboard.
What am I doing wrong? My initial searching hasn't turned up anything useful (apologies up front if this turns out to be a no-brainer).
perl -v
This is perl, v5.8.8 built for darwin
Thanks
-Craig
3-17-2013 UPDATE: It appears there is a version incompatibility somewhere within my perl environment. I went on a MacMini and using the existing perl 5.12, built and installed Tk, and things work fine. Backtracking on the original system to see where the issue lies.
In reply to PerlTk - Xquartz cut-n-paste broken? by cmv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |