Moritz Muehlenhoff a écrit :
> giggz wrote:
> 
>> I have just installed fbi. It works well and fast! thanks for that!
>> The file /usr/lib/mime/packages/fbi add a good config in the
>> /etc/mailcap, but why is there no mime file for fbgs ? It could be
>> good to have one, so the mailcap would be automaticly updated!
> 
> Hi,
> if you provide such a MIME file, I'd be happy to apply it.
> 

I have tested these following image types :
gif, avs, bmp, dcx, fax, fits, gray, icon, jpeg, miff, mono, mtv, pcd,
pcx, pgm, pict, pjpeg, pnm, ppm, rgb, sgi, sun, tga, tif, uyvy, vid,
viff, xbm, xwd, yuv, png, xpm, ps, eps, pdf.

fbi can't display : gray, mono, uyvy, yuv, ps, eps, pdf
fbi has problem with : miff, tga, vid

fbgs displays good : ps, eps, pdf (with -c in colors!)

So I have created a mailcap and tested it with mutt. The problem is some
extensions are not recognized as their right mime, we get
application/octet-stream : here are the extension :
dcx, fax, gray, miff, mono, mtv, pcd, pict, uyvy, vid, viff, yuv.

So I attach the final fbi and fbgs. I put the -c option for fbgs because
I think it's better. I don't know if we could use a configuration file
(fbgsrc or something like that). I have added to fbgs file the x-eps
mime. eps is normaly in application/postscript but mutt see it as
image/x-eps.

Regards!
Guillaume

> Cheers,
>         Moritz

application/pdf; fbgs -c '%s'; test=test -z "$DISPLAY"; needsterminal;
application/postscript; fbgs -c '%s'; test=test -z "$DISPLAY"; needsterminal;
image/x-eps; fbgs -c '%s'; test=test -z "$DISPLAY"; needsterminal;
image/gif; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/jpeg; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/png; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/tiff; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/x-xwindowdump; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/x-portable-pixmap; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/bmp; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/x-ms-bmp; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/x-photo-cd; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/pnm; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/xpm; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/avs; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/dcx; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/fax; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/fits; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/x-fits; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/pjpeg; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/mtv; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/x-portable-bitmap; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/pcd; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/pcx; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/x-portable-graymap; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/pict; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/x-portable-anymap; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/x-rgb; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/sgi; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/x-sgi; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/sun-raster; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/x-sun-raster; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/viff; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/x-xbitmap; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/x-xpixmap; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;
image/x-icon; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;

Reply via email to