Subj : File: writeln() and line endings To : Nightfox From : Digital Man Date : Sun Apr 27 2025 21:26:43 Re: File: writeln() and line endings By: Nightfox to Digital Man on Sun Apr 27 2025 05:27 pm > In my test, after creating id_rsa using console.editfile(), SSH fails to > authenticate me, which seems to me is caused by the difference in line > endings. > > Is there a way to call console.editfile() so that it won't do any > post-processing of the file? > > 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. -- digital man (rob) Synchronet/BBS Terminology Definition #60: PET = Personal Electronic Transactor (Commodore computer) Norco, CA WX: 54.2øF, 78.0% humidity, 4 mph W wind, 0.00 inches rain/24hrs --- þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net .