mirror of
https://github.com/Aigor44/ncursesw-morphos.git
synced 2024-12-15 07:30:12 +08:00
ncurses 5.7 - patch 20110122
+ start documenting interface changes for upcoming 5.8 release. + correct limit-checks in derwin(). + correct limit-checks in newwin(), to ensure that windows have nonzero size (report by Garrett Cooper). + fix a missing "weak" declaration for pthread_kill (patch by Nicholas Alcock). + improve documentation of KEY_ENTER in curs_getch.3x manpage (prompted by discussion with Kevin Martin).
This commit is contained in:
parent
b040313679
commit
70322aa06a
4
Ada95/aclocal.m4
vendored
4
Ada95/aclocal.m4
vendored
@ -1,5 +1,5 @@
|
||||
dnl***************************************************************************
|
||||
dnl Copyright (c) 2010 Free Software Foundation, Inc. *
|
||||
dnl Copyright (c) 2010,2011 Free Software Foundation, Inc. *
|
||||
dnl *
|
||||
dnl Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
dnl copy of this software and associated documentation files (the *
|
||||
@ -28,7 +28,7 @@ dnl***************************************************************************
|
||||
dnl
|
||||
dnl Author: Thomas E. Dickey
|
||||
dnl
|
||||
dnl $Id: aclocal.m4,v 1.19 2011/01/15 21:51:05 tom Exp $
|
||||
dnl $Id: aclocal.m4,v 1.20 2011/01/22 19:46:50 tom Exp $
|
||||
dnl Macros used in NCURSES Ada95 auto-configuration script.
|
||||
dnl
|
||||
dnl These macros are maintained separately from NCURSES. The copyright on
|
||||
|
@ -1,5 +1,5 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. #
|
||||
# Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. #
|
||||
# #
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a #
|
||||
# copy of this software and associated documentation files (the "Software"), #
|
||||
@ -28,7 +28,7 @@
|
||||
#
|
||||
# Author: Juergen Pfeifer, 1996
|
||||
#
|
||||
# $Id: Makefile.in,v 1.70 2011/01/09 19:43:06 tom Exp $
|
||||
# $Id: Makefile.in,v 1.71 2011/01/22 19:47:09 tom Exp $
|
||||
#
|
||||
.SUFFIXES:
|
||||
|
||||
|
56
INSTALL
56
INSTALL
@ -25,7 +25,7 @@
|
||||
-- sale, use or other dealings in this Software without prior written --
|
||||
-- authorization. --
|
||||
-------------------------------------------------------------------------------
|
||||
-- $Id: INSTALL,v 1.148 2010/10/23 22:41:32 tom Exp $
|
||||
-- $Id: INSTALL,v 1.151 2011/01/23 00:06:15 tom Exp $
|
||||
---------------------------------------------------------------------
|
||||
How to install Ncurses/Terminfo on your system
|
||||
---------------------------------------------------------------------
|
||||
@ -1068,6 +1068,60 @@ COMPATIBILITY WITH OLDER VERSIONS OF NCURSES:
|
||||
you may encounter when building a system with different versions of
|
||||
ncurses:
|
||||
|
||||
5.8 (??? ?, 2011)
|
||||
Interface changes:
|
||||
|
||||
+ add an alternate library configuration, i.e., "terminal driver" to
|
||||
support port to Windows, built with MinGW. There are two drivers
|
||||
(terminfo and Windows console). The terminfo driver works on other
|
||||
platforms.
|
||||
|
||||
+ add a new set of functions which accept a SCREEN* parameter, in
|
||||
contrast with the original set which use the global value "sp".
|
||||
By default, these names end with "_sp", and are otherwise
|
||||
functionally identical with the originals.
|
||||
|
||||
In addition to the "_sp" functions, there are a few new functions
|
||||
associated with this feature: ceiling_panel, ground_panel,
|
||||
new_prescr.
|
||||
|
||||
If the library is not built with the sp-funcs extension, there
|
||||
are no related interface changes.
|
||||
|
||||
+ add tiparm function based on review of X/Open Curses Issue 7.
|
||||
|
||||
+ change internal _nc_has_mouse function to public has_mouse function
|
||||
|
||||
Added extensions:
|
||||
|
||||
+ add a few more functions to support the NCURSES_OPAQUE feature:
|
||||
get_escdelay, is_pad, is_subwin
|
||||
|
||||
Added internal functions (other than "_sp" variants):
|
||||
_nc_curscr_of
|
||||
_nc_format_slks
|
||||
_nc_get_alias_table
|
||||
_nc_get_hash_info
|
||||
_nc_insert_wch
|
||||
_nc_newscr_of
|
||||
_nc_outc_wrapper
|
||||
_nc_retrace_char
|
||||
_nc_retrace_int_attr_t
|
||||
_nc_retrace_mmask_t
|
||||
_nc_setup_tinfo
|
||||
_nc_stdscr_of
|
||||
_nc_tinfo_cmdch
|
||||
|
||||
Removed internal functions:
|
||||
_nc_makenew (some configurations replace by _nc_makenew_sp)
|
||||
|
||||
Modified internal functions:
|
||||
_nc_UpdateAttrs
|
||||
_nc_get_hash_table
|
||||
_nc_has_mouse
|
||||
_nc_insert_ch
|
||||
_nc_wgetch
|
||||
|
||||
5.7 (November 2, 2008)
|
||||
Interface changes:
|
||||
|
||||
|
14
NEWS
14
NEWS
@ -1,5 +1,5 @@
|
||||
-------------------------------------------------------------------------------
|
||||
-- Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. --
|
||||
-- Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. --
|
||||
-- --
|
||||
-- Permission is hereby granted, free of charge, to any person obtaining a --
|
||||
-- copy of this software and associated documentation files (the --
|
||||
@ -25,7 +25,7 @@
|
||||
-- sale, use or other dealings in this Software without prior written --
|
||||
-- authorization. --
|
||||
-------------------------------------------------------------------------------
|
||||
-- $Id: NEWS,v 1.1634 2011/01/15 21:50:45 tom Exp $
|
||||
-- $Id: NEWS,v 1.1638 2011/01/22 21:23:29 tom Exp $
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
This is a log of changes that ncurses has gone through since Zeyd started
|
||||
@ -45,6 +45,16 @@ See the AUTHORS file for the corresponding full names.
|
||||
Changes through 1.9.9e did not credit all contributions;
|
||||
it is not possible to add this information.
|
||||
|
||||
20110122
|
||||
+ start documenting interface changes for upcoming 5.8 release.
|
||||
+ correct limit-checks in derwin().
|
||||
+ correct limit-checks in newwin(), to ensure that windows have nonzero
|
||||
size (report by Garrett Cooper).
|
||||
+ fix a missing "weak" declaration for pthread_kill (patch by Nicholas
|
||||
Alcock).
|
||||
+ improve documentation of KEY_ENTER in curs_getch.3x manpage (prompted
|
||||
by discussion with Kevin Martin).
|
||||
|
||||
20110115
|
||||
+ modify Ada95/configure script to make the --with-curses-dir option
|
||||
work without requiring the --with-ncurses option.
|
||||
|
6
dist.mk
6
dist.mk
@ -1,5 +1,5 @@
|
||||
##############################################################################
|
||||
# Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. #
|
||||
# Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. #
|
||||
# #
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a #
|
||||
# copy of this software and associated documentation files (the "Software"), #
|
||||
@ -25,7 +25,7 @@
|
||||
# use or other dealings in this Software without prior written #
|
||||
# authorization. #
|
||||
##############################################################################
|
||||
# $Id: dist.mk,v 1.790 2011/01/09 19:24:35 tom Exp $
|
||||
# $Id: dist.mk,v 1.792 2011/01/22 19:47:14 tom Exp $
|
||||
# Makefile for creating ncurses distributions.
|
||||
#
|
||||
# This only needs to be used directly as a makefile by developers, but
|
||||
@ -37,7 +37,7 @@ SHELL = /bin/sh
|
||||
# These define the major/minor/patch versions of ncurses.
|
||||
NCURSES_MAJOR = 5
|
||||
NCURSES_MINOR = 7
|
||||
NCURSES_PATCH = 20110115
|
||||
NCURSES_PATCH = 20110122
|
||||
|
||||
# We don't append the patch to the version, since this only applies to releases
|
||||
VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
|
||||
|
@ -1,96 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||||
<!--
|
||||
****************************************************************************
|
||||
* Copyright (c) 2010 Free Software Foundation, Inc. *
|
||||
* *
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
* copy of this software and associated documentation files (the *
|
||||
* "Software"), to deal in the Software without restriction, including *
|
||||
* without limitation the rights to use, copy, modify, merge, publish, *
|
||||
* distribute, distribute with modifications, sublicense, and/or sell *
|
||||
* copies of the Software, and to permit persons to whom the Software is *
|
||||
* furnished to do so, subject to the following conditions: *
|
||||
* *
|
||||
* The above copyright notice and this permission notice shall be included *
|
||||
* in all copies or substantial portions of the Software. *
|
||||
* *
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
|
||||
* IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
|
||||
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
|
||||
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
|
||||
* THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
|
||||
* *
|
||||
* Except as contained in this notice, the name(s) of the above copyright *
|
||||
* holders shall not be used in advertising or otherwise to promote the *
|
||||
* sale, use or other dealings in this Software without prior written *
|
||||
* authorization. *
|
||||
****************************************************************************
|
||||
* @Id: MKada_config.in,v 1.3 2010/03/06 22:29:06 tom Exp @
|
||||
-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>ADACURSES 1 User Commands</TITLE>
|
||||
<link rev=made href="mailto:bug-ncurses@gnu.org">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<H1>ADACURSES 1 User Commands</H1>
|
||||
<HR>
|
||||
<PRE>
|
||||
<!-- Manpage converted by man2html 3.0.1 -->
|
||||
<STRONG><A HREF="ADACURSES.1.html">ADACURSES(1)</A></STRONG> User Commands <STRONG><A HREF="ADACURSES.1.html">ADACURSES(1)</A></STRONG>
|
||||
|
||||
|
||||
|
||||
|
||||
</PRE>
|
||||
<H2>NAME</H2><PRE>
|
||||
adacurses-config - helper script for AdaCurses libraries
|
||||
|
||||
|
||||
</PRE>
|
||||
<H2>SYNOPSIS</H2><PRE>
|
||||
<STRONG>adacurses-config</STRONG> [<EM>options</EM>]
|
||||
|
||||
|
||||
</PRE>
|
||||
<H2>DESCRIPTION</H2><PRE>
|
||||
This is a shell script which simplifies configuring an
|
||||
application to use the AdaCurses library binding to
|
||||
ncurses.
|
||||
|
||||
|
||||
</PRE>
|
||||
<H2>OPTIONS</H2><PRE>
|
||||
<STRONG>--cflags</STRONG>
|
||||
echos the gnat (Ada compiler) flags needed to com-
|
||||
pile with adacurses
|
||||
|
||||
<STRONG>--libs</STRONG> echos the gnat libraries needed to link with
|
||||
adacurses
|
||||
|
||||
<STRONG>--version</STRONG>
|
||||
echos the release+patchdate version of adacurses
|
||||
|
||||
<STRONG>--help</STRONG> prints this message
|
||||
|
||||
|
||||
</PRE>
|
||||
<H2>SEE ALSO</H2><PRE>
|
||||
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>
|
||||
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110108).
|
||||
|
||||
|
||||
|
||||
<STRONG><A HREF="ADACURSES.1.html">ADACURSES(1)</A></STRONG>
|
||||
</PRE>
|
||||
<HR>
|
||||
<ADDRESS>
|
||||
Man(1) output converted with
|
||||
<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
|
||||
</ADDRESS>
|
||||
</BODY>
|
||||
</HTML>
|
@ -205,7 +205,7 @@
|
||||
<H2>SEE ALSO</H2><PRE>
|
||||
<STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>
|
||||
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110108).
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110122).
|
||||
|
||||
|
||||
</PRE>
|
||||
|
@ -69,7 +69,7 @@
|
||||
<H2>SEE ALSO</H2><PRE>
|
||||
<STRONG><A HREF="tput.1.html">tput(1)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>
|
||||
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110108).
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110122).
|
||||
|
||||
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||||
<!--
|
||||
****************************************************************************
|
||||
* Copyright (c) 2001-2006,2010 Free Software Foundation, Inc. *
|
||||
* Copyright (c) 2001-2010,2011 Free Software Foundation, Inc. *
|
||||
* *
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
* copy of this software and associated documentation files (the *
|
||||
@ -27,7 +27,7 @@
|
||||
* sale, use or other dealings in this Software without prior written *
|
||||
* authorization. *
|
||||
****************************************************************************
|
||||
* @Id: curs_add_wch.3x,v 1.10 2010/12/04 18:36:44 tom Exp @
|
||||
* @Id: curs_add_wch.3x,v 1.14 2011/01/15 15:27:43 tom Exp @
|
||||
-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
@ -98,6 +98,76 @@
|
||||
able performance gain might be seen by using the *<STRONG>echo</STRONG>*
|
||||
functions instead of their equivalents.
|
||||
|
||||
<STRONG>Line</STRONG> <STRONG>Graphics</STRONG>
|
||||
Like <STRONG><A HREF="addch.3x.html">addch(3x)</A></STRONG>, <STRONG>addch_wch</STRONG> accepts symbols which make it
|
||||
simple to draw lines and other frequently used special
|
||||
characters. These symbols correspond to the same VT100
|
||||
line-drawing set as <STRONG><A HREF="addch.3x.html">addch(3x)</A></STRONG>.
|
||||
|
||||
<EM>Name</EM> <EM>Unicode</EM> <EM>Default</EM> <EM>Description</EM>
|
||||
----------------------------------------------------------------
|
||||
WACS_BLOCK 0x25ae # solid square block
|
||||
WACS_BOARD 0x2592 # board of squares
|
||||
WACS_BTEE 0x2534 + bottom tee
|
||||
WACS_BULLET 0x00b7 o bullet
|
||||
WACS_CKBOARD 0x2592 : checker board (stipple)
|
||||
|
||||
WACS_DARROW 0x2193 v arrow pointing down
|
||||
WACS_DEGREE 0x00b0 ' degree symbol
|
||||
WACS_DIAMOND 0x25c6 + diamond
|
||||
WACS_GEQUAL 0x2265 > greater-than-or-equal-to
|
||||
WACS_HLINE 0x2500 - horizontal line
|
||||
WACS_LANTERN 0x2603 # lantern symbol
|
||||
WACS_LARROW 0x2190 < arrow pointing left
|
||||
WACS_LEQUAL 0x2264 < less-than-or-equal-to
|
||||
WACS_LLCORNER 0x2514 + lower left-hand corner
|
||||
WACS_LRCORNER 0x2518 + lower right-hand corner
|
||||
WACS_LTEE 0x2524 + left tee
|
||||
WACS_NEQUAL 0x2260 ! not-equal
|
||||
WACS_PI 0x03c0 * greek pi
|
||||
WACS_PLMINUS 0x00b1 # plus/minus
|
||||
WACS_PLUS 0x253c + plus
|
||||
WACS_RARROW 0x2192 > arrow pointing right
|
||||
WACS_RTEE 0x251c + right tee
|
||||
WACS_S1 0x23ba - scan line 1
|
||||
WACS_S3 0x23bb - scan line 3
|
||||
WACS_S7 0x23bc - scan line 7
|
||||
WACS_S9 0x23bd _ scan line 9
|
||||
WACS_STERLING 0x00a3 f pound-sterling symbol
|
||||
WACS_TTEE 0x252c + top tee
|
||||
WACS_UARROW 0x2191 ^ arrow pointing up
|
||||
WACS_ULCORNER 0x250c + upper left-hand corner
|
||||
WACS_URCORNER 0x2510 + upper right-hand corner
|
||||
WACS_VLINE 0x2502 | vertical line
|
||||
|
||||
The wide-character configuration of ncurses also defines
|
||||
symbols for thick- and double-lines:
|
||||
|
||||
<EM>Name</EM> <EM>Unicode</EM> <EM>Default</EM> <EM>Description</EM>
|
||||
---------------------------------------------------------------------
|
||||
WACS_T_ULCORNER 0x250f + thick upper left corner
|
||||
WACS_T_LLCORNER 0x2517 + thick lower left corner
|
||||
WACS_T_URCORNER 0x2513 + thick upper right corner
|
||||
WACS_T_LRCORNER 0x251b + thick lower right corner
|
||||
WACS_T_LTEE 0x252b + thick tee pointing right
|
||||
WACS_T_RTEE 0x2523 + thick tee pointing left
|
||||
WACS_T_BTEE 0x253b + thick tee pointing up
|
||||
WACS_T_TTEE 0x2533 + thick tee pointing down
|
||||
WACS_T_HLINE 0x2501 - thick horizontal line
|
||||
WACS_T_VLINE 0x2503 | thick vertical line
|
||||
WACS_T_PLUS 0x254b + thick large plus or crossover
|
||||
WACS_D_ULCORNER 0x2554 + double upper left corner
|
||||
WACS_D_LLCORNER 0x255a + double lower left corner
|
||||
WACS_D_URCORNER 0x2557 + double upper right corner
|
||||
WACS_D_LRCORNER 0x255d + double lower right corner
|
||||
WACS_D_RTEE 0x2563 + double tee pointing left
|
||||
WACS_D_LTEE 0x2560 + double tee pointing right
|
||||
WACS_D_BTEE 0x2569 + double tee pointing up
|
||||
WACS_D_TTEE 0x2566 + double tee pointing down
|
||||
WACS_D_HLINE 0x2550 - double horizontal line
|
||||
WACS_D_VLINE 0x2551 | double vertical line
|
||||
WACS_D_PLUS 0x256c + double large plus or crossover
|
||||
|
||||
|
||||
</PRE>
|
||||
<H2>RETURN VALUES</H2><PRE>
|
||||
@ -117,13 +187,29 @@
|
||||
|
||||
</PRE>
|
||||
<H2>PORTABILITY</H2><PRE>
|
||||
All these functions are described in the XSI Curses stan-
|
||||
dard, Issue 4. The defaults specified for forms-drawing
|
||||
characters apply in the POSIX locale.
|
||||
All of these functions are described in the XSI Curses
|
||||
standard, Issue 4. The defaults specified for line-draw-
|
||||
ing characters apply in the POSIX locale.
|
||||
|
||||
XSI documents constants beginning with <STRONG>WACS_</STRONG> which are
|
||||
used for line-drawing. Those are not currently imple-
|
||||
mented in <STRONG>ncurses</STRONG>.
|
||||
X/Open Curses makes it clear that the WACS_ symbols should
|
||||
be defined as a pointer to <STRONG>cchar_t</STRONG> data, e.g., in the dis-
|
||||
cussion of <STRONG>border_set</STRONG>. A few implementations are problem-
|
||||
atic:
|
||||
|
||||
<STRONG>o</STRONG> NetBSD curses defines the symbols as a <STRONG>wchar_t</STRONG> within
|
||||
a <STRONG>cchar_t</STRONG>.
|
||||
|
||||
<STRONG>o</STRONG> HPUX curses equates some of the <EM>ACS</EM><STRONG>_</STRONG> symbols to the
|
||||
analogous <EM>WACS</EM><STRONG>_</STRONG> symbols as if the <EM>ACS</EM><STRONG>_</STRONG> symbols were
|
||||
wide characters. The misdefined symbols are the
|
||||
arrows and other symbols which are not used for line-
|
||||
drawing.
|
||||
|
||||
X/Open Curses does not define symbols for thick- or dou-
|
||||
ble-lines. SVr4 curses implementations defined their
|
||||
line-drawing symbols in terms of intermediate symbols.
|
||||
This implementation extends those symbols, providing new
|
||||
definitions which are not in the SVr4 implementations.
|
||||
|
||||
|
||||
</PRE>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<!--
|
||||
* t
|
||||
****************************************************************************
|
||||
* Copyright (c) 1998-2007,2010 Free Software Foundation, Inc. *
|
||||
* Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. *
|
||||
* *
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
* copy of this software and associated documentation files (the *
|
||||
@ -28,7 +28,7 @@
|
||||
* sale, use or other dealings in this Software without prior written *
|
||||
* authorization. *
|
||||
****************************************************************************
|
||||
* @Id: curs_addch.3x,v 1.31 2010/12/04 18:36:44 tom Exp @
|
||||
* @Id: curs_addch.3x,v 1.32 2011/01/15 14:15:10 tom Exp @
|
||||
-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
@ -175,27 +175,32 @@
|
||||
dard, Issue 4. The defaults specified for forms-drawing
|
||||
characters apply in the POSIX locale.
|
||||
|
||||
Some ACS symbols (ACS_S3, ACS_S7, ACS_LEQUAL, ACS_GEQUAL,
|
||||
ACS_PI, ACS_NEQUAL, ACS_STERLING) were not documented in
|
||||
any publicly released System V. However, many publicly
|
||||
available terminfos include <STRONG>acsc</STRONG> strings in which their
|
||||
key characters (pryz{|}) are embedded, and a second-hand
|
||||
list of their character descriptions has come to light.
|
||||
The ACS-prefixed names for them were invented for
|
||||
X/Open Curses states that the <EM>ACS</EM><STRONG>_</STRONG> definitions are <STRONG>char</STRONG>
|
||||
constants. For the wide-character implementation (see
|
||||
<STRONG>curs_add_wch</STRONG>), there are analogous <EM>WACS</EM><STRONG>_</STRONG> definitions which
|
||||
are <STRONG>cchar_t</STRONG> constants.
|
||||
|
||||
Some ACS symbols (ACS_S3, ACS_S7, ACS_LEQUAL, ACS_GEQUAL,
|
||||
ACS_PI, ACS_NEQUAL, ACS_STERLING) were not documented in
|
||||
any publicly released System V. However, many publicly
|
||||
available terminfos include <STRONG>acsc</STRONG> strings in which their
|
||||
key characters (pryz{|}) are embedded, and a second-hand
|
||||
list of their character descriptions has come to light.
|
||||
The ACS-prefixed names for them were invented for
|
||||
<STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG>.
|
||||
|
||||
The <STRONG>TABSIZE</STRONG> variable is implemented in some versions of
|
||||
The <STRONG>TABSIZE</STRONG> variable is implemented in some versions of
|
||||
curses, but is not part of X/Open curses.
|
||||
|
||||
If <EM>ch</EM> is a carriage return, the cursor is moved to the
|
||||
beginning of the current row of the window. This is true
|
||||
If <EM>ch</EM> is a carriage return, the cursor is moved to the
|
||||
beginning of the current row of the window. This is true
|
||||
of other implementations, but is not documented.
|
||||
|
||||
|
||||
</PRE>
|
||||
<H2>SEE ALSO</H2><PRE>
|
||||
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>, <STRONG><A HREF="curs_clear.3x.html">curs_clear(3x)</A></STRONG>, <STRONG><A HREF="curs_inch.3x.html">curs_inch(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><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>,
|
||||
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_attr.3x.html">curs_attr(3x)</A></STRONG>, <STRONG><A HREF="curs_clear.3x.html">curs_clear(3x)</A></STRONG>, <STRONG><A HREF="curs_inch.3x.html">curs_inch(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><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>,
|
||||
<STRONG><A HREF="putc.3.html">putc(3)</A></STRONG>.
|
||||
|
||||
Comparable functions in the wide-character (ncursesw)
|
||||
|
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||||
<!--
|
||||
****************************************************************************
|
||||
* Copyright (c) 2002-2005,2010 Free Software Foundation, Inc. *
|
||||
* Copyright (c) 2002-2010,2011 Free Software Foundation, Inc. *
|
||||
* *
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
* copy of this software and associated documentation files (the *
|
||||
@ -27,7 +27,7 @@
|
||||
* sale, use or other dealings in this Software without prior written *
|
||||
* authorization. *
|
||||
****************************************************************************
|
||||
* @Id: curs_border_set.3x,v 1.9 2010/12/04 18:36:44 tom Exp @
|
||||
* @Id: curs_border_set.3x,v 1.10 2011/01/15 12:56:18 tom Exp @
|
||||
-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
@ -168,7 +168,8 @@
|
||||
|
||||
</PRE>
|
||||
<H2>SEE ALSO</H2><PRE>
|
||||
<STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG>, <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG>, <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>
|
||||
<STRONG><A HREF="ncurses.3x.html">ncurses(3x)</A></STRONG>, <STRONG><A HREF="curs_add_wch.3x.html">curs_add_wch(3x)</A></STRONG>, <STRONG><A HREF="curs_border.3x.html">curs_border(3x)</A></STRONG>, <STRONG>curs_out-</STRONG>
|
||||
<STRONG><A HREF="curs_outopts.3x.html">opts(3x)</A></STRONG>
|
||||
|
||||
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
<!--
|
||||
* t
|
||||
****************************************************************************
|
||||
* Copyright (c) 1998-2006,2010 Free Software Foundation, Inc. *
|
||||
* Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. *
|
||||
* *
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
* copy of this software and associated documentation files (the *
|
||||
@ -28,7 +28,7 @@
|
||||
* sale, use or other dealings in this Software without prior written *
|
||||
* authorization. *
|
||||
****************************************************************************
|
||||
* @Id: curs_getch.3x,v 1.33 2010/12/04 18:36:44 tom Exp @
|
||||
* @Id: curs_getch.3x,v 1.36 2011/01/22 19:38:51 tom Exp @
|
||||
-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
@ -268,6 +268,22 @@
|
||||
says that <STRONG>KEY_ENTER</STRONG> is control/M, <STRONG>getch</STRONG> will return
|
||||
<STRONG>KEY_ENTER</STRONG> when you press control/M.
|
||||
|
||||
Generally, <STRONG>KEY_ENTER</STRONG> denotes the character(s) sent by the
|
||||
<EM>Enter</EM> key on the numeric keypad:
|
||||
|
||||
<STRONG>o</STRONG> the terminal description lists the most useful keys,
|
||||
|
||||
<STRONG>o</STRONG> the <EM>Enter</EM> key on the regular keyboard is already han-
|
||||
dled by the standard ASCII characters for carriage-re-
|
||||
turn and line-feed,
|
||||
|
||||
<STRONG>o</STRONG> depending on whether <STRONG>nl</STRONG> or <STRONG>nonl</STRONG> was called, pressing
|
||||
"Enter" on the regular keyboard may return either a
|
||||
carriage-return or line-feed, and finally
|
||||
|
||||
<STRONG>o</STRONG> "Enter or send" is the standard description for this
|
||||
key.
|
||||
|
||||
When using <STRONG>getch</STRONG>, <STRONG>wgetch</STRONG>, <STRONG>mvgetch</STRONG>, or <STRONG>mvwgetch</STRONG>, nocbreak
|
||||
mode (<STRONG>nocbreak</STRONG>) and echo mode (<STRONG>echo</STRONG>) should not be used at
|
||||
the same time. Depending on the state of the tty driver
|
||||
@ -321,10 +337,11 @@
|
||||
|
||||
</PRE>
|
||||
<H2>SEE ALSO</H2><PRE>
|
||||
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>, <STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG>,
|
||||
<STRONG><A HREF="curs_move.3x.html">curs_move(3x)</A></STRONG>, <STRONG><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG>, <STRONG><A HREF="resizeterm.3x.html">resizeterm(3x)</A></STRONG>.
|
||||
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_inopts.3x.html">curs_inopts(3x)</A></STRONG>, <STRONG><A HREF="curs_outopts.3x.html">curs_outopts(3x)</A></STRONG>,
|
||||
<STRONG><A HREF="curs_mouse.3x.html">curs_mouse(3x)</A></STRONG>, <STRONG><A HREF="curs_move.3x.html">curs_move(3x)</A></STRONG>, <STRONG><A HREF="curs_refresh.3x.html">curs_refresh(3x)</A></STRONG>, <STRONG>re-</STRONG>
|
||||
<STRONG><A HREF="resizeterm.3x.html">sizeterm(3x)</A></STRONG>.
|
||||
|
||||
Comparable functions in the wide-character (ncursesw) li-
|
||||
Comparable functions in the wide-character (ncursesw) li-
|
||||
brary are described in <STRONG><A HREF="curs_get_wch.3x.html">curs_get_wch(3x)</A></STRONG>.
|
||||
|
||||
|
||||
|
@ -243,7 +243,7 @@
|
||||
|
||||
</PRE>
|
||||
<H2>SEE ALSO</H2><PRE>
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110108).
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110122).
|
||||
|
||||
|
||||
|
||||
|
@ -423,7 +423,7 @@
|
||||
<STRONG><A HREF="captoinfo.1m.html">captoinfo(1m)</A></STRONG>, <STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG>, <STRONG><A HREF="tic.1m.html">tic(1m)</A></STRONG>, <STRONG><A HREF="toe.1m.html">toe(1m)</A></STRONG>,
|
||||
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>.
|
||||
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110108).
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110122).
|
||||
|
||||
|
||||
</PRE>
|
||||
|
@ -94,7 +94,7 @@
|
||||
<H2>SEE ALSO</H2><PRE>
|
||||
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="tic.1m.html">tic(1m)</A></STRONG>, <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>
|
||||
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110108).
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110122).
|
||||
|
||||
|
||||
</PRE>
|
||||
|
@ -226,7 +226,7 @@
|
||||
|
||||
</PRE>
|
||||
<H2>SEE ALSO</H2><PRE>
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110108).
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110122).
|
||||
|
||||
|
||||
|
||||
|
@ -63,7 +63,7 @@
|
||||
sonable optimization. This implementation is ``new
|
||||
curses'' (ncurses) and is the approved replacement for
|
||||
4.4BSD classic curses, which has been discontinued. This
|
||||
describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110108).
|
||||
describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110122).
|
||||
|
||||
The <STRONG>ncurses</STRONG> library emulates the curses library of System
|
||||
V Release 4 UNIX, and XPG4 (X/Open Portability Guide)
|
||||
|
@ -1,133 +0,0 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||||
<!--
|
||||
****************************************************************************
|
||||
* Copyright (c) 2010 Free Software Foundation, Inc. *
|
||||
* *
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
* copy of this software and associated documentation files (the *
|
||||
* "Software"), to deal in the Software without restriction, including *
|
||||
* without limitation the rights to use, copy, modify, merge, publish, *
|
||||
* distribute, distribute with modifications, sublicense, and/or sell *
|
||||
* copies of the Software, and to permit persons to whom the Software is *
|
||||
* furnished to do so, subject to the following conditions: *
|
||||
* *
|
||||
* The above copyright notice and this permission notice shall be included *
|
||||
* in all copies or substantial portions of the Software. *
|
||||
* *
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
|
||||
* IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
|
||||
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
|
||||
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
|
||||
* THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
|
||||
* *
|
||||
* Except as contained in this notice, the name(s) of the above copyright *
|
||||
* holders shall not be used in advertising or otherwise to promote the *
|
||||
* sale, use or other dealings in this Software without prior written *
|
||||
* authorization. *
|
||||
****************************************************************************
|
||||
* @Id: MKncu_config.in,v 1.3 2010/03/06 22:29:17 tom Exp @
|
||||
-->
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<TITLE>ncurses5-config 1</TITLE>
|
||||
<link rev=made href="mailto:bug-ncurses@gnu.org">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<H1>ncurses5-config 1</H1>
|
||||
<HR>
|
||||
<PRE>
|
||||
<!-- Manpage converted by man2html 3.0.1 -->
|
||||
<STRONG><A HREF="ncurses5-config.1.html">ncurses5-config(1)</A></STRONG> <STRONG><A HREF="ncurses5-config.1.html">ncurses5-config(1)</A></STRONG>
|
||||
|
||||
|
||||
|
||||
|
||||
</PRE>
|
||||
<H2>NAME</H2><PRE>
|
||||
ncurses5-config - helper script for ncurses libraries
|
||||
|
||||
|
||||
</PRE>
|
||||
<H2>SYNOPSIS</H2><PRE>
|
||||
<STRONG>ncurses5-config</STRONG> [<EM>options</EM>]
|
||||
|
||||
|
||||
</PRE>
|
||||
<H2>DESCRIPTION</H2><PRE>
|
||||
This is a shell script which simplifies configuring appli-
|
||||
cations against a particular set of ncurses libraries.
|
||||
|
||||
|
||||
</PRE>
|
||||
<H2>OPTIONS</H2><PRE>
|
||||
<STRONG>--prefix</STRONG>
|
||||
echos the package-prefix of ncurses
|
||||
|
||||
<STRONG>--exec-prefix</STRONG>
|
||||
echos the executable-prefix of ncurses
|
||||
|
||||
<STRONG>--cflags</STRONG>
|
||||
echos the C compiler flags needed to compile with
|
||||
ncurses
|
||||
|
||||
<STRONG>--libs</STRONG> echos the libraries needed to link with ncurses
|
||||
|
||||
<STRONG>--version</STRONG>
|
||||
echos the release+patchdate version of ncurses
|
||||
|
||||
<STRONG>--abi-version</STRONG>
|
||||
echos the ABI version of ncurses
|
||||
|
||||
<STRONG>--mouse-version</STRONG>
|
||||
echos the mouse-interface version of ncurses
|
||||
|
||||
<STRONG>--bindir</STRONG>
|
||||
echos the directory containing ncurses programs
|
||||
|
||||
<STRONG>--datadir</STRONG>
|
||||
echos the directory containing ncurses data
|
||||
|
||||
<STRONG>--includedir</STRONG>
|
||||
echos the directory containing ncurses header files
|
||||
|
||||
<STRONG>--libdir</STRONG>
|
||||
echos the directory containing ncurses libraries
|
||||
|
||||
<STRONG>--mandir</STRONG>
|
||||
echos the directory containing ncurses manpages
|
||||
|
||||
<STRONG>--terminfo</STRONG>
|
||||
echos the $TERMINFO terminfo database path, e.g.,
|
||||
/usr/share/terminfo
|
||||
|
||||
<STRONG>--terminfo-dirs</STRONG>
|
||||
echos the $TERMINFO_DIRS directory list, e.g.,
|
||||
/usr/local/ncurses/lib/terminfo:/usr/share/terminfo
|
||||
|
||||
<STRONG>--termpath</STRONG>
|
||||
echos the $TERMPATH termcap list, if support for
|
||||
termcap is configured.
|
||||
|
||||
<STRONG>--help</STRONG> prints this message
|
||||
|
||||
|
||||
</PRE>
|
||||
<H2>SEE ALSO</H2><PRE>
|
||||
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>
|
||||
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110108).
|
||||
|
||||
|
||||
|
||||
<STRONG><A HREF="ncurses5-config.1.html">ncurses5-config(1)</A></STRONG>
|
||||
</PRE>
|
||||
<HR>
|
||||
<ADDRESS>
|
||||
Man(1) output converted with
|
||||
<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>
|
||||
</ADDRESS>
|
||||
</BODY>
|
||||
</HTML>
|
@ -218,7 +218,7 @@
|
||||
<H2>SEE ALSO</H2><PRE>
|
||||
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="curs_variables.3x.html">curs_variables(3x)</A></STRONG>,
|
||||
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110108).
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110122).
|
||||
|
||||
|
||||
</PRE>
|
||||
|
@ -156,7 +156,7 @@
|
||||
<H2>SEE ALSO</H2><PRE>
|
||||
<STRONG><A HREF="tset.1.html">tset(1)</A></STRONG>, <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>.
|
||||
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110108).
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110122).
|
||||
|
||||
|
||||
|
||||
|
@ -78,7 +78,7 @@
|
||||
nals by giving a set of capabilities which they have, by
|
||||
specifying how to perform screen operations, and by speci-
|
||||
fying padding requirements and initialization sequences.
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110108).
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110122).
|
||||
|
||||
Entries in <EM>terminfo</EM> consist of a sequence of `,' separated
|
||||
fields (embedded commas may be escaped with a backslash or
|
||||
|
@ -309,7 +309,7 @@
|
||||
<STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="captoinfo.1m.html">captoinfo(1m)</A></STRONG>, <STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG>, <STRONG><A HREF="toe.1m.html">toe(1m)</A></STRONG>,
|
||||
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>.
|
||||
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110108).
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110122).
|
||||
|
||||
|
||||
</PRE>
|
||||
|
@ -111,7 +111,7 @@
|
||||
<STRONG><A HREF="tic.1m.html">tic(1m)</A></STRONG>, <STRONG><A HREF="infocmp.1m.html">infocmp(1m)</A></STRONG>, <STRONG><A HREF="captoinfo.1m.html">captoinfo(1m)</A></STRONG>, <STRONG><A HREF="infotocap.1m.html">infotocap(1m)</A></STRONG>,
|
||||
<STRONG><A HREF="ncurses.3x.html">curses(3x)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>.
|
||||
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110108).
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110122).
|
||||
|
||||
|
||||
|
||||
|
@ -327,7 +327,7 @@
|
||||
<H2>SEE ALSO</H2><PRE>
|
||||
<STRONG><A HREF="clear.1.html">clear(1)</A></STRONG>, <STRONG><A HREF="stty.1.html">stty(1)</A></STRONG>, <STRONG><A HREF="tabs.1.html">tabs(1)</A></STRONG>, <STRONG><A HREF="terminfo.5.html">terminfo(5)</A></STRONG>.
|
||||
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110108).
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110122).
|
||||
|
||||
|
||||
|
||||
|
@ -319,7 +319,7 @@
|
||||
<STRONG><A HREF="csh.1.html">csh(1)</A></STRONG>, <STRONG><A HREF="sh.1.html">sh(1)</A></STRONG>, <STRONG><A HREF="stty.1.html">stty(1)</A></STRONG>, <STRONG><A HREF="curs_terminfo.3x.html">curs_terminfo(3x)</A></STRONG>, <STRONG><A HREF="tty.4.html">tty(4)</A></STRONG>, ter-
|
||||
<STRONG><A HREF="minfo.5.html">minfo(5)</A></STRONG>, <STRONG><A HREF="ttys.5.html">ttys(5)</A></STRONG>, <STRONG><A HREF="environ.7.html">environ(7)</A></STRONG>
|
||||
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110108).
|
||||
This describes <STRONG>ncurses</STRONG> version 5.7 (patch 20110122).
|
||||
|
||||
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. *
|
||||
* Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. *
|
||||
* *
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
* copy of this software and associated documentation files (the *
|
||||
@ -32,7 +32,7 @@
|
||||
* and: Thomas E. Dickey 1996-on *
|
||||
****************************************************************************/
|
||||
|
||||
/* $Id: curses.h.in,v 1.219 2011/01/01 21:52:45 tom Exp $ */
|
||||
/* $Id: curses.h.in,v 1.220 2011/01/22 19:47:20 tom Exp $ */
|
||||
|
||||
#ifndef __NCURSES_H
|
||||
#define __NCURSES_H
|
||||
|
@ -1,6 +1,6 @@
|
||||
'\" t
|
||||
.\"***************************************************************************
|
||||
.\" Copyright (c) 1998-2006,2010 Free Software Foundation, Inc. *
|
||||
.\" Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. *
|
||||
.\" *
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
.\" copy of this software and associated documentation files (the *
|
||||
@ -27,10 +27,13 @@
|
||||
.\" authorization. *
|
||||
.\"***************************************************************************
|
||||
.\"
|
||||
.\" $Id: curs_getch.3x,v 1.33 2010/12/04 18:36:44 tom Exp $
|
||||
.\" $Id: curs_getch.3x,v 1.36 2011/01/22 19:38:51 tom Exp $
|
||||
.TH curs_getch 3X ""
|
||||
.na
|
||||
.hy 0
|
||||
.de bP
|
||||
.IP \(bu 4
|
||||
..
|
||||
.SH NAME
|
||||
\fBgetch\fR,
|
||||
\fBwgetch\fR,
|
||||
@ -264,6 +267,20 @@ If it says that \fBKEY_ENTER\fP is control/M,
|
||||
\fBgetch\fR will return \fBKEY_ENTER\fP
|
||||
when you press control/M.
|
||||
.PP
|
||||
Generally, \fBKEY_ENTER\fP denotes the character(s) sent by the \fIEnter\fP
|
||||
key on the numeric keypad:
|
||||
.bP
|
||||
the terminal description lists the most useful keys,
|
||||
.bP
|
||||
the \fIEnter\fP key on the regular keyboard is already handled by
|
||||
the standard ASCII characters for carriage-return and line-feed,
|
||||
.bP
|
||||
depending on whether \fBnl\fP or \fBnonl\fP was called,
|
||||
pressing "Enter" on the regular keyboard may return either a carriage-return
|
||||
or line-feed, and finally
|
||||
.bP
|
||||
"Enter or send" is the standard description for this key.
|
||||
.PP
|
||||
When using \fBgetch\fR, \fBwgetch\fR, \fBmvgetch\fR, or
|
||||
\fBmvwgetch\fR, nocbreak mode (\fBnocbreak\fR) and echo mode
|
||||
(\fBecho\fR) should not be used at the same time.
|
||||
@ -316,6 +333,7 @@ any code using it be conditionalized on the \fBNCURSES_VERSION\fR feature macro.
|
||||
.SH SEE ALSO
|
||||
\fBcurses\fR(3X),
|
||||
\fBcurs_inopts\fR(3X),
|
||||
\fBcurs_outopts\fR(3X),
|
||||
\fBcurs_mouse\fR(3X),
|
||||
\fBcurs_move\fR(3X),
|
||||
\fBcurs_refresh\fR(3X),
|
||||
|
@ -2,10 +2,10 @@
|
||||
#
|
||||
# MKlib_gen.sh -- generate sources from curses.h macro definitions
|
||||
#
|
||||
# ($Id: MKlib_gen.sh,v 1.42 2011/01/01 22:06:52 tom Exp $)
|
||||
# ($Id: MKlib_gen.sh,v 1.43 2011/01/22 19:47:29 tom Exp $)
|
||||
#
|
||||
##############################################################################
|
||||
# Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. #
|
||||
# Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. #
|
||||
# #
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a #
|
||||
# copy of this software and associated documentation files (the "Software"), #
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. *
|
||||
* Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. *
|
||||
* *
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
* copy of this software and associated documentation files (the *
|
||||
@ -36,7 +36,7 @@
|
||||
|
||||
#include <curses.priv.h>
|
||||
|
||||
MODULE_ID("$Id: lib_bkgd.c,v 1.42 2011/01/01 17:18:52 tom Exp $")
|
||||
MODULE_ID("$Id: lib_bkgd.c,v 1.43 2011/01/22 19:47:37 tom Exp $")
|
||||
|
||||
/*
|
||||
* Set the window's background information.
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. *
|
||||
* Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. *
|
||||
* *
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
* copy of this software and associated documentation files (the *
|
||||
@ -84,7 +84,7 @@
|
||||
#define CUR SP_TERMTYPE
|
||||
#endif
|
||||
|
||||
MODULE_ID("$Id: lib_mouse.c,v 1.120 2011/01/01 22:25:49 tom Exp $")
|
||||
MODULE_ID("$Id: lib_mouse.c,v 1.121 2011/01/22 19:47:47 tom Exp $")
|
||||
|
||||
#include <tic.h>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. *
|
||||
* Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. *
|
||||
* *
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
* copy of this software and associated documentation files (the *
|
||||
@ -43,7 +43,7 @@
|
||||
#include <curses.priv.h>
|
||||
#include <stddef.h>
|
||||
|
||||
MODULE_ID("$Id: lib_newwin.c,v 1.66 2010/04/24 23:31:18 tom Exp $")
|
||||
MODULE_ID("$Id: lib_newwin.c,v 1.68 2011/01/22 20:34:15 tom Exp $")
|
||||
|
||||
#define window_is(name) ((sp)->_##name == win)
|
||||
|
||||
@ -141,7 +141,7 @@ NCURSES_SP_NAME(newwin) (NCURSES_SP_DCLx
|
||||
T((T_CALLED("newwin(%p, %d,%d,%d,%d)"), (void *) SP_PARM, num_lines, num_columns,
|
||||
begy, begx));
|
||||
|
||||
if (begy < 0 || begx < 0 || num_lines < 0 || num_columns < 0)
|
||||
if (begy < 0 || begx < 0 || num_lines <= 0 || num_columns <= 0)
|
||||
returnWin(0);
|
||||
|
||||
if (num_lines == 0)
|
||||
@ -198,7 +198,7 @@ derwin(WINDOW *orig, int num_lines, int num_columns, int begy, int begx)
|
||||
/*
|
||||
* make sure window fits inside the original one
|
||||
*/
|
||||
if (begy < 0 || begx < 0 || orig == 0 || num_lines < 0 || num_columns < 0)
|
||||
if (begy < 0 || begx < 0 || orig == 0 || num_lines <= 0 || num_columns <= 0)
|
||||
returnWin(0);
|
||||
if (begy + num_lines > orig->_maxy + 1
|
||||
|| begx + num_columns > orig->_maxx + 1)
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. *
|
||||
* Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. *
|
||||
* *
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
* copy of this software and associated documentation files (the *
|
||||
@ -34,7 +34,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
/*
|
||||
* $Id: curses.priv.h,v 1.472 2011/01/01 23:01:40 tom Exp $
|
||||
* $Id: curses.priv.h,v 1.475 2011/01/22 21:10:19 tom Exp $
|
||||
*
|
||||
* curses.priv.h
|
||||
*
|
||||
@ -490,6 +490,7 @@ extern NCURSES_EXPORT(int) _nc_mutex_unlock(pthread_mutex_t *);
|
||||
#ifdef USE_PTHREADS
|
||||
# if USE_WEAK_SYMBOLS
|
||||
weak_symbol(pthread_sigmask);
|
||||
weak_symbol(pthread_kill);
|
||||
weak_symbol(pthread_self);
|
||||
weak_symbol(pthread_equal);
|
||||
weak_symbol(pthread_mutex_init);
|
||||
@ -1710,7 +1711,7 @@ extern NCURSES_EXPORT(int) NCURSES_SP_NAME(_nc_InsCharCost) (NCURSES_SP_DCLx int
|
||||
#undef UpdateAttrs
|
||||
#define UpdateAttrs(sp,c) NCURSES_SP_NAME(_nc_UpdateAttrs)(NCURSES_SP_ARGx CHREF(c))
|
||||
|
||||
#if defined(NEED_NCURSES_CH_T)
|
||||
#if USE_WIDEC_SUPPORT || defined(NEED_NCURSES_CH_T)
|
||||
extern NCURSES_EXPORT(void) NCURSES_SP_NAME(_nc_UpdateAttrs) (NCURSES_SP_DCLx CARG_CH_T _c);
|
||||
#else
|
||||
extern NCURSES_EXPORT(void) NCURSES_SP_NAME(_nc_UpdateAttrs) (NCURSES_SP_DCLx chtype c);
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. *
|
||||
* Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. *
|
||||
* *
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
* copy of this software and associated documentation files (the *
|
||||
@ -43,7 +43,7 @@
|
||||
#define CUR SP_TERMTYPE
|
||||
#endif
|
||||
|
||||
MODULE_ID("$Id: lib_traceatr.c,v 1.73 2011/01/01 22:01:11 tom Exp $")
|
||||
MODULE_ID("$Id: lib_traceatr.c,v 1.74 2011/01/22 19:48:01 tom Exp $")
|
||||
|
||||
#define COLOR_OF(c) ((c < 0) ? "default" : (c > 7 ? color_of(c) : colors[c].name))
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* Copyright (c) 1998-2008,2010 Free Software Foundation, Inc. *
|
||||
* Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. *
|
||||
* *
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
* copy of this software and associated documentation files (the *
|
||||
@ -38,7 +38,7 @@
|
||||
|
||||
#include <curses.priv.h>
|
||||
|
||||
MODULE_ID("$Id: lib_tracemse.c,v 1.17 2011/01/01 22:31:53 tom Exp $")
|
||||
MODULE_ID("$Id: lib_tracemse.c,v 1.18 2011/01/22 19:48:08 tom Exp $")
|
||||
|
||||
#ifdef TRACE
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* Copyright (c) 1998-2008,2010 Free Software Foundation, Inc. *
|
||||
* Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. *
|
||||
* *
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
* copy of this software and associated documentation files (the *
|
||||
@ -35,7 +35,7 @@
|
||||
|
||||
#include <curses.priv.h>
|
||||
|
||||
MODULE_ID("$Id: trace_buf.c,v 1.16 2011/01/09 00:08:31 tom Exp $")
|
||||
MODULE_ID("$Id: trace_buf.c,v 1.17 2011/01/22 19:48:16 tom Exp $")
|
||||
|
||||
#ifdef TRACE
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. *
|
||||
* Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. *
|
||||
* *
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
* copy of this software and associated documentation files (the *
|
||||
@ -159,7 +159,7 @@
|
||||
#define CUR SP_TERMTYPE
|
||||
#endif
|
||||
|
||||
MODULE_ID("$Id: lib_mvcur.c,v 1.125 2011/01/09 21:06:08 tom Exp $")
|
||||
MODULE_ID("$Id: lib_mvcur.c,v 1.126 2011/01/22 19:48:21 tom Exp $")
|
||||
|
||||
#define WANT_CHAR(sp, y, x) NewScreen(sp)->_line[y].text[x] /* desired state */
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. *
|
||||
* Copyright (c) 1998-2010,2011 Free Software Foundation, Inc. *
|
||||
* *
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a *
|
||||
* copy of this software and associated documentation files (the *
|
||||
@ -40,7 +40,7 @@ AUTHOR
|
||||
Author: Eric S. Raymond <esr@snark.thyrsus.com> 1993
|
||||
Thomas E. Dickey (beginning revision 1.27 in 1996).
|
||||
|
||||
$Id: ncurses.c,v 1.364 2011/01/15 23:45:49 tom Exp $
|
||||
$Id: ncurses.c,v 1.365 2011/01/22 19:48:33 tom Exp $
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user