• exec/sbbslist.js

    From echicken@VERT to CVS commit on Wed Dec 9 01:20:57 2015
    exec sbbslist.js 1.6 1.7
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv25005

    Modified Files:
    sbbslist.js
    Log Message:
    standard_service_port is not a function.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net
  • From echicken@VERT to CVS commit on Wed Dec 9 01:27:09 2015
    exec sbbslist.js 1.7 1.8
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv25239

    Modified Files:
    sbbslist.js
    Log Message:
    If a sysop hasn't been found yet, we can't set their email address.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net
  • From echicken@VERT to CVS commit on Wed Dec 9 01:49:26 2015
    exec sbbslist.js 1.8 1.9
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv26017

    Modified Files:
    sbbslist.js
    Log Message:
    Initialize an empty list[] for systems that weren't using the old sbl.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Sat Jun 3 18:38:29 2017
    exec sbbslist.js 1.9 1.10
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv4588

    Modified Files:
    sbbslist.js
    Log Message:
    Fixed "options is null" error when there's no [sbbslist] section in modopts.ini and other improvements (filtering and stuff).


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ telnet://vert.synchro.net
  • From rswindell@VERT to CVS commit on Thu Dec 7 15:32:44 2017
    exec sbbslist.js 1.10 1.11
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv16566

    Modified Files:
    sbbslist.js
    Log Message:
    First update in a while:
    * Implemeneted Add and Remove commands
    * Begun implementation of Edit command
    * Smplified json model a bit:
    - bbs.xtrns -> bbs.doors
    - bbs.software.bbs -> bbs.software
    - bbs.terminal.support[.type] -> bbs.terminal.types[]
    - dates are always stored as strings (rather than just sometimes)



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to CVS commit on Fri Dec 8 02:22:13 2017
    exec sbbslist.js 1.11 1.12
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv22158

    Modified Files:
    sbbslist.js
    Log Message:
    enctry


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri Dec 8 05:07:15 2017
    exec sbbslist.js 1.12 1.13
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv7318

    Modified Files:
    sbbslist.js
    Log Message:
    Latest and greatest. Protect the list file (JSON database) from accidental stupidity that results in all the entries being removed and protect against simultaneous edits and such.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri Dec 8 05:19:58 2017
    exec sbbslist.js 1.13 1.14
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv8823

    Modified Files:
    sbbslist.js
    Log Message:
    This time without the merge conflict mark-up. <ahem>



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Dec 9 03:39:58 2017
    exec sbbslist.js 1.14 1.15
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv27209

    Modified Files:
    sbbslist.js
    Log Message:
    The latest and greatest with lots of little fixes and such. Going live
    soon.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Dec 9 09:02:26 2017
    exec sbbslist.js 1.15 1.16
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv1476

    Modified Files:
    sbbslist.js
    Log Message:
    Fixed some errors and added some capabilities.
    Don't export the 'entry' property of the BBS object to msg base(s).



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Accession@VERT/PHARCYDE to rswindell on Sun Dec 10 13:35:04 2017
    Hello rswindell,

    On Sat Dec 09 2017 04:02:26, rswindell wrote to CVS commit:

    exec sbbslist.js 1.15 1.16
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv1476

    Modified Files:
    sbbslist.js
    Log Message:
    Fixed some errors and added some capabilities.
    Don't export the 'entry' property of the BBS object to msg base(s).

    Once this goes live I'll be switching over to it, of course. But just wondering, so far I'm seeing a ton of json garbage in the Synchronet Data sub-board under the BBS listing. Is that permanent?

    Regards,
    Nick

    ... "Не знаю. Я здесь только работаю."
    --- GoldED+/LNX 1.1.5-b20170303
    * Origin: thePharcyde_ distribution system (Wisconsin) (723:1/1)
    ■ Synchronet ■ thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin)
  • From echicken to Accession on Sun Dec 10 16:54:27 2017
    Re: exec/sbbslist.js
    By: Accession to rswindell on Sun Dec 10 2017 08:35:04

    wondering, so far I'm seeing a ton of json garbage in the Synchronet Data sub-board under the BBS listing. Is that permanent?

    I believe the new sbbslist passes messages via that sub in JSON format, which is a reasonable way to do things. Are you actually scanning/reading that sub? The older-format messages probably looked more human-readable, but I don't think that sub is intended for human consumption.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
  • From Wilfred van Velzen@VERT to All on Sun Dec 10 23:06:55 2017
    Hi All,

    On 2017-12-10 11:54:27, echicken wrote to Accession:

    wondering, so far I'm seeing a ton of json garbage in the Synchronet
    Data sub-board under the BBS listing. Is that permanent?

    I believe the new sbbslist passes messages via that sub in JSON format, which is a reasonable way to do things. Are you actually scanning/reading that sub? The older-format messages probably looked more human-readable, but I don't think that sub is intended for human consumption.

    What I'm surprised about is that you all want your email addresses out in public. You must get a ton of daily spam on them!?

    Bye, Wilfred.

    --- FMail-lnx64 2.1.0.18-B20170815
    * Origin: FMail development HQ (2:280/464)
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From KK4QBN@VERT/KK4QBN to rswindell on Sun Dec 10 16:49:36 2017
    Re: exec/sbbslist.js
    By: rswindell to CVS commit on Fri Dec 08 2017 22:39:58

    sbbslist.js
    Log Message:
    The latest and greatest with lots of little fixes and such. Going live

    Hooray! Can't wait!

    --

    Tim Smith (KK4QBN)
    KK4QBN BBS

    ---
    * Synchronet * KK4QBN BBS - kk4qbn.com - kk4qbn.synchro.net - Chatsworth GA USA
  • From echicken to Wilfred van Velzen on Sun Dec 10 18:19:29 2017
    Re: Re: exec/sbbslist.js
    By: Wilfred van Velzen to All on Sun Dec 10 2017 18:06:55

    What I'm surprised about is that you all want your email addresses out in public. You must get a ton of daily spam on them!?

    I don't think most people want that. I'm also not seeing a lot of spam, though I take steps to block it.

    If these addresses are shared via the 'data' sub it shouldn't be much of a problem. That sub wouldn't normally be exposed to the web unless someone goes out of their way to make it happen. The web is where this information is most likely to be harvested.

    Email addresses may be exposed via the list's 'screen capture' of a BBS' login screen (on its terminal server) if the sysop happened to include their email address there. This is something that probably needs to be obfuscated (modify the screen capture, or present it as a static image rather than text).

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
  • From Digital Man@VERT to Accession on Sun Dec 10 16:26:36 2017
    Re: exec/sbbslist.js
    By: Accession to rswindell on Sun Dec 10 2017 08:35 am

    Hello rswindell,

    On Sat Dec 09 2017 04:02:26, rswindell wrote to CVS commit:

    exec sbbslist.js 1.15 1.16
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv1476

    Modified Files:
    sbbslist.js
    Log Message:
    Fixed some errors and added some capabilities.
    Don't export the 'entry' property of the BBS object to msg base(s).

    Once this goes live I'll be switching over to it, of course. But just wondering, so far I'm seeing a ton of json garbage in the Synchronet Data sub-board under the BBS listing. Is that permanent?

    It's not garbage, it's base64-encoded graphics. It's no permanent than any other messages in there. I might tone down the frequency however.

    digital man

    Synchronet/BBS Terminology Definition #29:
    IMAP = Internet Message Access Protocol
    Norco, CA WX: 76.2°F, 9.0% humidity, 4 mph ESE wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Wilfred van Velzen@VERT to echicken on Mon Dec 11 01:45:40 2017
    Hi echicken,

    On 2017-12-10 13:19:29, you wrote to me:

    What I'm surprised about is that you all want your email addresses
    out in public. You must get a ton of daily spam on them!?

    I don't think most people want that. I'm also not seeing a lot of spam, though I take steps to block it.

    If these addresses are shared via the 'data' sub it shouldn't be much of a problem. That sub wouldn't normally be exposed to the web unless someone goes out of their way to make it happen. The web is where this
    information
    is most likely to be harvested.

    It's published in at least 1 place:

    https://fidonet.ozzmosis.com/echomail.php/syncdata

    He's obfuscating email addresses though...


    Bye, Wilfred.

    --- FMail-lnx64 2.1.0.18-B20170815
    * Origin: FMail development HQ (2:280/464)
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Mon Dec 11 02:22:32 2017
    exec sbbslist.js 1.16 1.17
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv3709

    Modified Files:
    sbbslist.js
    Log Message:
    Completed the BBS entry editing. Still needs beautification, but everything should be editable now.
    Now tracks number verifications and updates per entry.
    Rremoved UDP-finger auto-verification (deprecated).
    Display all system operators (if > 1) in the list view.
    Disable Ctrl-U key handler in sbbs (used for page-up).
    Support Insert and Delete for add and remove BBS entry.
    PageUp/PageDn key support.
    Fix the printf() usage that could be causing the crash in v3.16.
    Added (optional) Live preview support (set live_preview=true in modopts.ini) New command-line options: -addr, preview, -reverse
    Changed the instant-message list (sbbsimsg.lst) file format exported:
    - removed protocol names (not used)
    - added BBS name (handy in sbbsimsg.js going forward)



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Mon Dec 11 04:30:07 2017
    exec sbbslist.js 1.17 1.18
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv28417

    Modified Files:
    sbbslist.js
    Log Message:
    Only display the <sub>.ini file open errors when run with -debug
    Fixed problem allowing insert of array elements even when array has reach
    the maximum length.
    Require the first property of added objects to have a non-blank value.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Dec 12 05:36:51 2017
    exec sbbslist.js 1.18 1.19
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv32147

    Modified Files:
    sbbslist.js
    Log Message:
    Fix error: bbs.terminal.types is undefined


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Dec 17 22:19:57 2017
    exec sbbslist.js 1.19 1.20
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv30367

    Modified Files:
    sbbslist.js
    Log Message:
    Fix date_from_str(), used when importing old SBL-style message BBS entries,
    if the BBS was configured for European date style, the month and day would
    be swapped upon import. This field was *always* in MM/DD/YY format with
    SBL2SMB and SMB2SBL.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri Dec 29 17:36:40 2017
    exec sbbslist.js 1.20 1.21
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv12659

    Modified Files:
    sbbslist.js
    Log Message:
    Changed how new/updated/validated entries are exported:
    Rather than a single "last_export" date/time stored in the <syncdata>.ini
    file, each entry in the database has its own "exported.on" date. This allows the 'sbbslist.js export' event to run frequently, but not export *all* updated/ validated entries every time. The default export frequency is every 7 days (weekly), but this can be adjusted via modopts.ini [sbbslist] -> export_freq. This should help reduce the chatter in the SYNCDATA conference/echo
    but still allow newly-created entries to be exported quickly.

    On the down-side, you cant' effectively export to multiple message bases.
    But I don't think anyone is doing that, so it's probably a non-issue.

    Also:
    - Beautified the format and sort field selections a bit
    - Disable Ctrl-P processing in the BBS (now used for PgUp) rather than Ctrl-U


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Dec 30 00:16:59 2017
    exec sbbslist.js 1.21 1.22
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv26612

    Modified Files:
    sbbslist.js
    Log Message:
    Use the new sbbslist_lib methods for encoding/decoding (decompressing)
    and displaying/showing login previews. This saves over 50% of the storage
    for login previews and will reduce the redundant chatter on the message
    bases where these previews may be exported.
    Previous versions of sbbslist.js will not be able to decode LZ-compressed previews, but should do so gracefully (no error, just no preview).
    Fixed the "update -preview" option (wasn't capturing previews).
    This file is now dependent on load/lz-string.js and hexdump_lib.js.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Dec 31 14:59:44 2017
    exec sbbslist.js 1.22 1.23
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv10338

    Modified Files:
    sbbslist.js
    Log Message:
    Fixed typo that caused error:
    sbbslist.js line 62: TypeError: str is null
    when importing SBL entries from message base.
    Thanks for the report, Accession!



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Mon Jan 1 19:51:36 2018
    exec sbbslist.js 1.23 1.24
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv7128

    Modified Files:
    sbbslist.js
    Log Message:
    When viewing captured previews, the up/down/left/right/pgup/pgdn keys now scroll through captured previews. Very handy for quickly previewing all
    the BBSes that can be previewed in this way.
    Removed experimental/test functions: clean, compress, and decode.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Jan 2 05:09:15 2018
    exec sbbslist.js 1.24 1.25
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv19521

    Modified Files:
    sbbslist.js
    Log Message:
    Eliminate some <protocol>:0's and unnecessary Port: 23 in export/display
    text.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri Jan 5 21:51:46 2018
    exec sbbslist.js 1.25 1.26
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv19827

    Modified Files:
    sbbslist.js
    Log Message:
    Attempt to fix TypeError: str.split is not a function


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Jan 9 03:33:04 2018
    exec sbbslist.js 1.26 1.27
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv16623

    Modified Files:
    sbbslist.js
    Log Message:
    Double-check the "to" field of messages to import, actually is "SBL".


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Jan 13 01:56:31 2018
    exec sbbslist.js 1.27 1.28
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv23104

    Modified Files:
    sbbslist.js
    Log Message:
    Export message To: SBL (uppercase), like SBL2SMB did.
    Implement a do-nothing handler for the "maint" command (TODO).



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Jan 17 02:56:05 2018
    exec sbbslist.js 1.28 1.29
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv23028

    Modified Files:
    sbbslist.js
    Log Message:
    Find the syncdata sub-board internal code automatically
    - No need to pass on command or put in modopts.ini (though you still can) Created a new "install" command to make the necessary changes to xtrn.cnf:
    - Remove old "SBL" door program config
    - Adds new SBBSLIST "door" interface (to the first xtrn program section)
    - Add SBLUPDAT timed event (automatically update your BBS entry)
    - Replaces SMB2SBL, SBL2SMB, and SBLMAINT timed events with calls to
    sbbslist.js


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Jan 18 03:59:55 2018
    exec sbbslist.js 1.29 1.30
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv8169

    Modified Files:
    sbbslist.js
    Log Message:
    Added "-preview" to the "sbbslist update" timed event (SBLUPDAT) created
    during "install", so the local BBS's login screen capture will be included
    in their shared entry.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Jan 20 01:18:33 2018
    exec sbbslist.js 1.30 1.31
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv7708

    Modified Files:
    sbbslist.js
    Log Message:
    Optimized the "import" function, takes a small fraction of the time now.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Jan 21 01:07:59 2018
    exec sbbslist.js 1.32 1.33
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv19809

    Modified Files:
    sbbslist.js
    Log Message:
    * Added avatar support: tries really hard to display an avatar associated
    with a BBS entry (only for ANSI users), prioritizing the sysops listed
    in the entry, then the creator (for network-imported entires). For
    locally created entries, it prioritizes the creator's avatar.
    * Fixes for non-ANSI terminal users:
    - The List and More prompts were too long (shortened for non-ANSI)
    - There was no selected item indicator, added an arrow (<) selector
    * Fixed error (bbs undefined) when removing the only BBS from a search
    result.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Jan 21 03:26:53 2018
    exec sbbslist.js 1.33 1.34
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv1552

    Modified Files:
    sbbslist.js
    Log Message:
    Fix bug in previous commit which caused an error (console not defined)
    when run via jsexec.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Jan 30 21:52:17 2018
    exec sbbslist.js 1.34 1.35
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv20088

    Modified Files:
    sbbslist.js
    Log Message:
    Handle the fresh-install (no sbbslist.json) situation more gracefully.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Fri Feb 9 16:13:02 2018
    exec sbbslist.js 1.35 1.36
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv5923

    Modified Files:
    sbbslist.js
    Log Message:
    Fix import bug introduced in rev 1.31: using total_msgs (to calculate
    where to set the initial import_ptr) before total_msgs was defined.
    JavaScript is too forgiving! :-)
    Thanks to Kirkman for the bug report.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Mar 20 22:36:54 2018
    exec sbbslist.js 1.37 1.38
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv800

    Modified Files:
    sbbslist.js
    Log Message:
    Allow up to 20 networks per entry, but only export 10 (the old SBL limit)
    in the legacy section of msgbase-exported entries.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Mar 20 23:28:51 2018
    exec sbbslist.js 1.38 1.39
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv7368

    Modified Files:
    sbbslist.js
    Log Message:
    Cosmetic improvements to "browse" mode, mainly around editing a BBS entry.
    Also clear the screen and display "Returning to <bbs name>" when exiting.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Oct 4 03:31:55 2018
    exec sbbslist.js 1.39 1.40
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv24685

    Modified Files:
    sbbslist.js
    Log Message:
    Improvements to the verify_services() method (used only on Vertrauen, likely) and the "imsglist" command (ditto) - better dupe detection.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Mon Oct 22 03:23:17 2018
    exec sbbslist.js 1.40 1.41
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv11349

    Modified Files:
    sbbslist.js
    Log Message:
    When displaying additional terminal services, include the description if the protocol is repeated (e.g. Telnet).
    When adding/inserting in arrays of items, break the loop if they enter an
    empty string. Cancel the add item if the first field is blank.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Jan 1 10:32:24 2019
    exec sbbslist.js 1.41 1.42
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv27731

    Modified Files:
    sbbslist.js
    Log Message:
    If you "sbbslist update" but the BBS isn't listed, don't return an error
    (-1), since new installs won't yet be listed in their own database (yet).



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Jan 1 11:59:29 2019
    exec sbbslist.js 1.42 1.43
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv14074

    Modified Files:
    sbbslist.js
    Log Message:
    Don't crash when the 'E'dit and 'R'emove commands are used with an empty
    list.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Jan 12 23:45:57 2019
    exec sbbslist.js 1.43 1.44
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv9297

    Modified Files:
    sbbslist.js
    Log Message:
    Moved list of common_bbs_services from exec/sbbslist.js to load/sbbslist_lib.js Removed TCP/IP services not supported by BBS clients (e.g. SyncTERM) from the list (e.g. ftp, nntp, smtp, binkp, irc) and added "modem".



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Jan 23 23:13:31 2019
    exec sbbslist.js 1.44 1.45
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv32173

    Modified Files:
    sbbslist.js
    Log Message:
    Don't import deleted sbl.dab entries (the first character of the BBS's
    name is a 0).



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Jan 24 22:07:59 2019
    exec sbbslist.js 1.45 1.46
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv3527

    Modified Files:
    sbbslist.js
    Log Message:
    Added support for exporting and importing "SBL-Remove" messages to remotely remove a BBS entry (e.g. your own) from remote databases. You can remove
    any entry (as before) with "jsexec sbbslist remove=<name>", add the '-remote' option and it'll post an SBL-Remove message to the SYNCDATA sub.
    The new "delete" option is the same, but automatically uses your local BBS
    name as the name of the entry to be deleted/removed (you still need the -remote option to create an SBL-Remove message).
    A confirmation prompt was added.
    The "Name:" portion fo the SBL-Remove message body is not actually needed /parsed right now but makes a good sanity check for message subject (BBS name) truncation or manipulation, should that be a problem.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Jan 26 06:40:00 2019
    exec sbbslist.js 1.46 1.47
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv2809

    Modified Files:
    sbbslist.js
    Log Message:
    Fix issues with create/editing numeric fields (E.g. service "port") and them being saved as a String value - use the new lib.max_val object to determine numeric fields and limit their values to between 0 and lib.max_val[field].
    Also fixed a few parseInt()/octal bugs with date conversions (srsly -still?).



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Jan 26 08:44:37 2019
    exec sbbslist.js 1.47 1.48
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv23156

    Modified Files:
    sbbslist.js
    Log Message:
    Put more work into insuring that numeric values are created/edited as numbers (not strings).



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sat Jan 26 22:28:08 2019
    exec sbbslist.js 1.48 1.49
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv6398

    Modified Files:
    sbbslist.js
    Log Message:
    When adding a new BBS entry, indicate which fields are required first.
    Don't allow a blank terminal server address when creating a new entry.
    Detect an invalid "first_online" date and reject.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Jan 29 06:15:38 2019
    exec sbbslist.js 1.49 1.50
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv13830

    Modified Files:
    sbbslist.js
    Log Message:
    Implement the "maint" command handler:
    - uses the sbbslist_lib.remove_inactive() method
    - uses the (new) max_inactivity (days) value from modopts.ini [sbbslist]
    (default: 180 days)
    - supports the -v (verbose) option to display details about entries being
    removed due to inactivity (if desired)


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Tue Jan 29 07:14:45 2019
    exec sbbslist.js 1.50 1.51
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv21508

    Modified Files:
    sbbslist.js
    Log Message:
    Added the -f=<filename.json> and -test options.
    Added the 'active' command (show last active date for all entries)
    The 'dedupe' command now supports the -v (verbose) option.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Mar 20 19:18:09 2019
    exec sbbslist.js 1.51 1.52
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv300

    Modified Files:
    sbbslist.js
    Log Message:
    Lock the database during the "backup" operation.
    If the list is not sorted and the (capital) 'S' key is used (in browse mode), sort by the last column instead of the first.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Mar 20 19:41:17 2019
    exec sbbslist.js 1.52 1.53
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv2963

    Modified Files:
    sbbslist.js
    Log Message:
    Added support for "lock" and "unlock" commands which will just lock (or unlock) the list database (sbbslist.json) for external processing/modification. When run via jsexec (as intended), jsexec will return 0 if the lock/unlock operation was successful, -1 otherwise. It would be wise to check the errorlevel/return value of jsexec for successful lock before operating on the list file.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Wed Jul 24 19:15:45 2019
    exec sbbslist.js 1.53 1.54
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv27721

    Modified Files:
    sbbslist.js
    Log Message:
    Use cached avatar_lib.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Thu Nov 14 20:37:04 2019
    exec sbbslist.js 1.54 1.55
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv3190

    Modified Files:
    sbbslist.js
    Log Message:
    More efficient screen updates (i.e., when using the up & down arrows, only move the lightbar on the 2 affected rows, don't redraw the whole list unless going to the next/previous page)


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to nightfox on Sat Nov 16 20:15:40 2019
    Re: exec/sbbslist.js
    By: nightfox to CVS commit on Thu Nov 14 2019 03:37 pm

    exec sbbslist.js 1.54 1.55
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv3190

    Modified Files:
    sbbslist.js
    Log Message:
    More efficient screen updates (i.e., when using the up & down arrows, only move the lightbar on the 2 affected rows, don't redraw the whole list unless going to the next/previous page)

    Cool that you took the time to do this. I do have some comments however:

    1. Introduces a cosmetic bug, as you can see here, the last character of the inversed/selection line remains after moving the selection down one:
    https://1drv.ms/u/s!ApZPvWcrEaRQvMcp2zTjElCRGYN_Zw?e=htqMfv

    2. This commit includes an arbitray style change, e.g.:
    /* Column headings */
    to:
    // Column headings
    If you want to make style changes unrelated to your change, do that in a separate commit.

    3. With just a few minor tweaks, this optimization works for PETSCII terminals too (you can easily use SyncTERM in PETSCII, e.g. C128 mode, to test PETSCII).

    4. Could we minimize the number of "redraw_whole_list = true" statements by defaulting this value to true rather than false? It seems there's a whole lot of them.

    5. You added 2 new function definitions *after* main(), inconsistent with the style used in this source file prior to your touching it. Maybe you just didn't notice, but all other function definitions in this file occurred *prior* to the main() definition.

    6. If there are any other bugs with this enhancement, it would be nice to allow a sysop to "opt-out" (e.g. via a modopts.ini setting) rather than having to go back to a previous revision if there's an issue. I have no idea how well the script was tested with your changes.

    digital man

    Synchronet/BBS Terminology Definition #1:
    ANSI = American National Standards Institute
    Norco, CA WX: 82.8°F, 32.0% humidity, 0 mph NE wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to nightfox on Sat Nov 16 20:20:32 2019
    Re: exec/sbbslist.js
    By: Digital Man to nightfox on Sat Nov 16 2019 03:15 pm

    6. If there are any other bugs with this enhancement, it would be nice to allow a sysop to "opt-out" (e.g. via a modopts.ini setting) rather than having to go back to a previous revision if there's an issue. I have no idea how well the script was tested with your changes.

    Here's another cosmetic bug newly introduced with your changes: https://1drv.ms/u/s!ApZPvWcrEaRQvMcqKm0mDhi3M2qlqg?e=TtWm9L

    This happens when the user presses the END key to go to the list.

    digital man

    Synchronet "Real Fact" #15:
    SBBSecho was introduced (replacing SBBSFIDO) for Synchronet v2 in 1994.
    Norco, CA WX: 82.8°F, 32.0% humidity, 0 mph NE wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Sat Nov 16 22:40:11 2019
    Re: exec/sbbslist.js
    By: Digital Man to nightfox on Sat Nov 16 2019 03:15 pm

    Cool that you took the time to do this. I do have some comments however:

    1. Introduces a cosmetic bug, as you can see here, the last character of the inversed/selection line remains after moving the selection down one: https://1drv.ms/u/s!ApZPvWcrEaRQvMcp2zTjElCRGYN_Zw?e=htqMfv

    Yep, will have to look into that.

    2. This commit includes an arbitray style change, e.g.:
    /* Column headings */
    to:
    // Column headings
    If you want to make style changes unrelated to your change, do that in a separate commit.

    Ah, will make note of that.

    3. With just a few minor tweaks, this optimization works for PETSCII terminals too (you can easily use SyncTERM in PETSCII, e.g. C128 mode, to test PETSCII).

    I'll have to try that out.

    4. Could we minimize the number of "redraw_whole_list = true" statements by defaulting this value to true rather than false? It seems there's a whole lot of them.

    Yeah, I'll try to reduce those.

    5. You added 2 new function definitions *after* main(), inconsistent with the style used in this source file prior to your touching it. Maybe you just didn't notice, but all other function definitions in this file occurred *prior* to the main() definition.

    I'll change that. I didn't really notice and didn't think that would really be an issue.

    6. If there are any other bugs with this enhancement, it would be nice to allow a sysop to "opt-out" (e.g. via a modopts.ini setting) rather than having to go back to a previous revision if there's an issue. I have no idea how well the script was tested with your changes.

    Seems like for a modopts.ini setting for this, the mod would then have to have 2 versions of the code in it to support toggling it on/off..

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From Nightfox@VERT/DIGDIST to Digital Man on Sat Nov 16 22:40:46 2019
    Re: exec/sbbslist.js
    By: Digital Man to nightfox on Sat Nov 16 2019 03:20 pm

    6. If there are any other bugs with this enhancement, it would be nice
    to allow a sysop to "opt-out" (e.g. via a modopts.ini setting) rather
    than having to go back to a previous revision if there's an issue. I
    have no idea how well the script was tested with your changes.

    Here's another cosmetic bug newly introduced with your changes: https://1drv.ms/u/s!ApZPvWcrEaRQvMcqKm0mDhi3M2qlqg?e=TtWm9L

    This happens when the user presses the END key to go to the list.

    Where's the cosmetic bug? I'm not sure I'm seeing an issue in that screenshot..

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From Nightfox@VERT/DIGDIST to Digital Man on Sat Nov 16 23:21:42 2019
    Re: exec/sbbslist.js
    By: Digital Man to nightfox on Sat Nov 16 2019 03:15 pm

    3. With just a few minor tweaks, this optimization works for PETSCII terminals too (you can easily use SyncTERM in PETSCII, e.g. C128 mode, to test PETSCII).

    I tried logging into my BBS using C128 80-column and 40-colum modes, and even the previous version (1.54) didn't look good or behave very well - For instance, when pressing the up & down arrows, I didn't notice any change on the screen, and viewing the selected BBS always viewed the first one on the screen. Should sbbslist.js already works with PETSCII?

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From nightfox@VERT to CVS commit on Sat Nov 16 23:25:01 2019
    exec sbbslist.js 1.55 1.56
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv13101

    Modified Files:
    sbbslist.js
    Log Message:
    Addressing a few issues noted in the previous commit: Functions declared after main() are now before main(). Fixes a display glitch when moving the selected BBS using the up/down arrow keys. The redraw_whole_list variable now defaults to true and is set to false when needed, minimizing the number of times it needs to be changed.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Nightfox on Sun Nov 17 02:38:05 2019
    Re: exec/sbbslist.js
    By: Nightfox to Digital Man on Sat Nov 16 2019 05:40 pm

    Re: exec/sbbslist.js
    By: Digital Man to nightfox on Sat Nov 16 2019 03:20 pm

    6. If there are any other bugs with this enhancement, it would be nice
    to allow a sysop to "opt-out" (e.g. via a modopts.ini setting) rather
    than having to go back to a previous revision if there's an issue. I
    have no idea how well the script was tested with your changes.

    Here's another cosmetic bug newly introduced with your changes: https://1drv.ms/u/s!ApZPvWcrEaRQvMcqKm0mDhi3M2qlqg?e=TtWm9L

    This happens when the user presses the END key to go to the list.

    Where's the cosmetic bug? I'm not sure I'm seeing an issue in that screenshot..

    See the blank rows after the last entry (Jay's Cafe')? Those aren't there when using rev 1.54 or earlier.

    digital man

    Synchronet/BBS Terminology Definition #70:
    SyncEdit = A defunct 3rd party full-screen editor written for Synchronet
    Norco, CA WX: 73.4°F, 24.0% humidity, 0 mph SSE wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Nightfox on Sun Nov 17 02:39:30 2019
    Re: exec/sbbslist.js
    By: Nightfox to Digital Man on Sat Nov 16 2019 06:21 pm

    Re: exec/sbbslist.js
    By: Digital Man to nightfox on Sat Nov 16 2019 03:15 pm

    3. With just a few minor tweaks, this optimization works for PETSCII terminals too (you can easily use SyncTERM in PETSCII, e.g. C128 mode, to test PETSCII).

    I tried logging into my BBS using C128 80-column and 40-colum modes, and even the previous version (1.54) didn't look good or behave very well - For instance, when pressing the up & down arrows, I didn't notice any change on the screen, and viewing the selected BBS always viewed the first one on the screen. Should sbbslist.js already works with PETSCII?

    Yeah, works great in PETSCII mode. Maybe you're using an old or weird (not the latest and not v1.0) version of SyncTERM?

    digital man

    Synchronet/BBS Terminology Definition #65:
    SMTP = Simple Message Transfer Protocol
    Norco, CA WX: 73.4°F, 24.0% humidity, 0 mph SSE wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Nightfox on Sun Nov 17 02:42:19 2019
    Re: exec/sbbslist.js
    By: Nightfox to Digital Man on Sat Nov 16 2019 05:40 pm

    5. You added 2 new function definitions *after* main(), inconsistent with the style used in this source file prior to your touching it. Maybe you just didn't notice, but all other function definitions in this file occurred *prior* to the main() definition.

    I'll change that. I didn't really notice and didn't think that would really be an issue.

    It's not so much an "issue" as it is a non-conformant practice. "Best practice" when modifiying someone's else's source code is to follow their example/style, if/when you can. That's all. Ideally, when looking at a source file, it shouldn't be obvious that some parts were written by different developers.

    digital man

    Synchronet/BBS Terminology Definition #5:
    BBS = Bulletin Board System
    Norco, CA WX: 74.1°F, 22.0% humidity, 0 mph SSW wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Sun Nov 17 20:18:37 2019
    exec sbbslist.js 1.56 1.57
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv9335

    Modified Files:
    sbbslist.js
    Log Message:
    Resolution for the issue of there sometimes being a few empty lines between the end of the BBS list and the prompt text - For example, on the last page if the BBS entries don't fill the whole screen.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Sun Nov 17 20:16:51 2019
    Re: exec/sbbslist.js
    By: Digital Man to Nightfox on Sat Nov 16 2019 09:39 pm

    Yeah, works great in PETSCII mode. Maybe you're using an old or weird (not the latest and not v1.0) version of SyncTERM?

    I was using a v1.1b build from June of this year. I tried downloading the latest build, but it looked the same.

    Using the 1.54 version of sbbslist.js, this is a screenshot of what I see using the C128 80-column mode - After I ran the SBBS list, I pressed the right arrow. One thing I noticed is that in the word "sYNCHRONET", the 's' starts at the last column in the first row:
    http://www.digitaldistortionbbs.com:81/sbbslist-petscii/sl154-p80-rarrow.png

    And this is what I see in C128 40-column mode - It looks like it's not wrapping properly, and the 2 header lines don't show up:
    http://www.digitaldistortionbbs.com:81/sbbslist-petscii/sl154-p40.png

    That's why I was wondering if sbbslist.js was currently working with PETSCII or not.

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From Digital Man@VERT to Nightfox on Sun Nov 17 21:38:37 2019
    Re: exec/sbbslist.js
    By: Nightfox to Digital Man on Sun Nov 17 2019 03:16 pm

    Re: exec/sbbslist.js
    By: Digital Man to Nightfox on Sat Nov 16 2019 09:39 pm

    Yeah, works great in PETSCII mode. Maybe you're using an old or weird (not the latest and not v1.0) version of SyncTERM?

    I was using a v1.1b build from June of this year. I tried downloading the latest build, but it looked the same.

    Using the 1.54 version of sbbslist.js, this is a screenshot of what I see using the C128 80-column mode - After I ran the SBBS list, I pressed the right arrow. One thing I noticed is that in the word "sYNCHRONET", the 's' starts at the last column in the first row: http://www.digitaldistortionbbs.com:81/sbbslist-petscii/sl154-p80-rarrow.png

    You're not in PETSCII mode. Logon to Vertrauen, port 64 (for 40-column PETSCII) or port 128 (for 80-column PETSCII) to see what you should be seeing in PETSCII mode.

    And this is what I see in C128 40-column mode - It looks like it's not wrapping properly, and the 2 header lines don't show up: http://www.digitaldistortionbbs.com:81/sbbslist-petscii/sl154-p40.png

    That's why I was wondering if sbbslist.js was currently working with PETSCII or not.

    Whatever BBS you're connected to doesn't appear to be setup to accept PETSCII users.

    digital man

    Synchronet/BBS Terminology Definition #55:
    POP3 = Post Office Protocol version 3
    Norco, CA WX: 85.0°F, 12.0% humidity, 0 mph S wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Sun Nov 17 23:28:46 2019
    Re: exec/sbbslist.js
    By: Digital Man to Nightfox on Sun Nov 17 2019 04:38 pm

    Whatever BBS you're connected to doesn't appear to be setup to accept PETSCII users.

    That's my BBS. :P What option do I need to enable to accept PETSCII users?

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From Nightfox@VERT/DIGDIST to Digital Man on Sun Nov 17 23:49:19 2019
    Re: exec/sbbslist.js
    By: Nightfox to Digital Man on Sun Nov 17 2019 06:28 pm

    That's my BBS. :P What option do I need to enable to accept PETSCII users?

    I see the option now - I see there are options in sbbs.ini for the ports for PETSCII 40-column and 80-column. I tried connecting to my BBS at those ports but I couldn't connect - I'll have to look into that.

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From Digital Man@VERT to Nightfox on Mon Nov 18 00:03:41 2019
    Re: exec/sbbslist.js
    By: Nightfox to Digital Man on Sun Nov 17 2019 06:49 pm

    Re: exec/sbbslist.js
    By: Nightfox to Digital Man on Sun Nov 17 2019 06:28 pm

    That's my BBS. :P What option do I need to enable to accept PETSCII users?

    I see the option now - I see there are options in sbbs.ini for the ports for PETSCII 40-column and 80-column. I tried connecting to my BBS at those ports but I couldn't connect - I'll have to look into that.

    I wrote up a how-to:
    http://wiki.synchro.net/howto:petscii

    Hopefully that helps.

    digital man

    Synchronet "Real Fact" #104:
    Synchronet channel: http://www.youtube.com/channel/UCsQ8iXU5yvrybyoEgo__97A Norco, CA WX: 75.1°F, 18.0% humidity, 0 mph WSW 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 Nov 20 00:46:36 2019
    Re: exec/sbbslist.js
    By: Digital Man to Nightfox on Sun Nov 17 2019 07:03 pm

    I wrote up a how-to:
    http://wiki.synchro.net/howto:petscii

    Hopefully that helps.

    Thanks. I figured it out from an example in a newer sbbs.ini, to specify additional addresses & ports to listen to on the telnet server.

    For the screen refresh update with sbbslist.js, to get rid of the UI glitch where it was leaving a blue character at the end of the lines, I added these 2 lines to the list_bbs_entry() function:

    console_color(color, selected);
    console.cleartoeol();

    That seems to work okay for an ANSI client, but for PETSCII, I still see a similar weird glitch for the first BBS entry on a page. For example, the following 4 screenshots are for PETSCII using the up & down arrows:

    http://www.digitaldistortionbbs.com:81/sbbslist-petscii/1.png http://www.digitaldistortionbbs.com:81/sbbslist-petscii/2.png http://www.digitaldistortionbbs.com:81/sbbslist-petscii/3.png http://www.digitaldistortionbbs.com:81/sbbslist-petscii/4.png

    I'm not sure what might be causing the glitch on the first entry, and only for PETSCII..

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From Digital Man@VERT to Nightfox on Wed Nov 20 02:20:11 2019
    Re: exec/sbbslist.js
    By: Nightfox to Digital Man on Tue Nov 19 2019 07:46 pm

    Re: exec/sbbslist.js
    By: Digital Man to Nightfox on Sun Nov 17 2019 07:03 pm

    I wrote up a how-to:
    http://wiki.synchro.net/howto:petscii

    Hopefully that helps.

    Thanks. I figured it out from an example in a newer sbbs.ini, to specify additional addresses & ports to listen to on the telnet server.

    For the screen refresh update with sbbslist.js, to get rid of the UI glitch where it was leaving a blue character at the end of the lines, I added these 2 lines to the list_bbs_entry() function:

    console_color(color, selected);
    console.cleartoeol();

    That seems to work okay for an ANSI client, but for PETSCII, I still see a similar weird glitch for the first BBS entry on a page. For example, the following 4 screenshots are for PETSCII using the up & down arrows:

    http://www.digitaldistortionbbs.com:81/sbbslist-petscii/1.png http://www.digitaldistortionbbs.com:81/sbbslist-petscii/2.png http://www.digitaldistortionbbs.com:81/sbbslist-petscii/3.png http://www.digitaldistortionbbs.com:81/sbbslist-petscii/4.png

    I'm not sure what might be causing the glitch on the first entry, and only for PETSCII..

    It's not obvious to me what would cause that. I see that the BBS Location field for that line seems to be displayed one-char to the right too. These problems don't appear in revisions of sbbslist.js before your changes, so it must be something new. <shrug>

    There is a difference in how ANSI cleartoeol() and non-ANSI (e.g. PETSCII) cleartoeol() works, but it certainly seems to work in all other use-cases. I use it a lot in Minesweeper as well, no problems in PETSCII mode.

    You tried different versions of SyncTERM too?

    digital man

    This Is Spinal Tap quote #3:
    How much more black could this be? and the answer is none. None more black. Norco, CA WX: 61.8°F, 81.0% humidity, 4 mph ESE wind, 0.01 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Wed Nov 20 03:05:22 2019
    Re: exec/sbbslist.js
    By: Digital Man to Nightfox on Tue Nov 19 2019 09:20 pm

    I'm not sure what might be causing the glitch on the first entry, and only
    for PETSCII..

    It's not obvious to me what would cause that. I see that the BBS Location field for that line seems to be displayed one-char to the right too. These problems don't appear in revisions of sbbslist.js before your changes, so it must be something new. <shrug>

    It seems to have issues even with the display_bbs_entry() function unchanged. I have a feeling it may have something to do with refreshing individual BBS entry lines (compared to writing a whole screenful of BBS entries), though I'm not sure.

    There is a difference in how ANSI cleartoeol() and non-ANSI (e.g. PETSCII) cleartoeol() works, but it certainly seems to work in all other use-cases. I use it a lot in Minesweeper as well, no problems in PETSCII mode.

    I've noticed some slight difference in behavior with cleartoeol()..

    You tried different versions of SyncTERM too?

    I haven't, but I might give that a try.

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From nightfox@VERT to CVS commit on Wed Nov 20 14:26:27 2019
    exec sbbslist.js 1.57 1.58
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv16161

    Modified Files:
    sbbslist.js
    Log Message:
    Improved the optimized screen drawing behavior for PETSCII. There's still a glitch in refreshing the last character on the row when moving the lightbar with the up/down arrow keys, but it's more well-behaved now for PETSCII.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Mortifis@VERT/ALLEYCAT to nightfox on Thu Nov 21 03:16:50 2019
    exec sbbslist.js 1.57 1.58
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv16161

    Modified Files:
    sbbslist.js
    Log Message:
    Improved the optimized screen drawing behavior for PETSCII. There's still a glitch in refreshing the last character on the row when moving the lightbar with the up/down arrow keys, but it's more well-behaved now for PETSCII.

    if(console.terminal.toUpperCase() === 'PETSCII') var line_screen_len = (strip_ctrl(txt).length - 1) else var line_screen_len = strip_ctrl(txt).length

    ???

    ---
    ■ Synchronet ■ AlleyCat! BBS - http://alleycat.synchro.net:81
  • From Nightfox@VERT/DIGDIST to Mortifis on Thu Nov 21 00:16:39 2019
    Re: Re: exec/sbbslist.js
    By: Mortifis to nightfox on Wed Nov 20 2019 10:16 pm

    if(console.terminal.toUpperCase() === 'PETSCII') var line_screen_len = (strip_ctrl(txt).length - 1) else var line_screen_len = strip_ctrl(txt).length

    ???

    What's your question? I don't see that code in sbbslist.js.. Are you trying to suggest a piece of code, or..?

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From Digital Man@VERT to nightfox on Sat Dec 7 22:26:03 2019
    Re: exec/sbbslist.js
    By: nightfox to CVS commit on Wed Nov 20 2019 09:26 am

    exec sbbslist.js 1.57 1.58
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv16161

    Modified Files:
    sbbslist.js
    Log Message:
    Improved the optimized screen drawing behavior for PETSCII. There's still a glitch in refreshing the last character on the row when moving the lightbar with the up/down arrow keys, but it's more well-behaved now for PETSCII.

    Looking at your changes, I have a question:

    var txt = format("%-*s%c", lib.max_len.name, bbs.name, selected ? '<' : ' ');
    console.print(txt);
    var line_screen_len = strip_ctrl(txt).length; // To help clearing to EOL for PETSCII

    What control characters or sequences in 'txt' would you expect to be stripping at this point? There shouldn't be any in bbs.name and '<' and ' ' aren't control characters, so I'm confused by this logic. It looks like maybe you copy/pasted this design pattern into a few places and some where it's not applicable.

    Also, the correct way to measure the number of columns that would be represented by a printed string (accounting for control characters/sequences) is via console.strlen().

    digital man

    Synchronet "Real Fact" #24:
    1584 Synchronet BBS Software registrations were sold between 1992 and 1996. Norco, CA WX: 59.0°F, 92.0% humidity, 3 mph SE wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Sun Dec 8 04:05:05 2019
    exec sbbslist.js 1.58 1.59
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv8067

    Modified Files:
    sbbslist.js
    Log Message:
    Replaced strip_ctrl(txt).length to console.strlen(txt) in a few places


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Sun Dec 8 04:07:47 2019
    Re: exec/sbbslist.js
    By: Digital Man to nightfox on Sat Dec 07 2019 05:26 pm

    Looking at your changes, I have a question:

    var txt = format("%-*s%c", lib.max_len.name, bbs.name, selected ? '<' : ' '); console.print(txt);
    var line_screen_len = strip_ctrl(txt).length; // To help clearing to EOL for PETSCII

    What control characters or sequences in 'txt' would you expect to be stripping at this point? There shouldn't be any in bbs.name and '<' and ' ' aren't control characters, so I'm confused by this logic. It looks like maybe you copy/pasted this design pattern into a few places and some where it's not applicable.

    Also, the correct way to measure the number of columns that would be represented by a printed string (accounting for control characters/sequences) is via console.strlen().

    The intent was to get the length of the string as printed on the screen. I've just committed an update changing those to use console.strlen().

    The documentation says console.strlen() returns the length of the string excluding Ctrl-A codes. So it seems it's functionally equivalent to strip_ctrl(txt).length - Is that correct? Or are there other differences?

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From Digital Man@VERT to Nightfox on Sun Dec 8 05:02:09 2019
    Re: exec/sbbslist.js
    By: Nightfox to Digital Man on Sat Dec 07 2019 11:07 pm

    Re: exec/sbbslist.js
    By: Digital Man to nightfox on Sat Dec 07 2019 05:26 pm

    Looking at your changes, I have a question:

    var txt = format("%-*s%c", lib.max_len.name, bbs.name, selected ? '<' : ' '); console.print(txt);
    var line_screen_len = strip_ctrl(txt).length; // To help clearing to EOL for PETSCII

    What control characters or sequences in 'txt' would you expect to be stripping at this point? There shouldn't be any in bbs.name and '<' and ' ' aren't control characters, so I'm confused by this logic. It looks like maybe you copy/pasted this design pattern into a few places and some where it's not applicable.

    Also, the correct way to measure the number of columns that would be represented by a printed string (accounting for control characters/sequences) is via console.strlen().

    The intent was to get the length of the string as printed on the screen.

    I guessed that was the intent, but how would txt.length be any different than strip_ctrl(txt).length in the code I pasted above?

    I've just committed an update changing those to use console.strlen().

    The documentation says console.strlen() returns the length of the string excluding Ctrl-A codes. So it seems it's functionally equivalent to strip_ctrl(txt).length - Is that correct? Or are there other differences?

    strip_ctrl() actually modifies a string while console.strlen() calculates the displayed-length without modifying the string. There are other minor differences (e.g. Ctrl-AZ handling), but that's the main one.

    digital man

    This Is Spinal Tap quote #30:
    Big bottom, big bottom / Talk about mud flaps, my girl's got 'em!
    Norco, CA WX: 56.8°F, 98.0% humidity, 0 mph SE wind, 0.01 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Sun Dec 8 05:26:27 2019
    Re: exec/sbbslist.js
    By: Digital Man to Nightfox on Sun Dec 08 2019 12:02 am

    The intent was to get the length of the string as printed on the
    screen.

    I guessed that was the intent, but how would txt.length be any different than strip_ctrl(txt).length in the code I pasted above?

    I suppose it wouldn't; I've had a habit of doing that in some other JS code where the text would have Ctrl-A codes, as is often the case in other code I've written where the text has color codes.

    The documentation says console.strlen() returns the length of the
    string excluding Ctrl-A codes. So it seems it's functionally
    equivalent to strip_ctrl(txt).length - Is that correct? Or are there
    other differences?

    strip_ctrl() actually modifies a string while console.strlen() calculates the displayed-length without modifying the string. There are other minor differences (e.g. Ctrl-AZ handling), but that's the main one.

    I suppose console.strlen() would be more efficient.

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From Digital Man@VERT to nightfox on Tue Dec 10 17:22:13 2019
    Re: exec/sbbslist.js
    By: nightfox to CVS commit on Wed Nov 20 2019 09:26 am

    exec sbbslist.js 1.57 1.58
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv16161

    Modified Files:
    sbbslist.js
    Log Message:
    Improved the optimized screen drawing behavior for PETSCII. There's still a glitch in refreshing the last character on the row when moving the lightbar with the up/down arrow keys, but it's more well-behaved now for PETSCII.

    There is a PETSCII issue where a console.cleartoeol() cannot actually clear the last character of the line because:
    1. We don't know for sure what line/row the cursor is currently on
    2. If we write to the last cell of the last line/row, the terminal will scroll

    This isn't a problem with ANSI because there's an actual escape sequence for clear-to-end-of-line which we use when the terminal supports ANSI, but for non-ANSI (including PETSCII), we instead overwrite all the characters in the current row (except the last) with space and then backspace/left-cursor back to the original cursor position.

    This is likely the PETSCII issue now observed with your modification.

    Now, sbbslist.js is pretty sure it knows the current line/row and could possibly indicate to console.cleartoeol() when it's on the last row, but that would also require a change to the console.cleartoeol() implementation (e.g. to accept an additional parameter or whatever). So... it's probably better to just avoid writing to that last character cell. I'll look into it more when I have some time/motivation. I just wanted to make a note of the difference in behavior of console.cleartoeol() for ANSI vs. non-ANSI.

    digital man

    Synchronet/BBS Terminology Definition #29:
    FSP = FidoNet Standards Proposal
    Norco, CA WX: 63.5°F, 62.0% humidity, 3 mph ESE wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Tue Dec 10 17:53:11 2019
    Re: exec/sbbslist.js
    By: Digital Man to nightfox on Tue Dec 10 2019 12:22 pm

    Improved the optimized screen drawing behavior for PETSCII. There's
    still a glitch in refreshing the last character on the row when moving
    the lightbar with the up/down arrow keys, but it's more well-behaved
    now for PETSCII.

    There is a PETSCII issue where a console.cleartoeol() cannot actually clear the last character of the line because: 1. We don't know for sure what line/row the cursor is currently on 2. If we write to the last cell of the last line/row, the terminal will scroll

    This isn't a problem with ANSI because there's an actual escape sequence for clear-to-end-of-line which we use when the terminal supports ANSI, but for non-ANSI (including PETSCII), we instead overwrite all the characters in the current row (except the last) with space and then backspace/left-cursor back to the original cursor position.

    This is likely the PETSCII issue now observed with your modification.

    Now, sbbslist.js is pretty sure it knows the current line/row and could possibly indicate to console.cleartoeol() when it's on the last row, but that would also require a change to the console.cleartoeol() implementation (e.g. to accept an additional parameter or whatever). So... it's probably better to just avoid writing to that last character cell. I'll look into it more when I have some time/motivation. I just wanted to make a note of the difference in behavior of console.cleartoeol() for ANSI vs. non-ANSI.

    I wasn't sure what to do about this, but if it's a PETSCII issue, perhaps there isn't much to do besides work around it / deal with it?

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From Digital Man@VERT to Nightfox on Tue Dec 10 18:23:10 2019
    Re: exec/sbbslist.js
    By: Nightfox to Digital Man on Tue Dec 10 2019 12:53 pm

    So... it's probably better to just avoid writing to that last character cell. I'll look into it more when I have some time/motivation. I just wanted to make a note of the difference in behavior of console.cleartoeol() for ANSI vs. non-ANSI.

    I wasn't sure what to do about this, but if it's a PETSCII issue, perhaps there isn't much to do besides work around it / deal with it?

    Yeah, nothing to be done right now. It's an everything-but-ANSI issue. Just something to keep in mind when designing a UI. I may end up adding an additional/optional parameter to console.cleartoeol() to allow it to write to the last cell on a line. I'll give it some more thought first.

    digital man

    This Is Spinal Tap quote #33:
    Nigel Tufnel: Well, so what? What's wrong with bein' sexy?
    Norco, CA WX: 65.2°F, 63.0% humidity, 0 mph WNW wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Thu Dec 19 17:04:46 2019
    exec sbbslist.js 1.59 1.60
    Update of /cvsroot/sbbs/exec
    In directory cvs:/home/rswindell/sbbs/exec

    Modified Files:
    sbbslist.js
    Log Message:
    Fix "ReferenceError: top is not defined" when the "list" command is used.
    Bug introduced in rev 1.59 by Nightfox. "jsexec sbbslist list" still has many other JS errors even after this fix. :-(




    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Sun Jan 12 18:54:52 2020
    exec sbbslist.js 1.60 1.61
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv8105

    Modified Files:
    sbbslist.js
    Log Message:
    Fix for JS errors when running "jsexec sbbs list"


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Jan 12 20:06:34 2020
    exec sbbslist.js 1.61 1.62
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv18279

    Modified Files:
    sbbslist.js
    Log Message:
    Eliminate the unnecessary calls to format() in previous commit.



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to nightfox on Mon Mar 23 01:31:21 2020
    Re: exec/sbbslist.js
    By: nightfox to CVS commit on Sun Nov 17 2019 03:18 pm

    exec sbbslist.js 1.56 1.57
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv9335

    Modified Files:
    sbbslist.js
    Log Message:
    Resolution for the issue of there sometimes being a few empty lines between the end of the BBS list and the prompt text - For example, on the last page if the BBS entries don't fill the whole screen.

    Your modifications to the sbbslist.js still have issues with the 'End' key:

    Before your modifications (rev 1.54), hitting the End key would fill the screen with the last scree-full of BBS entires. Since rev 1.55 (and later), hitting 'End' will now put the last BBS entry at the top of the screen and fill the remaining rows with nothingness. :-(

    digital man

    Synchronet/BBS Terminology Definition #3:
    ASCII = American Standard Code for Information Interchange
    Norco, CA WX: 53.6°F, 93.0% humidity, 3 mph WNW wind, 0.14 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Mon Mar 23 03:11:10 2020
    Re: exec/sbbslist.js
    By: Digital Man to nightfox on Sun Mar 22 2020 09:31 pm

    sbbslist.js

    Your modifications to the sbbslist.js still have issues with the 'End' key:

    Before your modifications (rev 1.54), hitting the End key would fill the screen with the last scree-full of BBS entires. Since rev 1.55 (and later), hitting 'End' will now put the last BBS entry at the top of the screen and fill the remaining rows with nothingness. :-(

    :/ I'll have to take a look at it. Thanks for letting me know.

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From nightfox@VERT to CVS commit on Wed Mar 25 02:49:08 2020
    exec sbbslist.js 1.62 1.63
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv8354

    Modified Files:
    sbbslist.js
    Log Message:
    The 'End' key will now show the last full screen of BBS entries, as before.

    One somewhat odd behavior now is that when going up with the up-arrow key, if you go up past the first entry on the last page, it shows only a few entries back instead of a whole page back as I would expect per the new screen refresh optimizations (though it does highlight the correct BBS entry). When going up another page with the up-arrow key, it does refresh the whole page of entries as expected.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to nightfox on Wed Mar 25 22:54:04 2020
    Re: exec/sbbslist.js
    By: nightfox to CVS commit on Tue Mar 24 2020 10:49 pm

    exec sbbslist.js 1.62 1.63
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv8354

    Modified Files:
    sbbslist.js
    Log Message:
    The 'End' key will now show the last full screen of BBS entries, as before.

    One somewhat odd behavior now is that when going up with the up-arrow key, if you go up past the first entry on the last page, it shows only a few entries back instead of a whole page back as I would expect per the new screen refresh optimizations (though it does highlight the correct BBS entry). When going up another page with the up-arrow key, it does refresh the whole page of entries as expected.

    Still no good:
    https://1drv.ms/u/s!ApZPvWcrEaRQvNJ_D95Ihb5oSZdXUA?e=DbiXZN

    This happens if go to the end and then scroll back up (like you described) and then back down again. It's definitely wonky.

    digital man

    Synchronet "Real Fact" #24:
    1584 Synchronet BBS Software registrations were sold between 1992 and 1996. Norco, CA WX: 54.4°F, 71.0% humidity, 2 mph NNW wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Thu Mar 26 18:00:49 2020
    Re: exec/sbbslist.js
    By: Digital Man to nightfox on Wed Mar 25 2020 06:54 pm

    Still no good:
    https://1drv.ms/u/s!ApZPvWcrEaRQvNJ_D95Ihb5oSZdXUA?e=DbiXZN

    This happens if go to the end and then scroll back up (like you described) and then back down again. It's definitely wonky.

    What exactly should I be seeing here? That doesn't look that bad to me. Is it that there are empty lines at the bottom and it doesn't fill the page? How are you expecting it to behave?

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From Digital Man@VERT to Nightfox on Thu Mar 26 22:46:38 2020
    Re: exec/sbbslist.js
    By: Nightfox to Digital Man on Thu Mar 26 2020 02:00 pm

    Re: exec/sbbslist.js
    By: Digital Man to nightfox on Wed Mar 25 2020 06:54 pm

    Still no good: https://1drv.ms/u/s!ApZPvWcrEaRQvNJ_D95Ihb5oSZdXUA?e=DbiXZN

    This happens if go to the end and then scroll back up (like you described) and then back down again. It's definitely wonky.

    What exactly should I be seeing here? That doesn't look that bad to me. Is it that there are empty lines at the bottom and it doesn't fill the page?

    Correct. The "List" prompt is normally on the bottom of the terminal and the listings (if there is at least a screenfull) fill the screen.

    How are you expecting it to behave?

    The same as it did before you modified it. Specifically, this revision here: http://cvs.synchro.net/cgi-bin/viewcvs.cgi/*checkout*/exec/sbbslist.js?revision=1.54

    digital man

    Synchronet/BBS Terminology Definition #54:
    Phreak = Telephone system hack[er]
    Norco, CA WX: 51.5°F, 61.0% humidity, 7 mph NNW wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From nightfox@VERT to CVS commit on Sat Mar 28 21:03:47 2020
    exec sbbslist.js 1.63 1.64
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv681

    Modified Files:
    sbbslist.js
    Log Message:
    When using navigation keys such as HOME, END, PageUp, PageDown, and the up & down arrow keys, the BBS entries will now fill the whole screen, even when you scroll to the end of the BBS list.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to nightfox on Sat Mar 28 21:29:35 2020
    Re: exec/sbbslist.js
    By: nightfox to CVS commit on Sat Mar 28 2020 05:03 pm

    exec sbbslist.js 1.63 1.64
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv681

    Modified Files:
    sbbslist.js
    Log Message:
    When using navigation keys such as HOME, END, PageUp, PageDown, and the up & down arrow keys, the BBS entries will now fill the whole screen, even when you scroll to the end of the BBS list.

    Scrolling is still not behaving as it did before you started modifying it. Now, when you arrow up while at the top of the a page-full or arrow down while at the bottom fo a page-full, rather than scroll by one (and leave the selection bar at the top or bottom), the list is scrolled by a full page full (as if page up or page down was struck) and the selection bar moves to the opposite side of the screen (i.e if it was at the top, it moves to the bottom, or vice versa).

    digital man

    Synchronet/BBS Terminology Definition #37:
    IBM = International Business Machines (Corporation)
    Norco, CA WX: 63.0°F, 47.0% humidity, 5 mph ESE wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Sat Mar 28 22:56:26 2020
    Re: exec/sbbslist.js
    By: Digital Man to nightfox on Sat Mar 28 2020 05:29 pm

    Scrolling is still not behaving as it did before you started modifying it. Now, when you arrow up while at the top of the a page-full or arrow down while at the bottom fo a page-full, rather than scroll by one (and leave the selection bar at the top or bottom), the list is scrolled by a full page full (as if page up or page down was struck) and the selection bar moves to the opposite side of the screen (i.e if it was at the top, it moves to the bottom, or vice versa).

    That was intentional, for screen refresh optimizations. Rather than re-draw the whole list every time you scroll one item, I thought it would be more efficient to draw a whole page once, and then when you move up or down, to only re-draw the lightbar for 2 items each time (until you go to the next page). Do you think this behavior is undesirable?

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From Digital Man@VERT to Nightfox on Sat Mar 28 23:02:04 2020
    Re: exec/sbbslist.js
    By: Nightfox to Digital Man on Sat Mar 28 2020 06:56 pm

    Re: exec/sbbslist.js
    By: Digital Man to nightfox on Sat Mar 28 2020 05:29 pm

    Scrolling is still not behaving as it did before you started modifying it. Now, when you arrow up while at the top of the a page-full or arrow down while at the bottom fo a page-full, rather than scroll by one (and leave the selection bar at the top or bottom), the list is scrolled by a full page full (as if page up or page down was struck) and the selection bar moves to the opposite side of the screen (i.e if it was at the top, it moves to the bottom, or vice versa).

    That was intentional, for screen refresh optimizations. Rather than re-draw the whole list every time you scroll one item, I thought it would be more efficient to draw a whole page once, and then when you move up or down, to only re-draw the lightbar for 2 items each time (until you go to the next page). Do you think this behavior is undesirable?

    It's surprising behavior (to me) for the arrow keys and I don't care for surpringing behavior. If the user wants to move a page at a time, they use the page up/down keys. If they're using the arrow keys, they're expecting to move a single item at a time. The previous/expected behavior is consistent with most applications, even web browsers. I can't recall any other application that behaves in the manner that you've changed sbbslist to behave.

    digital man

    This Is Spinal Tap quote #33:
    Nigel Tufnel: Well, so what? What's wrong with bein' sexy?
    Norco, CA WX: 58.3°F, 51.0% humidity, 7 mph ENE wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Nightfox@VERT/DIGDIST to Digital Man on Sun Mar 29 00:37:38 2020
    Re: exec/sbbslist.js
    By: Digital Man to Nightfox on Sat Mar 28 2020 07:02 pm

    That was intentional, for screen refresh optimizations. Rather than
    re-draw the whole list every time you scroll one item, I thought it
    would be more efficient to draw a whole page once, and then when you
    move up or down, to only re-draw the lightbar for 2 items each time

    It's surprising behavior (to me) for the arrow keys and I don't care for surpringing behavior. If the user wants to move a page at a time, they use the page up/down keys. If they're using the arrow keys, they're expecting to move a single item at a time. The previous/expected behavior is consistent with most applications, even web browsers. I can't recall any other application that behaves in the manner that you've changed sbbslist to behave.

    True, I suppose.. Though at that point, it almost seems like it might as well be reverted back to 1.54. I'm sorry I didn't talk to you about changing it first, as I probably should have.

    Nightfox

    ---
    ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
  • From nightfox@VERT to CVS commit on Sun Mar 29 01:42:18 2020
    exec sbbslist.js 1.64 1.65
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv15321

    Modified Files:
    sbbslist.js
    Log Message:
    When using the up arrow at the top of the page to scroll up one, or the bottom arrow at the bottom of the page to scroll down one, sbbslist now scrolls the list up/down one entry rather than the whole page of entries, to be consistent with earlier behavior (1.54 and earlier).


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to Nightfox on Sun Mar 29 01:48:50 2020
    Re: exec/sbbslist.js
    By: Nightfox to Digital Man on Sat Mar 28 2020 08:37 pm

    Re: exec/sbbslist.js
    By: Digital Man to Nightfox on Sat Mar 28 2020 07:02 pm

    That was intentional, for screen refresh optimizations. Rather than
    re-draw the whole list every time you scroll one item, I thought it
    would be more efficient to draw a whole page once, and then when you
    move up or down, to only re-draw the lightbar for 2 items each time

    It's surprising behavior (to me) for the arrow keys and I don't care for surpringing behavior. If the user wants to move a page at a time, they use the page up/down keys. If they're using the arrow keys, they're expecting to move a single item at a time. The previous/expected behavior is consistent with most applications, even web browsers. I can't recall any other application that behaves in the manner that you've changed sbbslist to behave.

    True, I suppose.. Though at that point, it almost seems like it might as well be reverted back to 1.54. I'm sorry I didn't talk to you about changing it first, as I probably should have.

    You did send me an email on this subject back in October, mainly in regards to the message lister, but I didn't reply.

    Here's what I thought to myself when I read your email:
    It's true that it's unnecessary to redraw all the items when just moving the selector up/down between 2 items that are already on the screen. That optimization is fine and good, but it's not a priority of mine right now. <shrug>

    digital man

    Synchronet/BBS Terminology Definition #59:
    SBBS = Synchronet Bulletin Board System
    Norco, CA WX: 53.0°F, 67.0% humidity, 6 mph E wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Digital Man@VERT to nightfox on Sun Mar 29 04:21:21 2020
    Re: exec/sbbslist.js
    By: nightfox to CVS commit on Sat Mar 28 2020 09:42 pm

    exec sbbslist.js 1.64 1.65
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv15321

    Modified Files:
    sbbslist.js
    Log Message:
    When using the up arrow at the top of the page to scroll up one, or the bottom arrow at the bottom of the page to scroll down one, sbbslist now scrolls the list up/down one entry rather than the whole page of entries, to be consistent with earlier behavior (1.54 and earlier).

    Thank you. :-)

    digital man

    Synchronet/BBS Terminology Definition #49:
    NNTP = Network News Transfer Protocol
    Norco, CA WX: 50.0°F, 82.0% humidity, 0 mph SSE wind, 0.00 inches rain/24hrs

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From rswindell@VERT to CVS commit on Sun Apr 19 16:57:15 2020
    exec sbbslist.js 1.65 1.66
    Update of /cvsroot/sbbs/exec
    In directory cvs:/tmp/cvs-serv22942

    Modified Files:
    sbbslist.js
    Log Message:
    Cosmetics in the "<your system> is not lsited. Add it?" feature.


    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Sun Sep 6 22:44:57 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/435e79167fd306a2f55c731a
    Modified Files:
    exec/sbbslist.js
    Log Message:
    Add -force and -share options, handle missing protocol property.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Thu Sep 10 01:03:53 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/dc5da45735e41f1b985aad5c
    Modified Files:
    exec/sbbslist.js
    Log Message:
    Fix sbbslist.js line 1769: TypeError: bbs is undefined

    Going backwards (negative) in the BBS list while using the 'C'
    (preview capture) command would trigger this exception.

    Also, don't enable spinning cursor while waiting for a key-press
    after displaying a preview.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to sbbs/master on Sat Sep 19 19:42:46 2020
    https://gitlab.synchro.net/sbbs/sbbs/-/commit/86d0f05724d6baf59d53b14b
    Modified Files:
    exec/sbbslist.js
    Log Message:
    Fix a couple of infinite loops observed when user disconnected

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Dec 17 06:13:00 2020
    https://gitlab.synchro.net/main/sbbs/-/commit/22bf8731bc422f1b0361e7d0
    Modified Files:
    exec/sbbslist.js
    Log Message:
    Changes necessary to allow non-sbbs system to just sbbsimsg.lst

    Use failed auto-verification server/service address info if/when
    the 'imsg_capable' flag is set.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to Git commit to main/sbbs/master on Fri Apr 2 22:48:03 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/f7c8a5a91acd26a425efcd27
    Modified Files:
    exec/sbbslist.js
    Log Message:
    The command prompt is now always on the bottom of the screen (console.screen_rows).

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Fri Apr 2 22:48:06 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/cb66fc713bd4b1ed120c2a66
    Modified Files:
    exec/sbbslist.js
    Log Message:
    Merge branch '244_sbbslist_command_prompt_not_always_on_bottom' into 'master'

    The command prompt is now always on the bottom of the screen

    See merge request main/sbbs!121

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed May 26 19:34:31 2021
    https://gitlab.synchro.net/main/sbbs/-/commit/08007ce1d0be3eaa7f324687
    Modified Files:
    exec/sbbslist.js
    Log Message:
    Remove storage from the 6th format, was making lines too long for 80cols.

    And nobody cares about your terabytes of free space anyway.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thu Jan 27 00:45:33 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/85fe6b4749f133aaf15a5b3e
    Modified Files:
    exec/sbbslist.js
    Log Message:
    Set default options.backup_level value (10)

    Fixes issue #327.

    Also remove some old obsolete comments.

    Increment the REVISION value manually (no more CVS keywords).

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Wed Mar 16 20:07:30 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/f48239aa8dc362641994cdfa
    Modified Files:
    exec/sbbslist.js
    Log Message:
    Don't prompt yes/no upon remove if run with -quiet option

    for Andre

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Sat Jul 23 15:22:59 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/045a33cafd1cd58b22b67399
    Modified Files:
    exec/sbbslist.js
    Log Message:
    Update logic for deciding if user can delete/edit entries

    Local sysop can always deleted/edit entries (now).
    Fixed checking of can_edit() return value (string or true), fixed issue #425
    as reported by Craig Hendricks (thank you)

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Fri Dec 8 16:00:39 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/353827c5687d226079e24866
    Modified Files:
    exec/sbbslist.js
    Log Message:
    Log the entire 'hello' object when detecting a non-Synchronet BBS

    More detail to debug a false-negative SyncBBS-detection result

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net