nl(3cur)nl(3cur)Name
nl, nonl - enable/disable newline control
Syntax
#include <cursesX.h>
int nl()
int nonl()Description
The routine enables the newline control translations. When newline
control is enabled, a newline is translated into a carriage return and
a linefeed on output, and a return is translated into a newline on
input. Initially, these translations do occur.
The routine disables these translations, allowing the program to use
the linefeed capability of the terminal, resulting in faster cursor
motion. The routine is a macro.
Return Values
The and functions return OK on success and ERR on error.
nl(3cur)