Re: New line handling in a server

2022-05-18 Thread Andreas Schneider
On Wednesday, May 18, 2022 11:57:46 AM CEST Levente wrote: > Hi, Hey! > > I'm developing a CLI using an ssh server, and everything works as > expected, except for the new line character. > > I experience that my client (ssh) sends \n as newline character, but > also the client requires \r\n to

New line handling in a server

2022-05-18 Thread Levente
Hi, I'm developing a CLI using an ssh server, and everything works as expected, except for the new line character. I experience that my client (ssh) sends \n as newline character, but also the client requires \r\n to have proper new line when receiving text. Otherwise I get something like