HPlogo MPE/iX Developer's Kit Reference Manual Volume 2: HP 3000 MPE/iX Computer Systems > Chapter 4 CURSES

nl nonl

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The nl and nonl routines are used to enable and disable newline control.

Syntax

   #include <curses.h>



   int nl();

   int nonl();

Return Values

OK

Successful completion.

ERR

An error occurred.

Description

The nl() routine enables the handling of newlines. The nl() routine converts newline into carriage return and line feed on output and converts carriage return into newline on input. The nonl() routine disables the handling of newlines.

The handling of newlines is initially enabled. Disabling the handling of newlines results in faster cursor motion since CURSES can use the line-feed capability more efficiently.

Implementation Considerations

Identical to XPG/3

Portability

HP-UX, UNIX System V, XPG/3

Feedback to webmaster