Subj : Help using gettext.js To : Digital Man From : vela025 Date : Sun Oct 20 2024 12:55:11 I thought I was doing so well! but there's now an odd issue occurring when swapping from one terminal type to another. Scenario 1: Log in a Mode 7 terminal everything's fine, Next login using an ANSI terminal, message summary screen overlays some text over avatar, Log out, Log in again using ANSI terminal everything is fine. Scenario 2: Login to Mode 7 after having previously used ANSI terminal and some prompts are not using the BBC "language.ini" customisation (but some are, and some are, but ignoring the colour codes). The main menu is shifted after the first row, log out, log back in using Mode 7 and everything is fine. I've put screenshots here: http://beebs.ddns.net/BeeBS/My_Albums/Pages/Synchronet.html which probably make more sense. Previously before I added the terminal type selection at logon when the user used to have to change the terminal settings manually (using D from the main menu) this also required the user to log out and back in for all settings to take effect. Is there a command that will "refresh" the settings to ensure they're all being used? This is the terminal selection script I've cobbled together: switch (userChoice) { case "4": user.lang = "ascii"; user.settings &= ~(USER_AUTOTERM | USER_ANSI | USER_RIP | USER_WIP | USER_HTML | USER_PETSCII | USER_UTF8); user.settings &= ~USER_NO_EXASCII; user.screen_columns = 40; user.screen_rows = 25; break; case "7": user.lang = "bbcmicro"; user.settings &= ~(USER_AUTOTERM | USER_ANSI | USER_RIP | USER_WIP | USER_HTML | USER_PETSCII | USER_UTF8); user.settings &= ~USER_NO_EXASCII; user.screen_columns = 40; user.screen_rows = 25; break; case "8": user.lang = "ansi"; user.settings &= ~(USER_AUTOTERM | USER_RIP | USER_WIP | USER_HTML | USER_PETSCII | USER_UTF8); user.settings &= ~USER_NO_EXASCII; user.settings |= USER_ANSI; user.screen_columns = 80; user.screen_rows = 25; break; default: user.lang = "ascii"; user.settings &= ~(USER_AUTOTERM | USER_ANSI | USER_RIP | USER_WIP | USER_HTML | USER_PETSCII | USER_UTF8); user.settings &= ~USER_NO_EXASCII; user.screen_columns = 40; user.screen_rows = 25; break; } Thanks again, Ed --- SBBSecho 3.20-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .