Virtual Private Server (VPS) Hosting provided by Central Point Networking cpnllc.com
For some reason, the "Nodelist" and "Recent Callers" features are not working.
| Sysop: | Ray Quinn |
|---|---|
| Location: | Visalia, CA |
| Users: | 60 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 71:54:24 |
| Calls: | 12 |
| Files: | 12,939 |
| Messages: | 99,282 |
Check out the US 99 menu above for links to information about US Highway 99, after which the US 99 BBS is named.
Be sure to click on the Amateur Radio menu item above for packet BBSes, packet software, packet organizations, as well as packet how-to's. Also included is links to local and some not-so-local Amateur Radio Clubs.
Re: bbs.menu vs bbs.menu_exists
By: Digital Man to nolageek on Tue Jan 14 2020 09:55 am
Does the file text/menu/<shell>/mainmenu.asc exist? The .msg or .asc version of a menu file must exist for bbs.menu_exists() to return true.
mainmenu.ans exists - does bbs.menu_exists() test for .msg or .asc but not .ans? That would explain it, but why would it not check for the same file types that bbs.menu() displays?
At minimum, a .asc or .msg menu display file is required. bbs.menu() first looks for the *most* applicable file format, not all file formats.
Are .msg and .asc faster or are they "more native" to synchronet? Just curious.
nolageek wrote to Digital Man <=-
At minimum, a .asc or .msg menu display file is required. bbs.menu() first looks for the *most* applicable file format, not all file formats.
But it will find .ans - I guess I expected bbs.menu() and bbs.menu_exists() to work with the same formats so they could
work together.I could convert I gues (but then I'd have to always
convert back and forth to edit them.) Are .msg and .asc faster or
are they "more native" to synchronet? Just curious.
Re: bbs.menu vs bbs.menu_exists
By: Digital Man to nolageek on Tue Jan 14 2020 03:00 pm
At minimum, a .asc or .msg menu display file is required. bbs.menu() first looks for the *most* applicable file format, not all file formats.
But it will find .ans - I guess I expected bbs.menu() and bbs.menu_exists() to work with the same formats so they could work together.
I could convert I
gues (but then I'd have to always convert back and forth to edit them.)
Are
.msg and .asc faster or are they "more native" to synchronet? Just curious.
http://wiki.synchro.net/custom:menu_files
Re: Re: bbs.menu vs bbs.menu_exists
By: Gamgee to nolageek on Wed Jan 15 2020 07:49 am
http://wiki.synchro.net/custom:menu_files
Well I know that. I was just wondering why bbs.menu_exists() didn't test for the same set of menu types that bbs.menu() can display. It was just unexpected to have it not find my .ans. I really don't want to keep multiple copies in different formats and convert menus back and forth every time I have a new one made or make a change (especially while I'm in the process of making a lot of changes.)
Either way, I just wanted to ask since it seemed inconsistant at the time, but I'm sure there's a reason so I'm not looking to die on this hill. :) I'm using a slightly less hidious way of accomplishing what I was doing, but not as readable as if I could have used bbs.menu_exists(); It's still down to 3 lines of code as opposed to 6 or 7 like it was before so yay. :)