• exec/sbbslist.js

    From nightfox@VERT to CVS commit on Sun Jan 12 13: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 15: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 Sun Mar 22 21: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 Sun Mar 22 23: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 Tue Mar 24 22: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 18: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 14: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 18: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 17: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 17: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 18: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 19: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 Sat Mar 28 20: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 Sat Mar 28 21: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 Sat Mar 28 21: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 00: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 12: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 18: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 Wed Sep 9 21: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 15: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 01: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
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Mon Apr 15 12:03:22 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/c901c8dfe768af9dc6aba76c
    Modified Files:
    exec/sbbslist.js
    Log Message:
    Some old stil (SBL) messages might include 'address' before 'network'?

    Attempt to address error reported by Manitoo in IRC:
    JavaScript sbbslist.js line 327: TypeError: bbs.network[network] is undefined

    Normally, the "address:" key would always follow a "network:" key, but maybe there's a corrupted message or the sysop is trying to import from the wrong message base (not syncdata?).
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net