Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 3943] Copy or Paste are only limited within Wireshark

Date: Wed, 26 Aug 2009 03:56:32 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3943





--- Comment #3 from Guy Harris <guy@xxxxxxxxxxxx>  2009-08-26 03:56:31 PDT ---
> I have just tried your suggestion, but it looks like the clipboard of
> Wireshark/X11 is different from the clipboard in Mac application.

It is (the X11 clipboard is the CLIPBOARD selection), *BUT* X11 transfers data
between the X11 clipboard and the OS X pasteboard.

> In Wireshark, we can right click the packet content link and select to "copy"
> "description". I am a VoIP engineer, so I often use Wireshark to copy SIP
> protocol message text context. So, here even I use right click, I can only
> paste the content in Wireshark "filter" area. When I try to highlight it and
> press "Ctrl+C", I still cannot paste it in Terminal or any other text editor in
> Mac. Vice versa is the same.

I'll try that - perhaps that's doing the "copy to clipboard" in a way that X11
doesn't recognize (unlike Control-C in, for example, the filter field).

> Should I especially configure X11 so as to allow clipboard content between
> Wireshark and other editor application to be shared?

No, because that is, as far as I know, the default configuration; perhaps
there's a "defaults write" option to *dis*allow copying between the X11
clipboard and the OS X pasteboard, but there's no option to control that in the
Preferences dialog for X11 in Leopard.

BTW, this document in the OS X X11 source:

    http://opensource.apple.com/source/X11/X11-0.46.4/NOTES

seems to indicate that it's the window manager, not the server, that does the
transferring; are you running the default window manager, or are you running
some other window manager?  (If you are running some other window manager, your
Wireshark windows probably have title bars that don't look like standard OS X
title bars, e.g. they won't have the red, yellow, and green jellybeans on the
left.)


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.