<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Michael.<br>
    <br>
    If you delete a message you will see that its id remains in the
    area.usr file.<br>
    If you check into a public area  "your_call  0" is written to
    area.usr if you never logged into that area and<br>
    the "0" is overwritten with the id of the last message you have read
    at the moment that you switch over to another area<br>
    and when you log out otherwise just the old id is overwritten for
    your call if you are already in area.usr.<br>
    You will also see calls appended with an underscore in area.usr and
    these indicate errors mostly with a bbs,<br>
    a message is not forwarded because something goes wrong with a
    transmission, etc.  The underscore just means<br>
    something like, forget what I have said.<br>
    <br>
    Only the id of the last message is written, so it doesn't overwrite
    after each message. Other stuff is kept somewhere else.<br>
    The function definitions who write to usr are in bmutil.c<br>
    <br>
    73,<br>
    <br>
    Bob VE3TOK<br>
    <br>
     On 14-10-24 02:27 PM, Michael E Fox - N6MEF wrote:<br>
    <blockquote cite="mid:2c1c01cfefb8$31cec890$956c59b0$@mefox.org"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:#1F497D">Thanks Bob.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">I’m seeing
            something weird.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">In mailbox.usr,
            an individual has a last read number of 29335.  But the
            three messages in that mailbox.txt file are numbered 28560,
            6039, and 14880, respectively.  So apparently, the numbers
            used in .txt roll over at some point but the last read
            number recorded in .usr doesn’t.  So this user gets “0 new”
            messages when he logs in, but, in fact, he is certain he
            hasn’t read at least the last one.  Unless the numbers in
            .usr are updated when the message numbers roll over, it
            seems the algorithm is doomed to never work correctly.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Very strange. 
            Does anyone know how this process is supposed to work?<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Michael<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <div style="border:none;border-left:solid blue 1.5pt;padding:0in
          0in 0in 4.0pt">
          <div>
            <div style="border:none;border-top:solid #E1E1E1
              1.0pt;padding:3.0pt 0in 0in 0in">
              <p class="MsoNormal"><b><span style="color:windowtext">From:</span></b><span
                  style="color:windowtext"> <a class="moz-txt-link-abbreviated" href="mailto:nos-bbs-bounces@tapr.org">nos-bbs-bounces@tapr.org</a>
                  [<a class="moz-txt-link-freetext" href="mailto:nos-bbs-bounces@tapr.org">mailto:nos-bbs-bounces@tapr.org</a>] <b>On Behalf Of </b>Boudewijn
                  (Bob) Tenty<br>
                  <b>Sent:</b> Wednesday, October 22, 2014 10:12 AM<br>
                  <b>To:</b> TAPR xNOS Mailing List<br>
                  <b>Subject:</b> Re: [nos-bbs] mailbox.usr and
                  mailbox.inf file<o:p></o:p></span></p>
            </div>
          </div>
          <p class="MsoNormal"><o:p> </o:p></p>
          <p class="MsoNormal" style="margin-bottom:12.0pt">>1)  The
            mailbox.usr file holds a call sign and a number on each
            row.  What does the number represent?<br>
            <br>
            part of the message id of last message read<br>
            <br>
            ve3tok 208448<br>
            <br>
            Received: from port.ve3mch.ampr.org by port.ve3mch.ampr.org
            (JNOS2.0j.X) with SMTP<br>
                id AA208448 ; Wed, 22 Oct 2014 14:27:07 +0000<br>
            <br>
            73,<br>
            <br>
            <br>
            Bob VE3TOK<br>
            <br>
            <span style="font-size:12.0pt"><o:p></o:p></span></p>
          <div>
            <p class="MsoNormal">On 14-10-22 10:30 AM, Michael E Fox -
              N6MEF wrote:<o:p></o:p></p>
          </div>
          <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
            <p class="MsoNormal">For a given JNOS mailbox, there are
              several files:<o:p></o:p></p>
            <p class="MsoNormal">-- mailbox.txt holds the actual
              messages in mbox format<o:p></o:p></p>
            <p class="MsoNormal">-- mailbox.ind holds the index<o:p></o:p></p>
            <p class="MsoNormal">-- mailbox.inf – don’t know<o:p></o:p></p>
            <p class="MsoNormal">-- mailbox.usr holds which users have
              read up to which message<o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal">Two questions:<o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal">1)  The mailbox.usr file holds a call
              sign and a number on each row.  What does the number
              represent?<o:p></o:p></p>
            <p class="MsoNormal">For example, if the line contains
              “n6mef 0”, what does that mean? And how is that different
              from not listing the call sign at all?<o:p></o:p></p>
            <p class="MsoNormal">As another example, if the line
              contains “n6mef 1000”, what does that mean and how does
              that relate to the Message-Id: header in the messages
              stored in mailbox.txt?<o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal">2)  What is the purpose of the
              mailbox.inf file?<o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal">Thanks,<o:p></o:p></p>
            <p class="MsoNormal">Michael<o:p></o:p></p>
            <p class="MsoNormal">N6MEF<o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal"><span
                style="font-size:12.0pt;font-family:"Times New
                Roman",serif"><br>
                <br>
                <br>
                <o:p></o:p></span></p>
            <pre>_______________________________________________<o:p></o:p></pre>
            <pre>nos-bbs mailing list<o:p></o:p></pre>
            <pre><a moz-do-not-send="true" href="mailto:nos-bbs@tapr.org">nos-bbs@tapr.org</a><o:p></o:p></pre>
            <pre><a moz-do-not-send="true" href="http://www.tapr.org/mailman/listinfo/nos-bbs">http://www.tapr.org/mailman/listinfo/nos-bbs</a><o:p></o:p></pre>
          </blockquote>
          <p class="MsoNormal"><span
              style="font-size:12.0pt;font-family:"Times New
              Roman",serif"><o:p> </o:p></span></p>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
nos-bbs mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nos-bbs@tapr.org">nos-bbs@tapr.org</a>
<a class="moz-txt-link-freetext" href="http://www.tapr.org/mailman/listinfo/nos-bbs">http://www.tapr.org/mailman/listinfo/nos-bbs</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>