Subj : File: writeln() and line endings
To : Digital Man
From : Nightfox
Date : Mon Apr 28 2025 09:47 am
Re: File: writeln() and line endings
By: Digital Man to Nightfox on Sun Apr 27 2025 09:36 pm
>>> Also, I'm a little unclear on why the underlying C++ methods would change
>>> the line endings to \r\n on Linux. Could that be a bug, or is it intended
>>> behavior?
>> That is intended behavior. I'll look into retaining the line-ending style
>> on edited text files.
DM> Each editor actually has this behavior configured in SCFG: "Expand Line
DM> Feeds to CRLF" - how is yours set?
Mine is set to "Yes". I guess that would explain it.
That has been in place for SlyEdit for quite a while now.. I'm not sure it would be best to change it, or leave it and make a workaround.
Nightfox
---
� Synchronet � Digital Distortion: digitaldistortionbbs.com