-
JavaScript errors disable screen pause
From
Nightfox@VERT/DIGDIST to
Digital Man on Sun Nov 9 13:45:31 2014
Hi DM,ããWhile logged into my BBS, I've noticed that if there is a runtime error in aãJavaScript module that I run, my screen no longer pauses after each screenfulãof text for the remainder of my telnet session. My user setting for screenãpause is still enabled though. This affects things like reading messages,ãetc., which would normally pause after each screenful of text.ããI'm currently running the October 29 build of Synchronet for Windows.ããNightfoxãã---ã þ Synchronet þ Digital Distortion BBS - digitaldistortionbbs.comã
-
From
Digital Man@VERT to
Nightfox on Sun Nov 9 16:10:23 2014
Re: JavaScript errors disable screen pauseã By: Nightfox to Digital Man on Sun Nov 09 2014 01:45 pmãã > Hi DM,ã >ã > While logged into my BBS, I've noticed that if there is a runtime error inã > a JavaScript module that I run, my screen no longer pauses after eachã > screenful of text for the remainder of my telnet session. My user settingã > for screen pause is still enabled though. This affects things like readingã > messages, etc., which would normally pause after each screenful of text.ããWhat you're describing are the effects of the SS_PAUSEOFF flag being set in ãbbs.sys_status.ããIf the script you're running sets this flag (disbling the auto screen pause), ãit must unset it when it exits or crashes. You should be able to do this with ãthe js.on_exit() method which executes when the script terminates, if if the ãscript terminates due to a runtime error.ããã digital manããSynchronet "Real Fact" #45:ãSynchronet External X/Y/ZMODEM protocol driver (SEXYZ) was introduced in 2005.ãNorco, CA WX: 77.4øF, 33.0% humidity, 10 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 Sun Nov 9 18:35:09 2014
Re: JavaScript errors disable screen pauseã By: Digital Man to Nightfox on Sun Nov 09 2014 16:10:23ãã DM> What you're describing are the effects of the SS_PAUSEOFF flag being setã DM> in bbs.sys_status.ãã DM> If the script you're running sets this flag (disbling the auto screenã DM> pause), it must unset it when it exits or crashes. You should be able toã DM> do this with the js.on_exit() method which executes when the scriptã DM> terminates, if if the script terminates due to a runtime error.ããAh, I see. My script is indeed setting SS_PAUSEOFF. Thanks.ããNightfoxãã---ã þ Synchronet þ Digital Distortion BBS - digitaldistortionbbs.comã