[blfs-dev] Firefox/Thunderbird MimeType

Bruce Dubbs bruce.dubbs at gmail.com
Sat Jul 7 09:23:13 PDT 2012

DJ Lucas wrote:

>>> What I have for mime types is...
>>> Firefox:
>>> MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;
>>> Thunderbird:
>>> MimeType=text/calendar;text/x-vcard;text/directory;application/mbox;

> I'm worried about the long lines in the book. What do you think of
> putting only the mime types in by default? Defaults would be:
> Firefox:
> MimeType=text/html;text/xml;application/xhtml+xml;
> Thunderbird:
> MimeType=text/x-vcard;text/directory;application/mbox;message/rfc822

Sometimes long lines are a problem.  I've noticed that the new Seamonkey 
breaks lines at dashes for me, but I'm sure some browsers don't.  I'm no 
longer concerned about a pdf version of BLFS.  We haven't created a 
version in years and I don't recall anyone saying
they'd like one.

For MimeType we could just break it manually and add a note saying the 
line breaks should not be present.  Alternatively, if we are going to 
use echo, we could do something like:


echo "MimeType=$m1$m2$m3$m4" > some-file

We might even get clever and write something like:

m5=`echo x-scheme-handler/{mailto,news,snews,nntp,feed}|sed '/ /;/g'`
m6=`echo text/{calendar,x-vcard,directory}             |sed '/ /;/g'`
echo "MimeType=$m6;application/mbox;message/rfc822;$m5" > some-file

:) :)

   -- Bruce

More information about the blfs-dev mailing list