From owner-freebsd-questions@FreeBSD.ORG Sat Aug 26 02:29:18 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 040FD16A4DD for ; Sat, 26 Aug 2006 02:29:18 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4586E43D49 for ; Sat, 26 Aug 2006 02:29:16 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.pc (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.7/8.13.7/Debian-2) with ESMTP id k7Q2Snq1001601 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 26 Aug 2006 05:28:50 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.7/8.13.7) with ESMTP id k7Q2SxGU095487; Sat, 26 Aug 2006 05:28:59 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.7/8.13.7/Submit) id k7Q2SwNj095486; Sat, 26 Aug 2006 05:28:58 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Sat, 26 Aug 2006 05:28:58 +0300 From: Giorgos Keramidas To: Martin McCormick Message-ID: <20060826022858.GA95455@gothmog.pc> References: <200608252103.k7PL3Vhn012003@dc.cis.okstate.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200608252103.k7PL3Vhn012003@dc.cis.okstate.edu> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2.85, required 5, autolearn=not spam, AWL -0.25, BAYES_00 -2.60, UNPARSEABLE_RELAY 0.00) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: Has Anyone Else Tried mha-mhedit? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Aug 2006 02:29:18 -0000 On 2006-08-25 16:03, Martin McCormick wrote: > I use nmh and recently wanted to not have to manually > clean up all the garbage that gets in to the quoted text if you > quote a HTML message or one that has a lot of 8-bit junk like > Microsoft OUtlook messages do. > > It looked like I needed mhonarc so I installed the port with > no problem. Each time I try to use mha-mhedit to reply to a > message full of mime and 8-bit characters, I get the following > error: > > open2: exec of w3m -dump -cols 76 -T text/html failed at /usr/local/etc/mha-mhedit line 104 It looks like mha-mhedit tries to run the www/w3m browser to dump a text-only version of the HTML document, and then quote this as the original. Do you have the w3m port installed? If not, there is probably an option to tell mha-mhedit to use another browser with similar capabilities. FWIW, I use a similar trick to let mutt(1) handle HTML-only messages posted by Outlook users. In my ~/.mailcap file I have (all in one line): text/html ; /usr/local/bin/elinks \ -dump -dump-charset greek '%s' ; copiousoutput Maybe mha-mhedit can use a similar trick?