Ethereal-dev: Re: [Ethereal-dev] Most recently used items

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

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Sun, 14 Dec 2003 10:29:12 +0100
Biot Olivier wrote:

| From: Ulf Lamping
| | Hi List! | | I've recently checked in some changes, which will hold a | "recent" file | in the users config path.

[snip]

| One thing I'm still thinking of, is the way how multiple running | instances of Ethereal will affect this recent file.

I think you can tackle both issues by using a shared pool of shortcuts
located in a common directory (Maybe ~/.ethereal/history/?). UN*X flavors
know a "symbolic link", MS Windows knows a "shortcut". Are there any
OSes/filesystems for which Ethereal is built, where symlinks or shortcuts
are not available?
I don't see any help using symlinks for this topic. BTW: the MS shortcuts (I think you refer to the .lnk files) are only affective when using the MS Explorer. These files won't have any affect at filesysytem level.
I hate MS for this a lot :-(

But I didn't see a problem with multiple open (writable) files, but with the content written.

Let me explain:
The recent file is read in, when Ethereal starts, and written to disk, when Ethereal quits. So it's maybe possible that the file is open for writing of instance A, and cannot be written by instance B. As file operations in our days usual are a lot faster than user interaction, this shouldn't be a problem.

But: User starts instance A and B. He makes changes in A and quits (recent file is written), and then quits B (file is written again, but without the changes from A). So the changes will be lost.

Regards, ULFL