Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* setting up antiword
@ 2003-01-30 13:15 John Littler
       [not found] ` <843cnawy6b.fsf@lucy.is.informatik.uni-duisburg.de>
  0 siblings, 1 reply; 3+ messages in thread
From: John Littler @ 2003-01-30 13:15 UTC (permalink / raw)


Hi,
I'm trying to set up antiword to read msword doc attachments.
The code I found relates to gnus pre-MIME handling days.
Can someone point me to a reference? Most of the stuff I've
found through google is obsolete.
Cheers
John
-- 
gpg public key http://mstation.org/jlittler_key.html


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: setting up antiword
       [not found]         ` <m3ptqcwu94.fsf@defun.localdomain>
@ 2003-02-01 16:31           ` Alex Schroeder
       [not found]             ` <87lm0zj82h.fsf@emacswiki.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Schroeder @ 2003-02-01 16:31 UTC (permalink / raw)


Jesper Harder <harder@myrealbox.com> writes:

> The suggestion in the wiki seems to be workaround for a problem the
> author had with his mailcap file, or maybe the version of antiword.
> Just a mailcap entry works fine for me.
>
> The problem could have been that the quotes around the argument, '%s',
> are bogus.  You are not supposed to use quotes according to RFC 1524
> (the mailcap specification).

Hm, in my /etc/mailcap I have exactly that problem, then.  :)

application/msword; /usr/bin/antiword '%s'; copiousoutput; description="Microsoft Word Text"; nametemplate=%s.doc

I will write something on the wiki, if nobody does it first.  Thanks
for the explanation.

Alex.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: setting up antiword
       [not found]             ` <87lm0zj82h.fsf@emacswiki.org>
@ 2003-02-02 14:00               ` Michael Below
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Below @ 2003-02-02 14:00 UTC (permalink / raw)


Alex Schroeder <alex@emacswiki.org> writes:
> Note that some broken systems have quotes around the argument,
> eventhough there should be none according to the mailcap specification
> in RFC 1524:
>
>     application/msword; /usr/bin/antiword '%s'; copiousoutput; description="Microsoft Word Text"; nametemplate=%s.doc
>
> Gnus then tries to display the document using "antiword /tmp/foo" --
> somehow this does not work, either because antiword does not see the
> temp file, or because antiword does not open a new window on its own.

Strange enough, I have the above entry in /etc/mailcap (on a Debian
3.0 system), but everything works fine -- if I want to read a word
document, I press b in the article overview, and the MIME lines are
replaced by the text contents.

Michael
-- 
_Agricultural activity_ is the management by an enterprise of the
biological transformation of biological assets for sale, into
agricultural produce, or into additional biological assets.  IAS 41,5


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-02-02 14:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-30 13:15 setting up antiword John Littler
     [not found] ` <843cnawy6b.fsf@lucy.is.informatik.uni-duisburg.de>
     [not found]   ` <u8zfzravgh9.fsf@blackbird-2k.MITRE.ORG>
     [not found]     ` <m3wukmaavf.fsf@defun.localdomain>
     [not found]       ` <87smv92uyb.fsf@emacswiki.org>
     [not found]         ` <m3ptqcwu94.fsf@defun.localdomain>
2003-02-01 16:31           ` Alex Schroeder
     [not found]             ` <87lm0zj82h.fsf@emacswiki.org>
2003-02-02 14:00               ` Michael Below

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).