[DGD] MODE_NOECHO newline

Felix A. Croes felix at dworkin.nl
Mon Aug 1 16:37:06 CEST 2016


Blain <blain20 at gmail.com> wrote:

> When I switch to noecho mode, the lines following a newline are severely
> indented.  To fix it, I have to replace \n with \r\n before sending it to
> the user.  This doesn't happen in echo mode.  Any ideas on where to start
> looking?  Kernel code and my code seem fine so far.

That's odd, because DGD will automatically send \r\n for every \n on a telnet
connection.  The first step would be to run a session using 'script', to
verify that correct output is produced.

Regards,
Felix Croes



More information about the DGD mailing list