From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27559 invoked by alias); 22 Feb 2008 15:22:12 -0000 Received: (qmail 27548 invoked by uid 22791); 22 Feb 2008 15:22:12 -0000 X-Spam-Check-By: sourceware.org Received: from pool-72-74-94-250.bstnma.fios.verizon.net (HELO ednor.cgf.cx) (72.74.94.250) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 22 Feb 2008 15:21:52 +0000 Received: by ednor.cgf.cx (Postfix, from userid 201) id 8FA04614018; Fri, 22 Feb 2008 10:21:50 -0500 (EST) Date: Fri, 22 Feb 2008 18:03:00 -0000 From: Christopher Faylor To: cygwin@cygwin.com Subject: Re: fetchmail pops up console windows Message-ID: <20080222152150.GC18616@ednor.casa.cgf.cx> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <7zejb5f93k.fsf@vzell-de.de.oracle.com> <20080222130415.GL21945@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080222130415.GL21945@calimero.vinschen.de> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2008-02/txt/msg00561.txt.bz2 On Fri, Feb 22, 2008 at 02:04:15PM +0100, Corinna Vinschen wrote: >On Feb 22 13:50, Dr. Volker Zell wrote: >>This still bugs me. fetchmail pops up console windows when delivering >>mails to procmail. It doesn't matter if I run fetchmail directly from >>the commandline (in my case in a rxvt window under X) or as a service. >> >>I build a debug version of fetchmail. But when running it under the >>insight debugger the problem vanishes. > >Add a sleep(60) early in the main function, rebuild, start fetchmail, >then attach gdb to the running process from another console window, >using the pid of fetchmail as second parameter. Then set a breakpoint >to the next line after the sleep and continue. This decouples the >console handling of fetchmail from the console handling of gdb. Or build cygwin1.dll with --enable-debugging and set the "CYGWIN_DEBUG" environment variable to "fetchmail". It should popup a window with a gdb attached to the fetchmail. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/