Commit Graph

72 Commits

Author SHA1 Message Date
mycroft d0c8706cd2 Initialization of the backing store pointers in __set_subwin() was just
totally wrong.  It needs to offset by the origin of the parent window.
1999-04-22 22:39:09 +00:00
mrg 586d4ce109 Upgrades the standard NetBSD curses library to provide some
of the SYSV curses facilities.  The added features are the collapsing
of arrow and function keysequences (as defined by termcap for the
terminal) into symbolic code returns thus relieving the application of
recognising multi-character key sequences.  Other features are the
capability to perform a timed wait for a key (good for when you are
not sure if there is a keypress ready or not) and the capability for
turning off the inter-key timeout when assembling multi-character
function keys.

this work was done by Julian Coleman <J.D.Coleman@newcastle.ac.uk>
and blymn@baea.com.au (Brett Lymn).  i'm just integrating it.  thanks
HEAPS guys!
1999-04-13 14:08:17 +00:00
garbled 38c96853cf Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Wheee!
1999-03-22 19:44:33 +00:00
abs edc1a24a56 Add a note to update src/distrib/sets/lists/base/shl.*, and add a missing
RCS Id.
1999-02-25 08:02:19 +00:00
tron 1791df2139 Patch by Greg A. Woods to prevent creation of files in source directory
while building documentation. Fixes PR lib/6812.
1999-01-26 22:45:02 +00:00
lukem ce83c69e00 first pass at fixing up capitalization of function names and
arguments; ensure that each is correct with respect to the
implementation, rather than being correct as per english.
1998-08-29 08:32:32 +00:00
thorpej 7ba69add63 Add some braces to make egcs happy. 1998-08-19 00:17:41 +00:00
jtc 0d04dfb0d5 Ncurses (like SysV/XOpen based curses implementations) includes
the termcap API.  This changes bsd-curses to do the same, so we
can update program Makefiles and the like *before* ncurses 4.2
is integrated.
1998-02-18 22:08:12 +00:00
perry 312aca536f add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
perry 0b7831a37b remove obsolete register declarations 1998-02-03 19:12:13 +00:00
perry cabb4ca447 merge with lite-2 1998-01-30 04:33:32 +00:00
perry b51ed80fd5 RCS Id Police. 1998-01-09 04:11:49 +00:00
perry 93db5caa95 RCSID Police. 1998-01-05 07:41:06 +00:00
christos efbb6e62ff use ${SOELIM} instead of soelim 1997-12-21 16:16:14 +00:00
christos a31755413f Make this use object directories. 1997-12-21 14:43:31 +00:00
phil 621f2971b1 Changes to make endwin() act like a SIGSTP in terms of nicely restarting
curses mode.  Taken from e-mail about PR 3981.  (Still some stuff left
in PR3981 to deal with.)
1997-11-13 00:40:27 +00:00
fair 2df6b5acdb add addnstr() to curses.3 man page per PR#2305 1997-11-05 07:47:36 +00:00
lukem 952b672fde use CPPFLAGS instead of CFLAGS 1997-10-22 23:33:05 +00:00
lukem b1927dc191 use <termcap.h> instead of defining termcap(3) stuff here 1997-10-13 16:10:36 +00:00
mycroft e96e918e60 Use bsd.subdir.mk as appropriate. 1997-10-11 09:34:07 +00:00
lukem 5542a7ca43 - define WARNS?=1 in the top-level Makefile.inc, and don't define
anywhere else.
- for now, override WARNS=0 in librpcsvc and libwrap, until they're
  cleaned up
- rcsid police

lib is now clean (except for librpcsvc and libwrap) on the i386, and
this should motivate the other ports to fix any other minor problems
that their compilers pick up that the i386 version doesn't.
1997-10-09 14:36:17 +00:00
phil 1507e4ad2c Make endwin() save state so a subsequent call to wrefresh restores curses
and makes endwin()/wrefresh() act like a SIGTSTP.
1997-09-12 21:08:22 +00:00
mikel ffcc74a97f RCSid police, set WARNS?=1 1997-07-23 03:21:21 +00:00
mikel f37d835870 RCSid police 1997-07-23 03:20:38 +00:00
mikel 716747aa72 RCSid police, fix warnings 1997-07-22 07:36:20 +00:00
mikel 825760d107 RCSid police, fix warnings 1997-07-22 07:36:17 +00:00
jtc e84c875c31 Add get{beg,max}yx and get{cur,beg,max}[yx] macros like XPG4.2 curses. 1997-05-24 00:44:57 +00:00
jtc 998658da45 Fix tipo: flusok -> flushok 1997-05-23 23:34:10 +00:00
jtc 734a742464 Moved unctrl.h from games/mille.
Install it, as it's part of the curses interface.
1997-05-23 23:12:31 +00:00
kleink 1a4cea1055 As per PSD:19, section 8, move to (0,0) when clearing/erasing a window.
From Peter Seebach <seebs@solon.com> in PRs lib/2094 and lib/3648.
1997-05-22 21:07:32 +00:00
christos 8259dd08d6 Makefile cleanups:
use INCS variable to install includes and FILES to install objects.
1997-03-24 22:11:48 +00:00
mrg 9cd5492c02 - convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.
1997-01-23 14:01:45 +00:00
thorpej 7f9ea0f2ed Use ${INSTALL}. 1996-10-18 05:45:01 +00:00
jtc 1c43ef87de Use 'includes' instead of 'beforeinstall' target to install curses.h header 1996-04-25 00:58:56 +00:00
jtc 0f6af23d21 Expand "u_int" to "unsigned int" so that curses.h can be used when
_XOPEN_SOURCE or _POSIX_SOURCE is defined.
1996-03-26 02:43:59 +00:00
pk 18a59f7843 Declare tputs() as void. 1995-06-06 08:10:00 +00:00
cgd 3a370daf86 specify man pages the new way. 1994-12-22 09:44:45 +00:00
jtc 410ff804f7 Add __BEGIN_DECLS, __END_DECLS around public functions so curses library
can be used by C++ programs (PR #401).
1994-09-07 21:28:05 +00:00
mycroft af5acb8048 Clean up deleted files. 1994-08-17 21:53:35 +00:00
cgd d29088dab1 clean up import 1994-08-17 21:51:41 +00:00
cgd 0c2185c64c new libcurses, from new nvi 1994-08-17 21:14:02 +00:00
mycroft 6da312060e Fix return value from endwin(). 1994-08-14 14:27:37 +00:00
jtc 49493ab741 Fix typo, wdelch() only takes on arg (PR 392) 1994-08-06 05:24:40 +00:00
cgd c9848e344c install the right things 1994-07-01 06:14:02 +00:00
cgd 138fcd8327 deal with new share/doc strategy 1994-06-30 05:33:30 +00:00
cgd 5b029eb9a8 update for new doc-make/install strategy 1994-06-25 05:57:47 +00:00
cgd f0cbe5cc71 ansi type renaming 1994-05-23 01:12:33 +00:00
cgd 77eeb1ffa0 major number bump, for stdio and safety... 1994-04-03 03:44:41 +00:00
cgd f2149bfd60 changes from branch 1994-01-24 08:36:38 +00:00
cgd dbc90f4ea4 minor rev 1993-12-04 23:12:04 +00:00