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.
Sysop: | Ree |
---|---|
Location: | Toronto, ON |
Users: | 2 |
Nodes: | 10 (0 / 10) |
Uptime: | 115:15:46 |
Calls: | 375 |
Calls today: | 2 |
Files: | 2 |
Messages: | 38,886 |