Commit Graph

63099 Commits

Author SHA1 Message Date
joda
81bac16312 add CARDBUS_SUBCLASS_COMMUNICATIONS_SERIAL 2000-04-13 10:11:15 +00:00
mrg
fa13d97855 this does not need auxreg.h 2000-04-13 09:54:43 +00:00
mrg
b60fe7f45a store all the physical address bits. 2000-04-13 09:53:49 +00:00
mrg
e7f3d69787 this does not need auxreg.h 2000-04-13 09:52:46 +00:00
mrg
542f08a422 add a version file. 2000-04-13 09:38:12 +00:00
mrg
f2ab01bf42 copy the "sparc" clean/cleandir target code, so that "cleandir" actually does a "clean" 2000-04-13 09:23:38 +00:00
itojun
b9c3c448e1 use getifaddrs to avoid alignment constraints in SIOCGIFCONF.
(do you have PR # for this? >lukem)
2000-04-13 09:12:16 +00:00
itojun
e9c5139f22 use getifaddrs, not SIOCGIFCONF. (should use pcap_lookupdev instead...) 2000-04-13 08:52:44 +00:00
mrg
09b8a5a646 for NetBSD 1.4 and above, use <sys/swap.h> 2000-04-13 08:34:40 +00:00
mrg
90bc324a8d use <sys/swap.h>. should have happened years ago. 2000-04-13 08:29:56 +00:00
lukem
16ca0f7009 crank version 2000-04-13 08:23:52 +00:00
lukem
d54eded2a0 fixes from cgd:
* sanity check a length (otherwise certain bogus responses can crash ftp)
* allow a transfer encoding type of `binary'; certain firewall vendors
  return this bogus type...
2000-04-13 08:17:56 +00:00
lukem
031f2ed4b1 s/strtoq/strtoll/ (the latter is standardised) 2000-04-13 08:13:30 +00:00
itojun
4e4447b130 use getifaddrs, not SIOCGIFCONF, to avoid complex alignment constraints. 2000-04-13 07:53:29 +00:00
itojun
4a58ed7b4f use getifaddrs, not SIOCGIFCONF, to avoid alignment constraints.
TODO: maybe it's better to pass struct ifaddrs * to in{,6}_alias.
2000-04-13 07:39:57 +00:00
itojun
dbe85fd5ef clarify in_alias() and in_status().
in_status() handles the whole inet address family.  in_alias() handles
printout for single address (for both the primary address or an alias).
it is more consistent with, for example, the way at_status() is used.
2000-04-13 07:16:54 +00:00
jdc
43842e9bc2 Restore const after the Open Group decided it was OK.
Thanks due to Brett Lymn.
2000-04-13 07:07:33 +00:00
simonb
924021df91 Curses works - define USE_CURSES for BSD44 and don't try to do our own
thing (using curses internal data structures anyway!).
2000-04-13 06:07:06 +00:00
itojun
cf9ebfbd63 use getifaddrs, instead of SIOCGIFCONF.
sync with more-recent LBL 0.4, about loopback interface detection
(/^lo[0-9]?$/).

CAVEAT: with GENERIC kernel on laptops laptops, pcap_lookupdev would almost
always pick eon0 as the interface, and fails because eon0 has no bpf
attachment.  we may want to change pcap_lookup{,dev} to check if the
interface has bpf attachment or not.

almost in sync with tcpdump.org source code tree.
2000-04-13 05:14:19 +00:00
itojun
b5a6411fbe sprintf -> snprintf 2000-04-13 05:10:17 +00:00
itohy
0af9894f2f [ktruss] Use fork(2), not vfork(2).
The child process of do_ktrace() does return and the stack is
changed by another function call (execvp()).
By using vfork() (my previous change), the execution of the parent
process resumes on the modified stack.  Oops.
We could use vfork() carefully, but for now use fork().

Problem reported and investigated by Ethan Solomita <ethan@geocast.com>.
Thanks.
2000-04-13 01:27:53 +00:00
chs
c81c7aa367 always define PI_MAGIC so this compiles in all cases. 2000-04-13 00:44:19 +00:00
lukem
f408de971d as this script is primarily for compatibility (with people's
rc.local), call it in a way that is compatible with the old behaviour:
	* remove the stop case
	* don't set $1="start" in the start case

xxx: it's debatable if this script should even exist, but i digress ;-)
2000-04-13 00:39:47 +00:00
simonb
aa52cffef6 Include "curses_private.h" to get function declarations. 2000-04-13 00:01:46 +00:00
simonb
d9726999aa Nuke unused variables. 2000-04-13 00:01:03 +00:00
jdc
60bee59cbe Add color.c, background.c, getyx.c. 2000-04-12 21:50:46 +00:00
jdc
70f4bbdc33 get...y() and get...x() routines. 2000-04-12 21:50:24 +00:00
jdc
ebc24bf609 Add COLORS and COLOR_PAIRS. 2000-04-12 21:49:50 +00:00
jdc
53ff563a2d Add colour capabilities and functions.
Add background manipulation functions.
Add def/reset_prog/shell_mode().
2000-04-12 21:49:29 +00:00
jdc
7b77d1dca6 Add background character/attributes. 2000-04-12 21:48:46 +00:00
jdc
40b39f92af Add color attribute manipulation. 2000-04-12 21:47:50 +00:00
jdc
3b5538fc53 Add color manipulation.
Note that window background attributes are not handled yet.
2000-04-12 21:47:20 +00:00
jdc
e4f451d720 Add colour capabilities and variables. 2000-04-12 21:46:49 +00:00
jdc
2d80817573 Private functions/variables moved from curses.h
Move character/attribute definitions to curses.h
2000-04-12 21:46:27 +00:00
jdc
5ce1814053 Add colour capabilities and functions.
Add background manipulation functions.
Add def/reset_prog/shell_mode().
Remove __TERMATTR.
Tidy up tab vs. space.
Macros get...y and get...x are now functions.
Private functions/variables moved to curses_private.h
Replace character/attribute definitions from curses_private.h
2000-04-12 21:46:00 +00:00
jdc
a8ddedce62 Add colour capabilities.
Increase size of attribute buffers.
Include private header.
2000-04-12 21:45:30 +00:00
jdc
a50aa6f8ae Initialise colour variable (__nca).
Include private header.
2000-04-12 21:45:04 +00:00
jdc
c34602878f Copyright assgned to TNF.
Add check for conflict with colour.
Shrink one line comments.
2000-04-12 21:44:42 +00:00
jdc
e2d9b86b4c Add check for conflict with colour. 2000-04-12 21:44:19 +00:00
jdc
f04694244e Copyright assgned to TNF.
Add check for conflict with colour.
Remove code duplication in wattrset().
Shrink one line comments.
Consolidate DEBUG output.
2000-04-12 21:43:57 +00:00
jdc
92d0751b6e Background manipulation routines. 2000-04-12 21:43:37 +00:00
jdc
fa395b65d4 Colour specific routines. 2000-04-12 21:43:09 +00:00
jdc
d236276259 Include private header.
Make capability parser more generic (it is now also used by colour routines).
Note that the termcap file we use contains terminfo % escapes, which are
not always compatible with the termcap ones.  We'll lose in those cases.
2000-04-12 21:37:15 +00:00
jdc
725597b1c6 Replace __TERMATTR with __ATTRIBUTES (includes colour).
Add def_prog_mode() and reset_prog_mode().
2000-04-12 21:36:36 +00:00
jdc
d7b4eb28b3 Add intrflush().
Add def_shell_mode() and reset_shell_mode().
Include private header.
2000-04-12 21:36:02 +00:00
jdc
e3317c27ed Remove attributes of characters displayed with -DDEBUG.
Add color manipulation.
2000-04-12 21:35:35 +00:00
jdc
1aa45522c2 Make sure we don't read a negative character value. 2000-04-12 21:34:24 +00:00
jdc
ea5f9be092 Make ACS array index unsigned. 2000-04-12 21:33:35 +00:00
jdc
d6a738e190 Copyright assgned to TNF. 2000-04-12 21:33:12 +00:00
scw
d5d6c20e74 Regen 2000-04-12 21:13:12 +00:00