From owner-freebsd-questions Thu Sep 26 0:12:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45B1F37B401 for ; Thu, 26 Sep 2002 00:12:11 -0700 (PDT) Received: from mailrelay.tugraz.at (mailrelay.tu-graz.ac.at [129.27.3.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD4EB43E3B for ; Thu, 26 Sep 2002 00:12:09 -0700 (PDT) (envelope-from mailinglisten@berndhaug.net) Received: from mail.ist.tu-graz.ac.at (mail.ist.tu-graz.ac.at [129.27.202.18]) by mailrelay.tugraz.at (8.12.6/8.12.6) with ESMTP id g8Q7C4U9028035; Thu, 26 Sep 2002 09:12:04 +0200 (MEST) Received: from berndhaug.net (fsmtpc40.ist.tu-graz.ac.at [129.27.202.40]) by mail.ist.tu-graz.ac.at (8.11.0/8.11.0) with ESMTP id g8Q7C3n13614; Thu, 26 Sep 2002 09:12:03 +0200 (MET DST) Message-ID: <3D92B33B.7000306@berndhaug.net> Date: Thu, 26 Sep 2002 09:11:55 +0200 From: Bernd Haug Organization: gedenkdienst.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc2) Gecko/20020510 X-Accept-Language: de-at, de, en-gb, en, es-es, es MIME-Version: 1.0 To: Bryan Cassidy Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Fetchmail and Mutt References: <20020925184817.A33990@insightbb.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bryan Cassidy wrote: > I am using FreeBSD 4.6.2 on my system now. I am new to Unix/Linux > but liking bsd alot. Anyways. I use fetchmail 5.9.13 and mutt > 1.2.5.1i and I am using Fluxbox as my window manager. I want to > know what can I add to my .fluxbox/menu config file to launch > fetchmail right before it launches mutt or vice versa so I don't > have to run fetchmail by hand each and everytime viewing my e-mails. > This is what I have in my .fluxbox/menu configuration file now to > launch mutt [exec] (Mutt) {Eterm -e mutt} Hope I gave enough > information. Would it be possible to write a one-code-liner akin to: #!/bin/sh fetchmail && "eterm -e mutt" || "eterm -e mutt" so that first fetchmail is called, and then, no matter how it dies, mutt is called? I did not try it, so maybe I'm a complete fool here... The most elegant solution would probably be fetchmail daemon mode, but if you're on a non-flatrate dial-up, you might not want regular polling. By the way, is your line length configured correctly? Maybe it is just my mozilla, but your lines seemed awfully long to me. Yours, Bernd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message