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
jdc
7b941b625f
Add extra KEY_* definitions (from SUSv2).
...
Fix `gcc -Wuninitialized`.
2000-04-27 00:23:26 +00:00
jdc
4b24f5540b
Add virtual screen for wnoutrefresh()/doupdate().
2000-04-27 00:23:01 +00:00
jdc
3f832f5227
Add virtual screen for wnoutrefresh()/doupdate().
...
Add definition for __unsetattr().
2000-04-27 00:22:44 +00:00
jdc
172c0dd7e2
Background colour erase is 'ut' not 'be'.
...
Add extra KEY_* definition.
Wrap definition of 'bool' with "#ifndef __cplusplus".
Add __attributes(...) to *printw() and *scanw().
Add wnoutrefresh()/doupdate() definitions.
2000-04-27 00:22:16 +00:00
jdc
bd499f9b1b
Background colour erase is 'ut' not 'be'.
2000-04-27 00:21:43 +00:00
jdc
703f438d4d
Background colour erase is 'ut' not 'be'.
...
Add virtual screen for wnoutrefresh()/doupdate().
2000-04-27 00:21:22 +00:00
itojun
3fc57d3ff8
bring in latest KAME implementation.
...
conforms to draft-ietf-ipngwg-scopedaddr-format-01.txt.
behavior change: returns numeric scopeid if we can't convert to string.
removed #if 0'ed portion which we will never revisit.
2000-04-26 16:08:38 +00:00
itojun
4009c33ef7
add $KAME$
2000-04-26 16:08:10 +00:00
blymn
67967397d1
* Fixed bug in copywin.
...
* Fixed bug in overwrite.
* Added functions is_linetouched, is_wintouched, untouchwin and wtouchln.
2000-04-26 12:29:47 +00:00
itojun
e7cb023342
disable AI_ADDRCONFIG (post RFC2553 specification),
...
it has bug in PF_UNSPEC caes. From: ume
fix boundary check which was broken by delint in the past.
2000-04-26 12:25:51 +00:00
itojun
d585d4d8d9
simplify #ifdef a bit, by assuming getnameinfo.
2000-04-26 10:55:53 +00:00
itojun
0308db5ae0
improve comment before setbuf() in hostalias().
2000-04-26 06:51:37 +00:00
itojun
bdb0d9a667
sync with BIND 4.9.7. uses BIND 8.x codebase for dn_expand().
...
hyphenchar() definition is now fixed to specwise-correct declaration
(only "-" is permitted). may need more KNF and/or delint.
2000-04-25 14:39:00 +00:00
blymn
43bf1b16a3
Bump minor version.
2000-04-25 14:05:15 +00:00
itojun
75753d9452
sync with BIND 4.9.7. mostly costmetic.
...
XXX 4.9.5 -> 4.9.7 moves _res from data to bss. the bss version of the code
is committed, but is wrapped with #ifdef __RES_IN_BSS and is disabled
(_res is still in data segment).
2000-04-25 13:57:08 +00:00
itojun
e1e1e8e6ba
sync with BIND 4.9.7. strict boundary checking.
2000-04-25 13:47:38 +00:00
itojun
393bcd0129
sync with BIND 4.9.7. reject too short messages.
2000-04-25 13:46:10 +00:00
itojun
c3f3ab4c5c
sync with BIND 4.9.7. correct boundary checking broken by delint mistake
...
(auto increment evaluation order). costmetic changes.
2000-04-25 13:27:22 +00:00
itojun
bb0ecf8c42
sync with BIND 4.9.7. mostly costmetic.
2000-04-25 13:26:03 +00:00
itojun
25855cd3a5
correct a use of sizeof() against nsaddr_list.
2000-04-25 08:56:06 +00:00
itojun
0635beac21
cleanup nsaddr_list handling.
...
- be more backward compatible with apps that update _res.nsaddr_list[n].
- allow scoped IPv6 addresses in /etc/resolv.conf (like fe80::1%lo0).
- simplify #ifdefs.
2000-04-25 08:51:39 +00:00
erh
b6ab3db38e
Fix unaligned accesses more correctly.
2000-04-25 05:55:58 +00:00
erh
9396b0cf82
Fix unaligned accesses.
2000-04-25 05:54:33 +00:00
itojun
bcbd70d5bf
add missing period.
2000-04-24 16:17:07 +00:00
pk
8333b49df5
Fix `.Fn' call.
2000-04-24 15:13:54 +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
itojun
72eddcac5b
add __RCSID().
2000-04-24 10:40:24 +00:00
itojun
92db021bdc
use BSDI-origin if_{index,name}* functions. they use getifaddrs(3) as
...
backend and are more robust against SIOCGIFCONF alignment issue.
now getifaddrs always takes care of the issue. (sync with kame tree)
use weak symbol just in case.
2000-04-24 10:24:46 +00:00
itojun
c6bf4b09bd
supply weak alias for IPv6-related library additions. sorry to be late.
2000-04-24 09:27:30 +00:00
itojun
c217a09193
synchronize better with BIND 8.2.2P5 (actually, src/dist/bind).
...
inet_net_pton() becomes more strict on hexadecimals/octals.
2000-04-23 16:59:12 +00:00
blymn
a0abaa5357
This time commit the curs_set change...
2000-04-23 14:17:32 +00:00
blymn
cf5ffc46f2
* Fixed bug in copywin which was copying more than it should.
...
* Changed call to wrefresh in wgetch to be before input read.
* Changed default old cursor mode to be high vis in curs_set
* Added documentation for various new functions to fns.doc.
2000-04-23 14:14:49 +00:00
thorpej
6600b61c73
Fully initialize the structure allocated in new_keymap().
2000-04-22 21:14:19 +00:00