<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">For an uncompressed module there are 2 files per testament: an index file and a data file. There is one entry in the index file per verse in the versification. Each entry consists of a 4 byte offset and a 2 or 4 byte length. The -s flag indicates the byte size of the length. So using a -s4 will increase the size of the index file by 33%.<div class=""><br class=""></div><div class="">The data file is unchanged by the -s flag.</div><div class=""><br class=""></div><div class="">The compressed module is similar but has an extra set of files to indicate the block start and block size. This file does not change based upon the -s flag.<br class=""><div class=""><br class=""></div><div class="">So using the -s 4 flag is not a big deal. When we build modules for the CrossWire repository we’ll use the smallest available.</div><div class=""><br class=""></div><div class="">Every message that osis2mod creates is found in the wiki: <a href="http://wiki.crosswire.org/Osis2mod#Messages" class="">http://wiki.crosswire.org/Osis2mod#Messages</a></div><div class=""><br class=""></div><div class="">There is no message for it.</div><div class=""><br class=""></div><div class="">In His Service,</div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>DM Smith</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jan 26, 2018, at 5:24 PM, John Dudeck <<a href="mailto:john.dudeck@sim.org" class="">john.dudeck@sim.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<title class=""></title>
<meta http-equiv="content-type" content="text/html;charset=utf-8" class="">
<meta http-equiv="Content-Style-Type" content="text/css" class="">
<div class="">
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class="">Greetings.</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class=""><br class="">
</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class="">I am a little unclear about how to know when to use the 4-byte -s 4 entry option for osis2mod for commentaries and bibles. I have
some LARGE commentaries, and I don't know how I can find out if there are any entries that are over 64K. Is there a message
generated somewhere?</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class=""><br class="">
</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class="">Or alternatively, is there any disadvantage to just always using the -s 4 option?</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class=""><br class="">
</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class="">John Dudeck</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class="">Programmer at Editions Cle Lyon, France</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class=""><a href="mailto:john.dudeck@sim.org" class="">john.dudeck@sim.org</a> <a href="mailto:john@editionscle.com" class="">john@editionscle.com</a></span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class="">--</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class="">"No man is an island, entire of itself; every man is a piece of the continent,</span></font></div>
<div align="left" class=""><font face="Arial" size="2" class=""><span style=" font-size:10pt" class=""> a part of the main...." -- John Donne</span></font></div>
<div align="left" class=""> </div>
</div>
_______________________________________________<br class="">sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" class="">sword-devel@crosswire.org</a><br class=""><a href="http://www.crosswire.org/mailman/listinfo/sword-devel" class="">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br class="">Instructions to unsubscribe/change your settings at above page</div></blockquote></div><br class=""></div></div></body></html>