diff options
author | Peter Wemm <peter@FreeBSD.org> | 2000-01-26 16:43:25 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2000-01-26 16:43:25 +0000 |
commit | 1759abf3ae1a38b7578df7996346544b66e508ad (patch) | |
tree | 506da7a5cf693bf8780ad013837cbd67913bedbb /contrib/ncurses/man | |
parent | 0e3d540892016a47f6a68ec9ba2879d35ce5f7c2 (diff) |
Import ncurses-5.0-release to update the 5.0-prerelease that we had.vendor/ncurses/5.0
Notes
Notes:
svn path=/vendor/ncurses/dist/; revision=56639
svn path=/vendor/ncurses/5.0/; revision=56641; tag=vendor/ncurses/5.0
Diffstat (limited to 'contrib/ncurses/man')
-rw-r--r-- | contrib/ncurses/man/curs_initscr.3x | 7 | ||||
-rw-r--r-- | contrib/ncurses/man/curs_mouse.3x | 20 | ||||
-rw-r--r-- | contrib/ncurses/man/curs_termcap.3x | 5 | ||||
-rw-r--r-- | contrib/ncurses/man/curs_terminfo.3x | 10 | ||||
-rw-r--r-- | contrib/ncurses/man/man_db.renames | 4 | ||||
-rw-r--r-- | contrib/ncurses/man/ncurses.3x | 4 |
6 files changed, 36 insertions, 14 deletions
diff --git a/contrib/ncurses/man/curs_initscr.3x b/contrib/ncurses/man/curs_initscr.3x index a8651fde5d2e..66aae13cab1d 100644 --- a/contrib/ncurses/man/curs_initscr.3x +++ b/contrib/ncurses/man/curs_initscr.3x @@ -26,7 +26,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_initscr.3x,v 1.7 1998/03/11 21:12:53 juergen Exp $ +.\" $Id: curs_initscr.3x,v 1.8 1999/09/18 23:52:30 tom Exp $ .TH curs_initscr 3X "" .SH NAME \fBinitscr\fR, \fBnewterm\fR, \fBendwin\fR, @@ -105,6 +105,11 @@ Note that \fBinitscr\fR and \fBnewterm\fR may be macros. These functions are described in the XSI Curses standard, Issue 4. It specifies that portable applications must not call \fBinitscr\fR more than once. + +Old versions of curses, e.g., BSD 4.4, may have returned a null pointer +from \fBinitscr\fR when an error is detected, rather than exiting. +It is safe but redundant to check the return value of \fBinitscr\fR +in XSI Curses. .SH SEE ALSO \fBcurses\fR(3X), \fBcurs_kernel\fR(3X), \fBcurs_refresh\fR(3X), \fBcurs_slk\fR(3X), \fBcurs_util\fR(3X) diff --git a/contrib/ncurses/man/curs_mouse.3x b/contrib/ncurses/man/curs_mouse.3x index e995260473f9..45fdd2a38f79 100644 --- a/contrib/ncurses/man/curs_mouse.3x +++ b/contrib/ncurses/man/curs_mouse.3x @@ -1,6 +1,6 @@ '\" t .\"*************************************************************************** -.\" Copyright (c) 1998 Free Software Foundation, Inc. * +.\" Copyright (c) 1998,1999 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 @@ .\" authorization. * .\"*************************************************************************** .\" -.'" $Id: curs_mouse.3x,v 1.12 1999/01/09 22:53:22 tom Exp $ +.'" $Id: curs_mouse.3x,v 1.13 1999/09/11 17:28:28 tom Exp $ .TH curs_mouse 3X "" .SH NAME \fBgetmouse\fR, \fBungetmouse\fR, @@ -171,9 +171,8 @@ These calls were designed for \fBncurses\fR(3X), and are not found in SVr4 curses, 4.4BSD curses, or any other previous version of curses. The feature macro \fBNCURSES_MOUSE_VERSION\fR is provided so the preprocessor -can be used to test whether these features are present (its value is 1). NOTE: -THIS INTERFACE IS EXPERIMENTAL AND IS SUBJECT TO CHANGE WITHOUT NOTICE! If the -interface is changed, the value of \fBNCURSES_MOUSE_VERSION\fR will be +can be used to test whether these features are present (its value is 1). +If the interface is changed, the value of \fBNCURSES_MOUSE_VERSION\fR will be incremented. The order of the \fBMEVENT\fR structure members is not guaranteed. @@ -181,7 +180,7 @@ Additional fields may be added to the structure in the future. Under \fBncurses\fR(3X), these calls are implemented using either xterm's built-in mouse-tracking API or Alessandro Rubini's gpm server. -If you are using something other than xterm there is no gpm daemon +If you are using something other than xterm and there is no gpm daemon running on your machine, mouse events will not be visible to \fBncurses\fR(3X) (and the \fBwmousemask\fR function will always return \fB0\fR). @@ -195,7 +194,14 @@ if they have been enabled by \fBwmousemask\fR. Instead, the xterm mouse report sequence will appear in the string read. Mouse events under xterm will not be detected correctly in a window with -its keypad bit off. +its keypad bit off, since they are interpreted as a variety of function key. +Your terminfo description must have \fBkmous\fR set to "\\E[M" (the beginning +of the response from xterm for mouse clicks). + +Because there are no standard terminal responses that would serve to identify +terminals which support the xterm mouse protocol, \fBncurses\fR assumes that +if your $DISPLAY environment variable is set, and \fBkmous\fR is defined in +the terminal description, then the terminal may send mouse events. .SH SEE ALSO \fBcurses\fR(3X). .\"# diff --git a/contrib/ncurses/man/curs_termcap.3x b/contrib/ncurses/man/curs_termcap.3x index b290beae1350..c3a0cf302124 100644 --- a/contrib/ncurses/man/curs_termcap.3x +++ b/contrib/ncurses/man/curs_termcap.3x @@ -26,7 +26,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_termcap.3x,v 1.11 1998/07/18 02:45:56 tom Exp $ +.\" $Id: curs_termcap.3x,v 1.12 1999/09/05 01:02:07 tom Exp $ .TH curs_termcap 3X "" .ds n 5 .SH NAME @@ -71,6 +71,9 @@ or -1 if it is not available. The \fBtgetstr\fR routine returns the string entry for \fIid\fR, or zero if it is not available. Use \fBtputs\fR to output the returned string. +The return value will also be copied to the buffer pointed to by \fIarea\fR, +and the \fIarea\fR value will be updated to point past the null ending +this value. The \fBtgoto\fR routine instantiates the parameters into the given capability. The output from this routine is to be passed to \fBtputs\fR. diff --git a/contrib/ncurses/man/curs_terminfo.3x b/contrib/ncurses/man/curs_terminfo.3x index 5120fc38726d..098a09438305 100644 --- a/contrib/ncurses/man/curs_terminfo.3x +++ b/contrib/ncurses/man/curs_terminfo.3x @@ -26,7 +26,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_terminfo.3x,v 1.11 1999/07/31 21:41:29 tom Exp $ +.\" $Id: curs_terminfo.3x,v 1.12 1999/10/17 01:11:59 tom Exp $ .TH curs_terminfo 3X "" .ds n 5 .SH NAME @@ -244,6 +244,14 @@ In System V Release 4, the third argument of \fBtputs\fR has the type The XSI Curses standard prototypes \fBtparm\fR with a fixed number of parameters, rather than a variable argument list. + +XSI notes that after calling \fBmvcur\fR, the curses state may not match the +actual terminal state, and that an application should touch and refresh +the window before resuming normal curses calls. +Both ncurses and System V Release 4 curses implement \fBmvcur\fR using +the SCREEN data allocated in either \fBinitscr\fR or \fBnewterm\fR. +So though it is documented as a terminfo function, +\fBmvcur\fR is really a curses function which is not well specified. .SH SEE ALSO \fBcurses\fR(3X), \fBcurs_initscr\fR(3X), \fBcurs_kernel\fR(3X), \fBcurs_termcap\fR(3X), \fBputc\fR(3S), \fBterminfo\fR(\*n) diff --git a/contrib/ncurses/man/man_db.renames b/contrib/ncurses/man/man_db.renames index b1ae37c1f22d..ba116a0b670e 100644 --- a/contrib/ncurses/man/man_db.renames +++ b/contrib/ncurses/man/man_db.renames @@ -1,4 +1,4 @@ -# $Id: man_db.renames,v 0.14 1999/02/20 12:43:56 tom Exp $ +# $Id: man_db.renames,v 0.15 1999/10/02 23:28:13 tom Exp $ # Manual-page renamings for the man_db program # captoinfo.1m captoinfo.1 @@ -45,7 +45,7 @@ curs_util.3x util.3ncurses curs_window.3x window.3ncurses curses.3x ncurses.3ncurses define_key.3x define_key.3ncurses -dft_fgbg.3x dft_fgbg.3ncurses +dft_fgbg.3x use_default_colors.3ncurses form.3x form.3form form_cursor.3x cursor.3form form_data.3x data.3form diff --git a/contrib/ncurses/man/ncurses.3x b/contrib/ncurses/man/ncurses.3x index afbbe277c786..92f30934f58d 100644 --- a/contrib/ncurses/man/ncurses.3x +++ b/contrib/ncurses/man/ncurses.3x @@ -1,6 +1,6 @@ '\" t .\"*************************************************************************** -.\" Copyright (c) 1998 Free Software Foundation, Inc. * +.\" Copyright (c) 1998,1999 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 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: ncurses.3x,v 1.34 1999/07/24 21:37:35 tom Exp $ +.\" $Id: ncurses.3x,v 1.35 1999/10/23 19:50:07 tom Exp $ .hy 0 .TH ncurses 3X "" .ds n 5 |