> Attached is a quick patch to use the blurb (if available) for in
> display filter help. I swapped the order of the columns make the
> display more readable (some of the blurbs are rather long).
Unfortunately, that means that the blurb is all the way on the right, so
you see the field type before you see the field description; I find the
type less useful than the description, so swapping the order actually
makes it less readable for me.
> Probably
> the right thing to do is actually use a table or tree widget. An
> expandable tree would be nice so that by default there would just be
> the relatively short list of protocols. I suppose with the tree you
> could combine "Protocols" and "Display Filters" into a single tab.
Note that there's *already* a window that uses a tree widget to display
all filterable fields...
...the window that pops up if you click the "Add Expression..." button
in the window you use to construct a display filter.
In practice, I never use the "Help" window; if I'm constructing a
display filter, and can't remember which of the 4,607 (no, I'm not
kidding - try running "ethereal -G | wc -l" on UNIX, or on Windows if
you have Cygwin or some other source of "wc") filterable fields I want,
I just click the "Filter:" button to pop up the display filter (or
search filter, or read filter, or...) window, and then click "Add
Expression...". (That also lets you, for enumerated fields, select the
value to be checked by name, rather than by numerical value.)
Perhaps the code to use the blurb or name could be put there; see
"dfilter_expr_dlg.c".