Subj : File: writeln() and line endings
To : Nightfox
From : Digital Man
Date : Mon Apr 28 2025 03:58 pm
Re: File: writeln() and line endings
By: Nightfox to Digital Man on Mon Apr 28 2025 03:18 pm
> Re: File: writeln() and line endings
> By: Digital Man to Nightfox on Mon Apr 28 2025 02:25 pm
>
> DM> Double-check whether messages posted with SlyEdit configured in that
> DM> manner have LF or CRLF terminated lines. By standard, SMB message text
> DM> is supposed to be CRLF-terminated, but it might not be guaranteed when
> DM> using an editor that terminates lines with LF only and that "Expland
> DM> Line Feeds" option is disabled. Or maybe LF-terminated message text is
> DM> okay now - I don't remember.
>
> When configured with 'Expand line feeds to CRLF' was false, SlyEdit saved my
> message with just a \n. My last message posted here was like that. I've
> made an update to SlyEdit (my test version) to try to ensure it seaves
> messages with CRLF line endings.
You probably shouldn't need to change SlyEdit. If CRLFs are absolutely required by Synchronet, it should do that expansion from LF to CRLF when necessary (I think happens upon message *display* now).
--
digital man (rob)
Steven Wright quote #15:
Depression is merely anger without enthusiasm.
Norco, CA WX: 66.9�F, 57.0% humidity, 18 mph WSW wind, 0.00 inches rain/24hrs
---
� Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net