From 4d91202c286989b429b5fe2a8fdf76d27737d149 Mon Sep 17 00:00:00 2001 From: "Rob Swindell (on Debian Linux)" <rob@synchro.net> Date: Sat, 27 Apr 2024 16:06:08 -0700 Subject: [PATCH] Enforce the default message read cmds: (A)uto-reply, (R)e-read The "RemoteAccess emulation" flag can be set by other shells, so be sure to clear it when using (e.g. switching back) to this shell. --- exec/default.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exec/default.js b/exec/default.js index 6dc7b607e2..99aabc7000 100755 --- a/exec/default.js +++ b/exec/default.js @@ -13,6 +13,8 @@ require("gettext.js", "gettext"); load("termsetup.js"); var shell = load({}, "shell_lib.js"); +system.settings &= ~SYS_RA_EMU; // Use (R)e-read and (A)uto-reply keys + const help_key = '?'; // If user has unlimited time, display time-used rather than time-remaining const time_code = user.security.exemptions & UFLAG_T ? "@TUSED@" : "@TLEFT@"; -- GitLab