X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_initscr.3x.html;h=0994519957fad414403f32f0f17572d3788ec269;hp=3c47ac6c2ce3f12c3cbc39f71609ab618e059b4c;hb=6208c89f98f1cf9fe0980bd8e791846ce007a13d;hpb=e3d8d5a5a9425b40e09df86a597c3e971dced9d1 diff --git a/doc/html/man/curs_initscr.3x.html b/doc/html/man/curs_initscr.3x.html index 3c47ac6c..09945199 100644 --- a/doc/html/man/curs_initscr.3x.html +++ b/doc/html/man/curs_initscr.3x.html @@ -45,14 +45,12 @@ - -

NAME

+

NAME

        initscr, newterm, endwin, isendwin, set_term, delscreen -
        curses screen initialization and manipulation routines
 
 
-
-

SYNOPSIS

+

SYNOPSIS

        #include <curses.h>
 
        WINDOW *initscr(void);
@@ -63,11 +61,9 @@
        void delscreen(SCREEN* sp);
 
 
-
-

DESCRIPTION

+

DESCRIPTION

 
-
-

initscr

+

initscr

        initscr is normally the first curses routine to call  when
        initializing  a program.  A few special routines sometimes
        need to be called before it; these are  slk_init,  filter,
@@ -82,8 +78,7 @@
        stdscr.
 
 
-
-

newterm

+

newterm

        A  program  that  outputs to more than one terminal should
        use the newterm  routine  for  each  terminal  instead  of
        initscr.  A program that needs to inspect capabilities, so
@@ -103,8 +98,7 @@
        If the type parameter is NULL, $TERM will be used.
 
 
-
-

endwin

+

endwin

        The  program must also call endwin for each terminal being
        used before exiting from curses.   If  newterm  is  called
        more  than  once for the same terminal, the first terminal
@@ -125,15 +119,13 @@
        es the program to resume visual mode.
 
 
-
-

isendwin

+

isendwin

        The isendwin routine  returns  TRUE  if  endwin  has  been
        called without any subsequent calls to wrefresh, and FALSE
        otherwise.
 
 
-
-

set_term

+

set_term

        The set_term routine is used to switch  between  different
        terminals.   The screen reference new becomes the new cur-
        rent terminal.  The previous terminal is returned  by  the
@@ -142,16 +134,14 @@
        rent terminal.
 
 
-
-

delscreen

+

delscreen

        The  delscreen  routine  frees storage associated with the
        SCREEN data structure.  The endwin  routine  does  not  do
        this, so delscreen should be called after endwin if a par-
        ticular SCREEN is no longer needed.
 
 
-
-

RETURN VALUE

+

RETURN VALUE

        endwin returns the integer ERR upon failure  and  OK  upon
        successful completion.
 
@@ -171,20 +161,17 @@
        o   set_term returns no error.
 
 
-
-

NOTES

+

NOTES

        Note that initscr and newterm may be macros.
 
 
-
-

PORTABILITY

+

PORTABILITY

        These functions were described in the XSI Curses standard,
        Issue 4.  As of 2015, the current document is X/Open Curs-
        es, Issue 7.
 
 
-
-

Differences

+

Differences

        X/Open specifies that portable applications must not  call
        initscr more than once:
 
@@ -200,8 +187,7 @@
        the return value of initscr in XSI Curses.
 
 
-
-

Unset TERM Variable

+

Unset TERM Variable

        If the TERM variable is missing or empty, initscr uses the
        value  "unknown", which normally corresponds to a terminal
        entry with the generic (gn) capability.   Generic  entries
@@ -211,8 +197,7 @@
        ly.
 
 
-
-

Signal Handlers

+

Signal Handlers

        Quoting from X/Open Curses, section 3.1.1:
 
             Curses implementations may provide for  special  han-
@@ -274,8 +259,7 @@
             stdscr, and update other data such as LINES and COLS.
 
 
-
-

SEE ALSO

+

SEE ALSO

        curses(3x),       curs_kernel(3x),       curs_refresh(3x),
        curs_slk(3x), curs_terminfo(3x), curs_util(3x), curs_vari-
        ables(3x).