ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: Re: [Ethereal-dev] 0.10.5 soon?

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: Wed, 30 Jun 2004 07:51:11 +0200
Guy Harris wrote:

Ulf Lamping said:
I've checked in a slightly different approach. The caller passes an
already opened file descriptor instead of a filename.

If it returns an error, you should remove the already-opened file.

Checked in

The fix for the Windows printing stuff is probably to see if we can make
it work without a temporary file.  I think that might be possible, but
I'd have to take a look at the code again to be sure.



How do you think, this can be done without a tempfile???

By having "print_preamble()", "print_packet_header()", "print_formfeed()",
"print_line()", and "print_finale()" be done by calling through a table of
functions, with different functions for text, PostScript, and Windows
printing (and, instead of having text, PostScript, PDML, and PSML being
options at the same level in that code, having "text summary", "text
details", PDML, and PSML as options, with "text {summary, detail}" having
separate options for "text file", PostScript, and Windows printing), and
having the Windows printing routines directly print in the style of the
"print_mswin.c" routines, rather than printing to a text file and then
reading the text file and doing Windows printing.

Sounds that we maybe should do that after the next release?

As far as I understand it, GTK-WIMP should be installed for 2000, XP,
2003 only, is that correct?

As far as I know, it's correct, unless GTK-Wimp works on Windows Me, in
which case it should be installed on Windows Me as well.  (I don't know
whether it works on WMe.)
As WMe isn't widely used, and not using GTK-Wimp is the save place, it might be an idea to simply not install it then.

Regards, ULFL