TIP: Click on subject to list as thread! ANSI
echo: synchronet
to: Nightfox
from: Tracker1
date: 2022-07-24 16:08:00
subject: Re: Help, It`s my fault t

On 7/22/22 13:46, Nightfox wrote:
 > One caveat that I've found though is that if you're using background
 > codes (which are numeric), I ended up splitting the string; otherwise
 > it would interpret the nex number wrong.
 >
 > For instance, if you want to output a blue background (Ctrl-A + 4),
 > then I'd do this in JavaScript:
 >
 > "\x01" + "4";
 >
 > Otherwise, if you have "\x014", then that would be interpreted as hex
 > number 14, which would be interpreted as a different character.

Have you tried using the octal escape? "\001" instead?  Not sure, but I 
don't think I've seen an issue with it.
-- 
Michael J. Ryan - tracker1@roughneckbbs.com
---
 þ Synchronet þ Roughneck BBS - roughneckbbs.com
--- SBBSecho 3.15-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™.