On Wed, May 22, 2002 at 01:59:32PM +0530, V. Suresh wrote: > I was a mutt fan while I was using Linux at home. Now at > work place, I've configured mutt for windows. But I'm unable > to configure mail cap entries. > Even though I keep the mime.types and mailcap files under my > HOME directory, still, mutt says no mailcap entry found. > I want to open .doc, .xls files using Word and Excel, respectively, > but I'm unable to configure the mail-cap entries. Please help. > Anybody using Mutt under windows here??
I spent the better part of an afternoon trying in vain to configure mailcap for mutt under Cygwin. I tried numerous variants (eg, using either DOS-style or Cygwin-style pathnames) and made a detailed posting to the list last month (see below) but there were no responses. So there are at least two of us with this problem now. Any others? Tom -------- Date: Wed, 10 Apr 2002 17:11:16 +0200 From: Thomas Baker <[EMAIL PROTECTED]> To: "Mutt Users' List" <[EMAIL PROTECTED]> Subject: No matching mailcap entry... User-Agent: Mutt/1.2.5i, Unixmail for Windows 0.6 Sender: [EMAIL PROTECTED] Dear all, I am having trouble configuring "mailcap" to do anything at all. I am configuring Mutt 1.2.5i on Cygwin (see mutt -v output below), and it seems to run normally in other respects -- at any rate, I can read, send, and receive messages. When I run: mutt -F c:/cygwin/unixmail/users/tbaker/muttrc -f test-file Mutt correctly reads: 1) c:/cygwin/unixmail/users/tbaker/muttrc, which sources 2) c:/cygwin/unixmail/etc/Muttrc In _both_ muttrc and Muttrc (alternately), I have tested the following: set mailcap_path="c:/cygwin/unixmail/etc/mailcap" set mailcap_path="/cygdrive/c/cygwin/unixmail/etc/mailcap" set mailcap_path="/unixmail/etc/mailcap" where c:/cygwin/unixmail/etc/mailcap consists of just one test line: application/msword; less %s Yet when I run mutt -F c:/cygwin/unixmail/users/tbaker/muttrc -f test-file and try to call up an attachment of "Content-Type: application/msword", confirming that the type is "application/msword", Mutt tells me "No matching mailcap entry found. Viewing as text." I have spent the better part of three hours checking and re-checking the pathnames, Content-Type:, dependencies between configuration files, etc -- even on different test-files -- and am at a loss as to where the problem could lie. Am I overlooking something obvious? Tom ------------------ output of mutt -v ------------------ Mutt 1.2.5i (2000-07-28) Copyright (C) 1996-2000 Michael R. Elkins and others. Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'. Mutt is free software, and you are welcome to redistribute it under certain conditions; type `mutt -vv' for details. System: CYGWIN_NT-5.0 1.3.10(0.51/3/2) [using ncurses 5.2] Compile options: -DOMAIN -DEBUG +HOMESPOOL -USE_SETGID +USE_DOTLOCK +USE_FCNTL -USE_FLOCK -USE_IMAP -USE_GSS -USE_SSL -USE_POP -HAVE_REGCOMP +USE_GNU_REGEX +HAVE_COLOR +HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS -ENABLE_NLS SENDMAIL="no" MAILPATH="spool" SHAREDIR="/cygdrive/f/home/projects/unixmail/build/mutt/local/lib/mutt" SYSCONFDIR="/cygdrive/f/home/projects/unixmail/build/mutt/local/etc" -ISPELL To contact the developers, please mail to <[EMAIL PROTECTED]>. To report a bug, please use the muttbug utility. -- Dr. Thomas Baker [EMAIL PROTECTED] Institutszentrum Schloss Birlinghoven mobile +49-171-408-5784 Fraunhofer-Gesellschaft work +49-30-8109-9027 53754 Sankt Augustin, Germany fax +49-2241-14-2619