Commit Graph

54 Commits

Author SHA1 Message Date
blymn
eaa84a63c0 Change debug handling, now we write debug out iff CURSES_TRACE_FILE
has been set in the environment, this prevents people using MKDEBUGLIB
getting more than they bargained for.

Tidied up the debug settings in the Makefile to reflect the above change,
we no longer need to have FULL_DEBUG since nothing is written by default.
2007-05-29 13:20:21 +00:00
blymn
e124de36d8 Merge in wide curses code done as a Summer of Code project by
Ruibiao Qiu.
2007-05-28 15:01:53 +00:00
jdc
eb71bd67da Add missing mvin* and mvwin* manual pages. 2004-04-21 06:24:32 +00:00
jdc
a6a9a97d12 Changes to support *echochar().
Should fix PR lib/24927.
2004-03-28 08:58:37 +00:00
jdc
dd5d3aabfc Add (missing) mvgetch() and mvwgetch() manual pages. 2004-03-23 21:56:53 +00:00
jdc
a02733d775 s/can_change_colors/can_change_color/ 2004-03-16 07:55:05 +00:00
wiz
449cf546df Link curses_cursor(3) to getmaxyx(3); from Steve Rumble in PR 23183. 2003-10-18 09:08:46 +00:00
jdc
11f267a000 Add noqiflush() and qiflush()
Fixes PR lib/20037.
2003-06-20 06:58:53 +00:00
jdc
c521d02fce Add keyname().
Fixes PR lib/20033.
Allow SMALL to be defined, to reduce the size of the library.
2003-06-20 06:56:29 +00:00
jdc
57b809b169 Add addchstr() family of functions.
Based on mail from Douwe Kiela.
Fixes PR lib/21285 by Thomas Klausner.
2003-05-21 21:19:52 +00:00
jdc
ad216762c8 Add missing *printw manual page links.
Patch provided in PR lib/21446 by Douwe Kiela.
2003-05-21 06:46:51 +00:00
jdc
2e4b986118 Add missing manual page links. 2003-05-20 06:54:44 +00:00
jdc
6e028f681b Add mvwin manual pages.
From PR 21041.
2003-04-08 06:02:17 +00:00
jdc
b5eb0508f1 Add attr_set() group of functions.
Fixes PR lib/20034 by Thomas Klausner.
2003-03-30 07:38:41 +00:00
blymn
a3c6a58ea6 Added halfdelay() function. 2003-01-09 12:48:04 +00:00
jdc
a2a5a0d169 Add curses pad manual pages.
Forgot to commit this.  Pointed out by wiz.
2002-12-24 07:36:32 +00:00
blymn
23b2be97b5 Added separate man pages for curses functions to provide better
documentation of the curses functions.
2002-10-21 13:55:12 +00:00
lukem
ebb6fc9eb8 Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path (etc).
(Reduces make output by ~ 20%)
2002-08-19 09:41:27 +00:00
blymn
8d2591041a * Added new function idcok - this closes PR 10802
* Added sentinels to the line structures when in debug mode to try
  to pick up data overwrite problems, if they occur.
2002-07-19 13:22:41 +00:00
blymn
51344953b1 * Remove termcap globals from public interface
* Clean up commented out code
2001-12-11 11:18:17 +00:00
blymn
c84d91aad5 * Major change to add support for the newterm/set_term functions.
* Added fix to getch.c suggested by Gabriel Rosenkoetter (thanks :-)
2001-12-02 09:14:20 +00:00
blymn
9fc0329619 Add code to allow resizing of windows and the underlying terminal. 2001-09-20 11:11:54 +00:00
blymn
680d3cd9aa Fixed casting bug in array indexing, a signed char was being sign
extended when cast to unsigned, made the cast "unsigned char"
2001-01-10 14:02:31 +00:00
simonb
e6fa1cbf79 Add the instr and inchstr families of functions. 2001-01-01 10:36:12 +00:00
itojun
3804b1dddf build a trace version of libcurses, with "make -DDEBUG_CURSES"
(commented out as it is very uncommon)
2000-08-13 03:20:07 +00:00
blymn
16178745d9 * Added libterm to the include path - tgoto requires it for the private
structure definition.
2000-06-03 07:10:31 +00:00
jdc
291b7c9d24 Add pause.c. 2000-05-11 22:51:10 +00:00
blymn
66cab71c72 * Added rcs id line to files missing it.
* Added code to __restartwin to restore meta and cursor visibility states
* Added code to __stopwin to disable meta.
* Added the *line group of functions for drawing character lines.
2000-04-24 14:09:41 +00:00
blymn
bb083e0e5c * Fixed need for duplicate namp string in setterm.c
* Added meta function (turns meta bit on and off on terminal if supported)
* Added curs_set to control cursor visibility if supported.
2000-04-22 13:29:01 +00:00
kleink
405a7540e7 * Move <wchar.h> from libcurses to include (for the missing functionality
is to be provided by libc).
* Define wint_t and size_t in <wchar.h> as well.
2000-04-20 09:56:36 +00:00
blymn
e79669d636 More multiple changes:
* Added function derwin.
* Added function copywin.
* Modified both overlay and overwrite to use copywin.
* Updated man page with new functions and fixed minor format glitch.
2000-04-18 12:23:01 +00:00
jdc
60bee59cbe Add color.c, background.c, getyx.c. 2000-04-12 21:50:46 +00:00
blymn
23464ee534 Made data structures opaque 2000-04-11 13:57:08 +00:00
simonb
e07c905939 Get rid of the evil trailing spaces and tabs. 1999-06-28 13:32:43 +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
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
lukem
952b672fde use CPPFLAGS instead of CFLAGS 1997-10-22 23:33:05 +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
mikel
ffcc74a97f RCSid police, set WARNS?=1 1997-07-23 03:21:21 +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
christos
8259dd08d6 Makefile cleanups:
use INCS variable to install includes and FILES to install objects.
1997-03-24 22:11:48 +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
cgd
3a370daf86 specify man pages the new way. 1994-12-22 09:44:45 +00:00
cgd
d29088dab1 clean up import 1994-08-17 21:51:41 +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
f2149bfd60 changes from branch 1994-01-24 08:36:38 +00:00
cgd
2f65b6139d repeat after me: "I hate rcs ids" 1993-11-09 04:06:43 +00:00