TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: Digital Man
from: vela025
date: 2024-10-17 14:53:00
subject: Help using gettext.js

> This sounds like something you could add to the top of your logon.js file.

> if(confirm("Are you using a BBC Micro Mode 7 terminal"))
>         user.lang = "bbcmicro";
> else
>         user.lang = "";

Thanks Rob that works well for moving from one UFT-8/ANSI disabled terminal
setting to BBC Mode7 (but not if moving from ANSI or something with UTF-8
enabled). Would changing the contents of user.setting allow me to change the
terminal type settings to
auto off, UTF-8 off, ANSI off, CBM/PETSCII off, EXASCII on

Would something similar to this work:

if(confirm("Are you using a BBC Micro Mode 7 terminal"))
	user.lang = "bbcmicro";
	user.settings &= ~USER_AUTOTERM | USER_ANSI | USER_RIP | USER_WIP |
USER_HTML | USER_PETSCII | USER_UTF8;
	user.settings &= ~USER_EXASCII;
else
	user.lang = "";
--- SBBSecho 3.20-Linux
         
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.