• xtrn/tw2/input.js

    From rswindell@1:103/705 to CVS commit on Wed Apr 22 00:24:49 2020
    xtrn/tw2 input.js 1.8 1.9
    Update of /cvsroot/sbbs/xtrn/tw2
    In directory cvs:/tmp/cvs-serv10948

    Modified Files:
    input.js
    Log Message:
    Use console.inkey() correctly. If you only supply one argument, that value is the mode, not the timeout. Here, "100" happens to be 0x64 which includes
    K_SPIN which indicates it was called from getkey(K_SPIN) and since it wasn't, it was removing the last character of the save-line buffer since this code also
    does gratuitous save/restoreline() calls, resulting in partial ANSI escape sequences being displayed at the command-line. This one too far too long to find. :-(

    --- SBBSecho 3.10-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sat Apr 9 16:30:32 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/dee6266e41656d476a1045e2
    Modified Files:
    xtrn/tw2/input.js
    Log Message:
    Check for user disconnection in CheckTerminate()A user disconnecting while running tw2 would just result in an infinite loopchecking node status and waiting for the user's allowed time to run out (whichmay never happen) or for the server to be locally terminated.This has been happening for years on Vertrauen. Finally now I see why.
    --- SBBSecho 3.15-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)