Subj : fidonet nodelist browser error
To : xbit
From : Digital Man
Date : Mon Jun 02 2025 03:17 pm
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
>
> DM> 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