Commit Graph

1605 Commits

Author SHA1 Message Date
jtc 4d85334f0f Sync with 4.4lite2 1995-08-31 22:36:32 +00:00
jtc 3f2b3b5a18 Sync with 4.4lite2 1995-08-31 22:26:07 +00:00
jtc 0c3e631d7d Sync with 4.4lite2 1995-08-31 22:22:05 +00:00
jtc f1df59ade6 Sync with 4.4lite2 1995-08-31 22:11:37 +00:00
jtc fcf00a7f44 Sync with 44lite2 1995-08-31 22:10:05 +00:00
jtc 3614b0d5b7 Sync with 4.4lite2 1995-08-31 22:06:22 +00:00
jtc be667101f6 Sync with 44lite2 1995-08-31 21:54:51 +00:00
jtc 9c755aca36 Sync with 4.4lite2. 1995-08-31 21:51:32 +00:00
jtc 5a441adfaf sync with 4.4lite2 1995-08-31 21:48:32 +00:00
jtc 3af2d946ae imported from 44lite2 1995-08-31 21:37:34 +00:00
pk 20a3845e27 Correct description of default century (from Peter Seebach; PR#1423). 1995-08-30 21:21:21 +00:00
cgd e9b16ab034 pull stdlib.h and string.h in, for protos, where necessary 1995-08-29 23:05:49 +00:00
phil d096b0e5e1 pc532 specific interrupt code. (From Matthias Pfaller.) 1995-08-27 06:20:27 +00:00
jtc 67c6c5cc72 don't define yydebug unless YYDEBUG is also defined; PR #1402 1995-08-24 00:45:23 +00:00
pk a4b5950847 `.FL' -> `.Fl' (from Masanobu Saitoh; PR#1378). 1995-08-18 15:07:35 +00:00
pk 1a30394a90 `.SH' -> `.Sh' (from Masanobu Saitoh; PR#1378). 1995-08-18 15:05:11 +00:00
pk 6209723d69 Escape `...' (from Masanobu Saitoh; PR#1375). 1995-08-18 14:55:40 +00:00
pk 7b77b5bf39 Replace `.LI' by `.Ql' (from Masanobu Saitoh; PR#1376). 1995-08-18 14:45:44 +00:00
mycroft d7b28f05aa Garbage collect mbuf types. 1995-08-17 03:24:54 +00:00
mycroft 9094d0cb63 Garbage collect mbuf types. 1995-08-17 03:23:40 +00:00
cgd 37dc4c7ab7 fix bugs (missing spaces) in definitions of nmile an Xunit, as pointed
out by John F. Woods <jfw@jfwhome.funhouse.com>.
1995-08-13 03:25:54 +00:00
jtc 71c33981ab Fix parity calculation; PR #1325 1995-08-11 00:10:40 +00:00
jtc 3619016374 Moved from section 1 to section 8; PR #1298 1995-08-10 23:29:47 +00:00
thorpej 7df5d8b0ec If set, show a route's mtu in the routing table display. 1995-08-10 06:24:52 +00:00
ghudson 558fb11b35 Accept numeric uid or gid for -o and -g flags, for consistency with
chown and chgrp.
1995-08-10 04:20:57 +00:00
ghudson 206d659641 Implement and document the -d flag, most easily described as "novice
mode."  Primary motivation for this is backward-compatibility with BSD
4.3 and cross-compatibility with other platforms, but it's also a
nice feature to have.  Displays "[Press space to continue, 'q' to quit]"
at the normal more prompt, and display "[Press 'h' for instructions.]"
when the user gives an invalid command.  Some academic environments like
to set the MORE environment variable to contain -d so that students have
an easier time using it, so it's helpful if we can support that option.
1995-08-06 09:22:30 +00:00
phil 72065007ac Improvements to YP support from Jason Downs. 1995-07-28 07:01:32 +00:00
jtc 522cbae72a Fix STANDARDS section, which got munged during the 4.4lite merge.
Noted by Masanobu Saitoh in PR #1271.
1995-07-25 18:31:12 +00:00
jtc ba2cb090ad Fix typo, noted by Masanobu Saitoh in PR #1270 1995-07-25 18:20:25 +00:00
jtc 1a62dfd970 Fix typo, noted by Masanobu Saitoh in PR #1272 1995-07-25 18:16:57 +00:00
cgd 476f91e9ed add (dummy) bdes, alphabetize 1995-07-24 04:31:55 +00:00
cgd 6cd3df5d59 add dummy bdes script, which prints an error to stderr and exits with an
error code.  include manual page, because it's exportable.  note in manual
page that installed version doesn't actually work.
1995-07-24 04:30:47 +00:00
ragge e9aafcbca4 Added vax support. 1995-07-23 18:14:41 +00:00
ragge fcd02a4fbe read_names() for vax needed... 1995-07-23 18:09:27 +00:00
christos 7e8c6bf13c Add support for displaying and switching between
different OS system call emulations
1995-07-19 15:11:19 +00:00
mycroft c04417f76c Remove code to reset access time of scanned files. 1995-07-13 13:22:58 +00:00
cgd 637e8bb002 fix bug pointed out by Dennis Ferguson <dennis@mci.net>. if hold space null
when doing an 'x', make sure it contains a newline.
1995-07-11 04:09:50 +00:00
jtc 89c36052b7 Changed floating point output format to be exactly the same (use same
text and macros) as those in the printf(3) manpage.
This fixes PR #1194, albeit differently.
1995-07-07 23:00:13 +00:00
jtc 8f2827a1fb update some old-man macros that hadn't been updated; PR #1194 1995-07-07 22:41:30 +00:00
jtc 907b803d29 Fix formatting; PR #1194 1995-07-07 22:35:40 +00:00
jtc 0c6b470863 Remove duplicated word; PR #1194 1995-07-07 22:28:11 +00:00
jtc 6b7d6d2b4d remove trailing comma from SEE ALSO section; PR #1194 1995-07-07 22:24:09 +00:00
cgd df24f1d4df use correct cpp defines for various archs, define params for the alpha 1995-07-04 02:08:42 +00:00
cgd c51c25021f hack around a bug in our gcc. 1995-07-04 01:53:05 +00:00
cgd d6c493f3fb kill two of the three __NetBSD__-specific definitions 1995-07-03 21:39:28 +00:00
cgd c61d16ddbe RCS id cleanup 1995-07-03 21:23:45 +00:00
cgd 4a9e0e45b3 add 'xlint' for lint 1995-07-03 20:57:38 +00:00
cgd b14be51dec lint(1) implementation, by Jochen Pohl. named 'xlint' for a similar
reason to why 'install' is named 'xinstall'.
1995-07-03 20:56:35 +00:00
phil 2e9608879c Add check for NULL returned by fgets. If not, we can core dump. 1995-07-03 16:50:13 +00:00
mycroft 01c15f41a0 Byte-swap correctly. Make some types 64-bit safe. Use INADDR_ANY rather
than an explicit 0.
1995-07-03 03:25:19 +00:00
mycroft 9086ad07b9 Remove an extra htonl(). 1995-07-03 03:16:57 +00:00
jtc 9e981c23ff sys/signal.h -> signal.h 1995-06-27 00:31:00 +00:00
jtc 06d64cb0f3 sys/errno.h -> errno.h
sys/signal.h -> signal.h
1995-06-27 00:28:17 +00:00
jtc d0a0f13bef sys/signal.h -> signal.h 1995-06-27 00:20:24 +00:00
jtc b46d63c723 sys/errno.h -> errno.h 1995-06-27 00:18:19 +00:00
jtc 4a241ea576 sys/signal.h -> signal.h 1995-06-27 00:16:17 +00:00
jtc b1f21ab226 Remove unnecessary sys/signal.h header 1995-06-26 23:43:06 +00:00
pk ee0767da08 Always distinguish client and server worker routines (used to be the
case only when compiling in ANSI (`-C') mode).
1995-06-24 14:59:41 +00:00
jtc 67e1e27795 Changed recovery email message to refer to ex and vi instead of nex and nvi. 1995-06-23 02:07:16 +00:00
cgd b661cbe2e9 fix typo in Judy Garland's name, from Kenneth Stailey in pr 1147 1995-06-20 10:03:05 +00:00
jtc 1847eaed9f sys/termios.h -> termios.h 1995-06-19 22:47:37 +00:00
cgd df0183d43f update for new network structures 1995-06-19 00:13:05 +00:00
cgd b0246fc4cc update for new queue structures 1995-06-18 23:53:07 +00:00
cgd 3d113b326b don't assume f_fstypename is larger than MFSNAMELEN or is nul-terminated 1995-06-18 10:58:06 +00:00
christos b5f782e810 - $NetBSD$ rcsids
- Fixed so that .[A-Z]* targets that do not match keywords are ignored as
  Posix mandates
- Added .PHONY target keyword
1995-06-14 15:18:37 +00:00
mycroft ee4364cc64 Format the statistics output more like the other protocols. 1995-06-12 03:49:45 +00:00
mycroft 81c2958581 Update to match kernel changes. 1995-06-12 03:03:07 +00:00
pk 71a0fb455d Clean up import & propagate NetBSD changes.
Add RCS Ids.
Fix a number of bugs.
Note: this version supports ANSI C code generation.
1995-06-11 21:49:50 +00:00
pk ee826b8ce7 Newer version of rpcgen from Sun's TIRPC release. 1995-06-11 21:37:49 +00:00
mycroft a05e746824 Install the executable initially with permissions that allow stripping it. 1995-06-10 20:56:34 +00:00
mycroft 74b93ae68f Don't deny read permission on the executable. 1995-06-10 20:55:16 +00:00
cgd ed7cdf533b can't assume that timeval.ts_sec is same type as time_t. grr. 1995-06-07 16:09:53 +00:00
cgd e75fdcfa2e only print MAXCOMLEN chars of the process command name. fixes pr 1080. 1995-06-07 07:24:19 +00:00
thorpej 7d7d30315b Bring in all includes necessary since the multicast changes. Fixes
PR #1114.
1995-06-06 23:45:27 +00:00
pk 7db04aedc8 Prototype of readpass() is unnecessary. 1995-06-05 19:55:40 +00:00
pk e0431ba116 #include <err.h> & <ctype.h>; remove extraneous declarations. 1995-06-05 19:50:48 +00:00
pk c0ccf6bd8a Prototypes (PR#1102). 1995-06-05 19:44:52 +00:00
mycroft fda52a9197 Include the egid when displaying the groups and doing security checks. 1995-06-03 03:12:05 +00:00
christos 58ea4332e5 Added hp magic numbers (from Jason Downs) 1995-05-28 20:34:03 +00:00
christos 602bb89d12 Zyxel update from Bill Fenner <fenner@parc.xerox.com> 1995-05-28 18:13:20 +00:00
mycroft 753e31a4fe Don't core dump when tty has no associated process. 1995-05-25 04:02:19 +00:00
mycroft c05dec805f Use inet_aton(), not inet_addr(). 1995-05-21 17:14:38 +00:00
mycroft 800709ce22 Use inet_aton(), not inet_addr(). 1995-05-21 15:50:45 +00:00
mycroft d4a6c4a4ef #include <stdlib.h> 1995-05-21 15:42:54 +00:00
mycroft 9cd5391535 Use inet_aton(), not inet_addr(). 1995-05-21 15:33:22 +00:00
mycroft 39a59b6bbe Fix oversight in previous. 1995-05-21 15:06:52 +00:00
mycroft 504e402f82 Use inet_aton(), not inet_addr(). 1995-05-21 15:03:24 +00:00
mycroft bd3a2a6b4e Use inet_aton(), not inet_addr(). 1995-05-21 14:46:39 +00:00
mycroft 09984612d7 Gather the argument list only as necessary. Avoid an extra strvisx(3).
Make this compile again with the changes in ps(1).
1995-05-21 13:42:48 +00:00
christos cd7ca80fc2 CVS is confused... 1995-05-21 00:18:41 +00:00
christos 31dd8ce2bf Removed archive 1995-05-21 00:18:09 +00:00
christos 21db3a398a Updated to file-3.18 1995-05-21 00:13:24 +00:00
mycroft 6480692679 Print out interrupt CPU time. 1995-05-17 15:51:47 +00:00
mycroft 4a07259331 Always turn off ISIG and IEXTEN. 1995-05-17 13:35:50 +00:00
jtc c61d94462f Do not emit ti and te sequences. This loses for terminals with termcap
entries that switch to and from an alternate text page.  When viewing a
file with fewer lines than the screen length, more would switch to the
alt screen, display the file, and then switch back.
1995-05-16 22:18:33 +00:00
ws de7fa9654c Sort keyword table correctly, so binary search really works 1995-05-15 13:10:10 +00:00
cgd 2ef674b932 print out number of malformed fragments dropped 1995-05-14 08:20:16 +00:00
cgd e36baaae46 add two flags:
-D to specify a "root" from which relative source dir paths
		are assumed to begin, and
	-L to specify the library path for included libs.
1995-05-12 21:13:13 +00:00
cgd dd6987cafa don't get syscalls.c with an absolute path 1995-05-11 22:29:04 +00:00
mycroft 3d28649ed9 uname(2) --> uname(3) 1995-05-08 09:30:09 +00:00
cgd 1b397d5648 fix up RCS ids 1995-05-07 22:16:23 +00:00
cgd 8aa3aa9d93 always add sys/arch to include path 1995-05-07 22:15:57 +00:00
jtc 535f5e4053 Small change to allow 8 bit characters in file names. Inspired by
patch enclosed in PR #987.
1995-05-06 06:39:33 +00:00
jtc 86f36c2670 Print error message and exit if TERM is not set.
From PR #1015.
1995-05-06 06:25:07 +00:00
jtc 852707219e Upgrade to Flex version 2.5.2 1995-05-05 05:35:08 +00:00
mycroft 0e3d3efb27 Change the interface to stop(). 1995-05-03 07:36:59 +00:00
mycroft a5c76fd34c Use POSIX tty semantics. 1995-05-03 07:13:51 +00:00
jtc d08e2815ca None of the functions in util.c are needed by NetBSD, so don't
bother to compile it.
1995-05-03 05:09:14 +00:00
mycroft 66f0c16f14 Use POSIX tty semantics. 1995-05-02 01:40:14 +00:00
mycroft bd23a1002f Use POSIX tty semantics and err*(3)/warn*(3). 1995-05-02 01:22:58 +00:00
christos 60fe6da7c1 Kill gcc -Wall warnings 1995-04-30 19:39:37 +00:00
cgd 7dc11a1202 kill an apparently-bogus ampersand. it made a char ** into a char ***,
which was an incompatible pointer type for the usage.
This is either a bug, or it should have been cast and explained.
1995-04-30 03:28:14 +00:00
christos 67c2aabd6c Fix small typo; from Chris Torek 1995-04-29 17:05:08 +00:00
cgd 096459aaec cast pointers to longs, not ints. 1995-04-29 05:59:11 +00:00
cgd 7a9112fdf0 XXX casts of LONG_MAX. this is wrong, and is marked as such. 1995-04-29 05:58:27 +00:00
cgd 2e659538b6 string.h, and clean up signal handler-related warnings. 1995-04-29 05:56:57 +00:00
cgd 7d9d6e9faf needs string.h 1995-04-29 05:55:25 +00:00
cgd 5cac5e9c7c various includes, casts, and cleanups... 1995-04-29 05:54:42 +00:00
christos 0bb1fbddb3 Integrated file-3.17 1995-04-28 19:23:38 +00:00
jtc 1486dd44d2 fix formatting bug 1995-04-27 18:24:00 +00:00
jtc d7bb47b09d vmunix -> netbsd 1995-04-27 18:22:55 +00:00
cgd 87eebf70fe oops; used ifdef instead of if. 1995-04-26 01:21:08 +00:00
cgd cea85ff73b oops; forgot to remove the first ranlib. 1995-04-26 01:17:45 +00:00
cgd 648c33c399 gah; forgot missing close-paren 1995-04-25 21:26:37 +00:00
cgd 8e7f92fee8 add stub read_names() for the alpha 1995-04-24 07:43:17 +00:00
cgd 5d7f8262d4 cast a few pointers to clean up warnings. Bostic said that this
should be fixed differently, when i pointed it out to him a while ago,
but was planning to completely rework the code for a later version so
didn't bother.
1995-04-24 07:42:19 +00:00
cgd 2f100f9270 define 'unix' 1995-04-24 07:39:57 +00:00
cgd 4a83a3c060 align allocations to pointer size. 1995-04-24 07:39:42 +00:00
cgd b74ff41786 treat __NetBSD__ like 'unix' 1995-04-24 07:39:28 +00:00
cgd ac78a644f2 install special version (for GNU nm) on the alpha 1995-04-24 07:39:04 +00:00
cgd 63f109153f delete extra comment line 1995-04-24 07:38:52 +00:00
cgd 8cb862359e don't use standard tool chain on the alpha 1995-04-24 07:38:09 +00:00
cgd d83cfe9a96 kill extra blank comment line. 1995-04-21 03:01:41 +00:00
mycroft c79429853d Pay attention to the section number, even if MANPATH or -M is specified. 1995-04-20 04:09:32 +00:00
cgd 2e53911b4d add alpha support files. 1995-04-19 07:24:19 +00:00
cgd ca971e3467 add -D${MACHINE_ARCH} to cflags; machines with new cpp predefs need it. 1995-04-19 07:24:08 +00:00
cgd a1dacc2457 alphabetize machine includes, add alpha 1995-04-19 07:22:59 +00:00
cgd 37302d79a6 clean up RCS ids 1995-04-19 07:15:50 +00:00
ragge e1a75f1fbc VAX machine dependent defs removed. 1995-04-17 00:00:27 +00:00
cgd 0f189ac2ed use correct RCS Ids 1995-04-15 02:31:13 +00:00
cgd 1eb63df179 some copyright updates requested by Thorsten Lockert <tholo@SigmaSoft.COM> 1995-04-15 02:22:37 +00:00
mycroft a5381ee7f4 There were several places where m4 did not conform to the specification
in `The M4 Macro Processor', by Kernighan and Ritchie.

* `|' and `||' are both logical or.  There is no binary or.
* `&' and `&&' are both logical and.  There is no binary and.
* `!' has a much higher precedence.
* The equal and relation operators have the same precedence.
* `**' is implemented, and `^' is for exponentation (not xor).
* Unary `+' in implemented.

I've coded exponentiation to return what appears to be the same results
that other versions of m4 return.
1995-04-14 23:10:25 +00:00
cgd 5d58f7faee clean up RCS Ids, etc. 1995-04-09 06:00:15 +00:00
cgd b83d704e42 a /usr/bin/banner clone, written by Simon J. Gerraty 1995-04-09 05:53:04 +00:00
hpeyerl db2ac90d67 Fix minor -Ibooboo 1995-03-31 05:49:37 +00:00
glass c6afbf395d Merged with 4.4lite 1995-03-28 17:50:08 +00:00
jtc ae0b9c2010 KERNEL -> _KERNEL 1995-03-28 17:18:59 +00:00
glass 53bfc2ac1f Merged with 4.4Lite 1995-03-28 16:50:08 +00:00
cgd 81cef407d8 fix annoying number consistency bug. 1995-03-28 12:48:45 +00:00
christos 707488220c Close PR/913. Magic path in magic.5 was incorrect. 1995-03-27 16:16:28 +00:00
glass e5a8e93b12 points lost 1995-03-27 15:54:30 +00:00
glass e9d0e83acb merged with 4.4Lite. 1995-03-27 08:46:11 +00:00
glass 843a1dd6bf Merged with 4.4Lite 1995-03-26 20:51:24 +00:00
glass b6f5f9f2ce Merge with 4.4Lite 1995-03-26 20:14:02 +00:00
jtc d5a6ad4fdc The return value of printf is less than 0, not necessarily EOF, on failure. 1995-03-26 20:12:13 +00:00
glass 4815485ee6 Import from 4.4Lite 1995-03-26 19:59:38 +00:00
glass 4ab05d0471 rcsid 1995-03-26 19:54:37 +00:00
glass 7025c9c2f2 new rcsid format. what is the format for shell scripts 1995-03-26 09:44:29 +00:00
glass 244eb8b5c5 merged with 4.4Lite 1995-03-26 09:25:49 +00:00
glass 5678a97782 merge with 4.4Lite 1995-03-26 09:08:27 +00:00
glass af74bd6cfd merge with 4.4Lite and err(3)ify 1995-03-26 09:03:59 +00:00
glass e0703aba8b rcsid consistency 1995-03-26 08:49:20 +00:00
cgd 8c6e0cd884 update for the new data stored in ktrace files:
(1) use argsize rather than nargs
	(2) print long-sized (assumed == register_t-sized; XXX) items
		rather than int-sized ones.
1995-03-26 07:56:27 +00:00
glass 282052c7a8 merged with 4.4Lite 1995-03-26 05:25:51 +00:00
glass 4c5b39eb10 import from 4.4Lite 1995-03-26 05:21:04 +00:00
glass 7659edad1f merged with 4.4Lite 1995-03-26 04:55:22 +00:00
glass bc9ccaef17 Import from 4.4Lite 1995-03-26 04:19:16 +00:00
glass e91ed1746e merged with 4.4 lite 1995-03-26 04:10:08 +00:00
glass c27cdc6057 new rcsid format 1995-03-26 03:59:33 +00:00
hpeyerl fdecad7de9 Fix for verbal dayname parsing and support for CALENDAR_DIR
environment variable.  Also take out a superfluous word in the
manpage.
1995-03-26 03:59:07 +00:00
glass 019a83ba3a consistency..bleh 1995-03-26 03:27:37 +00:00
glass 2db3772ce4 merged with 4.4Lite 1995-03-26 03:10:21 +00:00
glass b7327c7cf6 merge with 4.4Lite and err(3)ify 1995-03-26 02:34:19 +00:00
glass 9929c0629e consistency 1995-03-26 02:25:05 +00:00
glass daca2c10b4 oops 1995-03-26 02:22:13 +00:00
christos 7e99ebc790 Updated to file-3.16; fixes PR867 1995-03-25 22:35:28 +00:00
glass 82c5b89eb1 new rcsid format 1995-03-25 18:17:38 +00:00
glass 5c84ea4df9 new rcsid format 1995-03-25 18:04:51 +00:00
glass 8ed94ea337 update rcsid format 1995-03-25 06:39:33 +00:00
glass 0a334e76e7 cleanup old import 1995-03-25 04:36:52 +00:00
glass f0dbf5d4fb cleaned up old import 1995-03-25 03:38:16 +00:00
mycroft 67e80f483c Alphabetize. 1995-03-22 15:26:42 +00:00
mycroft 05fc3892b3 Use err*(3)/warn*(3). 1995-03-22 15:25:56 +00:00
mycroft 73ab328b89 Don't core dump on an illegal display type. Display a more specific error
message for an ambiguous type.
1995-03-22 15:20:31 +00:00
mycroft feec0fc0c1 Make two variables non-static. 1995-03-21 14:22:38 +00:00
mycroft e60255f2bc Update to use timer{add,sub}(). 1995-03-21 14:16:23 +00:00
cgd af7bf810f5 clean up import. 1995-03-21 07:58:28 +00:00
cgd 0e535da105 usr.bin/rlogin from Lite 1995-03-21 07:48:23 +00:00
mycroft 75cf3d0500 Better-looking patch for a problem already fixed. 1995-03-20 23:50:43 +00:00
mycroft 451c744306 If we get an EOF on stdin, close the write side of the TCP connection, but
wait for the remote host to close the connection before exiting.
1995-03-17 18:03:06 +00:00
mycroft 23f31f5bcd The `D' command should only input a new line if the pattern space becomes empty. 1995-03-15 12:12:16 +00:00
mycroft c92e174d74 Fix the P command, and optimize D slightly. 1995-03-15 11:25:10 +00:00
mycroft 9a90db1e8e Remove an old #ifndef of little value. 1995-03-15 11:13:30 +00:00
pk 4df02dd0c1 Make use of the new kernel event counters; from Theo. 1995-03-14 07:35:49 +00:00
mycroft 35e8bf367a Compile group commands differently, using a stack rather than calling the
parser recursively.  Don't throw away commands after an end group.
1995-03-09 11:19:24 +00:00
brezak f7b66ca83f Use tty as cred file uniquifier. (From Michael Graff) 1995-03-08 19:41:36 +00:00
cgd 2cb53ac7dc convert to use memset, rather than bzero. From Luke Mewburn. 1995-03-06 04:59:08 +00:00
cgd fed2601086 fix a security hole, reported by T. Newsham <newsham@wiliki.eng.hawaii.edu> 1995-03-02 21:33:13 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
cgd 5d2c4d5da8 for some reason, this never got merged properly... 1995-02-27 02:40:23 +00:00
jtc 94f49c37a9 Fixed typo in usage string. 1995-02-23 17:25:23 +00:00
jtc ddd564fdcf Fixed -n processing with patch from PR #800. 1995-02-15 15:49:19 +00:00
jtc 4d5a739bb7 Fix typo --- setenv doesn't use = (PR #798). 1995-02-15 15:37:56 +00:00
jtc e9e6fca8b9 The descriptions of the o and u formatting options were reversed (PR #785). 1995-02-15 15:32:27 +00:00
mycroft afd89ee68e Check for bogus file descriptor tables. 1995-02-15 02:10:41 +00:00
phil 68bbf97073 Make passwd work with a link to yppasswd. (From Jason Thorpe) 1995-02-12 17:45:54 +00:00
phil 49d06ab1d4 Fix bug bin/789 with my fix. 1995-02-08 19:54:12 +00:00
jtc a067af72d8 Implement the ~_ and ~< escapes from POSIX.2.
These are the easiest of the escapes to implement, as ~_ is the same as ~:,
and ~< is the same as ~r.
1995-02-08 16:15:52 +00:00
christos f222a602cf Fixed so that orphan tabs are ignored. Should close PR760. 1995-02-08 04:36:41 +00:00
christos 85ac32e8d2 str.c: Don't free NULL; does not work with non posix frees.
var.c: Minor memory leak plugged.
suff.c: Don't add extra sources on the null suffix if it has dependency
	lines or commands attached to it [POSIX says so]
1995-02-04 23:44:41 +00:00
pk fd4b4e2aef Recognise PIC object files. 1995-01-29 14:55:28 +00:00
jtc 371af22d46 added systat 1995-01-25 08:48:18 +00:00
mycroft b36edbb4da Fix 4 typos pointed out by Jordan, and 1 by me. 1995-01-23 20:34:59 +00:00
jtc bea110759f Pass progname to the printf call in usage(). 1995-01-21 21:53:46 +00:00
jtc 460277ffdb Spell SYNOPSIS correctly. 1995-01-21 21:50:37 +00:00
jtc 2f3cb7ae7d Changed to conform to NetBSD's new RCS Id convention. 1995-01-20 08:51:48 +00:00
jtc 12749a2a84 imported from 44lite 1995-01-20 08:30:50 +00:00
christos 0036b358ae Fixed to parse correctly SysV variable substitutions ${VAR:P1=P2} when
P1 or P2 contain }'s or )'s. From mikeb@snow.datametrics.com
1995-01-20 04:35:10 +00:00
ws 9bce9062d9 Minor fix for date of 3 Sep 1752
doesn't affect program due to usage of this constant
found by Frank Lancaster (fl@tools.de)
1995-01-16 19:06:47 +00:00
mycroft db6e530eb0 Sync with 4.4-Lite, plus local changes. 1995-01-16 09:29:08 +00:00
mycroft 7a7adcb788 Gather a more complete ioctl list. From Matt Green (somewhat edited). 1995-01-15 07:51:08 +00:00
mycroft 7e07241514 Some KNF, POSIX, and err*(3)/warn*(3) cleanup. Also, use sys_signame[]
rather than a private, home-grown list.
1995-01-15 07:50:44 +00:00
mycroft 92702177a0 Add sum(1) alias, per Matt Green. Various other cleanup. Someone should
finish the addition to the HISTORY section.
1995-01-15 06:43:49 +00:00
phil ba9c5ac055 Fix the bug that stopped a user from changing his yp passwd when
the entry was ::.  (Also allows root to change the empty password.)
1995-01-15 03:23:48 +00:00
jtc db9433b832 Describe -t (enable packet tracing) command line flag (PR #713).
Alphabetize description of command line flags.

Packet tracing is an unimplemented feature, I've decided to keep it's
documentation since ever other UN*X vendor I checked still does.  Not
a particularly useful reason.
1995-01-13 00:09:41 +00:00
christos 77759e5c6d Fixed PR/724, 'make' runs commands when $? is empty
This is not the perfect fix. I think that the whole __SYMDEF
checking code should be removed. [I should also teach myself
how to deal with the PR stuff to mark this closed :-)]
1995-01-11 17:42:26 +00:00
christos 42d1db77e3 Save the name of the environment variables. Remove the comment that
says that we don't. from Paul Borman (prb@bsdi.com)
1995-01-09 18:31:41 +00:00
mycroft 3dbc1e9443 Patch from Giles Lean to make compilation flags more consistent. 1995-01-07 23:07:03 +00:00
christos 95531c8e1f Fixes from Paul Borman (prb@bsdi.com)
1. Honor environment variable $MACHINE if set over uname.machine
2. archives with :: are always out of date, even when they have no children.
3. VAR= a b c     # comment, gets the trailing blanks trimmed, unless
   escaped by \. I'll have to read the posix manul to make sure that it
   is ok to handle escapes here.
1995-01-06 19:57:27 +00:00
jtc c15bd8dda9 Changed so that log entry format used when logfiles are rolled over
matches that of syslogd(8).  This is a slightly modified version of
the patch Thorsten Lockert supplied with PR #684.

Changed manpage to reflect the fact that we are using gzip instead
compress.
1995-01-06 19:20:20 +00:00
mycroft def22ebf96 Document the `arch' flag. Fix the test of the getopt(3) return value. 1995-01-04 05:40:08 +00:00
glass 7e8a9d0d4c some knf 1995-01-03 07:06:42 +00:00
glass 58695b5fdb reapplied patch that made ktrace behave well when kernel subsystem wasn't
installed.
some KNFing.
fixes PR 663 as reported by muir@idiom.com
1995-01-03 07:04:18 +00:00
hpeyerl e9b66f9184 Squish #581. 1995-01-03 06:24:48 +00:00
cgd af03189d5c .include changes suggested by Jon Stone in pr 674. Not strictly necessary
(because there should never be an 'obj' dir/link in .../usr.bin/tn3270,
but good style, and robust if there happens to be one.)
1995-01-02 22:33:21 +00:00
cgd 7bcf44497f invoke cpp with -P 1994-12-30 21:57:09 +00:00
mycroft 5f9524c8e6 Avoid getdtablesize(3). 1994-12-30 02:46:05 +00:00
jtc 709aab2025 fixed major brain fault: echo -> exit 1994-12-29 06:20:16 +00:00
cgd 6e77815dff send error messages & password prompt to stderr, as proposed by Simon Gerraty.
Note that this is not necessarily correct for the password prompt: ideally,
libc/gen/getpass.c should be cloned into the password reading routine in
libskey, and it should be extended to take a prompt string, so that the prompt
and input are taken from /dev/tty, a la passwd(1).
Also, make usage() exit as is standard style, and delete the redundant exits.
1994-12-28 23:17:52 +00:00
mycroft 88c838412f Put back the -I/sys/arch. 1994-12-28 18:39:53 +00:00
mycroft b5c23110da undelete -> undeletecmd, to avoid conflict with syscall. 1994-12-28 13:16:12 +00:00
cgd f795659ece headers, casts, and use of time_t 1994-12-24 17:56:23 +00:00
cgd dbacaea969 headers, and use INADDR_NONE appropriately. 1994-12-24 17:50:00 +00:00
cgd f752024932 stdlib.h, RCS ID format 1994-12-24 17:42:04 +00:00
cgd 424af2982a pull in stdlib.h 1994-12-24 17:38:52 +00:00
cgd 32411917b3 pull in string.h 1994-12-24 17:38:21 +00:00
cgd 4ec4c082a9 casts, so that output is a bit happier with prototyped rpc headers. 1994-12-24 17:36:16 +00:00
cgd 775c14ed64 pull in string.h 1994-12-24 17:35:27 +00:00
cgd f9acc964ad needs stdlib.h 1994-12-24 17:31:23 +00:00
cgd 1c759e8912 headers and redundant declarations. 1994-12-24 17:30:13 +00:00
cgd cfaefa659d needs string.h 1994-12-24 17:27:42 +00:00
cgd ccc2dcd440 be more careful with casts, and clean up a fprintf() call. 1994-12-24 17:26:46 +00:00
cgd 43f1b4beca a couple of these need <sys/queue.h> 1994-12-24 17:21:51 +00:00
cgd f4b24c7ecc pull in headers, as appropriate 1994-12-24 17:17:05 +00:00
cgd 2e93fae74d use the correct-sized type for lno. 1994-12-24 17:12:42 +00:00
cgd e7e72e697f pull in string.h 1994-12-24 17:08:05 +00:00
cgd 4b0b727e20 kill redundant decls, include appropriate headers, and make necessary casts. 1994-12-24 17:07:42 +00:00
cgd 0765b1c716 size is a size_t! 1994-12-24 17:02:20 +00:00
cgd a2cb9c5136 needs stdlib.h 1994-12-24 16:57:59 +00:00
cgd 9ae496f636 needs string.h 1994-12-24 16:57:28 +00:00
cgd 2e1521a2e9 needs string.h. change rcsid style. 1994-12-24 16:56:47 +00:00
cgd 048dd3e70f pull in stdlib.h, string.h, kill unnecessary decls. 1994-12-24 16:55:10 +00:00
cgd 7d82c5ab5d a few casts, for peace and quiet. 1994-12-24 16:54:24 +00:00
cgd d098389111 be more careful with time_t's 1994-12-24 16:49:02 +00:00
cgd e3599736d2 val is a long, now. 1994-12-24 16:47:28 +00:00
cgd f8829b960e add string.h, fix up rcsid. 1994-12-24 16:46:18 +00:00
cgd a584a9e8b9 needs stdlib.h and string.h 1994-12-24 16:44:03 +00:00
cgd 06da9a1040 needs string.h 1994-12-24 16:42:19 +00:00
cgd 8a7150a301 type sanity 1994-12-24 16:38:43 +00:00
cgd 09a7f21ccd pull in string.h 1994-12-24 16:35:34 +00:00
cgd 55d8a77f2c pull in stdlib.h and string.h, kill unnecessary declaration. 1994-12-24 16:35:17 +00:00
cgd fcb1f85786 pull in string.h or stdlib.h as necessary. 1994-12-24 16:33:46 +00:00
cgd 0c876871bd kill some unnecessary casts and decls 1994-12-24 16:30:51 +00:00
cgd d49bdfc734 don't need bsd.own.mk any more. 1994-12-24 16:28:39 +00:00
cgd 92ca4cb3d9 add zopen declaration. 1994-12-24 16:27:18 +00:00
cgd 62f7f268b0 pull in stdlib.h 1994-12-24 16:24:32 +00:00
cgd 8020777591 cksum uses 32-bit quantites, internally 1994-12-24 16:02:45 +00:00
cgd 0b92310510 pull in string.h 1994-12-24 15:57:02 +00:00
cgd f99812c428 clean up types slightly. 1994-12-24 15:55:54 +00:00
cgd b8de9939be pull in string.h 1994-12-24 15:50:40 +00:00
cgd 75c71616bb fgetln takes a size_t pointer. 1994-12-24 15:50:16 +00:00
pk 2a1aad2b21 Don't build .db file at install time. 1994-12-23 21:11:56 +00:00
cgd 2b690d95b4 fix my man page botch. from <vdlinden@fwi.uva.nl> 1994-12-23 19:46:49 +00:00
jtc 3609dfb66b Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-23 07:34:55 +00:00
jtc f5fcbb2167 imported from 44lite 1994-12-23 07:18:15 +00:00
jtc 7280395fb6 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-23 07:16:29 +00:00
jtc b412b86505 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-23 06:52:56 +00:00
jtc 6d298651c9 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-23 01:13:58 +00:00
jtc 2b8585be05 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
Changed to use err() and errx().
1994-12-23 01:10:55 +00:00
jtc d5252c4795 imported from 44lite 1994-12-22 21:09:00 +00:00
cgd 2fe029cf29 use beforeinstall, rather than install, so man pages get installed! 1994-12-22 13:10:45 +00:00
cgd 9e97520947 specify man pages the new way. 1994-12-22 12:30:38 +00:00
mycroft ccd89b2a0d Clean up deleted files. 1994-12-22 12:30:36 +00:00
cgd 7bcf9338df specify man pages the new way. 1994-12-22 12:29:38 +00:00
mycroft 83d6b33d6a Clean up deleted files. 1994-12-22 12:29:32 +00:00
cgd 7eb97d8409 specify man pages the new way. 1994-12-22 12:29:28 +00:00
cgd 28c7946a29 kill -R in CFLAGS 1994-12-22 11:20:21 +00:00
jtc 24ee77754c posix compliance goop. 1994-12-22 06:39:32 +00:00
jtc 27e6ad9506 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-22 06:33:38 +00:00
jtc 7f8ee3fcb6 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-22 06:17:28 +00:00