Ethereal-dev: Re: [ethereal-dev] capture file naming

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

From: Laurent Deniel <deniel@xxxxxxxxxxx>
Date: Tue, 30 Mar 1999 22:02:16 +0200
Joao Carlos Mendes Luis wrote:
> 
> #define quoting(Gilbert Ramirez)
> // Does anyone mind if I change the way ethereal saves captures?
> // That is, I want to change it to act like other [commercial] packet
> // analyzers: When you capture some packets, ethereal saves the trace
> // to some file that only it knows. (it will create a unique name with
> // tempnam() and pass the name to libpcap).
> //
> // After the trace is completed, it is automatically loaded, parsed, and
> // displayed on the screen. If the user wants to save the trace, he can
> // then chose "File | Save As" to give the file a name.
> 
> Please, make it so.
> 
> Suggestion: Allow the user to select a temp dir for this file, do not
> force a particular choice.
> 

It's ok for me (if tempnam is used, the TMPDIR environment variable
can let the user to specify a different temp dir).

--
Laurent DENIEL            | E-mail: deniel@xxxxxxxxxxx
Paris, FRANCE             |         deniel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
                          | WWW   : http://www.worldnet.fr/~deniel
    All above opinions are personal, unless stated otherwise.