Date: Fri, 24 Aug 2001 11:35:52 +0200 From: Oliver Braun <obraun@informatik.unibw-muenchen.de> To: Frederic DUBUY <fdubuy@free.fr>, ports@freebsd.org Subject: Re: ports/29712: New port : muttprint - fancy printing for mutt Message-ID: <20010824113552.A77400@nemesis.informatik.unibw-muenchen.de> In-Reply-To: <200108141754.f7EHssS37663@frodon.orsay.atrid.fr>; from fdubuy@free.fr on Tue, Aug 14, 2001 at 07:54:54PM %2B0200 References: <200108141754.f7EHssS37663@frodon.orsay.atrid.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010824113552.A77400>