Re: Viewing application/msword thingies.
On 26, Oct, 2000 at 12:24:52AM +0200, Eric Smith wrote: According to Morten Liebach on Wed, Oct 25, 2000 at 12:01:04AM +0200: | Hi! | | I'm getting a lot af mail with *.doc files attached, and I'd like to | use catdoc to show them in mutt, how do I do that? | | I have the line: | | application/msword; catdoc -s iso8859-1 %s|less; cupiousoutput I use: application/msword; /usr/local/bin/mswordview %s -o - --nocredits| \ /usr/local/bin/html2ascii|sed 's/\\[.*.gif\\]//';copiousoutput You will need to install mswordview (which is worth doing). The `\' indicates an unwanted line break. Hmmm ... $ cd /usr/ports $ make search key="mswordview" $ Damn. it isn't in the ports tree (OpenBSD-current), so I don't want to fiddle around with it right now, running the risk of trying to make a linux-centric app compile and run on OpenBSD, something I've had little luck and lots of work with! :-) But I know mswordview, and it's the best there is for that thing, BTW, why don't you pipe the output from mswordview to w3m, links or lynx? That's what I would do in your place. It turned out I just needed to loose the '|less' to make it do what I wanted, and I'm wondering why I piped to less, I seem to remember that I experimented and found I needed it, but I don't! Thanks for the pointers and the spellchecking, I've now s/cupious/copious/'ed it, and it also helped. ;-) Thanks to the two guys mailing me off-list too. HAND Morten -- UNIX, reach out and grep someone! PGP signature
Re: Viewing application/msword thingies.
On 2000-10-26 12:30:56 +0200, Morten Liebach wrote: $ cd /usr/ports $ make search key="mswordview" $ Damn. it isn't in the ports tree (OpenBSD-current), so I don't want to fiddle around with it right now, running the risk of trying to make a linux-centric app compile and run on OpenBSD, something I've had little luck and lots of work with! :-) You may wish to search for wvware, since that's what mswordview is called nowadays. -- Thomas Roessler [EMAIL PROTECTED]
Re: Viewing application/msword thingies.
Hmmm ... $ cd /usr/ports $ make search key="mswordview" $ Damn. it isn't in the ports tree (OpenBSD-current), so I don't want to fiddle around with it right now, running the risk of trying to make a linux-centric app compile and run on OpenBSD, something I've had little luck and lots of work with! :-) mswordview is now called wvware. www.wvware.com or sourceforge.
Re: Viewing application/msword thingies.
On 26, Oct, 2000 at 01:45:52PM +0200, Thomas Roessler wrote: On 2000-10-26 12:30:56 +0200, Morten Liebach wrote: $ cd /usr/ports $ make search key="mswordview" $ Damn. it isn't in the ports tree (OpenBSD-current), so I don't want to fiddle around with it right now, running the risk of trying to make a linux-centric app compile and run on OpenBSD, something I've had little luck and lots of work with! :-) You may wish to search for wvware, since that's what mswordview is called nowadays. $ cd /usr/ports $ make search key="wvware" $ No joy, but thanks for the info, I was thinking of trying anyway. :-) HAND Morten -- UNIX, reach out and grep someone! PGP signature
RE: Viewing application/msword thingies.
Morten Liebach [Thursday, October 26, 2000 9:28 PM] $ cd /usr/ports $ make search key="wvware" No joy, but thanks for the info, I was thinking of trying anyway. :-) If you dont mind using mutt in an xterm, try abiword or corel word perfect ... if you get them in BSD versions. +suresh
Re: Viewing application/msword thingies.
On 25 Oct 00, 12:01AM, Morten Liebach wrote: application/msword; catdoc -s iso8859-1 %s|less; cupiousoutput try spelling it "copiousoutput";) peter PGP signature
Re: Viewing application/msword thingies.
According to Morten Liebach on Wed, Oct 25, 2000 at 12:01:04AM +0200: | Hi! | | I'm getting a lot af mail with *.doc files attached, and I'd like to | use catdoc to show them in mutt, how do I do that? | | I have the line: | | application/msword; catdoc -s iso8859-1 %s|less; cupiousoutput I use: application/msword; /usr/local/bin/mswordview %s -o - --nocredits| \ /usr/local/bin/html2ascii|sed 's/\\[.*.gif\\]//';copiousoutput You will need to install mswordview (which is worth doing). The `\' indicates an unwanted line break. HTH -- Eric Smith Fruitcom.com Amsterdam Wire phone : +31 20 528 7340 Mobile: +31 6 241 259 16 www.fruitcom.com
Viewing application/msword thingies.
Hi! I'm getting a lot af mail with *.doc files attached, and I'd like to use catdoc to show them in mutt, how do I do that? I have the line: application/msword; catdoc -s iso8859-1 %s|less; cupiousoutput in my ~/.mutt_mailcap, and an autoview antry for it in my ~/.muttrc, and I still can't get the autoview thing to work, why? I have to 'v' and then select the entry I wanna see. The mail come from Outlook, so they are attached in a strange way, so that might be it, here's an example how it looks when I 'v' a mail: I 1 no description [text/plain, 7bit, iso-8859-1, 0.1K] I 2 Pressemeddelelse om Salm. typh.DT104, mu [message/rfc822, 7bit, 29K] I 3 mqno description[multipa/mixed, 7bit, 29K] I 4 tqno description [text/plain, quoted,iso-8859-1, 0.2K] A 5 mqPressemeddelelse den 23. oktober 2000.do[applica/msword, base64, I 6 VS: Telefonpasning og pakkepost [message/rfc822, 7bit, 28K] I 7 mqno description [multipa/mixed, 7bit, 28K] I 8 tqno description [text/plain, quoted, iso-8859-1, 0.4K] A 9 mqTelefonpasning.doc [applica/msword, base64, 27K] I10 Telefonpasning og pakkepost [message/rfc822, 7bit, 0.6K] I11 mqno description [text/plain, quoted, iso-8859-1, 0.1K] I12 Besked til omstillingen [message/rfc822, 7bit, 0.8K] I13 mqno description [text/plain, quoted, iso-8859-1, 0.3K] I14 Møde for HK klubben 2. november [message/rfc822, 7bit, 29K] I15 mqno description [multipa/mixed, 7bit, 27K] I16 tqno description [text/plain, quoted, iso-8859-1, 0.5K] A17 mq=?iso-8859-1?Q?HKklm=F8de=2Edoc? [applica/msword, base64, 26K] Note: some thing got a little garbled in the cut'n paste, but you get the picture. I can highlight the msword entries, and they are shown bu catdoc, but I'd like that to happen automagically, hence the autoview in my ~~/.muttrc. How? I set the charset catdoc uses to iso8859-1, but I will output letters with umlauts instead of the danish æ, ø and å, how is that fixed? Changing the MUA at work is simply impossible. Regards Morten -- UNIX, reach out and grep someone! PGP signature