X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fresizeterm.3x.html;h=ca51d4a3e9f92ad0ff3591b3e89d337df052f49b;hp=e1a8c723a5f92c10feae336435323fa58500f523;hb=3eda6f30a84d53844d2ebceadb457e2e7e9cfbf3;hpb=a919b0ee00a6287c7e29330be52f9bb557503288 diff --git a/doc/html/man/resizeterm.3x.html b/doc/html/man/resizeterm.3x.html index e1a8c723..ca51d4a3 100644 --- a/doc/html/man/resizeterm.3x.html +++ b/doc/html/man/resizeterm.3x.html @@ -1,6 +1,6 @@ @@ -46,14 +46,12 @@ - -

NAME

+

NAME

        is_term_resized,  resize_term,  resizeterm  -  change  the
        curses terminal size
 
 
-
-

SYNOPSIS

+

SYNOPSIS

        #include <curses.h>
 
        bool is_term_resized(int lines, int columns);
@@ -61,16 +59,14 @@
        int resizeterm(int lines, int columns);
 
 
-
-

DESCRIPTION

+

DESCRIPTION

        This is an extension to the curses library.   It  provides
        callers  with  a hook into the ncurses data to resize win-
        dows, primarily for use by programs running in an X Window
        terminal (e.g., xterm).
 
 
-
-

resizeterm

+

resizeterm

        The  function  resizeterm resizes the standard and current
        windows to the specified  dimensions,  and  adjusts  other
        bookkeeping  data  used by the ncurses library that record
@@ -78,8 +74,7 @@
        ables.
 
 
-
-

resize_term

+

resize_term

        Most   of   the   work  is  done  by  the  inner  function
        resize_term.  The outer function resizeterm adds bookkeep-
        ing  for the SIGWINCH handler.  When resizing the windows,
@@ -91,24 +86,21 @@
        tional interaction with the application.
 
 
-
-

is_term_resized

+

is_term_resized

        A  support  function  is_term_resized  is provided so that
        applications can check if the resize_term  function  would
        modify the window structures.  It returns TRUE if the win-
        dows would be modified, and FALSE otherwise.
 
 
-
-

RETURN VALUE

+

RETURN VALUE

        Except as noted, these functions return  the  integer  ERR
        upon  failure and OK on success.  They will fail if either
        of the dimensions are less than or equal to zero, or if an
        error occurs while (re)allocating memory for the windows.
 
 
-
-

NOTES

+

NOTES

        While these functions are intended to be used to support a
        signal handler (i.e., for SIGWINCH), care should be  taken
        to  avoid invoking them in a context where malloc or real-
@@ -120,7 +112,7 @@
 
        o   on receipt of a SIGWINCH, the handler sets a flag
 
-       o   which is tested in wgetch and doupdate,
+       o   which is tested in wgetch(3x) and doupdate,
 
        o   in turn, calling the resizeterm function,
 
@@ -143,13 +135,12 @@
        WINCH is received, no screen size change may be recorded.
 
 
-
-

PORTABILITY

+

PORTABILITY

        It is possible to resize the screen with SVr4 curses, by
 
-       o   exiting curses with endwin(3x) and
+       o   exiting curses with endwin(3x) and
 
-       o   resuming using refresh(3x).
+       o   resuming using refresh(3x).
 
        Doing that clears the screen and is visually distracting.
 
@@ -157,13 +148,11 @@
        was adopted in NetBSD curses (2001) and PDCurses (2003).
 
 
-
-

SEE ALSO

+

SEE ALSO

        curs_getch(3x), curs_variables(3x), wresize(3x).
 
 
-
-

AUTHOR

+

AUTHOR

        Thomas Dickey (from an equivalent function written in 1988
        for BSD curses).