diff --git a/xtrn/DDMsgReader/DDMsgReader.js b/xtrn/DDMsgReader/DDMsgReader.js index d59e7fec5de49be39e5a4921994270563c52f177..c257ea4e65785db5ae850ab10d3f520208bf12f4 100644 --- a/xtrn/DDMsgReader/DDMsgReader.js +++ b/xtrn/DDMsgReader/DDMsgReader.js @@ -231,10 +231,15 @@ * 2025-02-08 Eric Oulashin Version 1.96L * After replying to a message, when it shows the status & pauses * for input, a Q or Ctrl-C will now exit, and not be ignored. - * 2025-05-28 Eric Oulashin Version 1.96M + * 2025-03-28 Eric Oulashin Version 1.96M * When reading messages, only mark it as read if it's to * the current user, including for personal email (i.e., when reading * sent mail, don't mark messages to others as read). + * 2025-04-13 Eric Oulashin Version 1.96N + * Changes (fixes) for the bottom-row key help lines due to + * Synchronet fix related to @-code parsing (Git commit + * fccf1a5718fdcb9864bcbccf2eb6de7ee50d3dd3). Hopefully the + * mouse clicks are still correct. */ "use strict"; @@ -342,8 +347,8 @@ var hexdump = load('hexdump_lib.js'); // Reader version information -var READER_VERSION = "1.96M"; -var READER_DATE = "2025-03-28"; +var READER_VERSION = "1.96N"; +var READER_DATE = "2025-04-13"; // Keyboard key codes for displaying on the screen var UP_ARROW = ascii(24); @@ -1654,7 +1659,8 @@ function DigDistMsgReader(pSubBoardCode, pScriptArgs) this.lightbarAreaChooserHelpLine = "\x01n" + this.colors.lightbarAreaChooserHelpLineHotkeyColor + "@CLEAR_HOT@@`" + UP_ARROW + "`" + KEY_UP + "@" + this.colors.lightbarAreaChooserHelpLineGeneralColor + ", " - + this.colors.lightbarAreaChooserHelpLineHotkeyColor + "@`" + DOWN_ARROW + "`" + KEY_DOWN + "@" + //+ this.colors.lightbarAreaChooserHelpLineHotkeyColor + "@`" + DOWN_ARROW + "`" + KEY_DOWN + "@" + + this.colors.lightbarAreaChooserHelpLineHotkeyColor + "@`" + DOWN_ARROW + "`\\n@" + this.colors.lightbarAreaChooserHelpLineGeneralColor + ", " + this.colors.lightbarAreaChooserHelpLineHotkeyColor + "@`HOME`" + KEY_HOME + "@" + this.colors.lightbarAreaChooserHelpLineGeneralColor + ", " @@ -9686,13 +9692,15 @@ function DigDistMsgReader_SetMsgListPauseTextAndLightbarHelpLine() // For PageUp, normally I'd think KEY_PAGEUP should work, but that triggers sending a telegram instead. \x1b[V seems to work though. this.msgListLightbarModeHelpLine = this.colors.lightbarMsgListHelpLineHotkeyColor + "@CLEAR_HOT@@`" + UP_ARROW + "`" + KEY_UP + "@" + this.colors.lightbarMsgListHelpLineGeneralColor + ", " - + this.colors.lightbarMsgListHelpLineHotkeyColor + "@`" + DOWN_ARROW + "`" + KEY_DOWN + "@" + //+ this.colors.lightbarMsgListHelpLineHotkeyColor + "@`" + DOWN_ARROW + "`" + KEY_DOWN + "@" + + this.colors.lightbarMsgListHelpLineHotkeyColor + "@`" + DOWN_ARROW + "`\\n@" + this.colors.lightbarMsgListHelpLineGeneralColor + ", " + this.colors.lightbarMsgListHelpLineHotkeyColor + "@`PgUp`" + "\x1b[V" + "@" + this.colors.lightbarMsgListHelpLineGeneralColor + "/" + this.colors.lightbarMsgListHelpLineHotkeyColor + "@`Dn`" + KEY_PAGEDN + "@" + this.colors.lightbarMsgListHelpLineGeneralColor + ", " - + this.colors.lightbarMsgListHelpLineHotkeyColor + "@`ENTER`" + KEY_ENTER + "@" + //+ this.colors.lightbarMsgListHelpLineHotkeyColor + "@`ENTER`" + KEY_ENTER + "@" + + this.colors.lightbarMsgListHelpLineHotkeyColor + "@`ENTER`\\r\\n@" + this.colors.lightbarMsgListHelpLineGeneralColor + ", " + this.colors.lightbarMsgListHelpLineHotkeyColor + "@`HOME`" + KEY_HOME + "@" + this.colors.lightbarMsgListHelpLineGeneralColor + ", " @@ -9761,7 +9769,8 @@ function DigDistMsgReader_SetEnhancedReaderHelpLine() // For PageUp, normally I'd think KEY_PAGEUP should work, but that triggers sending a telegram instead. \x1b[V seems to work though. this.enhReadHelpLine = this.colors.enhReaderHelpLineHotkeyColor + "@CLEAR_HOT@@`" + UP_ARROW + "`" + KEY_UP + "@" + this.colors.enhReaderHelpLineGeneralColor + ", " - + this.colors.enhReaderHelpLineHotkeyColor + "@`" + DOWN_ARROW + "`" + KEY_DOWN + "@" + //+ this.colors.enhReaderHelpLineHotkeyColor + "@`" + DOWN_ARROW + "`" + KEY_DOWN + "@" + + this.colors.enhReaderHelpLineHotkeyColor + "@`" + DOWN_ARROW + "`\\n@" + this.colors.enhReaderHelpLineGeneralColor + ", " + this.colors.enhReaderHelpLineHotkeyColor + "@`" + LEFT_ARROW + "`" + KEY_LEFT + "@" + this.colors.enhReaderHelpLineGeneralColor +", " @@ -9824,7 +9833,8 @@ function DigDistMsgReader_SetEnhancedReaderHelpLine() // For PageUp, normally I'd think KEY_PAGEUP should work, but that triggers sending a telegram instead. \x1b[V seems to work though. this.enhReadHelpLineWithoutChgArea = this.colors.enhReaderHelpLineHotkeyColor + "@CLEAR_HOT@ @`" + UP_ARROW + "`" + KEY_UP + "@" + this.colors.enhReaderHelpLineGeneralColor + ", " - + this.colors.enhReaderHelpLineHotkeyColor + "@`" + DOWN_ARROW + "`" + KEY_DOWN + "@" + //+ this.colors.enhReaderHelpLineHotkeyColor + "@`" + DOWN_ARROW + "`" + KEY_DOWN + "@" + + this.colors.enhReaderHelpLineHotkeyColor + "@`" + DOWN_ARROW + "`\\n@" + this.colors.enhReaderHelpLineGeneralColor + ", " + this.colors.enhReaderHelpLineHotkeyColor + "@`" + LEFT_ARROW + "`" + KEY_LEFT + "@" + this.colors.enhReaderHelpLineGeneralColor + ", " @@ -17486,7 +17496,8 @@ function DigDistMsgReader_MakeIndexedModeHelpLine() this.indexedModeHelpLine = this.colors.lightbarIndexedModeHelpLineHotkeyColor + "@CLEAR_HOT@@`" + UP_ARROW + "`" + KEY_UP + "@" + this.colors.lightbarIndexedModeHelpLineGeneralColor + ", " - + this.colors.lightbarIndexedModeHelpLineHotkeyColor + "@`" + DOWN_ARROW + "`" + KEY_DOWN + "@" + //+ this.colors.lightbarIndexedModeHelpLineHotkeyColor + "@`" + DOWN_ARROW + "`" + KEY_DOWN + "@" + + this.colors.lightbarIndexedModeHelpLineHotkeyColor + "@`" + DOWN_ARROW + "`\\n@" + this.colors.lightbarIndexedModeHelpLineGeneralColor + ", " + this.colors.lightbarIndexedModeHelpLineHotkeyColor + "@`PgUp`" + "\x1b[V" + "@" + this.colors.lightbarIndexedModeHelpLineGeneralColor + "/" @@ -17496,7 +17507,8 @@ function DigDistMsgReader_MakeIndexedModeHelpLine() + this.colors.lightbarIndexedModeHelpLineGeneralColor + "/" + this.colors.lightbarIndexedModeHelpLineHotkeyColor + "@`N`" + "\x1b[V" + "@" + this.colors.lightbarIndexedModeHelpLineGeneralColor + ", " - + this.colors.lightbarIndexedModeHelpLineHotkeyColor + "@`ENTER`" + KEY_ENTER + "@" + //+ this.colors.lightbarIndexedModeHelpLineHotkeyColor + "@`ENTER`" + KEY_ENTER + "@" + + this.colors.lightbarIndexedModeHelpLineHotkeyColor + "@`ENTER`\\r\\n@" + this.colors.lightbarIndexedModeHelpLineGeneralColor + ", " + this.colors.lightbarIndexedModeHelpLineHotkeyColor + "@`HOME`" + KEY_HOME + "@" + this.colors.lightbarIndexedModeHelpLineGeneralColor + "/" diff --git a/xtrn/DDMsgReader/ddmr_cfg.js b/xtrn/DDMsgReader/ddmr_cfg.js index 43417a63774450fd38985c7e82bf6add0541bf86..e1b97b14c49ef6672c23068a96af06ac4daa2ad6 100644 --- a/xtrn/DDMsgReader/ddmr_cfg.js +++ b/xtrn/DDMsgReader/ddmr_cfg.js @@ -5,7 +5,7 @@ // If you have DDMsgReader in a directory other than xtrn/DDMsgReader, then the changes to // DDMsgReader.cfg will be saved in that directory (assuming you're running ddmr_cfg.js from // that same directory). -// Currently for DDMsgReader 1.96M. +// Currently for DDMsgReader 1.96N. // // If you're running DDMsgReader from xtrn/DDMsgReader (the standard location) and you want // to save the configuration file there (rather than sbbs/mods), you can use one of the @@ -18,7 +18,7 @@ require("sbbsdefs.js", "P_NONE"); require("uifcdefs.js", "UIFC_INMSG"); -if (!uifc.init("DigDist. Message Reader 1.96M Configurator")) +if (!uifc.init("DigDist. Message Reader 1.96N Configurator")) { print("Failed to initialize uifc"); exit(1); diff --git a/xtrn/DDMsgReader/readme.txt b/xtrn/DDMsgReader/readme.txt index 62aad447f0ee134c46cbb3a83d2325229d905604..c0b53a4a25cfac948669896a8d032d1e319ef860 100644 --- a/xtrn/DDMsgReader/readme.txt +++ b/xtrn/DDMsgReader/readme.txt @@ -1,6 +1,6 @@ Digital Distortion Message Reader - Version 1.96M - Release date: 2025-03-28 + Version 1.96N + Release date: 2025-04-13 by diff --git a/xtrn/DDMsgReader/revision_history.txt b/xtrn/DDMsgReader/revision_history.txt index 7bb7e1531e4c57d7165fe908f7c80c4e71e1768b..faa190ef9ea7e3ae8bb01032e64d06b0c1ab99ac 100644 --- a/xtrn/DDMsgReader/revision_history.txt +++ b/xtrn/DDMsgReader/revision_history.txt @@ -5,6 +5,10 @@ Revision History (change log) ============================= Version Date Description ------- ---- ----------- +1.96N 2025-04-13 Changes (fixes) for the bottom-row key help lines due to + Synchronet fix related to @-code parsing (Git commit + fccf1a5718fdcb9864bcbccf2eb6de7ee50d3dd3). Hopefully the + mouse clicks are still correct. 1.96M 2025-03-28 When reading messages, only mark it as read if it's to the current user, including when reading sent email. 1.96L 2025-02-18 After replying to a message, when it shows the status &