On 07/07/2012 11:23 AM, Bruce Dubbs wrote: > DJ Lucas wrote: > >>>> What I have for mime types is... >>>> >>>> Firefox: >>>> MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http; > x-scheme-handler/https; >>>> Thunderbird: >>>> MimeType=text/calendar;text/x-vcard;text/directory;application/mbox; > message/rfc822;x-scheme-handler/mailto;x-scheme-handler/news; > x-scheme-handler/snews;x-scheme-handler/nntp;x-scheme-handler/feed > >> 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. I've seen some conversation about an epub version, but my real concern regarding Firefox (and long lines in general) is that i imagine quite a few people are still using links or lynx at that point. One of them puts spaces at the beginning of the new line. I actually forgot about SeaMonkey as I don't use it, but it too is affected and should have the same MimeType lines combined and added, and of course, the length is probably even more important there regarding links/lynx. I'm not sure of the additional mime-types for the irc client. Does SeaMonkey include .desktop file(s) by default? > > 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: > > m1=text/calendar;text/x-vcard;text/directory; > m2=application/mbox;message/rfc822;x-scheme-handler/mailto; > m3=x-scheme-handler/news;x-scheme-handler/snews; > m4=x-scheme-handler/nntp;x-scheme-handler/feed > > 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 > > :) :)
Yes, that works well for all. Sounds good. -- DJ Lucas -- This message has been scanned for viruses and dangerous content, and is believed to be clean. -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page