From owner-freebsd-ports Fri Aug 24 2:38:40 2001 Delivered-To: freebsd-ports@freebsd.org Received: from gatesrv.RZ.UniBw-Muenchen.de (gatesrv.RZ.UniBW-Muenchen.de [137.193.11.27]) by hub.freebsd.org (Postfix) with ESMTP id 1FF1437B40D for ; Fri, 24 Aug 2001 02:38:35 -0700 (PDT) (envelope-from lizard@nemesis.informatik.unibw-muenchen.de) Received: from nemesis.informatik.unibw-muenchen.de (nemesis.Informatik.UniBw-Muenchen.de [137.193.60.30]) by gatesrv.RZ.UniBw-Muenchen.de (8.11.2/8.11.2) with ESMTP id f7O9Zw921463; Fri, 24 Aug 2001 11:35:58 +0200 (MEST) Received: by nemesis.informatik.unibw-muenchen.de (Postfix, from userid 1001) id 958105A549; Fri, 24 Aug 2001 11:35:52 +0200 (CEST) Date: Fri, 24 Aug 2001 11:35:52 +0200 From: Oliver Braun To: Frederic DUBUY , ports@freebsd.org Subject: Re: ports/29712: New port : muttprint - fancy printing for mutt Message-ID: <20010824113552.A77400@nemesis.informatik.unibw-muenchen.de> References: <200108141754.f7EHssS37663@frodon.orsay.atrid.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200108141754.f7EHssS37663@frodon.orsay.atrid.fr>; from fdubuy@free.fr on Tue, Aug 14, 2001 at 07:54:54PM +0200 Organization: University of the Federal Armed Forces Munich, Germany X-Mailer: Mutt http://www.mutt.org/ X-OS: FreeBSD http://www.freebsd.org/ X-Newsreader: SLRN http://www.slrn.org/ X-Uptime: 1 day X-URL: http://ist.unibw-muenchen.de/People/obraun X-Accept-Language: de en X-Location: Europe, Germany, Munich X-Editor: Vim-600 http://www.vim.org/ Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, there were some problems with this port (the current version of muttprint) on FreeBSD. 1. fmt on FreeBSD does not support the used flags. 2. muttprint uses fork && exit to print in background. This does results in printing the contents twice with a perl version < 5.6 Workaround: change if ($MaxLaenge > 80) { system "fmt -s -w 80 $Temp{'content_'} > $Temp{'content'}"; } else { rename ("$Temp{'content_'}", "$Temp{'content'}"); } into if (0) { system "fmt -s -w 80 $Temp{'content_'} > $Temp{'content'}"; } else { rename ("$Temp{'content_'}", "$Temp{'content'}"); } and change fork && exit into fork && exit if ($^V ge v5.6); in the muttprint script. Frederic: Are you going to change your submitted port or should I submit a corrected one? Regards, Olli -- Dipl.-Inform. (Univ.) Oliver Braun Department of Computing Science Federal Armed Forces University Munich http://ist.unibw-muenchen.de/People/obraun/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message