Gary Johnson wrote: > Try this shell script. > > file=$1 > shift > select viewer > do > if [ "$viewer" ] > then > $viewer $file > break > fi > done
While this works, it's also a bit ugly. I had to create functions for the different viewers, because the mailcap entries are rather long. Also, when I view the text version, I have to pass it through less, to page it and can't use mutt's internal pager. So this falls into the "ugly hack" category. Thanks anyway, Viktor PS: I feel a scratch somewhere. -- Viktor Rosenfeld WWW: http://www.informatik.hu-berlin.de/~rosenfel/
msg24383/pgp00000.pgp
Description: PGP signature