• exec/load/presence_lib.js

    From Rob Swindell to Git commit to main/sbbs/master on Sat Apr 9 14:37:27 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/82b3374fb06d25637e723c33
    Modified Files:
    exec/load/presence_lib.js
    Log Message:
    Fix long-standing issue with external program name display

    Especially for Guest (G-Exempt) accounts which support multiple
    concurrent logons - the 'curxtrn' value stored in the user's record
    may not match the external program that was actually last executed
    on the node in question, so use the .aux property value (from
    node.dab) as is done in the C++ code (e.g. printnodedat()). This insures
    that the node_status() output here matches the C/C++ code output
    (e.g. when logging on the terminal server).

    Still support the 'code-based' external program name look-up since
    that usage is relied upon by other modules, but when a number is
    passed, use the number to find the right external progarm name
    (and we need to subtract one, since aux is a 1-based number).

    I've looked at this problem a couple of times before and not sure why
    I didn't see the solution. <shrug>
  • From Rob Swindell (on Debian Linux)@rob@synchro.net to Git commit to main/sbbs/master on Sun Dec 8 04:11:19 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/5e2d0074ac70d740b35a0cce
    Modified Files:
    exec/load/presence_lib.js
    Log Message:
    Insert stats prefix after activity, in case it contains attr codes
  • From Rob Swindell (on Debian Linux)@rob@synchro.net to Git commit to main/sbbs/master on Tue Mar 11 17:18:21 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/2151ffda82e987cd14c27a0e
    Modified Files:
    exec/load/presence_lib.js
    Log Message:
    Fix cosmetic issue with Logging-out node vstatus display (NodeStatusLogout)

    When displaying this node vstatus, the user's alias shouldn't be appended to the node status, else you get something like this:

    16 Logging out Digital ManDigital Man