• xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt

    From nightfox@VERT to CVS commit on Sat Oct 10 12:14:18 2015
    xtrn/DDMsgReader DDMsgReader.js 1.11 1.12 Read Me.txt 1.11 1.12 Revision history.txt NONE 1.1
    Update of /cvsroot/sbbs/xtrn/DDMsgReader
    In directory cvs:/tmp/cvs-serv5762

    Modified Files:
    DDMsgReader.js Read Me.txt
    Added Files:
    Revision history.txt
    Log Message:
    Version 1.04: Now support downloading file attachments (using the Ctrl-D key combo). Also, allows the sysop to save a message to the BBS machine (using the Ctrl-S key combo). Also made some user interface updates: Pausing after the user saves a message so that the user can see Synchronet's save message screen, and other minor updates. Updated DDReadPersonalEmail.js so that it's easy to switch the reader between starting in list mode or reader mode.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Kirkman@VERT to nightfox on Wed Oct 21 11:30:30 2015
    Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt
    By: nightfox to CVS commit on Sat Oct 10 2015 12:14 pm

    Nightfox,

    I'm running into trouble reading my message boards. Not sure if it's a DDMsgReader thing, or a Sync problem.

    I first noticed something was wrong when I tried hitting "N" for new scan, and there was nothing new to read. But when I looked at some subs, I saw that they indeed had messages that had been posted that same day.

    So I began going thru subs one at a time reading. This worked fine on some subs, but others would error out with this message:

    !JavaScript ../xtrn/DDMsgReader/DDMsgReader.js line 7213: Error: can't convert pMsgNum to an integer

    I recently updated to SBBS 3.17, so that may be the culprit. I also recently updated your message reader to the newest version.

    Anybody have any thoughts on what might be screwing up my message pointers, or what might be causing this pMsgNum error in nightfox's script?

    --Josh

    ////--------------------------------------------------
    BiC -=- http://breakintochat.com -=- bbs wiki and blog

    ---
    þ Synchronet
  • From Nightfox@VERT to Kirkman on Wed Oct 21 23:15:13 2015
    Re: DDMsgReader.js
    By: Kirkman to nightfox on Wed Oct 21 2015 11:30:30

    I first noticed something was wrong when I tried hitting "N" for new scan, and there was nothing new to read. But when I looked at some subs, I saw that they indeed had messages that had been posted that same day.

    So I began going thru subs one at a time reading. This worked fine on some subs, but others would error out with this message:

    !JavaScript ../xtrn/DDMsgReader/DDMsgReader.js line 7213: Error: can't convert pMsgNum to an integer

    That must be from an older version, because my DDMsgReader.js doesn't have a pMsgNum on that line.

    I recently updated to SBBS 3.17, so that may be the culprit. I also recently updated your message reader to the newest version.

    I've seen Synchronet updates cause weird behavior similar to what you've shown above. I'm still running the official 3.16c release, and I haven't seen that issue with my reader. Digital Man recently said that he doesn't recommend updating to 3.17 right now because he & Deuce have made some changes since the 3.16c release that have made some things somewhat unstable.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Kirkman@VERT to Nightfox on Fri Oct 23 13:49:16 2015
    Re: DDMsgReader.js
    By: Nightfox to Kirkman on Wed Oct 21 2015 11:15 pm

    !JavaScript ../xtrn/DDMsgReader/DDMsgReader.js line 7213: Error:
    can't convert pMsgNum to an integer

    That must be from an older version, because my DDMsgReader.js doesn't have a pMsgNum on that line.

    Sorry, my bad. I added a line or two of debugging code to see if I could figure out the problem. Restoring the .js file to its original state, the error is reported on line 7211.

    I've seen Synchronet updates cause weird behavior similar to what you've shown above. I'm still running the official 3.16c release, and I haven't seen that issue with my reader. Digital Man recently said that he doesn't recommend updating to 3.17 right now because he & Deuce have made some changes since the 3.16c release that have made some things somewhat unstable.

    Digital Man, is this true? Should I somehow try to downgrade? I haven't noticed any other issues beyond my message pointers being messed up.

    --Josh

    ////--------------------------------------------------
    BiC -=- http://breakintochat.com -=- bbs wiki and blog

    ---
    þ Synchronet
  • From Digital Man@VERT to Kirkman on Fri Oct 23 16:18:56 2015
    Re: DDMsgReader.js
    By: Kirkman to Nightfox on Fri Oct 23 2015 01:49 pm

    I've seen Synchronet updates cause weird behavior similar to what you've shown above. I'm still running the official 3.16c release, and I haven't seen that issue with my reader. Digital Man recently said that he doesn't recommend updating to 3.17 right now because he & Deuce have made some changes since the 3.16c release that have made some things somewhat unstable.

    Digital Man, is this true? Should I somehow try to downgrade? I haven't noticed any other issues beyond my message pointers being messed up.

    It's true that the current code in CVS (the "main" line) is considered "unstable", but that's always the case, nothing new. I'm running the current development code (currently called "3.17a") as are many other people, but you would expect that of the developers.

    It's also true i don't recommend running the current development code unless you're okay with the increased possibility of problems with the BBS (including, potentially, crashes and data loss) and helping with the debugging of those problems.

    If you're already running the current development code and not experiencing any issues, I would not recommend downgrading to v3.16c (the most recent release).

    digital man

    Synchronet "Real Fact" #59:
    Free dynamic yourbbs.synchro.net hostnames were made first available in 2003. Norco, CA WX: 83.9øF, 38.0% humidity, 11 mph ESE wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Kirkman@VERT to Digital Man on Fri Oct 23 20:24:56 2015
    If you're already running the current development code and not experiencing any
    issues, I would not recommend downgrading to v3.16c (the most recent release).


    Well, I *am* experiencing an issue this week, described a few messages back.

    My message pointers went out of whack, and for a few days when I would hit "N", no messages would show as new. But when I manually read through a sub, I saw messages dated from the same day which SHOULD HAVE been in the new message scan.

    Then Nightfox's message reader began giving me an "Error: can't convert pMsgNum to an integer" on certain subs. I think this is related to the message pointer as well.

    --Josh

    ---
    þ Synchronet
  • From Digital Man@VERT to Kirkman on Fri Oct 23 23:13:09 2015
    Re: DDMsgReader.js
    By: Kirkman to Digital Man on Fri Oct 23 2015 08:24 pm

    If you're already running the current development code and not experiencing any
    issues, I would not recommend downgrading to v3.16c (the most recent release).


    Well, I *am* experiencing an issue this week, described a few messages back.

    My message pointers went out of whack, and for a few days when I would hit "N", no messages would show as new. But when I manually read through a sub, I saw messages dated from the same day which SHOULD HAVE been in the new message scan.

    Then Nightfox's message reader began giving me an "Error: can't convert pMsgNum to an integer" on certain subs. I think this is related to the message pointer as well.

    I can't think of any reason why that would be related to any changes made after v3.16c. As a test, you could downgrade to v3.16c and see if that "fixes" the problem, but if the problem already "went away" on its own, then perhaps it's moot.

    It's a common mistake (that I myself make) to blame the most recently changed or upgraded component in a software system for a newly observed problem, but that doesn't mean it is always the actual cause. In this case, and I don't mean to pick on Nightfox, I suspect the problem is just with his message reader and not with Synchronet itself. But that's just a blind guess on my part, just like blaming "v3.17" was a blind guess on his part. :-)

    In truth, either one of us would need more debugging details to get to the bottom of the issue. If the issue can be reproduced withOUT using Nightfox's message reader, then it's most definitely a Synchronet issue. If Nightfox can't reproduce it himself, then he made need more insight into your system state or configuration to determine the root-cause.

    digital man

    Synchronet "Real Fact" #42:
    Synchronet added Baja/PCMS support with v2.00a (1994).
    Norco, CA WX: 70.6øF, 50.0% humidity, 0 mph WNW wind, 0.00 inches rain/24hrs ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Kirkman@VERT to Digital Man on Sun Oct 25 15:08:36 2015
    Re: DDMsgReader.js
    By: Digital Man to Kirkman on Fri Oct 23 2015 11:13 pm

    In truth, either one of us would need more debugging details to get to the bottom of the issue. If the issue can be reproduced withOUT using Nightfox's message reader, then it's most definitely a Synchronet issue. If Nightfox can't reproduce it himself, then he made need more insight into your system state or configuration to determine the root-cause.

    Okay, I have disabled the DD Message Reader loadable modules, and I am able to read messages just fine, though I had to re-add a bunch of subs back to my scan list.

    --Josh

    ////--------------------------------------------------
    BiC -=- http://breakintochat.com -=- bbs wiki and blog

    ---
    þ Synchronet
  • From nightfox@VERT to CVS commit on Sun Dec 6 08:20:33 2015
    Subject: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt @MSGID: <56646051.32493.syncprog@vert.synchro.net>
    @TZ: 41e0
    xtrn/DDMsgReader DDMsgReader.js 1.24 1.25 Read Me.txt 1.14 1.15 Revision history.txt 1.2 1.3
    Update of /cvsroot/sbbs/xtrn/DDMsgReader
    In directory cvs:/tmp/cvs-serv11163

    Modified Files:
    DDMsgReader.js Read Me.txt Revision history.txt
    Log Message:
    Version 1.05 official release update (removed the "beta" from the version number & updated the release dat,e and updated the documentation)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Rastus@VERT to nightfox on Thu Dec 10 18:51:44 2015
    Subject: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt @MSGID: <566A20AA.32514.syncprog@vert.synchro.net>
    @TZ: 412c
    I've been testing DDMsgReader and it's working very well. You've got a
    great product here and it's appreciated.

    There is something, if practical, that I would like to see changed.
    When used to scan/read only one sub.. after the reader views the last
    message in that sub DDMsgRreader asks if they'd like to move to the next
    sub. This behavior is not needed and is undesirable in this case. If
    you could add a command line switch to disable asking that would be
    great or disable asking if only one sub is selected might even be better.

    Reason being.. is that I want to force all users to read any new SysOp notices. SBBS doesn't allow forcing a scan/read if the user has turned
    off scanning. I added DDMsgR to my logon script to scan that sub but
    removed it because I didn't like it asking the user to read on..

    Another issue is that DDMsgReader is ignoring the command-line switch to
    use an alternative config file. I am using this format:

    bbs.exec("?/sbbs/xtrn/DDMsgReader/DDMsgReader.js -configFilename:/sbbs/xtrn/DDMsgReader/DDMsgReaderRev.cfg");

    In this example I tried the full path. I tried it without the path and
    a couple to ways too.

    Thanks,

    Nicholas

    On 12/06/2015 11:20 AM, nightfox wrote:
    xtrn/DDMsgReader DDMsgReader.js 1.24 1.25 Read Me.txt 1.14 1.15 Revision
    history.txt 1.2 1.3
    Update of /cvsroot/sbbs/xtrn/DDMsgReader
    In directory cvs:/tmp/cvs-serv11163

    Modified Files:
    DDMsgReader.js Read Me.txt Revision history.txt
    Log Message:
    Version 1.05 official release update (removed the "beta" from the version
    number & updated the release dat,e and updated the documentation)


    ---
    � Synchronet � Vertrauen � Home of Synchronet �
    telnet://vert.synchro.net

    --- SBBSecho 2.30-Linux
    * Origin: Electronic Warfare BBS: Telnet://bbs.ewbbs.net (0:0/0)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Nicholas Boel@VERT to Rastus on Thu Dec 10 18:22:54 2015
    Subject: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt @MSGID: <566A20AB.32515.syncprog@vert.synchro.net>
    @REPLY: <566A20AA.32514.syncprog@vert.synchro.net>
    @TZ: 4168
    Hello Rastus,

    On 10 Dec 15 18:51, Rastus wrote to nightfox:

    bbs.exec("?/sbbs/xtrn/DDMsgReader/DDMsgReader.js -configFilename:/sbbs/xtrn/DDMsgReader/DDMsgReaderRev.cfg");

    In this example I tried the full path. I tried it without the path
    and a couple to ways too.

    I don't remember any ":'s" in the command line switches. Have you tried something like this?

    bbs.exec("?/sbbs/xtrn/DDMsgReader/DDMsgReader.js -configFilename /sbbs/xtrn/DDMsgReader/DDMsgReaderRev.cfg");

    Basically just replacing the ":" with a space?

    Regards,
    Nick

    --- GoldED+/LNX 1.1.5-b20151129
    * Origin: thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin) (1:154/701)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Nightfox@VERT to Rastus on Thu Dec 10 18:08:06 2015
    Subject: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt @MSGID: <566A3006.13483.dove_syncprog@digitaldistortionbbs.com>
    @REPLY: <566A20AA.32514.syncprog@vert.synchro.net>
    @TZ: 41e0
    Re: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt
    By: Rastus to nightfox on Thu Dec 10 2015 18:51:44

    There is something, if practical, that I would like to see changed.
    When used to scan/read only one sub.. after the reader views the last message in that sub DDMsgRreader asks if they'd like to move to the next sub. This behavior is not needed and is undesirable in this case. If

    I can understand that. I'd probably be able to make that change.

    Another issue is that DDMsgReader is ignoring the command-line switch to use an alternative config file. I am using this format:

    bbs.exec("?/sbbs/xtrn/DDMsgReader/DDMsgReader.js -configFilename:/sbbs/xtrn/DDMsgReader/DDMsgReaderRev.cfg");

    You need to use a =, not a :, after configFilename. For example: -configFilename=/sbbs/xtrn/DDMsgReader/DDMsgReaderRev.cfg

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Rastus@VERT to Nicholas Boel on Thu Dec 10 21:02:26 2015
    Subject: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt @MSGID: <566A3C84.32518.syncprog@vert.synchro.net>
    @REPLY: <566A20AB.32515.syncprog@vert.synchro.net>
    @TZ: 412c
    Hi Nick,

    Yes, I tried with and without a colon, with and without a space but it
    changed nothing. The docs are a little confusing stating that sometimes
    you use = and sometime you don't.. there are some examples.. but using
    an alternative configuration file isn't one of the examples.

    However, using an = sign for config does cause an error:

    !JavaScript /sbbs/xtrn/DDMsgReader/DDMsgReader.js line 837:
    ReferenceError: scriptArgVals is not defined

    Also on further investigation I've found that many of the switches are
    not working. They might on windows box but not here...



    On 12/10/2015 07:22 PM, Nicholas Boel wrote:
    Hello Rastus,

    On 10 Dec 15 18:51, Rastus wrote to nightfox:

    Ra> bbs.exec("?/sbbs/xtrn/DDMsgReader/DDMsgReader.js
    Ra> -configFilename:/sbbs/xtrn/DDMsgReader/DDMsgReaderRev.cfg");

    Ra> In this example I tried the full path. I tried it without the path
    Ra> and a couple to ways too.

    I don't remember any ":'s" in the command line switches. Have you tried something like this?

    bbs.exec("?/sbbs/xtrn/DDMsgReader/DDMsgReader.js -configFilename /sbbs/xtrn/DDMsgReader/DDMsgReaderRev.cfg");

    Basically just replacing the ":" with a space?

    Regards,
    Nick

    --- GoldED+/LNX 1.1.5-b20151129
    * Origin: thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin) (1:154/701)

    --- SBBSecho 2.30-Linux
    * Origin: Electronic Warfare BBS : telnet:\\bbs.ewbbs.net (1:227/201)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Nightfox@VERT to Rastus on Thu Dec 10 20:34:32 2015
    Subject: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt @MSGID: <566A5258.13485.dove_syncprog@digitaldistortionbbs.com>
    @REPLY: <566A3C84.32518.syncprog@vert.synchro.net>
    @TZ: 41e0
    Re: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt
    By: Rastus to Nicholas Boel on Thu Dec 10 2015 21:02:26

    Yes, I tried with and without a colon, with and without a space but it changed nothing. The docs are a little confusing stating that sometimes you use = and sometime you don't.. there are some examples.. but using
    an alternative configuration file isn't one of the examples.

    However, using an = sign for config does cause an error:

    !JavaScript /sbbs/xtrn/DDMsgReader/DDMsgReader.js line 837: ReferenceError: scriptArgVals is not defined

    = is the correct delimiter to use. I was able to reproduce that bug on my system and have made a fix. I have committed the change to DDMsgReader.js in sbbs/xtrn/DDMsgReader - Please update from there and give it a try.

    Also on further investigation I've found that many of the switches are not working. They might on windows box but not here...

    Are you using = for the other ones you've tried? I have Synchronet set up in Linux as a test system, and I've verified that my fix for the configFilename parameter works there, with the =. Its command-line argument parsing logic is not OS-dependent, so I'm curious that other arguments aren't working for you. On my BBS, I've also used the arguments -startMode, -search, -subBoard=, -personalEmailSent, and they all work as expected.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Rastus@VERT to Nightfox on Fri Dec 11 00:38:03 2015
    Subject: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt @MSGID: <566A613D.14683.syncprog@ewbbs.synchro.net>
    @REPLY: <566A3006.13483.dove_syncprog@digitaldistortionbbs.com>
    @TZ: fed4
    I had already tried it exactly as you show here but it generates this
    error when I do:

    !JavaScript /sbbs/xtrn/DDMsgReader/DDMsgReader.js line 837:
    ReferenceError: scriptArgVals is not defined


    On 12/10/2015 09:08 PM, Nightfox wrote:
    Re: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt
    By: Rastus to nightfox on Thu Dec 10 2015 18:51:44

    Ra> There is something, if practical, that I would like to see changed.
    Ra> When used to scan/read only one sub.. after the reader views the last
    Ra> message in that sub DDMsgRreader asks if they'd like to move to the next
    Ra> sub. This behavior is not needed and is undesirable in this case. If

    I can understand that. I'd probably be able to make that change.

    Ra> Another issue is that DDMsgReader is ignoring the command-line switch to
    Ra> use an alternative config file. I am using this format:

    Ra> bbs.exec("?/sbbs/xtrn/DDMsgReader/DDMsgReader.js
    Ra> -configFilename:/sbbs/xtrn/DDMsgReader/DDMsgReaderRev.cfg");

    You need to use a =, not a :, after configFilename. For example: -configFilename=/sbbs/xtrn/DDMsgReader/DDMsgReaderRev.cfg

    Nightfox

    ---
    � Synchronet � Digital Distortion: digitaldistortionbbs.com


    ---
    þ Synchronet þ Electronic Warfare BBS | telnet://bbs.ewbbs.net
  • From Rastus@VERT to Nightfox on Fri Dec 11 03:54:04 2015
    Subject: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt @MSGID: <566A8F2C.14684.syncprog@ewbbs.synchro.net>
    @REPLY: <566A3006.13483.dove_syncprog@digitaldistortionbbs.com>
    @TZ: fed4
    Something I have wanted to do for a while now is force the user to read
    (or at least be displayed) any unread messages I post in the SysOp
    Notices. SBBS can do this, but only if the user hasn't turned off new
    message scanning..(and the game players on my board do!)

    I tried the following command line, but the user is still prompted to
    select a group,sub, etc:

    bbs.exec("?/sbbs/xtrn/DDMsgReader/DDMsgReader.js -search=new_msg_scan -suppressSearchTypeText -subBoard=notices");

    Oh.. Thanks for fixing the configFilename issue.. I did have to remove
    the path from the filename though.. but that's OK and desirable for me..
    since I, and most people, would probably put the config in the same
    directory with the executable anyway.

    On 12/10/2015 09:08 PM, Nightfox wrote:
    Re: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt
    By: Rastus to nightfox on Thu Dec 10 2015 18:51:44

    Ra> There is something, if practical, that I would like to see changed.
    Ra> When used to scan/read only one sub.. after the reader views the last
    Ra> message in that sub DDMsgRreader asks if they'd like to move to the next
    Ra> sub. This behavior is not needed and is undesirable in this case. If

    I can understand that. I'd probably be able to make that change.

    Ra> Another issue is that DDMsgReader is ignoring the command-line switch to
    Ra> use an alternative config file. I am using this format:

    Ra> bbs.exec("?/sbbs/xtrn/DDMsgReader/DDMsgReader.js
    Ra> -configFilename:/sbbs/xtrn/DDMsgReader/DDMsgReaderRev.cfg");

    You need to use a =, not a :, after configFilename. For example: -configFilename=/sbbs/xtrn/DDMsgReader/DDMsgReaderRev.cfg

    Nightfox

    ---
    � Synchronet � Digital Distortion: digitaldistortionbbs.com


    ---
    þ Synchronet þ Electronic Warfare BBS | telnet://bbs.ewbbs.net
  • From nightfox@VERT to CVS commit on Fri Dec 11 22:27:25 2015
    Subject: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt @MSGID: <566BBE4D.32525.syncprog@vert.synchro.net>
    @TZ: 41e0
    xtrn/DDMsgReader DDMsgReader.js 1.26 1.27 Read Me.txt 1.15 1.16 Revision history.txt 1.3 1.4
    Update of /cvsroot/sbbs/xtrn/DDMsgReader
    In directory cvs:/tmp/cvs-serv25757

    Modified Files:
    DDMsgReader.js Read Me.txt Revision history.txt
    Log Message:
    - Updated so that a sub-board new-message-scan (with the -new_msg_scan_cur_sub command-line parameter) can make use of the -subBoard command-line option to scan a specific sub-board, which may be different than the user's current sub-board.
    - Bug fix: Doing a new-message-scan should now always display the correct sub-board @-code information in the header above the message.

    This is currently marked as a "beta" version (version 1.06 beta).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Nightfox@VERT to Rastus on Fri Dec 11 22:29:53 2015
    Subject: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt @MSGID: <566BBEE1.13491.dove_syncprog@digitaldistortionbbs.com>
    @REPLY: <566A8F2C.14684.syncprog@ewbbs.synchro.net>
    @TZ: 41e0
    Re: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt
    By: Rastus to Nightfox on Fri Dec 11 2015 03:54:04

    Something I have wanted to do for a while now is force the user to read (or at least be displayed) any unread messages I post in the SysOp Notices. SBBS can do this, but only if the user hasn't turned off new message scanning..(and the game players on my board do!)

    I tried the following command line, but the user is still prompted to select a group,sub, etc:

    bbs.exec("?/sbbs/xtrn/DDMsgReader/DDMsgReader.js -search=new_msg_scan -suppressSearchTypeText -subBoard=notices");

    I have committed a change to DDMsgReader.js in xtrn/DDMsgReader to enable that usage. Please update your copy and give it a try, and let me know if you see any issues with that.

    I also noticed & fixed an issue where it wasn't always displaying the correct @-code information in the header for the sub-board being scanned (for the current sub-board, group, and all) - If you can, it would be good to also try out the group and 'all' newscan and see if you notice any issues there regarding the information displayed in the header above the message, and whether it's scanning the correct sub-board, etc. It looks good on my system, but I want to be sure it looks good for others too.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Rastus@VERT to Nightfox on Sat Dec 12 09:05:22 2015
    Subject: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt @MSGID: <566C29A3.14690.syncprog@ewbbs.synchro.net>
    @REPLY: <566BBEE1.13491.dove_syncprog@digitaldistortionbbs.com>
    @TZ: fed4
    Yes, Thank You! I've tested it and it's working well. This feature can
    be helpful in many ways. For instance.. It might used it to display
    messages to Players of a certain game before they actually enter the
    door.. (BRE comes to mind.. BRE is a cool game, but it's internal
    messaging has much to be desired... At times we have some pretty serious gaming going on and it's desirable to get a message before starting a turn.)

    Also, I have been looking at your code trying to find where I might
    disable the pause at the end of the scan if there are no new messages in
    the sub. Even if I comment out the pause after the 'Message Scan
    Complete' message, it is replaced by another pause that I can not find.
    Can you point me to that function so I can disable it. (I am using a
    copy separate from that the messages bases for these test scans.) If
    there are no messages to display, and since the User didn't prompt for a
    scan, I can see no need to tell them the scan was complete.. So as not
    to confuse the User I changed the prompt to read "There are No New SysOp Messages at this time".


    On 12/12/2015 01:29 AM, Nightfox wrote:
    Re: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt
    By: Rastus to Nightfox on Fri Dec 11 2015 03:54:04

    Ra> Something I have wanted to do for a while now is force the user to read
    Ra> (or at least be displayed) any unread messages I post in the SysOp
    Ra> Notices. SBBS can do this, but only if the user hasn't turned off new
    Ra> message scanning..(and the game players on my board do!)

    Ra> I tried the following command line, but the user is still prompted to
    Ra> select a group,sub, etc:

    Ra> bbs.exec("?/sbbs/xtrn/DDMsgReader/DDMsgReader.js -search=new_msg_scan
    Ra> -suppressSearchTypeText -subBoard=notices");

    I have committed a change to DDMsgReader.js in xtrn/DDMsgReader to enable that
    usage. Please update your copy and give it a try, and let me know if you see any issues with that.

    I also noticed & fixed an issue where it wasn't always displaying the correct @-code information in the header for the sub-board being scanned (for the current sub-board, group, and all) - If you can, it would be good to also try out the group and 'all' newscan and see if you notice any issues there regarding the information displayed in the header above the message, and whether it's scanning the correct sub-board, etc. It looks good on my system,
    but I want to be sure it looks good for others too.

    Nightfox

    ---
    � Synchronet � Digital Distortion: digitaldistortionbbs.com


    ---
    þ Synchronet þ Electronic Warfare BBS | telnet://bbs.ewbbs.net
  • From Nightfox@VERT to Rastus on Sat Dec 12 14:53:21 2015
    Subject: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt @MSGID: <566CA561.13494.dove_syncprog@digitaldistortionbbs.com>
    @REPLY: <566C29A3.14690.syncprog@ewbbs.synchro.net>
    @TZ: 41e0
    Re: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt
    By: Rastus to Nightfox on Sat Dec 12 2015 09:05:22

    Also, I have been looking at your code trying to find where I might disable the pause at the end of the scan if there are no new messages in the sub. Even if I comment out the pause after the 'Message Scan Complete' message, it is replaced by another pause that I can not find. Can you point me to that function so I can disable it. (I am using a
    copy separate from that the messages bases for these test scans.) If there are no messages to display, and since the User didn't prompt for a scan, I can see no need to tell them the scan was complete.. So as not
    to confuse the User I changed the prompt to read "There are No New SysOp Messages at this time".

    I have added a configuration option (for the config file) which I hope will accomplish this for you - The configuration option is pauseAfterNewMsgScan, and you can set it to false to have it not pause at that point. For example: pauseAfterNewMsgScan=false

    I've committed the change to the CVS - Please update and let me know how it works for you.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Rastus@VERT to Nightfox on Sun Dec 13 11:52:55 2015
    Subject: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt @MSGID: <566DB2A2.32530.syncprog@vert.synchro.net>
    @TZ: 412c
    Re: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt
    By: Nightfox to Rastus on Sat Dec 12 2015 02:53 pm

    I have added a configuration option (for the config file) which I hope will accomplish this for you - The configuration option is pauseAfterNewMsgScan, and you can set it to false to have it not pause at that point. For example: pauseAfterNewMsgScan=false

    Outstanding! Thank You!! Yes this did the trick..

    Yet another if....

    I hate to keep asking for stuff.. but the only remaining thing I'd like to point out is that after reading any new messages in the selected sub, DDMsgReader still prompts the User if they wish to move onto the next sub.. if the user Selects Yes DDMsgReader exits... if they select No it does nothing.. Of course Quit exits at any time as expected. It's not critical but it could be confusing.

    I really like your coding.. I can follow your js code easier than most.. I've learned a lot reviewing your code.

    Thanks,

    Nick
    --- SBBSecho 2.30-Linux
    * Origin: Electronic Warfare BBS : telnet:\\bbs.ewbbs.net (1:227/201)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From nightfox@VERT to CVS commit on Sun Dec 13 10:22:08 2015
    Subject: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt @MSGID: <566DB750.32531.syncprog@vert.synchro.net>
    @TZ: 41e0
    xtrn/DDMsgReader DDMsgReader.js 1.28 1.29 Read Me.txt 1.17 1.18 Revision history.txt 1.5 1.6
    Update of /cvsroot/sbbs/xtrn/DDMsgReader
    In directory cvs:/tmp/cvs-serv17782

    Modified Files:
    DDMsgReader.js Read Me.txt Revision history.txt
    Log Message:
    Version 1.06 official release (removed the "beta")

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Nightfox@VERT to Rastus on Sun Dec 13 10:29:15 2015
    Subject: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt @MSGID: <566DB8FB.13498.dove_syncprog@digitaldistortionbbs.com>
    @REPLY: <566DB2A2.32530.syncprog@vert.synchro.net>
    @TZ: 41e0
    Re: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt
    By: Rastus to Nightfox on Sun Dec 13 2015 11:52:55

    I have added a configuration option (for the config file) which I
    hope will accomplish this for you - The configuration option is
    pauseAfterNewMsgScan, and you can set it to false to have it not
    pause at that point. For example: pauseAfterNewMsgScan=false

    Outstanding! Thank You!! Yes this did the trick..

    Cool, good to hear that's working for you.
    I've removed the "beta" from the version, since everything seems to be working as expected, and I have committed the update to Synchronet's CVS. You can also download the release package here, if you want: ftp://www.digitaldistortionbbs.com/bbs/SYNC_JS/DDMR_106.zip

    Yet another if....

    I hate to keep asking for stuff.. but the only remaining thing I'd like to point out is that after reading any new messages in the selected sub, DDMsgReader still prompts the User if they wish to move onto the next sub.. if the user Selects Yes DDMsgReader exits... if they select No it does nothing.. Of course Quit exits at any time as expected. It's not critical but it could be confusing.

    Yeah, I can see how that could be a little confusing. I've put that in my TODO notes, and I can look into updating that behavior for a future release.

    I really like your coding.. I can follow your js code easier than most.. I've learned a lot reviewing your code.

    Thanks. It's always good to hear when my code is easy to follow (I know that's not always the case).

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From nightfox@VERT to CVS commit on Thu Dec 24 10:48:31 2015
    Subject: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt @MSGID: <567C3DFF.32586.syncprog@vert.synchro.net>
    @TZ: 41e0
    xtrn/DDMsgReader DDMsgReader.js 1.31 1.32 Read Me.txt 1.19 1.20 Revision history.txt 1.7 1.8
    Update of /cvsroot/sbbs/xtrn/DDMsgReader
    In directory cvs:/tmp/cvs-serv13216

    Modified Files:
    DDMsgReader.js Read Me.txt Revision history.txt
    Log Message:
    Removed the "beta" tag - now it's officially version 1.07. Also updated the documentation and revision history notes.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From nightfox@VERT to CVS commit on Fri Jan 15 19:02:15 2016
    xtrn/DDMsgReader DDMsgReader.js 1.33 1.34 Read Me.txt 1.20 1.21 Revision history.txt 1.8 1.9
    Update of /cvsroot/sbbs/xtrn/DDMsgReader
    In directory cvs:/tmp/cvs-serv25758

    Modified Files:
    DDMsgReader.js Read Me.txt Revision history.txt
    Log Message:
    Version 1.09: Updated to not center the message header lines horizontally. Now, it will display the header lines starting on column 1. This was done to fix a display issue in some terminal software.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From nightfox@VERT to CVS commit on Fri Mar 25 19:58:37 2016
    xtrn/DDMsgReader DDMsgReader.js 1.46 1.47 Read Me.txt 1.25 1.26 Revision history.txt 1.13 1.14
    Update of /cvsroot/sbbs/xtrn/DDMsgReader
    In directory cvs:/tmp/cvs-serv11182

    Modified Files:
    DDMsgReader.js Read Me.txt Revision history.txt
    Log Message:
    Official release of version 1.11 of Digital Distortion Message Reader - Contains the update which will update the number of new posts read by the user during the session (bbs.posts_read) and the internal refactor making the .js file a little smaller.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From nightfox@VERT to CVS commit on Wed May 11 19:47:37 2016
    xtrn/DDMsgReader DDMsgReader.js 1.47 1.48 Read Me.txt 1.26 1.27 Revision history.txt 1.14 1.15
    Update of /cvsroot/sbbs/xtrn/DDMsgReader
    In directory cvs:/tmp/cvs-serv24134

    Modified Files:
    DDMsgReader.js Read Me.txt Revision history.txt
    Log Message:
    Version 1.12: Updated the way the pause prompt is shown in the help screen, in case the sysop has configured an external module (Baja/JS) to run for a pause prompt. Also made a potential bug fix: When translating a message number to a message index, added a check to ensure the value is a number, to (hopefully) avoid a potential crash.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From nightfox@VERT to CVS commit on Tue Aug 16 20:46:19 2016
    xtrn/DDMsgReader DDMsgReader.js 1.49 1.50 Read Me.txt 1.27 1.28 Revision history.txt 1.15 1.16
    Update of /cvsroot/sbbs/xtrn/DDMsgReader
    In directory cvs:/tmp/cvs-serv31340

    Modified Files:
    DDMsgReader.js Read Me.txt Revision history.txt
    Log Message:
    Version 1.13: A couple of bug fixes. Now should no longer generate a message number error when a new user starts reading messages. Also, it should now always successfully save a message header with the READ attribute when the user it was addressed to has read the message. This should fix an issue where the same message would keep coming up in a newscan, etc.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From nightfox@VERT to CVS commit on Wed Aug 17 08:03:47 2016
    xtrn/DDMsgReader DDMsgReader.js 1.50 1.51 Read Me.txt 1.28 1.29 Revision history.txt 1.16 1.17
    Update of /cvsroot/sbbs/xtrn/DDMsgReader
    In directory cvs:/tmp/cvs-serv25643

    Modified Files:
    DDMsgReader.js Read Me.txt Revision history.txt
    Log Message:
    Version 1.14 - Bug fix - Version 1.13 was failing to reply to private emails

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From nightfox@VERT to CVS commit on Mon Aug 29 19:18:44 2016
    xtrn/DDMsgReader DDMsgReader.js 1.52 1.53 Read Me.txt 1.29 1.30 Revision history.txt 1.17 1.18
    Update of /cvsroot/sbbs/xtrn/DDMsgReader
    In directory cvs:/tmp/cvs-serv22931

    Modified Files:
    DDMsgReader.js Read Me.txt Revision history.txt
    Log Message:
    Officially releasing version 1.15. Contains the bug fix for private reply for a message on a networked sub-board, and also includes the new user-edit feature (using the U key, for sysops only), which lets the sysop edit the user account of the author of the message (only if the user account exists on the BBS).

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From nightfox@VERT to CVS commit on Sun Sep 11 16:55:06 2016
    xtrn/DDMsgReader DDMsgReader.js 1.53 1.54 Read Me.txt 1.30 1.31 Revision history.txt 1.18 1.19
    Update of /cvsroot/sbbs/xtrn/DDMsgReader
    In directory cvs:/tmp/cvs-serv30781

    Modified Files:
    DDMsgReader.js Read Me.txt Revision history.txt
    Log Message:
    Version 1.16: Added a new feature that allows users to forward a message to an email address or to another user on the BBS (using the O key). This can be useful, for instance, if the user wants to send a message in a public sub-board to their personal email for future reference or send a message from a public sub-board to another user to discuss the topic privately.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From KenDB3@VERT to nightfox on Sun Sep 11 23:36:29 2016
    xtrn/DDMsgReader DDMsgReader.js 1.53 1.54 Read Me.txt 1.30 1.31 Revision history.txt 1.18 1.19
    Update of /cvsroot/sbbs/xtrn/DDMsgReader
    In directory cvs:/tmp/cvs-serv30781

    Modified Files:
    DDMsgReader.js Read Me.txt Revision history.txt
    Log Message:
    Version 1.16: Added a new feature that allows users to forward a message to an email address or to another user on the BBS (using the O key). This can be useful, for instance, if the user wants to send a message in a public sub-board to their personal email for future reference or send a message from a public sub-board to another user to discuss the topic privately.

    Awesome idea! Thanks Nightfox!

    ~KenDB3

    ---
    þ Synchronet þ KD3net-Rhode Island's only BBS about nothing. http://bbs.kd3.us
  • From Nightfox@VERT to KenDB3 on Mon Sep 12 19:47:16 2016
    Re: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt
    By: KenDB3 to nightfox on Sun Sep 11 2016 23:36:29

    Version 1.16: Added a new feature that allows users to forward a
    message to an email address or to another user on the BBS (using the O
    key). This can be useful, for instance, if the user wants to send a
    message in a public sub-board to their personal email for future
    reference or send a message from a public sub-board to another user to
    discuss the topic privately.

    Awesome idea! Thanks Nightfox!

    You're welcome. I wasn't sure how many people (besides myself) might find that feature useful.

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From KenDB3@VERT to Nightfox on Wed Sep 14 08:05:07 2016
    Re: Re: xtrn/DDMsgReader/DDMsgReader.js Read Me.txt Revision history.txt
    By: Nightfox to KenDB3 on Mon Sep 12 2016 07:47 pm

    Version 1.16: Added a new feature that allows users to forward a
    message to an email address or to another user on the BBS (using the
    O key). This can be useful, for instance, if the user wants to send
    a message in a public sub-board to their personal email for future
    reference or send a message from a public sub-board to another user
    to discuss the topic privately.

    Awesome idea! Thanks Nightfox!

    You're welcome. I wasn't sure how many people (besides myself) might find that feature useful.

    I just upgraded so I could test it out. It works like a charm. There are times I find a very useful post and I pull it up in the Web interface so I can save the whole HTML page. This is a much better solution, especially if I were to save multiple messages from a particular thread.

    ~KenDB3

    ---
    þ Synchronet þ KD3net-Rhode Island's only BBS about nothing. http://bbs.kd3.us
  • From Nightfox@VERT to KenDB3 on Thu Sep 15 11:32:52 2016
    Version 1.16: Added a new feature that allows users to forward a
    message to an email address or to another user on the BBS (using the
    O key). This can be useful, for instance, if the user wants to send
    a message in a public sub-board to their personal email for future
    reference or send a message from a public sub-board to another user
    to discuss the topic privately.

    Awesome idea! Thanks Nightfox!

    You're welcome. I wasn't sure how many people (besides myself) might
    find that feature useful.

    I just upgraded so I could test it out. It works like a charm. There are times I find a very useful post and I pull it up in the Web interface so I can save the whole HTML page. This is a much better solution, especially if I were to save multiple messages from a particular thread.

    If you're reading messages from your BBS, then you (as the sysop) can also save a message directly to your BBS machine, if you'd prefer, using the Ctrl-S key combo. It will prompt you for the full path & filename where you want to save the message, and it will be saved in plain text. That only works for sysops; other users won't be able to do that.

    Nighfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From KenDB3@VERT to Nightfox on Thu Sep 15 15:42:09 2016
    Version 1.16: Added a new feature that allows users to forward a
    message to an email address or to another user on the BBS (using the
    O key). This can be useful, for instance, if the user wants to send
    a message in a public sub-board to their personal email for future
    reference or send a message from a public sub-board to another user
    to discuss the topic privately.

    Awesome idea! Thanks Nightfox!

    You're welcome. I wasn't sure how many people (besides myself) might
    find that feature useful.

    I just upgraded so I could test it out. It works like a charm. There are times I find a very useful post and I pull it up in the Web interface so I can save the whole HTML page. This is a much better solution, especially if I were to save multiple messages from a particular thread.

    If you're reading messages from your BBS, then you (as the sysop) can also save a message directly to your BBS machine, if you'd prefer, using the Ctrl-S key combo. It will prompt you for the full path & filename where you want to save the message, and it will be saved in plain text. That only works for sysops; other users won't be able to do that.


    Nice! That is highly useful as well! Thanks again Nightfox.

    ~KenDB3

    ---
    þ Synchronet þ KD3net-Rhode Island's only BBS about nothing. http://bbs.kd3.us