Re: fidonet nodelist browser error
By: xbit to Digital Man on Mon Jun 02 2025 03:02 pm
Re: fidonet nodelist browser error
By: Digital Man to xbit on Mon Jun 02 2025 02:47 pm
I get the following:
!JavaScript fido-nodelist-browser.js line 6941: SyntaxError: unterminated
!ERROR compiling d:\sbbs\EXEC\fido-nodelist-browser.js
What's on line 6941 of your version of that file?
case "SUB":
Quick update: downgraded to the version on 3.19 and it works. That said, more than happy to test w/ my current ver or anyothers.
I see the problem. In the current version of that file (I'm not sure about older versions), many of those case statements in/around line 6941 are literal control characters embedded in a string. Windows and DOS treat the Ctrl-Z (SUB) character as EOF (holdover from CP/M days), so Nelgin's likely right.
Even though your viewer/editor might show case "SUB" or case "^Z" it's actually a literal control character in the file and that's not kosher JS.
--
digital man (rob)
Steven Wright quote #34:
If at first you don't succeed, skydiving is not for you.
Norco, CA WX: 81.0øF, 49.0% humidity, 17 mph WNW wind, 0.00 inches rain/24hrs ---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net