TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: vela025
from: MRO
date: 2024-10-14 16:24:00
subject: Help using gettext.js

  Re: Help using gettext.js
  By: vela025 to MRO on Mon Oct 14 2024 01:45 pm

 > > just use @codes to print the time
 > > you can do an exec code in your text.dat or in  your command shell.
 >
 > > i have an animated script i wrote for my prompt.
 >
 > I think you may have misunderstood what I'm trying to do. I would like
 >
 > the
 > main menu prompt located in default.js to use Acorn Mode 7 control codes if
 > the user has their language set to BBC Micro, but continue to use the
 > default control codes if not. In the same way the yesnobar now displays
 > (thanks to Rob) \x01h\x014\x01w\x01e[\x01~%s]\x01n\x01b\x01h \x01~%s by
 > default but \x82(%s)\x81%s on a Mode 7 terminal.

almost anything is possible. just put in a check for it and switch it for the user if they meet the requirement.

or, you can just ask the user if they want those control codes and  give them a
command shell and text.dat for their terminal.  i would use a user flag for keeping track.

---
 þ Synchronet þ ::: BBSES.info - free BBS services :::
                                                        
* 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™.