From Newsgroup: alt.bbs.synchronet
To: Fang-Castro
Re: logon.asc/ans
By: Fang-Castro to Digital Man on Wed Aug 19 2020 03:58 pm
Re: logon.asc/ans
By: Digital Man to Fang-Castro on Wed Aug 19 2020 02:08 am
The only logon.* (and logon#.*) that will display is 'LOGON.ASC'. And it has to be capitolized.
I keep them in /text/menu like the wiki says.
Any ideas as to why?
No, they don't have to be capitalized. In fact, on *nix OSes, they won't display at if they're capitalized (case-sensitive file system).
I guess I can just use random#.* and try logon w/the security level. What goes with logon.* to display a security level related file? Obviously logon#.* isn't the security level because it's the additional logon1, 2, 3, etc. files.
It actually is both. The logic is in exec/logon.js:
// Logon screens
// Print successively numbered logon screens (logon, logon1, logon2, etc.)
var highest_printed_logon_screen=-1;
for(var i=0;;i++) {
var fname="logon";
if(i)
fname+=i;
if(!bbs.menu_exists(fname)) {
if(i>1)
break;
continue;
}
bbs.menu(fname);
highest_printed_logon_screen = i;
}
// Print logon screens based on security level
if(user.security.level > highest_printed_logon_screen
&& bbs.menu_exists("logon" + user.security.level))
bbs.menu("logon" + user.security.level);
// Print one of text/menu/random*.*, picked at random
// e.g. random1.asc, random2.asc, random3.asc, etc.
bbs.menu("random*");
logon.* and logon#.* don't display =/
Do you have the logon.msg or logon.asc variant? If you *only* have a logon.ans file (for example), that's correct, it won't display.
digital man
Synchronet "Real Fact" #76:
Michael Swindell still has the "Synchronet Blimp" in his possession.
Norco, CA WX: 91.6øF, 42.0% humidity, 10 mph NE wind, 0.00 inches rain/24hrs --- Synchronet 3.18a-Win32 NewsLink 1.113
* Vertrauen - Riverside County, California -
telnet://vert.synchro.net
--- Synchronet 3.19c-Linux NewsLink 1.113