I was looking at the message scan values & scan config values in sbbsdefs.js
var SCAN_CFG_TOYOU=(1<<1); /* Auto-scan for unread messages to you*/
var SCAN_CFG_YONLY=(1<<8); /* Auto-scan for new messages to you only*/
Lets guess!
var SCAN_CFG_TOYOU=(1<<1); /* Auto-scan for unread messages to you*/
Messages sent to ALL or multiple users including you?
I was looking at the message scan values & scan config values in sbbsdefs.js and am wondering what the difference is between SCAN_CFG_TOYOU and SCAN_CFG_YONLY? The comments say SCAN_CFG_TOYOU is "Auto-scan for unread messages to you" and SCAN_CFG_YONLY is "Auto-scan for new messsages to you only" - Both of those sound like they could be the same.. I'm not clear on the difference based on those comments:
/********************************************/
/* Bits in msg_area.sub[].scan_cfg*/
/********************************************/
var SCAN_CFG_NEW=5; /* Auto-scan for new messages*/
var SCAN_CFG_TOYOU=(1<<1); /* Auto-scan for unread messages to you*/
var SCAN_CFG_YONLY=(1<<8); /* Auto-scan for new messages to you only*/
In Synchronet, there are 2 types of message scans:
(N)ew message scan (the 'N' command from the main menu of the classic shell) (S)can for msgs to you (the 'S' command from the main menu)
The (N) scan uses "new msg pointers" to find an display new messages while the (S) scan checks the 'read flag' on messages address to *you* (regardless of any "new-scan" pointer value).
The &N command can be used to change each sub-boards "new-scan" config to one of 3 possible values: off, new msgs, new msgs to you only. These settings correspond to these values (for each user for each sub-board):
Off: bits 0, 2, and 8 off
New-msgs: Bits 0 and 2 (SCAN_CFG_NEW))
New-msgs-to-you-only: Bits 0, 2, and 8 (SCAN_CFG_NEW|SCFG_CFG_YONLY)
The &S command can be used to change each sub-boards "your-scan" config to one of 2 possible values: off and on. These settings correspond to these values (for each user for each sub-board):
Off: (Bit 1 off)
On: (Bit 1 on, SCAN_CFG_TOYOU)
Sysop: | Ree |
---|---|
Location: | Toronto, ON |
Users: | 2 |
Nodes: | 10 (0 / 10) |
Uptime: | 01:40:15 |
Calls: | 369 |
Files: | 2 |
Messages: | 38,903 |