I just realized that Benoit answered directly to me, not via the list. Thank you everyone, but the "problem" is solved. See below.
Jussi ---------- Forwarded message ---------- From: Benoît Minisini <gam...@users.sourceforge.net> Date: Sun, Aug 27, 2017 at 11:21 PM Subject: Re: [Gambas-user] \r\n and \n To: Jussi Lahtinen <jussi.lahti...@gmail.com> Le 27/08/2017 à 22:18, Jussi Lahtinen a écrit : > See the attached project. I'm not sure whether this is feature or bug, but > I would appreciate explanation for it. I expect to get string ending with > \n, but I always get it ending with \r\n. > Why? > > > Jussi > > Because: - Your programs are run inside pseudo-terminals. - The pseudo-terminals are now "correctly" initialized, with newlines "\n" emitted by the process becoming "\r\n" on the pseudo-terminal, so that they have the intentional effect (start a new line and go back to the beginning of the line). Regards, -- Benoît Minisini ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user