Re: [gentoo-user] [OT] How to copy text from hex editor

2010-11-28 Thread meino . cramer
Mick michaelkintz...@gmail.com [10-11-28 10:32]:
 This may be simple, but I don't know how to do it:
 
 I have opened a file I captured with tcpflow using hexdump and also tried 
 okteta.  With either applications I can select the plain text, but 
 corresponding hexadecimal characters are also selected at the same time.
 
 Is there a way of copying and pasting the plain text portion of the file 
 content only, or are there some clever incantations that hexdump will take to 
 only show the plain text portion of the file? 
 -- 
 Regards,
 Mick

Hi Mick,

suppose you have a file containing everything of the capture

You can cut off everything you dont want with the tool cut (- man
cut) or the parts you want.

Another way is to read everything with the ascii editor vim and
use the visual mode for what cut was used in the previous example.

Sorry for not giving examples...I dont know the exact format of the
capture you are talking about...

HTH

Have a nice sunday!
Best regards,
mcc




Re: [gentoo-user] [OT] How to copy text from hex editor

2010-11-28 Thread Mick
On Sunday 28 November 2010 09:44:16 meino.cra...@gmx.de wrote:
 Mick michaelkintz...@gmail.com [10-11-28 10:32]:
  This may be simple, but I don't know how to do it:
  
  I have opened a file I captured with tcpflow using hexdump and also tried
  okteta.  With either applications I can select the plain text, but
  corresponding hexadecimal characters are also selected at the same time.
  
  Is there a way of copying and pasting the plain text portion of the file
  content only, or are there some clever incantations that hexdump will
  take to only show the plain text portion of the file?
 
 Hi Mick,
 
 suppose you have a file containing everything of the capture
 
 You can cut off everything you dont want with the tool cut (- man
 cut) or the parts you want.
 
 Another way is to read everything with the ascii editor vim and
 use the visual mode for what cut was used in the previous example.
 
 Sorry for not giving examples...I dont know the exact format of the
 capture you are talking about...

Doh!  It seems that rview and less show just the text!  I don't know why I 
didn't try them first.  LOL!

 Have a nice sunday!

You too, thanks!
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.