Commit Graph

82 Commits

Author SHA1 Message Date
simonb
3f777e28cc More trailing white space. 1999-07-02 15:58:35 +00:00
simonb
e07c905939 Get rid of the evil trailing spaces and tabs. 1999-06-28 13:32:43 +00:00
simonb
4c8cdd6200 Remove the test for NOQCH, and print the line flags in the CTRACE in
the main loop wrefresh().
1999-06-28 13:27:24 +00:00
simonb
75ec9210d0 In struct __window, change flags back to an "unsigned int" from an
"u_int32_t", and move new member "delay" to the end of the structure.
Restores binary compatibility with older curses-based programs that
called any macros that modified window flags (like clearok, which
bites vi).

Fixes PR lib/7863 from Ross Harvey.
1999-06-28 12:32:07 +00:00
simonb
499fc203b7 Little nit - major first, then minor. 1999-06-27 12:14:03 +00:00
christos
cbc12c53b7 - protect NULL attributes from de-referencing
- Silence pointer casts
1999-06-23 03:27:34 +00:00
christos
187ca44dc6 Silence casts 1999-06-23 03:26:02 +00:00
simonb
56351da429 Make a few private variables and functions static. 1999-06-15 04:50:28 +00:00
pk
6c4ae8ffb4 Re-arrange some code to approach our regular style. 1999-06-06 21:05:03 +00:00
pk
d467771b45 Hang on to the termcap buffer that we have tgetent() fill.
(someone ows me two hours worth of beer for this... :-)
1999-06-06 20:43:00 +00:00
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