sbbsdefs.h and sbbsdefs.js
From
Alterego@1:103/705 to
All on Wednesday, October 09, 2019 18:17:56
Hey DM,
I've noticed some differences between sbbsdefs.h and sbbsdefs.js
In sbbsdefs.js you have this:
var SYS_NOBEEP =(1<<2); /* No beep sound locally
*/
var SYS_NOSYSINFO =(1<<2); /* Suppress system info display at logon */
But I couldnt see NOBEEP defined in sbbs3/ src, so was wondering if it was obselete? (Given it shares the same bit with sysinfo).
Also, I was wanting to supress the node status display, shown on login if there
is somebody else online.
In login.cpp, it has this:
if(!(cfg.sys_misc&SM_NONODELIST) and sbbsdefs.h defines SM_NONODELIST has bit 24.
#define SM_NONODELIST (1L<<24)
but in sbbsdefs.js, bit 24 is defined as
var SYS_QVALKEYS =(1<<24);
Again, I couldnt find QVALKEYS defined in sbbs3/ src.
Interestingly, those two items have different formating in sbbsdefs.h (compared
to their peers) so I'm guessing advancement in SBBS changed their purpose and usage?
Anyway, using SYS_QVALKEYS supressed the node status display on login as desired - but I think it should be renamed?
...ëîå*
... Everybody is somebody else's weirdo.
---
þ Synchronet þ Alterant | an SBBS in Docker on Pi!
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)