• How does attr.ini/cfg rainbow work with JS files?

    From CyberNix@1:103/705 to All on Mon Sep 30 19:30:14 2024
    Trying to get rainbow-coloured text. I have attr.ini with this line:

    rainbow = WH,W,CH,C,MH,M,BH,B,YH,Y,GH,G,RH,R,KH

    In my JS, I'm doing something like:

    console.center('\x01xTest!')

    But the text is plain. What am I doing wrong?


    Thanks,
    Nick

    ---
    þ Synchronet þ Sent from TFSI BBS
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to CyberNix on Mon Sep 30 16:04:20 2024
    Re: How does attr.ini/cfg rainbow work with JS files?
    By: CyberNix to All on Mon Sep 30 2024 19:30:14

    Trying to get rainbow-coloured text. I have attr.ini with this line: rainbow = WH,W,CH,C,MH,M,BH,B,YH,Y,GH,G,RH,R,KH
    In my JS, I'm doing something like:
    console.center('\x01xTest!')

    The 'rainbow' attribute / ctrl-a code was added in late May 2024. You appear to be running a build from January.

    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From CyberNix@1:103/705 to echicken on Tue Oct 1 01:43:28 2024
    Re: How does attr.ini/cfg rainbow work with JS files?
    By: echicken to CyberNix on Mon Sep 30 2024 04:04 pm

    The 'rainbow' attribute / ctrl-a code was added in late May 2024. You appear to be running a build from January.

    Yep that'd be it. Upgraded and all good now.

    Cheers!
    Nick

    ---
    þ Synchronet þ Sent from TFSI BBS
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)