X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fncurses.3x.html;h=352e6ab8a788c07ea917866461d9571d5cdbe85d;hp=69069d51ad4a4cb945809416e2c41a7e16e3b34c;hb=0fbd5e192896b3e446832d0a451df2cec5f5ae40;hpb=cd142df6d9934f1bda19f5b968cc666291be5072 diff --git a/doc/html/man/ncurses.3x.html b/doc/html/man/ncurses.3x.html index 69069d51..352e6ab8 100644 --- a/doc/html/man/ncurses.3x.html +++ b/doc/html/man/ncurses.3x.html @@ -27,7 +27,7 @@ * sale, use or other dealings in this Software without prior written * * authorization. * **************************************************************************** - * @Id: ncurses.3x,v 1.135 2017/08/12 22:27:43 tom Exp @ + * @Id: ncurses.3x,v 1.136 2017/11/18 23:48:44 tom Exp @ --> @@ -59,7 +59,7 @@ method of updating character screens with reasonable optimization. This implementation is "new curses" (ncurses) and is the approved replacement for 4.4BSD classic curses, which has been discontinued. - This describes ncurses version 6.0 (patch 20171007). + This describes ncurses version 6.0 (patch 20171216). The ncurses library emulates the curses library of System V Release 4 UNIX, and XPG4 (X/Open Portability Guide) curses (also known as XSI @@ -92,7 +92,7 @@ The library uses the locale which the calling program has initialized. That is normally done with setlocale: - setlocale(LC_ALL, ""); + setlocale(LC_ALL, ""); If the locale is not initialized, the library assumes that characters are printable as in ISO-8859-1, to work with certain legacy programs. @@ -108,13 +108,13 @@ screen oriented programs want this), the following sequence should be used: - initscr(); cbreak(); noecho(); + initscr(); cbreak(); noecho(); Most programs would additionally use the sequence: - nonl(); - intrflush(stdscr, FALSE); - keypad(stdscr, TRUE); + nonl(); + intrflush(stdscr, FALSE); + keypad(stdscr, TRUE); Before a curses program is run, the tab stops of the terminal should be set and its initialization strings, if defined, must be output. This @@ -176,17 +176,17 @@ standard place. For example, if TERM is set to att4424, then the com- piled terminal definition is found in - /usr/share/terminfo/a/att4424. + /usr/share/terminfo/a/att4424. (The a is copied from the first letter of att4424 to avoid creation of huge directories.) However, if TERMINFO is set to $HOME/myterms, curses first checks - $HOME/myterms/a/att4424, + $HOME/myterms/a/att4424, and if that fails, it then checks - /usr/share/terminfo/a/att4424. + /usr/share/terminfo/a/att4424. This is useful for developing experimental definitions or when write permission in /usr/share/terminfo is not available. @@ -835,8 +835,8 @@ Tells ncurses where your home directory is. That is where it may read and write auxiliary terminal descriptions: - $HOME/.termcap - $HOME/.terminfo + $HOME/.termcap + $HOME/.terminfo
@@ -849,9 +849,9 @@ tons on the mouse. OS/2 numbers a 3-button mouse inconsistently from other platforms: - 1 = left - 2 = right - 3 = middle. + 1 = left + 2 = right + 3 = middle. This variable lets you customize the mouse. The variable must be three numeric digits 1-3 in any order, e.g., 123 or 321. If it is not speci- @@ -1047,11 +1047,11 @@ o If ncurses is built to use hashed databases, then each entry in this list may be the path of a hashed database file, e.g., - /usr/share/terminfo.db + /usr/share/terminfo.db rather than - /usr/share/terminfo/ + /usr/share/terminfo/ The hashed database uses less disk-space and is a little faster than the directory tree. However, some applications assume the @@ -1066,8 +1066,8 @@ the remainder of that variable as a compiled terminal description. You might produce the base64 format using infocmp(1m): - TERMINFO="$(infocmp -0 -Q2 -q)" - export TERMINFO + TERMINFO="$(infocmp -0 -Q2 -q)" + export TERMINFO The compiled description is used if it corresponds to the terminal identified by the TERM variable. @@ -1112,7 +1112,7 @@ If the TERMPATH environment variable is not set, ncurses looks in the files - /etc/termcap, /usr/share/misc/termcap and $HOME/.termcap, + /etc/termcap, /usr/share/misc/termcap and $HOME/.termcap, in that order. @@ -1120,7 +1120,7 @@ the current user is the superuser (root), or if the application uses setuid or setgid permissions: - $TERMINFO, $TERMINFO_DIRS, $TERMPATH, as well as $HOME. + $TERMINFO, $TERMINFO_DIRS, $TERMPATH, as well as $HOME.
@@ -1132,14 +1132,14 @@ --disable-overwrite The standard include for ncurses is as noted in SYNOPSIS: - #include <curses.h> + #include <curses.h> This option is used to avoid filename conflicts when ncurses is not the main implementation of curses of the computer. If ncurses is installed disabling overwrite, it puts its headers in a subdi- rectory, e.g., - #include <ncurses/curses.h> + #include <ncurses/curses.h> It also omits a symbolic link which would allow you to use -lcurses to build executables. @@ -1150,11 +1150,11 @@ ent subdirectory. All of the library names have a "w" appended to them, i.e., instead of - -lncurses + -lncurses you link with - -lncursesw + -lncursesw You must also define _XOPEN_SOURCE_EXTENDED when compiling for the wide-character library to use the extended (wide-character) func-