|Just another Perl shrine|
PerlTk - Xquartz cut-n-paste broken?by cmv (Chaplain)
|on Mar 15, 2013 at 20:40 UTC||Need Help??|
cmv has asked for the
wisdom of the Perl Monks concerning the following question:
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.
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).
This is perl, v5.8.8 built for darwin
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.