On Wed, Feb 02, 2000 at 11:11:56AM -0600, Gilbert Ramirez wrote:
>
>
> On Wed, Feb 02, 2000 at 03:19:54AM -0600, Guy Harris wrote:
> >
> >
> > > The capture menu is there, but the "Start..." option is grayed out.
> >
> > If the child ("ethereal-capture") process exits - as it should do, when
> > the "Stop" button is pressed (the child process, not the parent process,
> > draws the capture dialog box), its end of the pipe is closed, so the
> > parent should eventually get an end-of-file indication when reading from
> > the pipe, so it should declare the capture "done" and re-enable the
> > "Capture:Start" menu item.
>
> Interesting.. After I stop the live capture, I still have the words:
>
> <live capture in progress>
>
> in the label widget on the bottom right.
OK. I've determined that the callback on the sync pipe (cap_file_input_cb)
isn't being called after I close the capture dialog box, so
finish_tail_cap_file() isn't being called either. That's where the
label widget and menus get changed.
--gilbert