-
Notifications
You must be signed in to change notification settings - Fork 2k
Configure terminal programs for correct display of newlines
Oleg Hahm edited this page Feb 25, 2016
·
2 revisions
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.
Start with --imap lfcrlf
parameter.
- Graphical method:
- Open the
configuration
menu - Click on 'CR LF auto'
- Open the
- Manual method:
- Edit the file ~/.gtktermrc
- Change value of
crlfauto
option toTrue