Subj : File: writeln() and line endings To : Nightfox From : Digital Man Date : Mon Apr 28 2025 20:27:10 Re: File: writeln() and line endings By: Nightfox to Digital Man on Mon Apr 28 2025 06:15 pm > Re: File: writeln() and line endings > By: Digital Man to Nightfox on Mon Apr 28 2025 03:58 pm > > >> 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. > > DM> You probably shouldn't need to change SlyEdit. If CRLFs are absolutely > DM> required by Synchronet, it should do that expansion from LF to CRLF > DM> when necessary (I think happens upon message *display* now). > > Ah, I won't change SlyEdit to do that then. Yeah, it'd be best if the editor didn't really matter. I probably should just get rid of that "Expand line feeds" config option since we should always convert the edited file to expected format when needed. -- digital man (rob) Synchronet "Real Fact" #78: Synchronet Match Maker had at one time over 4000 profiles of men and women Norco, CA WX: 58.5øF, 71.0% humidity, 6 mph W wind, 0.00 inches rain/24hrs --- þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net .