Subj : console.inactivity_warning in JS To : Digital Man From : Nightfox Date : Sat Jan 25 2025 14:18:50 Re: ctrl/sbbs.ini src/sbbs3/answer.cpp getkey.cpp inkey.cpp js_console.cpp By: Rob Swindell (in GitKraken) to Git commit to main/sbbs/master on Fri Mar 17 2023 07:26 pm RS> - Removed JS console.inactivity_warning I'm curious why this was removed? I may actually have a use for it in DDMsgReader. RS> MaxSessionInactivity (default: none/unlimited) - Each configured RS> external program/door in SCFG can have its own maximum inactivity setting RS> (or else the session max inactivity is applied) Was console.inactivity_warning removed because of this change? DDMsgreader could be set up as a loadable module, where there is no setting for a maximum inactivity. In that case, it seems to be using the inactivity setting which I believe is configured in SCFG > System > Advanced Options > Maximum User Inactivity? I had some custom input logic I wrote for DDMsgReader years ago, before KEY_PAGEUP and KEY_PAGEDN were added to key_defs.js. Since those are there now, I am considering using console.getkey() instead of my own input function. One thing I'm running into is that after the 'Are you really there?' text is displayed and I press a key, the display of things gets a bit wonky in DDMsgreader, like the cursor has moved which has pushed things around a bit. I'm thinking if I had a way to detect that the 'Are you there?' warning was displayed, maybe I could refresh the screen to make it look proper again. For instance, I made a few screenshots: Reading a message, before the 'are you there' text (looks good): http://www.digitaldistortionbbs.com:81/synchronet_stuff/reading1.png 'Are you really there?' - Still looks okay: http://www.digitaldistortionbbs.com:81/synchronet_stuff/reading2.png Then when I press a key, things get a bit wonky - It looks like everything gets pushed up a few lines: http://www.digitaldistortionbbs.com:81/synchronet_stuff/reading3.png Nightfox --- þ Synchronet þ Digital Distortion: digitaldistortionbbs.com .