Enables/disables newline translation.
Curses Library (libcurses.a)
#include <curses.h>
int nl(void);
int nonl(void);
The nl subroutine enables a mode in which carriage return is translated to newline on input. The nonnl subroutine disables the above translation. Initially, the above translation is enabled.
Upon successful completion, these subroutines return OK. Otherwise, they return ERR.
nl();
nonl();