• SCAN_CFG_TOYOU vs SCAN_CFG_YONLY

    From Nightfox@DIGDIST to All on Wednesday, March 04, 2015 19:35:46
    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*/

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion BBS - digitaldistortionbbs.com
  • From Mindless Automaton@ELDRITCH to Nightfox on Thursday, March 05, 2015 14:25:36
    On 3/4/2015 10:35 PM, Nightfox wrote:
    I was looking at the message scan values & scan config values in sbbsdefs.js


    Lets guess!

    var SCAN_CFG_TOYOU=(1<<1); /* Auto-scan for unread messages to you*/

    Messages sent to ALL or multiple users including you?

    var SCAN_CFG_YONLY=(1<<8); /* Auto-scan for new messages to you only*/

    Messages sent to you and only you!

    -Mindless Automaton
    ---
    þ Synchronet þ Eldritch Clockwork BBS - eldritch.darktech.org
  • From Nightfox@DIGDIST to Mindless Automaton on Thursday, March 05, 2015 12:47:41
    Lets guess!

    var SCAN_CFG_TOYOU=(1<<1); /* Auto-scan for unread messages to you*/

    Messages sent to ALL or multiple users including you?

    But how would that work? In a networked message area, for instance, how do
    you address a message to multiple people? Would you use a comma-separated
    list of names? Is there a standard among BBSes for that?

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion BBS - digitaldistortionbbs.com
  • From Digital Man to Nightfox on Monday, March 09, 2015 20:33:40
    Re: SCAN_CFG_TOYOU vs SCAN_CFG_YONLY
    By: Nightfox to All on Wed Mar 04 2015 07:35 pm

    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) scan is configured with the '&N' command (again, classic shell).
    The (S) scan is configured with the '&S' command.

    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)

    I hope that helps. Let me know if you need more details.

    digital man

    Synchronet "Real Fact" #28:
    Rob Swindell first called BBSes (at 300bps) with an Apple II computer in 1982. Norco, CA WX: 61.7°F, 73.0% humidity, 1 mph SE wind, 0.00 inches rain/24hrs
  • From Nightfox@DIGDIST to Digital Man on Wednesday, March 11, 2015 20:03:06
    Re: SCAN_CFG_TOYOU vs SCAN_CFG_YONLY
    By: Digital Man to Nightfox on Mon Mar 09 2015 20:33:40

    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)

    I see - This is helpful, thanks.

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion BBS - digitaldistortionbbs.com