Ethereal-dev: Re: [ethereal-dev] enhancement idea...

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Fri, 19 Nov 1999 18:25:00 -0600
On Fri, Nov 19, 1999 at 04:05:30PM -0800, Guy Harris wrote:
> > It would be nice if right-clicking or double-clicking on a given field
> > would give you information about that field - basically everything that
> > is in the hf_register_info structure.
> 
> Or, if we supported other right-click operations, we could make that one
> of the options in a right-click menu.)
> 
> Network Monitor puts the long name for the currently selected field in
> the status bar, although that's not the most obvious place to look.  (It
> also puts the offset and length of the field in the status bar as well.)
> I forget whether it supports per-field blurbs; if it does, I don't see
> any obvious way to display them.

An ethereal right-click on a proto_tree item should pop up a menu providing
at least:

1. Match selected.
2. Copy field abbreviation to X selection ("clipboard")
3. Copy match selected filter to X selection
4. Add as column (see below)
5. Provide the blurb for that field, if it's non-empty.

By #4, I'd like to to be able to add a column to the packet clist
which shows the value of a field for every packet. If the field does not
exist for that packet, then the column cell is empty, of course. For
example, you could set a column to say, ip.frag_offset, and see that
number in a column for each packet.

Of course, we need to come up with a way to dynamically change CList
columns inside a running process. How about like what we do with
the proto_tree... basically destroy the CList widget and create a new one.

--gilbert