Hi FiSH,<div><br></div><div>The reasoning behind having an ftpusers entry for each known user was to give each user their own directory area, essentially a "home directory." But I see now that that was kind of a stupid idea. Because, what's the user gonna do with it? Upload files that only he or she can download again?</div>
<div><br></div><div>Thanks for asking the question, thus causing me to re-read the writeup on ftpusers and thereby understand what those directories are really for!</div><div><br></div><div>Michael KI6TYV</div><div><br></div>
<div>(P.S. I failed to "reply all" to your earlier post, so I'm posting our "mini-thread" back to the list to document the exchange.) </div><div><br></div><div><br><div class="gmail_quote">On Sun, Apr 17, 2011 at 12:01 AM, FiSH <span dir="ltr"><<a href="mailto:fish810@yahoo.com">fish810@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-family:'lucida console', sans-serif;font-size:12pt"><div></div><div>I don't know why the area prompt reappeared. But it might have something to do with having the user already defined in ftpusers. Why do you want to do that?? We defined only our sysops in ftpusers and all other users just get the default perms from univperms.</div>
<div><br></div><div>Good luck,</div><div class="im"><div>FiSH<br> </div><span style="color:rgb(255, 0, 0)"><span style="color:rgb(0, 0, 0)"><font size="4"><span style="font-family:lucida console, sans-serif"></span><br style="color:rgb(0, 0, 0)">
</font><br><br></span><font size="3">Save a life...<br><span style="font-style:italic">Be The Match</span><br>Click <a rel="nofollow" href="http://www.marrow.org/" target="_blank">here</a> to find out how<br><span style="color:rgb(0, 0, 0)"></span><br>
</font></span><font size="3"><span style="color:rgb(255, 0, 0)"><br></span></font><div><br></div></div><div style="font-family:lucida console, sans-serif;font-size:12pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt">
<font size="2" face="Tahoma"><hr size="1"><div class="im"><b><span style="font-weight:bold">From:</span></b> Michael Curry <<a href="mailto:dgspotman@gmail.com" target="_blank">dgspotman@gmail.com</a>><br></div><b><span style="font-weight:bold">To:</span></b> FiSH <<a href="mailto:fish810@yahoo.com" target="_blank">fish810@yahoo.com</a>><br>
<b><span style="font-weight:bold">Sent:</span></b> Sat, April 16, 2011 9:25:54 PM<div><div></div><div class="h5"><br><b><span style="font-weight:bold">Subject:</span></b> Re: [nos-bbs] JNOS & tactical calls<br></div></div>
</font><div><div></div><div class="h5"><br>Aha, I get it now... Thanks!<div><br></div><div>Not that it affects the operation of Outpost, but I'm still a little curious why the Area prompt comes back on. Maybe it's some bug that's triggered because the interaction fails with expert mode off.</div>
<div><br></div><div>I'll play with it some more.</div><div><br></div><div>Michael KI6TYV<br><br><div class="gmail_quote">On Sat, Apr 16, 2011 at 9:15 PM, FiSH <span dir="ltr"><<a rel="nofollow" href="mailto:fish810@yahoo.com" target="_blank">fish810@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt"><div></div><div>Ahh no. If I recall correctly, the "expert" mode is controlled by a bit in the permissions word. We set that bit in our univperms value and all new users are set to "expert" mode by default.</div>
<div><br></div><div>Hope that clears things up a bit.</div><div><div><br></div><div>FiSH</div><div> </div><span style="color:rgb(255, 0, 0)"><span style="color:rgb(0, 0, 0)"><font size="4"><span style="font-family:lucida console, sans-serif"></span><br style="color:rgb(0, 0, 0)">
</font><br><br></span><font size="3">Save a life...<br><span style="font-style:italic">Be The Match</span><br>Click <a rel="nofollow" href="http://www.marrow.org/" target="_blank">here</a> to find out how<br><span style="color:rgb(0, 0, 0)"></span><br>
</font></span><font size="3"><span style="color:rgb(255, 0, 0)"><br></span></font><div><br></div></div><div style="font-family:lucida console, sans-serif;font-size:12pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt">
<font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight:bold">From:</span></b> Michael Fox - N6MEF <<a rel="nofollow" href="mailto:n6mef@mefox.org" target="_blank">n6mef@mefox.org</a>><br><b><span style="font-weight:bold">To:</span></b> TAPR xNOS Mailing List <<a rel="nofollow" href="mailto:nos-bbs@tapr.org" target="_blank">nos-bbs@tapr.org</a>><br>
<b><span style="font-weight:bold">Sent:</span></b> Sat, April 16, 2011 5:15:56 PM<div><div></div><div><br><b><span style="font-weight:bold">Subject:</span></b> Re: [nos-bbs] JNOS & tactical calls<br></div></div>
</font><div><div></div><div><br><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Fish,</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 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).</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">I know we don’t get that by default, so you
must have one more #define statement in there, yes?</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"> </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 rel="nofollow" href="mailto:nos-bbs-bounces@tapr.org" target="_blank">nos-bbs-bounces@tapr.org</a> [mailto:<a rel="nofollow" href="mailto:nos-bbs-bounces@tapr.org" target="_blank">nos-bbs-bounces@tapr.org</a>] <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</span></p></div><p class="MsoNormal" style="margin-left:.5in"> </p><p class="MsoNormal" style="margin-left:.5in">FiSH K6FSH wrote:</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"> </p><div><div><div><p class="MsoNormal" style="margin-left:.5in">
<span>Look in config.h for </span><span>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></span></p>
</div></div></div></blockquote><div><p class="MsoNormal" style="margin-left:.5in"> </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>Undefining </span><span>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></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.</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:</p>
</div><div><p class="MsoNormal" style="margin-left:.5in"><span>-----------<br>#define MBX_TAC_CALLCHECK<br>#undef MBX_AREA_PROMPT<br>#undef MBX_MORE_PROMPT <br>----------</span></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:</p>
</div><div><p class="MsoNormal" style="margin-left:.5in"><span>----------</span></p></div><div><p class="MsoNormal" style="margin-left:.5in"><span>[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></p></div><div><p class="MsoNormal" style="margin-left:.5in"><span>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></p></div><div><p class="MsoNormal" style="margin-left:.5in"><span>----------</span></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">) ></span><span style="font-size:10.0pt">" prompt sequence as the JNOS prompt.'</span></p>
</div><div><p class="MsoNormal" style="margin-left:.5in"> </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:</p>
</div><div><p class="MsoNormal" style="margin-left:.5in"><span>----------</span></p></div><p class="MsoNormal" style="margin-left:.5in"><span>25a25 0 M0 A P CA</span> </p>
<div><p class="MsoNormal" style="margin-left:.5in"><span>----------</span></p></div><div><p class="MsoNormal" style="margin-left:.5in"><span>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></p></div><div><p class="MsoNormal" style="margin-left:.5in">
</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." </p></div>
<div><p class="MsoNormal" style="margin-left:.5in"> </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.)</p>
</div><div><p class="MsoNormal" style="margin-left:.5in"> </p></div><div><p class="MsoNormal" style="margin-left:.5in">So I go ahead and log in manually
to set expert mode for 25A25:</p></div><div><p class="MsoNormal" style="margin-left:.5in"><span>----------</span></p></div><div><p class="MsoNormal" style="margin-left:.5in"><span>[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></p></div><div><p class="MsoNormal" style="margin-left:.5in"><span>x</span></p>
</div><div><p class="MsoNormal" style="margin-left:.5in"><span>Area: 25a25 (#0) ></span></p></div><div><p class="MsoNormal" style="margin-left:.5in"><span>lm</span></p>
</div><div><p class="MsoNormal" style="margin-left:.5in"><span>No messages<br>Area: 25a25 (#0)
></span></p></div><div><p class="MsoNormal" style="margin-left:.5in"><span>b</span></p></div><div><p class="MsoNormal" style="margin-left:.5in"><span>Thank you 25a25, for calling n6orc JNOS.</span></p>
</div><div><p class="MsoNormal" style="margin-left:.5in"><span>----------</span></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..." </p>
</div><div><p class="MsoNormal" style="margin-left:.5in"> </p></div><div><p class="MsoNormal" style="margin-left:.5in">Now the users.dat entry for 25A25 looks like:</p></div><div><p class="MsoNormal" style="margin-left:.5in">
<span>----------</span></p></div><div><p class="MsoNormal" style="margin-left:.5in"><span>25a25 1302968588 M0 A X P -n -h -e CA</span></p>
</div><div><p class="MsoNormal" style="margin-left:.5in"><span>----------</span></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?)</p>
</div><div><p class="MsoNormal" style="margin-left:.5in"> </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... :-)</p>
</div><div><p class="MsoNormal" style="margin-left:.5in"> </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!</p></div><div><p class="MsoNormal" style="margin-left:.5in">
</p></div><div><p class="MsoNormal" style="margin-left:.5in">73, Michael KI6TYV</p></div></div></div></div></div></div></div><div></div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Remember, Comrades: Life is a series of choices -- all of which will be made for you by Central Committee.<br>
</div>
</div></div></div></div><div></div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Remember, Comrades: Life is a series of choices -- all of which will be made for you by Central Committee.<br>
</div>