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

Wireshark-dev: Re: [Wireshark-dev] [PATCH] New menu items to copy packet data

From: "Douglas Pratley" <Douglas.pratley@xxxxxxxxxx>
Date: Wed, 31 Jan 2007 09:14:24 -0000
Ok, I've attached the text as well.

I must have done something odd with tar and gzip (you can probably tell
that I'm more familiar with Windows than UNIX tools). Will be more
cautious next time...

Cheers

Doug
-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Stephen Fisher
Sent: 30 January 2007 19:28
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] [PATCH] New menu items to copy packet data

On Mon, Jan 29, 2007 at 10:04:20AM -0000, Douglas Pratley wrote:

> Try this - the tar / gzip tools I have on Windows seem to be a bit 
> tempermental, which is why I have been avoiding them, but if Outlook 
> is going to mangle the files...

I got the images but not the patch this time ;).  The documentation 
patch file is just a tar of the images again.  Go ahead and send the 
documentation patch within an e-mail's body.


Thanks,
  Steve


Index: docbook/wsug_src/WSUG_chapter_work.xml
===================================================================
--- docbook/wsug_src/WSUG_chapter_work.xml	(revision 20523)
+++ docbook/wsug_src/WSUG_chapter_work.xml	(working copy)
@@ -166,7 +166,87 @@
 		<entry></entry>
 		<entry></entry>
 	      </row>
+		  <row>
+		<entry><command>Copy/ Summary (Text)</command></entry>
+		<entry>-</entry>
+		<entry>
+		<para>
+		  Copy the summary fields as displayed to the clipboard,
as tab-separated text.
+		</para>
+		</entry>
+		  </row>
+		  <row>
+		<entry><command>Copy/ Summary (CSV)</command></entry>
+		<entry>-</entry>
+		<entry>
+		<para>
+		  Copy the summary fields as displayed to the clipboard,
as comma-separated text.
+		</para>
+		</entry>
+		  </row>
+		  <row>
+		<entry><command>Copy/ Hex and Text</command></entry>
+		<entry>-</entry>
+		<entry>
+		<para>
+		  Copy the packet bytes to the clipboard in hexdump-like
format; similar to the Packet Bytes Pane 
+		"Copy/ All Information" command.
+		</para>
+		</entry>
+		  </row>
+		  <row>
+		<entry><command>Copy/ Text Only</command></entry>
+		<entry>-</entry>
+		<entry>
+		<para>
+		  Copy the packet bytes to the clipboard as ASCII text;
similar to the Packet Bytes Pane 
+		"Copy/ Text Only" command.
+		</para>
+		</entry>
+		  </row>
+		  <row>
+		<entry><command>Copy/ Hex Columns</command></entry>
+		<entry>-</entry>
+		<entry>
+		<para>
+		  Copy the packet bytes to the clipboard in hexdump-like
format, but without the text portion.
+		</para>
+		</entry>
+		  </row>
+		  <row>
+		<entry><command>Copy/ Hex Stream</command></entry>
+		<entry>-</entry>
+		<entry>
+		<para>
+		  Copy the packet bytes to the clipboard as an
unpunctuated list of hex digits.
+		</para>
+		</entry>
+		  </row>
+		  <row>
+		<entry><command>Copy/ Base64 Stream</command></entry>
+		<entry>-</entry>
+		<entry>
+		<para>
+		  Copy the packet bytes to the clipboard as a Base64
text encoding.
+		</para>
+		</entry>
+		  </row>
+		  <row>
+		<entry><command>Copy/ Binary Stream</command></entry>
+		<entry>-</entry>
+		<entry>
+		<para>
+		  Copy the packet bytes to the clipboard as raw binary.
The data is stored in the
+		  clipboard as MIME-type
"application/octect-stream".</para>
+		<para>This option is not available in versions of
Wireshark built using GTK+ 1.x.</para>
+		</entry>
+		  </row>
 	      <row>
+		<entry>-----</entry>
+		<entry></entry>
+		<entry></entry>
+	      </row>
+	      <row>
 		<entry><command>Decode As...</command></entry>
 		<entry>Analyze</entry>
 		<entry>
@@ -225,21 +305,6 @@
 	    </thead>
 	    <tbody>
 	      <row>
-		<entry><command>Copy</command></entry>
-		<entry>-</entry>
-		<entry>
-	    <para>
-	      Copy the displayed text of the selected field to the
system 
-		  clipboard. 
-	    </para>
-		</entry>
-	      </row>
-	      <row>
-		<entry>-----</entry>
-		<entry></entry>
-		<entry></entry>
-	      </row>
-	      <row>
 		<entry><command>Expand Subtrees</command></entry>
 		<entry>View</entry>
 		<entry>
@@ -275,6 +340,79 @@
 		<entry></entry>
 	      </row>
 	      <row>
+		<entry><command>Copy</command></entry>
+		<entry>-</entry>
+		<entry>
+	    <para>
+	      Copy the displayed text of the selected field to the
system 
+		  clipboard. 
+	    </para>
+		</entry>
+	      </row>
+		  <row>
+		<entry><command>Copy Selected Bytes As/ Hex and
Text</command></entry>
+		<entry>-</entry>
+		<entry>
+		<para>
+		  Copy the selected packet bytes to the clipboard in
hexdump-like format; similar to the Packet Bytes Pane 
+		"Copy/ All Information" command, but copies only the
bytes relevant to the selected part of the tree (the bytes selected
+		in the Packet Bytes Pane).
+		</para>
+		</entry>
+		  </row>
+		  <row>
+		<entry><command>Copy Selected Bytes As/ Text
Only</command></entry>
+		<entry>-</entry>
+		<entry>
+		<para>
+		  Copy the selected packet bytes to the clipboard as
ASCII text; similar to the Packet Bytes Pane 
+		"Copy/ Text Only" command, but copies only the bytes
relevant to the selected part of the tree.
+		</para>
+		</entry>
+		  </row>
+		  <row>
+		<entry><command>Copy Selected Bytes As/ Hex
Columns</command></entry>
+		<entry>-</entry>
+		<entry>
+		<para>
+		  Copy the selected packet bytes to the clipboard in
hexdump-like format, but without the text portion.
+		</para>
+		</entry>
+		  </row>
+		  <row>
+		<entry><command>Copy Selected Bytes As/ Hex
Stream</command></entry>
+		<entry>-</entry>
+		<entry>
+		<para>
+		  Copy the selected packet bytes to the clipboard as an
unpunctuated list of hex digits.
+		</para>
+		</entry>
+		  </row>
+		  <row>
+		<entry><command>Copy Selected Bytes As/ Base64
Stream</command></entry>
+		<entry>-</entry>
+		<entry>
+		<para>
+		  Copy the selected packet bytes to the clipboard as a
Base64 text encoding.
+		</para>
+		</entry>
+		  </row>
+		  <row>
+		<entry><command>Copy Selected Bytes As/ Binary
Stream</command></entry>
+		<entry>-</entry>
+		<entry>
+		<para>
+		  Copy the selected packet bytes to the clipboard as raw
binary. The data is stored in the
+		  clipboard as MIME-type
"application/octect-stream".</para>
+		<para>This option is not available in versions of
Wireshark built using GTK+ 1.x.</para>
+		</entry>
+		  </row>
+	      <row>
+		<entry>-----</entry>
+		<entry></entry>
+		<entry></entry>
+	      </row>
+	      <row>
 		<entry><command>Apply as Filter</command></entry>
 		<entry>Analyze</entry>
 		<entry>
@@ -419,22 +557,24 @@
 	    </thead>
 	    <tbody>
 	      <row>
-		<entry><command>Copy/All Information</command></entry>
+		<entry><command>Copy/ All Information</command></entry>
 		<entry>-</entry>
 		<entry>
 	    <para>
-	      Copy the selected (XXX - all?) packet data to the
clipboard 
-		  (XXX - in which format).
+	      Copy the packet data to the clipboard in hexdump format -
as displayed in 
+		  the pane. All the packet data is copied - to copy only
the selected data use the
+		  Packet Details Pane "Copy Selected Bytes" command.
 	    </para>
 		</entry>
 	      </row>
 	      <row>
-		<entry><command>Copy/Text Only</command></entry>
+		<entry><command>Copy/ Text Only</command></entry>
 		<entry>-</entry>
 		<entry>
 	    <para>
-	      Copy the selected packet data to the clipboard 
-		  (XXX - in which format).
+	      Copy the packet data to the clipboard as ASCII text.
Non-printable characters are
+		  replaced with '.'.All the packet data is copied - to
copy only the selected data use the
+		  Packet Details Pane "Copy Selected Bytes" command.
 	    </para>
 		</entry>
 	      </row>




This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately.
Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory.  The contents of this email may relate to dealings with other companies within the Detica Group plc group of companies.

Detica Limited is registered in England under No: 1337451.

Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, England.


Attachment: wp1_copy_doc.patch
Description: wp1_copy_doc.patch