Commit Graph

5038 Commits

Author SHA1 Message Date
jdc
5133f6e158 libcurses minor++. 2000-05-11 22:56:46 +00:00
jdc
8d997082f6 Documemt getattrs(), delay_output() and napms().
Document functions (get*).
2000-05-11 22:54:47 +00:00
jdc
291b7c9d24 Add pause.c. 2000-05-11 22:51:10 +00:00
jdc
6cce64a34b Add getattrs(), delay_output() and napms(). 2000-05-11 22:50:23 +00:00
jdc
225ce34fd7 New functions delay_output() and napms(). 2000-05-11 22:49:13 +00:00
jdc
4cb1d6d3b9 New function getattrs().
Add win to debug output.
2000-05-11 22:44:45 +00:00
blymn
d013bbe3a0 Remove names from prototype decalarations. 2000-05-11 14:01:28 +00:00
blymn
fc196e1de6 * Applied patch by mrg to remove variable names from function
prototypes to prevent name space collisions.
2000-05-11 12:05:39 +00:00
itojun
5cf4e14fea $NetBSD$ 2000-05-11 03:08:46 +00:00
itojun
e2a25fa8de update internet draft #. correct samples.
sync getnameinfo function prototype with /usr/include/netdb.h (not
standard conformant yet, needs update - will do soon)
2000-05-11 03:08:06 +00:00
blymn
fac11bb07f Update man page to document new tgetent behaviour. 2000-05-10 11:13:35 +00:00
bjh21
6c97e2bd78 Initial commit of arm26 port 2000-05-09 21:55:44 +00:00
thorpej
14dfd80261 Need -I${.CURDIR} for ipsec_strerror.h 2000-05-09 05:52:54 +00:00
kleink
cd628af723 Need an internal name for send(); noticed by itojun. 2000-05-08 13:38:44 +00:00
blymn
0c575d5c64 * Modified t_getent to ignore the TERMCAP env variable if it contains the
ZZ attribute which indicates the TERMCAP was exported from another
  programme and has been truncated.  Iff a real termcap entry cannot be
  found then TERMCAP with a ZZ in it will be used as a last resort.
2000-05-08 13:17:14 +00:00
soda
91c450a0e1 ARG_MAX is bumped from 20KB to 256KB since Jan 16 1994 (revision 1.7 of <sys/syslimits.h>). i.e. before NetBSD-1.0 release.
pointed out by NAKAJIMA Yoshihiro and Tanaka Akira on fj.os.bsd.netbsd newsgroup.
2000-05-08 10:15:17 +00:00
jdc
aecd0ef1a8 Don't try and refresh those parts of windows that are outside our terminal. 2000-05-07 21:22:43 +00:00
blymn
bb92002785 * Fixed possible unassigned variable problem. 2000-05-07 12:14:44 +00:00
jdc
20e0a208fb Only return TRUE if we can actually manipulate colours. 2000-05-06 19:03:39 +00:00
blymn
d2d6d2090b * Fixed lack of win arg in wattr* man entries. 2000-05-05 11:57:46 +00:00
blymn
5f001bd923 * Fixed off by one bug in scale menu
* Fixed bug in post_menu which created the subwin too small for the menu.
2000-05-05 11:28:56 +00:00
thorpej
b193ffa77c Use __GNUC_PREREQ__(). 2000-05-05 00:20:22 +00:00
is
4d9fa509f7 Change ARCnet link type address format from ':XX' to '$XX'.
Fixes PR 9885 by Jun-ichiro itojun Hagino.
2000-05-04 13:08:25 +00:00
simonb
6e1372a422 Remove xntp3 sources. 2000-05-02 12:50:50 +00:00
is
2ced82ab8e Add the (void)&acc; hack from strtouq.c to strtoull.c. This works around
an arm32 compiler bug. Change the comment in strtouq.c to reflect the current
usage of the hack.
2000-05-02 12:39:03 +00:00
simonb
dc5fae5847 Don't build libntp anymore. 2000-05-02 12:22:23 +00:00
blymn
2128c86b68 * Made erasechar and killchar into functions
* Modified __init_getch to use termcap handle that has been allocated
  (_cursesi_genbuf) instead of refetching it.
* Make wgetstr support erase - this is not a full blown SUSv2 version
  but it is a start.
2000-05-01 12:30:30 +00:00
dmcmahill
7348e432f3 change -fpic to -fPIC. Among other things this will let sparc shared
c++ libraries built with pkglibtool (which uses -fPIC) work.
change approved by mycroft.
2000-04-29 17:42:46 +00:00
mycroft
2228799172 As the comment suggests, move the __unsetattr() to the end of doupdate(), just
before the fflush().  This avoids needlessly resetting modes.
2000-04-29 02:51:16 +00:00
mycroft
6d4f51a947 Fix pasto. 2000-04-29 00:50:05 +00:00
mycroft
f9f1ee95d2 Use the mask here too. 2000-04-29 00:43:36 +00:00
mycroft
c7d40b65f9 Speed up refresh in the presence of attributes by precalculating a mask for
each `end' command to turn off other attributes in the case of conflicts.
2000-04-29 00:42:26 +00:00
mycroft
db72a0c5d6 Clean up a bunch more logic. 2000-04-28 23:37:11 +00:00
mycroft
40add0b991 Massively simplify some logic. 2000-04-28 22:44:33 +00:00
jdc
e074acd8a2 We can't assume colour won't be turned off if the escape sequences for
turning off attributes aren't the same as the one for colour, so decide
that we've turned off colour when we turn off any attributes.
2000-04-28 17:11:51 +00:00
jdc
ff39cfe5f4 Remove test code inadvertently left in. 2000-04-28 06:51:36 +00:00
itojun
183b1060ec typo in comment 2000-04-28 02:37:57 +00:00
jdc
bb8643a097 Don't change the cursor position if __LEAVEOK. 2000-04-27 22:12:36 +00:00
mycroft
5b770d6f23 Fix a silly bit-shifting error that causes color pairs >=8 to fail. 2000-04-27 19:54:40 +00:00
mycroft
317366b8b0 No, really, make sure ECHO is cleared in cbreak() mode too. 2000-04-27 17:50:01 +00:00
mycroft
699c904e5e Don't fiddle with the tty echo state in echo() and noecho(); it should always
remain off.
2000-04-27 17:38:30 +00:00
itojun
15311778c6 don't look at $HOSTALIASES, if issetugid() says the binary is dirty. 2000-04-27 16:32:37 +00:00
itojun
c90f48caf4 remove unused struct def. more sanity check for NULL. 2000-04-27 05:30:22 +00:00
mycroft
e06792e318 Fix obvious bugs in init_pair(). 2000-04-27 05:03:22 +00:00
jdc
85a2e6448b Bump libcurses minor (new functions - wnoutrefresh() and doupdate()). 2000-04-27 00:28:58 +00:00
jdc
9eb3d5276b Add wnoutrefresh() and doupdate(). 2000-04-27 00:28:28 +00:00
jdc
fbc7603df3 Fix gcc -Wuninitialized.
Use unctrl() for capability string when debugging.
2000-04-27 00:27:56 +00:00
jdc
4076d037fb Use __unsetattr() to unset attributes on 'curscr'. 2000-04-27 00:27:23 +00:00
jdc
5b8d714caa Use '__TERMATTR'.
Reorder initialisation to make debugging easier to parse.
Use t_getent() not tgetent().
2000-04-27 00:26:57 +00:00
jdc
1e17d2d2ed Implement wnoutrefresh() and doupdate(). wrefresh() now calls these functions
and the previous wrefresh() code is split between them.  Background character
and attribute handling is now done in wnoutrefresh(), thus simplifying the code
in doupdate(), makech() and quickch().
Refine xterm workround and test for it earlier - this cuts down the number of
lines we test when looking for a scrolled region.
Rename unsetattr() to __unsetattr(), so it can be used by __stopwin().
2000-04-27 00:26:19 +00:00