Subj : Help using gettext.js To : Digital Man From : vela025 Date : Sun Oct 20 2024 19:27:48 Hi Rob, sorry for not being more specific/explaining seemingly odd choices :D >"next login" as the same user or a different user? Same user >using a language file to control terminal type I'm using the language file to use different control codes for the user prompts, but the script above to change the users terminal type settings is in logon.js. >Which "settings" are you referring to? Changing manually from one terminal type to another. i.e. changing from an ansi supported terminal to soley cp437 used to require the user to log out and back in again (same user account) for all the settings to take effect (this was before adding the terminal prompt at logon and before using the language files to customize prompts). After changing to terminal settings to just cp437 the Mode 7 menus did not display correctly, however when the same user logged out and back in the menus displayed as they should. >I looked at it, but doesn't tell me any specific cause. Yeah I'm not sure what the specific cause is. I think it might be column related as the Mode 7 screens corrupt just after @ANODE|L13@ and the ANSI screen is displaying the avatar too far left. Maybe there is something at logoff that re-confirms the users terminal settings and update a flag I've missed. >I would think an "ascii" terminal would want no extended ASCII (IBM CP437) characters, so that USER_NO_EXASCII flag should be set (not cleared) Oh yes thank you, you're absolutely correct, I'll get that updated. The odd terminal choices are because it's primarily designed for a BBC Micro to use, so if you're using ASCII you're most likely in Mode 7 (which leaves the most amount of free memory and displays best on a TV, which is 40 columns), if you're using an ANSI client (of which I think there are only 2 and only one of those supports a *massive* 4 colours) then that is 80 columns and does not support UTF-8 >If JS, you can just put "default:" on the line before the "case" statement you want to be the default. Great thanks JS is still very new to me I'll implement this. --- þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net .