Enables/disables newline translation.
#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();
These subroutines are part of Base Operating System (BOS) Runtime.
The refresh (refresh or wrefresh Subroutine) subroutine, waddch (addch, mvaddch, mvwaddch, or waddch Subroutine) subroutine.
Curses Overview for Programming, Understanding Terminals with Curses, List of Curses Subroutines in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.