[vlc-devel] [PATCH] cli: fix line trimming with socket cli

Romain Vimont rom1v at videolabs.io
Thu Nov 5 16:51:52 CET 2020


On Thu, Nov 05, 2020 at 05:30:02PM +0200, Rémi Denis-Courmont wrote:
> Le torstaina 5. marraskuuta 2020, 16.20.58 EET Alexandre Janniaux a écrit :
> > Hi,
> > 
> > In term of UX, it avoids this issue:
> > 
> >     $ telnet 192.168.1.31 9999
> 
> And? RC/CLI is *not* implementing the Telnet protocol. telnet is not for raw 
> I/O. There's netcat et al for that.

I guess that netcat on Windows suffers from the same problem.

RC just receives lines, it is more convenient (and harmless) if it just
supports both CR/LF and LF. There is no benefit to keep a CR.


More information about the vlc-devel mailing list