X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_kernel.3x.html;h=a91bb850a175d9f95b73f4bee2d855058babd541;hp=57e640857bc73a2626ea555907a789bdf8bbadc5;hb=3eda6f30a84d53844d2ebceadb457e2e7e9cfbf3;hpb=6a530b46563470c2ca73579d1994a0c8e275dd98 diff --git a/doc/html/man/curs_kernel.3x.html b/doc/html/man/curs_kernel.3x.html index 57e64085..a91bb850 100644 --- a/doc/html/man/curs_kernel.3x.html +++ b/doc/html/man/curs_kernel.3x.html @@ -1,6 +1,6 @@ @@ -45,15 +45,13 @@ - -

NAME

+

NAME

        def_prog_mode, def_shell_mode, reset_prog_mode,
        reset_shell_mode, resetty, savetty, getsyx, setsyx,
        ripoffline, curs_set, napms - low-level curses routines
 
 
-
-

SYNOPSIS

+

SYNOPSIS

        #include <curses.h>
 
        int def_prog_mode(void);
@@ -69,42 +67,37 @@
        int napms(int ms);
 
 
-
-

DESCRIPTION

+

DESCRIPTION

        The  following  routines  give low-level access to various
        curses capabilities.  These routines  typically  are  used
        inside library routines.
 
 
-
-

def_prog_mode, def_shell_mode

+

def_prog_mode, def_shell_mode

        The  def_prog_mode  and  def_shell_mode  routines save the
        current terminal modes as the  "program"  (in  curses)  or
        "shell"   (not  in  curses)  state  for  use  by  the  re-
        set_prog_mode and reset_shell_mode routines.  This is done
        automatically by initscr.  There is one such save area for
-       each screen context allocated by newterm().
+       each screen context allocated by newterm.
 
 
-
-

reset_prog_mode, reset_shell_mode

+

reset_prog_mode, reset_shell_mode

        The reset_prog_mode and reset_shell_mode routines  restore
        the  terminal  to "program" (in curses) or "shell" (out of
-       curses) state.  These are  done  automatically  by  endwin
+       curses) state.  These are done automatically by endwin(3x)
        and,  after  an  endwin, by doupdate, so they normally are
        not called.
 
 
-
-

resetty, savetty

+

resetty, savetty

        The resetty and savetty  routines  save  and  restore  the
        state  of  the  terminal modes.  savetty saves the current
        state in a buffer and resetty restores the state  to  what
        it was at the last call to savetty.
 
 
-
-

getsyx

+

getsyx

        The  getsyx routine returns the current coordinates of the
        virtual screen cursor in y and x.  If leaveok is currently
        TRUE,  then -1,-1 is returned.  If lines have been removed
@@ -113,8 +106,7 @@
        as arguments for setsyx.
 
 
-
-

setsyx

+

setsyx

        The setsyx routine sets the virtual screen cursor to y, x.
        If y and x are both -1, then leaveok is set.  The two rou-
        tines getsyx and setsyx are designed to be used by  a  li-
@@ -126,8 +118,7 @@
        doupdate.
 
 
-
-

ripoffline

+

ripoffline

        The ripoffline routine provides access to the same facili-
        ty  that  slk_init  [see  curs_slk(3x)] uses to reduce the
        size of the screen.   ripoffline  must  be  called  before
@@ -159,8 +150,7 @@
        initscr or newterm.
 
 
-
-

curs_set

+

curs_set

        The curs_set routine sets the cursor state  to  invisible,
        normal, or very visible for visibility equal to 0, 1, or 2
        respectively.  If the terminal supports the visibility re-
@@ -168,13 +158,11 @@
        ERR is returned.
 
 
-
-

napms

+

napms

        The napms routine is used to sleep for ms milliseconds.
 
 
-
-

RETURN VALUE

+

RETURN VALUE

        Except for curs_set, these routines always return OK.
 
        curs_set returns the previous cursor state, or ERR if  the
@@ -194,8 +182,7 @@
             lines exceeds the maximum (NRIPS = 5).
 
 
-
-

NOTES

+

NOTES

        Note that getsyx is a macro, so & is not necessary  before
        the variables y and x.
 
@@ -211,8 +198,7 @@
        to restore that.
 
 
-
-

PORTABILITY

+

PORTABILITY

        The functions setsyx and getsyx are not described  in  the
        XSI  Curses standard, Issue 4.  All other functions are as
        described in XSI Curses.
@@ -222,8 +208,7 @@
        macros with no documented semantics for the return value.
 
 
-
-

SEE ALSO

+

SEE ALSO

        curses(3x), curs_initscr(3x),  curs_outopts(3x),  curs_re-
        fresh(3x),   curs_scr_dump(3x),  curs_slk(3x),  curs_vari-
        ables(3x).