Ethereal-dev: Re: Re: [Ethereal-dev] "usability extensions"

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Mon, 2 Sep 2002 12:42:46 -0700
On Mon, Sep 02, 2002 at 04:00:13PM +0200, Ulf Lamping wrote:
> 1. Edit/Preferences...

I would be very unhappy if, every time I changed the protocol
preferences, they overwrote the preferences in my preferences file, for
the reasons I mentioned earlier.

Perhaps the correct answer here would be to have, at least for the
protocool preferences, *separate menu items* for editing your "default"
preferences and for editing the current *settings* of those items; "OK"
for the former would save them, "OK" for the latter would *NOT* save
them.

> 5.  Edit/Protocols...  is currently not saved at all.

That's because nobody's contributed code to save them.

> Disadvantage: This would make it impossible to have two filters with
> the same name (but I think, this is not really a problem).

It would also mean that some filter names wouldn't be possible, e.g. 
filters with "/" in their names, as that's an illegal file name
character in UNIX, as it's a pathname separator, and, as I remember,
Windows makes it illegal as well even though "\" is the pathname
separator.

That *might* be a problem if users already have filters with those
names.

> If we want to do it that way, we should put all the display filter
> files in a subdirectory maybe called "displayfilters" as this could be a
> lot of files and this would keep a better overview.

If we put each filter in a file, I'd definitely say we should put them
in subdirectories.