On Sun, 28 Dec 2003 the mental interface of
Asif Iqbal told:
> Hi All
>
> Is there a MIME reader for Word/Excel docs. I am looking for one that I can
> use
> from terminal and not X
out of my mailcap:
application/msword; abiword %s; test=test -n "$DISPLAY"
application/msword; antiword %s; copiousoutput
application/ms-word; abiword %s; test=test -n "$DISPLAY"
application/ms-word; antiword %s; copiousoutput
application/msexcel; gnumeric %s; test=test -n "$DISPLAY"
#application/msexc; ;nametemplate=%s.xls;xlhtml %s %s.html
application/msexcel; xlhtml -fw -asc %s > %s.html && w3m \
%s.html; copiousoutput && rm -f /tmp/%s.html
application/vnd.ms-excel; gnumeric %s; test=test -n "$DISPLAY"
#application/vnd.ms-excel; ;nametemplate=%s.xls;xlhtml %s %s.html
#application/vnd.ms-excel; xlhtml %s > %s.html && w3m %s.html && rm -f %s.html
application/vnd.ms-excel; xlhtml -fw -asc %s > %s.html && w3m \
%s.html; copiousoutput && rm -f /tmp/%s.html
And to read ps/pdf (you need a framebuffer running)
image/*; fbi %s
application/pdf; fbgs -l %s
--
"Talking much about oneself can also
be a means to conceal oneself."
-Friedrich Nietzsche
Attachment:
pgpBuxyjeYkjF.pgp
Description: PGP signature