Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

nonl(3cur) [ultrix man page]

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)

Check Out this Related Man Page

getstr(3cur)															      getstr(3cur)

Name
       getstr, mvgetstr, mvwgetstr, wgetstr - read string

Syntax
       #include <cursesX.h>

       int getstr(str)
       char *str;

       int wgetstr(win, str)
       WINDOW *win;
       char *str;

       int mvgetstr(y, x, str)
       int y, x;
       char *str;

       int mvwgetstr(win, y, x, str)
       WINDOW *win;
       int y, x;
       char *str;

Description
       The  routine  reads  characters from the terminal associated with the default window and stores them in a buffer until a carriage return or
       newline is received from The routine B is called by to read each character.

       The routine reads characters from the terminal associated with the specified window.  The characters are read from the current cursor posi-
       tion until a newline or carriage return is received.

       The routine reads characters from the terminal associated with the default window.  The characters are read from the specified cursor posi-
       tion until a newline or carriage return is received.

       The routine reads characters from the terminal associated with the specified window.  The characters are read  from  the  specified  cursor
       position until a newline or carriage return is received.

       The following information applies to all the routines.

       The  resulting  string is placed in the area pointed to by the character pointer The user's erase and kill characters are interpreted.  The
       area used to hold the string is assumed to be large enough to handle it, as does not check for buffer overflow.	If the area is	not  large
       enough, the result will be unpredictable.

       The routines and are macros.

Return Values
       The and functions return OK on success and ERR on error.

See Also
       getch(3cur)

																      getstr(3cur)
Man Page