Re: xtrn/DDMsgReader/DDMsgReader.js
By: Digital Man to nightfox on Sun Dec 17 2017 08:46 pm
You might want to review PageUp/Down key support in your scripts. sbbs v3.17 now internally captures the <ESC>[U and V sequences and converts to the control keys (defined in sbbsdefs.js), currently Ctrl-N for page down and Ctrl-P for page up, though those are still subject to debate.
I've updated my scripts that use PageUp and PageDown.
SlyEdit makes use of PageUp and PageDown for navigation in the message (if the user has written a long message, they can page through the message with PageUp and PageDown). I made a change to SlyEdit to change a couple of the command keys (Ctrl-P showed the command list help, and Ctrl-N did a 'find next' text search function - I changed those keys since Ctrl-P and Ctrl-N are now PageUp and PageDown).
If you want to check and see which CTRL keys SlyEdit is using, you can look in the function doEditLoop() in SlyEdit.js. Toward the top of that function, there are variables (declared as 'const') defining the CTRL keys it uses. The CTRL_* definitions are defined in SlyEdit_Misc.js.
Nightfox
---
■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)