home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   SYNCHRONET      Rob Swindell fetishistic worship forum      43,341 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 40,405 of 43,341   
   Digital Man to vela025   
   Help using gettext.js   
   13 Oct 24 14:53:07   
   
   TZUTC: -0700   
   MSGID: 52772.sync@1:103/705 2b724567   
   REPLY: 52769.sync@1:103/705 2b723dad   
   PID: Synchronet 3.20a-Linux master/27ac33026 Oct 13 202 GCC 12.2.0   
   TID: SBBSecho 3.20-Linux master/639781e2a Oct 13 2024 02:23 GCC 12.2.0   
   COLS: 80   
   BBSID: VERT   
   CHRS: CP437 2   
   NOTE: FSEditor.js v1.105   
     Re: Help using gettext.js   
     By: vela025 to ALL on Sun Oct 13 2024 02:20 pm   
      
    > Hey all,   
    >   
    > A while ago I was creating BeeBS II the successor to BeeBS (beebs.ddns.net)   
    > a BBS which supports Acorn mode 7 (teletext graphics) as well as ANSI and   
    > ASCII running on my BBC Micro. I've recently found my backup of BeeBSII (the   
    > synchronet successor) and would like to complete the project but this time   
    > "legally" i.e. still keeping a 40 col ascii mode rather than sending   
    > teletext control codes via that. Instead I've decided to create a   
    > localisation language (bbcmicro) and store the menu files in   
    > /text/menu/bbcmicro. Using text.bbcmicro.ini will allow me to create the   
    > Mode 7 prompts, but I'm struggling to use gettext.js to customise   
    > yesnobar.js  I would like to replace   
    > "\x01h\x014\x01w\x01e[\x01~%s]\x01n\x01b\x01h \x01~%s" with   
    > "\x82(%s)\x81%s".   
    >   
    > To yesnobar.js I have added/amended:   
    > load("gettext.js");   
    > str = format(gettext("\x01h\x014\x01w\x01e[\x01~%s]\x01n\x01b\x01h   
    > \x01~%s"), yes_str, no_str);   
    >   
    > To the end of text.bbcmicro.ini I have added:   
    > [JS]   
    > \x01h\x014\x01w\x01e[\x01~%s]\x01n\x01b\x01h \x01~%s = \x82(%s)\x81%s   
    >   
    > I get no errors, however the prompts appear as they originally did.   
      
   I'm not surprised, honestly. The Ctrl-A escape sequences are likely going to   
   cause issues. You *might* have be better luck using a string literal   
   assignment (colon instead of equals), but probably not.   
      
    > I can replace the string in yesnobar.js which works fine, but then   
    > (understandably) doesn't look great in ASCII/ANSI clients.   
      
   There's probably a better solution, like just using a custom replacment for   
   the yesnobar/noyesbar mods when in this teletextmode.   
      
    > There is also a small typo in the example given here:   
    > http://wiki.synchro.net/custom:javascript:lib:gettext.js   
    >   
    > print(getttext - should be - print(gettext   
      
   Fixed, thanks.   
   --    
                                               digital man (rob)   
      
   Synchronet/BBS Terminology Definition #12:   
   C128 = Commodore 128 (personal computer)   
   Norco, CA WX: 79.7øF, 34.0% humidity, 9 mph W wind, 0.00 inches rain/24hrs   
   --- SBBSecho 3.20-Linux   
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)   
   SEEN-BY: 90/1 103/705 105/81 106/201 124/5016 153/757 7715 154/10   
   SEEN-BY: 154/30 203/0 218/700 221/0 226/30 227/114 229/110 114 206   
   SEEN-BY: 229/317 400 426 428 470 550 700 705 240/1120 5832 266/512   
   SEEN-BY: 280/464 5003 5006 282/1038 291/111 292/8125 301/1 310/31   
   SEEN-BY: 320/219 322/757 341/66 234 342/200 396/45 423/120 460/58   
   SEEN-BY: 460/256 1124 467/888 633/280 712/848 770/1 5020/400 5054/30   
   SEEN-BY: 5075/35   
   PATH: 103/705 280/464 460/58 229/426   
      

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca