Skip to content

Configure terminal programs for correct display of newlines

Kaspar Schleiser edited this page Feb 25, 2016 · 2 revisions

Background

When printing something using stdio (e.g., printf("Hello World!\n");, RIOT sends a line feed character (0xA) as '\n' (newline).

Some terminals need more, for example, a carriage return and a line feed character (0xD, 0xA). See https://en.wikipedia.org/wiki/Newline for background.

This page tries to collect needed settings for common terminal programs that will make them correctly display newlines.

picocom

Start with --imap lfcrlf parameter.

Clone this wiki locally