From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.42.224.197 with SMTP id ip5cs17232icb; Wed, 16 Feb 2011 08:33:14 -0800 (PST) Received: by 10.42.165.5 with SMTP id i5mr1151290icy.501.1297873994267; Wed, 16 Feb 2011 08:33:14 -0800 (PST) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id s13si364997vby.55.2011.02.16.08.33.14; Wed, 16 Feb 2011 08:33:14 -0800 (PST) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id E18451678342; Wed, 16 Feb 2011 11:33:13 -0500 (EST) Received: from plecavalier.com (plecavalier.com [64.40.149.83]) by rubyforge.org (Postfix) with ESMTP id 8931F18582E2 for ; Wed, 16 Feb 2011 10:28:49 -0500 (EST) Received: (qmail 3182 invoked from network); 16 Feb 2011 09:28:47 -0600 Received: from xplr-142-46-160-183.xplornet.com (HELO localhost) (142.46.160.183) by plecavalier.com with (DHE-RSA-AES128-SHA encrypted) SMTP; 16 Feb 2011 09:28:47 -0600 From: Philippe LeCavalier To: Christer Edwards In-reply-to: <1297867503-sup-1594@daphne> References: <1297838462-sup-8452@daphne> <1297865037-sup-9782@plc.intranet.plecavalier.com> <1297867503-sup-1594@daphne> Date: Wed, 16 Feb 2011 10:28:46 -0500 Message-Id: <1297868379-sup-4270@plc.intranet.plecavalier.com> User-Agent: Sup/0.12.1 Cc: sup-talk Subject: Re: [sup-talk] Error: no "view" mailcap rules found for type "text/plain" X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org Hi Christer. Excerpts from Christer Edwards's message of Wed Feb 16 09:46:49 -0500 2011: > Excerpts from Philippe LeCavalier's message of 2011-02-16 07:07:19 -0700: > > Here's mine. I just started building it but it's something...BTW Did you look into the mime-decode.rb hook? > > > > cat ../../.mailcap > > application/zip; squeeze '%s' > > application/pdf; /usr/bin/xpdf '%s' > > application/msexcel; gnumeric '%s' > > application/html; firefox '%s' > > application/vnd.openxmlformats-officedocument.wordprocessingml.document; abiword '%s' > > > > Not certain the last one is 'proper' but it works. > > I tried adding this contents to my file, but I'm still getting the error when selecting an html email attachment: > > Couldn't execute view command, viewing as text. I think sup always tries to display HTML inline but without the mime-decode.rb hook it will fail(just a guess). Despite the error the mailcap entry for firefox(assuming you have firefox, if not substitute for sensible-browser) should open. All mime-decode does is make use of w3m to display the html encoding inline. So you'll need the w3m package for that to work. > Christer -- Thanks, Phil _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk