Commit Graph

274 Commits

Author SHA1 Message Date
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
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
cgd 71f16f1033 update from branch 1993-12-04 23:03:43 +00:00
mycroft f3c504c364 Clean up deleted files. 1993-11-09 04:10:07 +00:00
cgd 083bf15097 repeat after me: "I hate rcs ids" 1993-11-09 04:09:08 +00:00
cgd 8ed76a6ac4 oops; forgot this bit 1993-11-09 04:08:59 +00:00
cgd 2f65b6139d repeat after me: "I hate rcs ids" 1993-11-09 04:06:43 +00:00
cgd 4acf14c6be rcs id's and don't include "compat.h" 1993-11-09 04:05:35 +00:00
cgd b4beac8f5f update to new version from berkeley. doesn't compile yet, nor
does it have rcsid's.  this is for diffs.  new doc layout thang.
1993-11-09 03:36:33 +00:00
mycroft c70688046b Clean up deleted files. 1993-11-09 03:35:11 +00:00
cgd 019bbd1316 update to new version from berkeley. doesn't compile yet, nor
does it have rcsid's.  this is for diffs.
1993-11-09 03:34:01 +00:00
cgd daea3d2f86 add shlib_version file, with version 0.0 1993-11-08 03:48:53 +00:00
mycroft 90683ee61f Remove spurious `)'. 1993-08-15 16:43:27 +00:00
mycroft 6d20662fcb waddbytes() is private; make the rest of *addbytes() be.
Make waddbytes() and waddstr() take a `const char *'.
1993-08-15 16:23:57 +00:00
mycroft 4a9141f643 Actually use the signal number we're passed. 1993-08-10 02:12:47 +00:00
mycroft c710920fc5 New files. 1993-08-07 05:51:11 +00:00
mycroft b06a09ba51 Clean up deleted files. 1993-08-07 05:49:11 +00:00
mycroft 62a3457d0e New version from uunet. 1993-08-07 05:48:37 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
alm 75de25bb93 added Andrew Chernov's patch set:
Standard curses library use eight bit for standout mode, so
8-bit characters displays like highlighted 7-bit characters.

This patch produce library which is fully compatible with all curses
programs and add 8-bit chars to all input/display functions.
---
I don't think, that any programs wish to use internal curses
attribute _STANDOUT directly, in expressions like:
        addch( ch | _STANDOUT );
        Normal interface use standout() and standend() functions instead.
        Many programs use 'char' type (with sign extention) for input characters
        and sign extention becomes _STANDOUT mode in this case.
        So, I refuse this future and allow 8-bit characters for programs,
        which is designed for 7-bit only ('char' type using instead of
        'unsigned char').
---
This small patch fix unpleasant standard curses bug:
curses can't expand TAB at all (but tries).
A man who wrote this curses misplace SYNC_IN and SYNCH_OUT,
this patch exchange macro calls.

This patch useful for standard 7-bit curses too, for this
you must delete '_' symbol before waddbytes and apply patch.
---
Oh, NO! This curses are really buggy!

This small patch fix following problem:
[ assumed scrollok(stdscr, TRUE) ]
when addch(ch) at lower right corner of screen, curses are realy
gone mad instead if simple scrolling... Curses code assumed that
this will be done correctly, but implement it with two bugs.
1993-07-09 05:34:14 +00:00
mycroft c2ef5bd114 Make tabs actually work. 1993-04-23 03:42:45 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00