Subj : sbbslist.js 1.68 To : the doctor From : Digital Man Date : Thu Feb 24 2022 12:49:27 Re: sbbslist.js 1.68 By: the doctor to DIGITAL MAN on Thu Feb 24 2022 10:32 am > >--- DIGITAL MAN wrote --- > > Looks like it was just white-space issues: your message lines are \n- > > terminated rather than \r\n-terminated and my avatars.js didn't like > > that. > > > Also, your json-end line had trailing white-space (before the end of > > line). > > > I adjusted avatars.js to be more tolerant of these differences in white- > > space of the avatar messages, but if you want to maximize compatibility > > with existing Synchronet systems, you could make those changes to your > > messages' white-space. > > Wow thanks! I didn't expect you to change your code to work with mine. > This thing runs on Ubuntu so the EOL conventions are Unix. I understand. The traditional QWK format is to use 0xE3 for end-of-line (why? I have no idea), and those characters get translated by Synchronet to CR/LF *unless* UTF-8 support is indicated, in which case, it's normally expected to be CR/LF terminated lines. LF-terminated lines work okay too (as is the FidoNet standard), but my avatars.js script just wasn't very flexible in its expectations. > I'll change it > to more closely match what you're looking for so it will work everywhere. Cool. > (Oh wow, i just found another bug in this full screen editor. Damn!) They're hard to get right, I know, I've tried. -- digital man (rob) Sling Blade quote #6: Karl: he should've had a chance to grow up. He would had fun some time. Norco, CA WX: 58.9øF, 22.0% humidity, 3 mph ENE wind, 0.00 inches rain/24hrs --- SBBSecho 3.14-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .