[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mutt and doc files -solved



On Fri, Jul 27, 2001 at 12:46:22PM -0700, Duncan Watson wrote:
> Hi all,
> 
> I saw the recent thread about doc files and wanted to solve my problem.  I
> use applixware's doc reader called 'words'.  I would like to get mutt to
> use 'words' for my viewer.  I am not interested in auto-view for doc files.
> 
> My .mailcap line reads as follows for msword:
> application/msword; words %s; exit 1;test=test -n "$DISPLAY"

I solved this problem after explaining it to a friend.  The backslash
before the semi-colon is key.  The corrected line is:

application/msword; words %s\; exit 1;test=test -n "$DISPLAY"

> 
> and unfortunately by the time 'words' starts up, mutt has deleted the file.
> I don't get any "Press any key to continue..." message.  Contrast this with
> my html line:
> text/html; netscape %s\;exit 1; nametemplate=%s.html; test=test -n "$DISPLAY"
> 
> which works and yeilds a "Press any key to continue..." message in mutt.
> 
> What am I doing wrong?
> /Duncan
> -- 
> Duncan Watson                                         deamonrift@yahoo.com
>            ~~~      climbing in the Pacific NW       ~~~
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

-- 
Duncan Watson                                         deamonrift@yahoo.com
           ~~~      climbing in the Pacific NW       ~~~



Reply to: