Wireshark-bugs: [Wireshark-bugs] [Bug 9320] Added copy/bytes variant that formats single fields

Date: Thu, 14 Nov 2013 03:38:14 +0000

Comment # 6 on bug 9320 from
(In reply to comment #5)
> (In reply to comment #3)
> > My only concern is that there are hundreds of potential formats and we're
> > never going to be able to support them all.
> At least C Array is a format that is provided for export already.
> 
> > Is there some way to let users
> > safely write their own format strings for generating this sort of thing?
> There is the 'hexdump' ('hd', from bsdmainutils) format string syntax
> (deterrent but flexible) that could be extended a little bit (descriptions,
> proper support for separation chars like ',')

I think that's probably overcomplicated for our needs. We've got a GUI,
remember, so a dialogue box with fields for prefix, suffix and separator, and
then a trio of radio-buttons for hex, decimal and octal should be flexible
without being hard to learn. Perhaps even a drop-down of a few common preset
formats.

> > 
> > Also, as per [1], I would prefer this as a patch against the qt ui instead.
> 
> Thanks for the link, I didn't know that. What if I ported the feature (C
> only) to QT as a first step?

That would be wonderful.


You are receiving this mail because:
  • You are watching all bug changes.