Ignore:
Timestamp:
Jan 13, 2017, 3:21:12 PM (8 years ago)
Author:
Silvan Scherrer
Message:

ncurses: import vendor version 5.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified ncurses/vendor/current/doc/html/man/curs_clear.3x.html

    r85 r1910  
    22<!--
    33  ****************************************************************************
    4   * Copyright (c) 1998-2005,2007 Free Software Foundation, Inc.              *
     4  * Copyright (c) 1998-2007,2010 Free Software Foundation, Inc.              *
    55  *                                                                          *
    66  * Permission is hereby granted, free of charge, to any person obtaining a  *
     
    2828  * authorization.                                                           *
    2929  ****************************************************************************
    30   * @Id: curs_clear.3x,v 1.11 2007/12/29 15:58:38 tom Exp @
     30  * @Id: curs_clear.3x,v 1.14 2010/12/04 18:36:44 tom Exp @
    3131-->
    3232<HTML>
     
    6868</PRE>
    6969<H2>DESCRIPTION</H2><PRE>
    70        The  <STRONG>erase</STRONG>  and <STRONG>werase</STRONG> routines copy blanks to every posi-
     70       The <STRONG>erase</STRONG> and <STRONG>werase</STRONG> routines copy blanks to  every posi-
    7171       tion in the window, clearing the screen.
    7272
    73        The <STRONG>clear</STRONG> and <STRONG>wclear</STRONG> routines are like <STRONG>erase</STRONG>  and <STRONG>werase</STRONG>,
    74        but  they also call <STRONG>clearok</STRONG>, so that the screen is cleared
    75        completely on the next call to <STRONG>wrefresh</STRONG>  for  that window
     73       The  <STRONG>clear</STRONG>  and <STRONG>wclear</STRONG> routines are like <STRONG>erase</STRONG> and <STRONG>werase</STRONG>,
     74       but they also call <STRONG>clearok</STRONG>, so that the screen is cleared
     75       completely  on  the  next call to <STRONG>wrefresh</STRONG> for that window
    7676       and repainted from scratch.
    7777
    78        The  <STRONG>clrtobot</STRONG> and <STRONG>wclrtobot</STRONG> routines erase from the cursor
     78       The <STRONG>clrtobot</STRONG> and <STRONG>wclrtobot</STRONG> routines erase from the cursor
    7979       to the end of screen.  That is, they erase all lines below
    80        the  cursor  in the window.  Also, the current line to the
     80       the cursor in the window.  Also, the current line  to the
    8181       right of the cursor, inclusive, is erased.
    8282
    8383       The <STRONG>clrtoeol</STRONG> and <STRONG>wclrtoeol</STRONG> routines erase the current line
    84        to  the  right of the cursor, inclusive, to the end of the
     84       to the right of the cursor, inclusive, to the end  of the
    8585       current line.
    8686
     
    9191</PRE>
    9292<H2>RETURN VALUE</H2><PRE>
    93        All  routines  return the integer <STRONG>OK</STRONG> on success and <STRONG>ERR</STRONG> on
    94        failure.  The SVr4.0 manual says "or a non-negative inte-
     93       All routines return the integer <STRONG>OK</STRONG> on success and  <STRONG>ERR</STRONG> on
     94       failure.   The SVr4.0 manual says "or a non-negative inte-
    9595       ger if <STRONG>immedok</STRONG> is set", but this appears to be an error.
    9696
    97        X/Open  defines  no error conditions.  In this implementa-
     97       X/Open defines no error conditions.  In  this implementa-
    9898       tion, functions using a window pointer parameter return an
    9999       error if it is null.
     
    108108</PRE>
    109109<H2>PORTABILITY</H2><PRE>
    110        These functions are described in the XSI Curses standard,
    111        Issue  4.   The standard specifies that they return <STRONG>ERR</STRONG> on
     110       These  functions are described in the XSI Curses standard,
     111       Issue 4.  The standard specifies that they return  <STRONG>ERR</STRONG> on
    112112       failure, but specifies no error conditions.
    113113
    114        Some historic curses implementations had,  as  an undocu-
    115        mented  feature,  the  ability  to  do  the  equivalent of
    116        <STRONG>clearok(...,</STRONG> <STRONG>1)</STRONG> by saying <STRONG>touchwin(stdscr)</STRONG>  or <STRONG>clear(std-</STRONG>
     114       Some  historic  curses  implementations had, as an undocu-
     115       mented feature,  the  ability  to  do  the  equivalent of
     116       <STRONG>clearok(...,</STRONG>  <STRONG>1)</STRONG>  by saying <STRONG>touchwin(stdscr)</STRONG> or <STRONG>clear(std-</STRONG>
    117117       <STRONG>scr)</STRONG>.  This will not work under ncurses.
    118118
    119        This  implementation, and others such as Solaris, sets the
    120        current position to 0,0 after  erasing  via  <STRONG>werase()</STRONG> and
    121        <STRONG>wclear()</STRONG>.   That fact is not documented in other implemen-
     119       This implementation, and others such as Solaris, sets the
     120       current  position  to  0,0  after erasing via <STRONG>werase()</STRONG> and
     121       <STRONG>wclear()</STRONG>.  That fact is not documented in other implemen-
    122122       tations, and may not be true of implementations which were
    123123       not derived from SVr4 source.
    124124
    125        Not  obvious  from  the  description, most implementations
    126        clear the screen after <STRONG>wclear</STRONG> even for a subwindow or de-
     125       Not obvious from  the  description,  most implementations
     126       clear  the screen after <STRONG>wclear</STRONG> even for a subwindow or de-
    127127       rived window.  If you do not want to clear the screen dur-
    128128       ing the next <STRONG>wrefresh</STRONG>, use <STRONG>werase</STRONG> instead.
     
    131131</PRE>
    132132<H2>SEE ALSO</H2><PRE>
    133        <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>, <STRONG><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG>
     133       <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>, <STRONG><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG>, <STRONG>curs_vari-</STRONG>
     134       <STRONG><A HREF="curs_variables.3x.html">ables(3x)</A></STRONG>
    134135
    135136
Note: See TracChangeset for help on using the changeset viewer.