<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (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:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Lucida Console";
panose-1:2 11 6 9 4 5 4 2 2 4;}
@font-face
{font-family:Times;
panose-1:2 2 6 3 5 4 5 2 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@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]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Fish,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I think there’s something missing here. You explained the MBX_AREA_PROMPT and the MBX_MORE_PROMPT but didn’t indicate how to turn off the long prompts (i.e. turn on expert prompts).<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I know we don’t get that by default, so you must have one more #define statement in there, yes?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Michael<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></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;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> nos-bbs-bounces@tapr.org [mailto:nos-bbs-bounces@tapr.org] <b>On Behalf Of </b>Michael Curry<br><b>Sent:</b> Saturday, April 16, 2011 9:41 AM<br><b>To:</b> TAPR xNOS Mailing List<br><b>Subject:</b> Re: [nos-bbs] JNOS & tactical calls<o:p></o:p></span></p></div><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p><p class=MsoNormal style='margin-left:.5in'>FiSH K6FSH wrote:<o:p></o:p></p><div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p class=MsoNormal style='margin-left:.5in'><o:p> </o:p></p><div><div><div><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Lucida Console"'>Look in config.h for </span><span style='font-family:"Times","serif"'>MBX_AREA_PROMPT and MBX_MORE_PROMPT. They should be DEFINEd by default for the "old" behavior. To get the behavior that you want, they both should be UNDEFINEd after or instead of the DEFINE. And this only applies to JNOS 2.0i and later versions.</span><span style='font-family:"Lucida Console"'><o:p></o:p></span></p></div></div></div></blockquote><div><p class=MsoNormal style='margin-left:.5in'> <o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><div><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Lucida Console"'>Undefining </span><span style='font-family:"Times","serif"'>MBX_AREA_PROMPT and MBX_MORE_PROMPT has no effect on users (calls) that are already known to jnos (they have an entry in users.dat). But when a NEW user connects, jnos should automatically create that new user with the desired preferences, including the one that turns off "</span>The alphabet-soup prompt".<span style='font-family:"Lucida Console"'><o:p></o:p></span></p></div></div></div></blockquote><div><p class=MsoNormal style='margin-left:.5in'><br>Hi FiSH,<br><br>It took until this morning for me to get back to playing with this, and I wanted to report my findings -- you might find them interesting.<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><br>I rebuilt JNOS with of the following preprocessor directives set as shown -- each with a sense opposite to the sense they had in the stock config.h file:<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>-----------<br>#define MBX_TAC_CALLCHECK<br>#undef MBX_AREA_PROMPT<br>#undef MBX_MORE_PROMPT <br>----------</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>On the intial Outpost connect from a tactical callsign that has an entry in ftpusers ("25A25" in this case), but no entry in users.dat, I see the following:<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>----------</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>[JNOS-2.0i-B2FHIM$]<br>You have 0 messages.<br>Current msg# 0.<br>?,A,B,C,CONV,D,E,F,H,I,IH,IP,J,K,L,M,N,NR,O,P,PI,R,S,T,U,V,W,X,Z ></span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>LM<br>No messages<br>Current msg# 0.<br>?,A,B,C,CONV,D,E,F,H,I,IH,IP,J,K,L,M,N,NR,O,P,PI,R,S,T,U,V,W,X,Z ></span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>----------</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>and the interaction wedges because, although the area prompt (and presumably the more prompt) are off, the "alphabet soup prompt" is still in force. According to the Outpost page on JNOS: 'The JNOS BBS prompt picks up the last message ID that was read as part of the prompt. Outpost will use the "<span style='font-size:10.0pt;font-family:"Courier New"'>) ></span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>" prompt sequence as the JNOS prompt.'</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'> <o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>After this incomplete interaction, the automagically-created entry for 25A25 in users.dat looks like:<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>----------</span><o:p></o:p></p></div><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>25a25 0 M0 A P CA</span> <o:p></o:p></p><div><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>----------</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Arial","sans-serif"'>The "0" in the timestamp field looks a little suspicious, but I'm guessing it's the result of the interaction not actually going to completion. I believe I aborted it from the Outpost Packet Session Manager.</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'> <o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>"Okay, fine," (I sez to myself) "so every Tactical Callsign needs to sign on once manually to set expert mode. Not a huge deal." <o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'> <o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>(Actually over the longer term it *could* be a somewhat big deal, depending on how many tactical calls we end up with, but I can get into the code and figure out what needs to be done. For now, I can live with it.)<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'> <o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>So I go ahead and log in manually to set expert mode for 25A25:<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>----------</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>[JNOS-2.0i-B2FHIM$]<br>You have 0 messages.<br>Area: 25a25 Current msg# 0.<br>?,A,B,C,CONV,D,E,F,H,I,IH,IP,J,K,L,M,N,NR,O,P,PI,R,S,T,U,V,W,X,Z ></span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>x</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>Area: 25a25 (#0) ></span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>lm</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>No messages<br>Area: 25a25 (#0) ></span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>b</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>Thank you 25a25, for calling n6orc JNOS.</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>----------</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>"Huh? So why is the Area prompt back on now? Oh... I guess it must be that 'A' in the users.dat record..." <o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'> <o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>Now the users.dat entry for 25A25 looks like:<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>----------</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>25a25 1302968588 M0 A X P -n -h -e CA</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'><span style='font-family:"Courier New"'>----------</span><o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>I'm guessing that that "M0" is the setting for the "More prompt," and is the result of #undef-ing MBX_MORE_PROMPT, which is the compiled-in setting equivalent to having manually issued the BBS command "XM 0" ... (Right?)<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'> <o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>(Maybe you see now why I was wishing for some definitive documentation on the content/layout of users.dat records... :-)<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'> <o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>Anyway, the good news is that, even with the Area prompt on, as long as the Alphabet Soup prompt is off, Outpost is happy. So that's it for now, we're off to integration testing this afternoon!<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'> <o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:.5in'>73, Michael KI6TYV<o:p></o:p></p></div></div></div></body></html>