• SCAN_CFG_TOYOU vs SCAN_CFG_YONLY

    From Nightfox@VERT/DIGDIST to All on Wed Mar 4 19:35:46 2015
    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@VERT/ELDRITCH to Nightfox on Thu Mar 5 14:25:36 2015
    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@VERT/DIGDIST to Mindless Automaton on Thu Mar 5 12:47:41 2015
    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@VERT to Nightfox on Mon Mar 9 20:33:40 2015
    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

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Wed Mar 11 20:03:06 2015
    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