delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/02/22/08:05:01

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 22 Feb 2008 14:04:15 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: fetchmail pops up console windows
Message-ID: <20080222130415.GL21945@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <7zejb5f93k DOT fsf AT vzell-de DOT de DOT oracle DOT com>
MIME-Version: 1.0
In-Reply-To: <7zejb5f93k.fsf@vzell-de.de.oracle.com>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Feb 22 13:50, Dr. Volker Zell wrote:
> Hi
> 
> 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.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019