<div>Michael,</div><div>     Thanks very much, that should solve my problem!  I had no TacCalls file at all, I didn't know that how it works.</div><div><br></div><div>harry</div><div>KD0NFY</div><div><br></div><br><br>
<div class="gmail_quote">On Mon, Mar 28, 2011 at 5:39 PM, Michael Fox - N6MEF <span dir="ltr"><<a href="mailto:n6mef@mefox.org">n6mef@mefox.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Hi Harry,</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal">
<span style="font-size:11.0pt;color:#1F497D">Fish, K6FSH was the originator of that code, so perhaps Fish or Maiko may comment here on the code details.</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I can comment on the configuration side.  The way it works is it looks for a file called “TacCalls” in the JNOS directory.  If the login is found in the TacCalls file, then the person is logged in.  If the login is not found in the TacCalls file, then the usual call sign validity check is run.  The formatting rules for the TacCalls file are:</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">1)  The file is a plain text file</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">2)  Lines beginning with “#” are ignored (comments)</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">3)  Blank lines are ignored</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">4)  Valid tactical calls are listed one per line, beginning in the first column.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">5)  White space followed by anything else on the line after each tactical call is ignored.</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">So our typical TacCalls file looks like:</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"># comment</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"># comment</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">#</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"># Tactical Calls for Division ABC</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">#</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">abc123                  Division abc, site 123</span></p><p class="MsoNormal">
<span style="font-size:11.0pt;color:#1F497D">abc456                  Division abc, site 456</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">#</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"># Tactical Calls for Division 123</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">#</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">123ppp                 Division 123, site ppp</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Etc.</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">In our county network, we allow each agency to submit a list of tactical calls.  We concatenate them together to form the TacCalls file.  Here’s a link to the instructions we provide our folks.  Hope it helps:  <a href="http://www.scc-ares-races.org/packet/SCC_Pkt_Tac_Call_Request_v100913.pdf" target="_blank">http://www.scc-ares-races.org/packet/SCC_Pkt_Tac_Call_Request_v100913.pdf</a>.  Note that we require a description next to teach tactical call.  But that is an administrative requirement.  It is not required by the code.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">A note on performance:  Our tactical call list current 678 lines long, yet we perceive no difference in login speed with or without the tactical call lookup.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Michael</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">N6MEF</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:nos-bbs-bounces@tapr.org" target="_blank">nos-bbs-bounces@tapr.org</a> [mailto:<a href="mailto:nos-bbs-bounces@tapr.org" target="_blank">nos-bbs-bounces@tapr.org</a>] <b>On Behalf Of </b>Harry Stone<br>
<b>Sent:</b> Monday, March 28, 2011 2:04 PM<br><b>To:</b> TAPR xNOS Mailing List<br><b>Subject:</b> [nos-bbs] JNOS & tactical calls</span></p></div><div><div></div><div class="h5"><p class="MsoNormal" style="margin-left:.5in">
 </p><p class="MsoNormal" style="margin-left:.5in">I see in the config header that tactical call checks can be defined, but defining that and re-compiling seems to disable any kind of call sign validity check.  Is that by design, or am I just missing something else I need to enable or disable? </p>
<div><p class="MsoNormal" style="margin-left:.5in"> </p></div><div><p class="MsoNormal" style="margin-left:.5in">The calls I need to be able to accept for login follow this rather loose convention:</p></div><div><p class="MsoNormal" style="margin-left:.5in">
 </p></div><div><p class="MsoNormal" style="margin-left:.5in">1CGEOC</p></div><div><p class="MsoNormal" style="margin-left:.5in">1CGEM1</p></div><div><p class="MsoNormal" style="margin-left:.5in">1CGEM2</p></div><div><p class="MsoNormal" style="margin-left:.5in">
 </p></div><div><p class="MsoNormal" style="margin-left:.5in">etc.</p></div><div><p class="MsoNormal" style="margin-left:.5in"> </p></div><div><p class="MsoNormal" style="margin-left:.5in">Thanks!</p></div><div><p class="MsoNormal" style="margin-left:.5in">
harry</p></div><div><p class="MsoNormal" style="margin-left:.5in">KD0NFY</p></div><div><p class="MsoNormal" style="margin-left:.5in"><br>-- <br>Have old memories and young hopes.</p></div></div></div></div></div><br>_______________________________________________<br>

nos-bbs mailing list<br>
<a href="mailto:nos-bbs@tapr.org">nos-bbs@tapr.org</a><br>
<a href="https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs" target="_blank">https://www.tapr.org/cgi-bin/mailman/listinfo/nos-bbs</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Have old memories and young hopes.<br>