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,435 of 43,341   
   vela025 to Digital Man   
   Help using gettext.js   
   18 Oct 24 01:14:34   
   
   TZUTC: -0700   
   MSGID: 52808.sync@1:103/705 2b781d32   
   REPLY: 52807.sync@1:103/705 2b77a00b   
   PID: Synchronet 3.20a-Linux master/f4a2249b0 Sep 21 202 GCC 12.2.0   
   TID: SBBSecho 3.20-Linux master/1f506c96b Oct 16 2024 00:06 GCC 12.2.0   
   BBSID: VERT   
   CHRS: UTF-8 4   
   > Yup, I think so. Did you try it?   
   > --    
   >                                             digital man (rob)   
      
   No I was a little worried it would corrupt a settings file somewhere. But I've   
   backed up everything now and this:   
      
   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 = "";   
      
   Gives line 16:SyntaxError (which is the else line). Else is not indented and at   
   the margin inline with IF. Indenting also give the same error. In the console   
   it displays:    
      
   logon.js line 16: SyntaxError: syntax error   
   10/18 08:44:04 term Node 1  !ERROR 2 (No such file or directory) in   
   exec.cpp line 644 (js_execfile) compiling "/home/ed/sbbs/exec/logon.js"   
   access=0   
      
   Desperate times = desperate measures so I used ChatGTP to help which   
   recommended the following structure:   
      
   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 = "";   
   }   
      
   This does get to displaying the question and no error message but then hangs,   
   with the console displaying:   
      
   logon.js line 15: ReferenceError: USER_EXASCII is not defined, after double   
   checking I realised it should be USER_NO_EXASCII:   
      
   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 = "";   
   }   
      
   Which worked!! So now I'm going to look at CASE (I think?) so that the user   
   will initially get:   
      
   Please select terminal type:   
   (4) 0 Column ASCII   
   Acorn Mode (7)   
   (8) 0 Column ANSI   
   Enter 4, 7 or 8:   
   --- 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