Commit Graph

338 Commits

Author SHA1 Message Date
jtc 7a73bcecb6 Initialize variable correctly so we don't print garbage from the stack. 1993-07-20 01:20:26 +00:00
jtc a02c58f5a6 Make POSIX 1003.2 (D11.2) compliant by adding -s (split at blank) and
-b (count bytes, not column positions) flags.
1993-07-19 23:22:09 +00:00
mrg 38235dbe32 4.4BSD-Lite2 1993-07-19 16:51:19 +00:00
mycroft 78f5c43040 Use ${COPY}, not -c for install. 1993-07-18 19:06:45 +00:00
cgd 870dd3b285 do c++ dependencies the right way... 1993-07-17 12:18:12 +00:00
jtc 0264064592 Update to POSIX 1003.2 (D11.2) compliance.
Make error messages print leading "wc: ", so we know what program is
complaining when we're writing shell scripts.
Simplify argument parsing and total printing.
1993-07-15 21:05:12 +00:00
cgd eed6472f7c don't print process args, print the vis(3)'d process args... 1993-07-15 17:55:48 +00:00
jtc aab7593a78 Make POSIX 1003.2 (Draft 11.2) compliant. 1993-07-15 17:05:00 +00:00
jtc 57a0354a6e When env was made 1003.2 compliant, the combined env/printenv manpage
got a little unwieldy, so I split out env to its own manual page.
1993-07-14 20:27:02 +00:00
jtc 2ab235c8c0 Make Posix 1003.2 (Draft 11.2) compliant. 1993-07-14 20:24:33 +00:00
cgd fcdad54fc2 get rid of -f flag (and make it conform to posix) 1993-07-13 22:18:13 +00:00
jtc b3617ad5e0 Don't core dump when invoked with no arguments.
Understand negative priorities.
1993-07-12 22:04:01 +00:00
paul f129a8ba77 Included Havard Eidnes' latest changes. 1993-07-11 13:54:14 +00:00
mycroft a2954c5519 Clean up deleted files. 1993-07-09 02:42:23 +00:00
mycroft 56af0a290d Clean up deleted files. 1993-07-09 02:19:26 +00:00
cgd 2b3bd9befd remember curdir as something other than ".", so that makes
of things which include files in directories won't get hosed...
1993-07-08 03:41:58 +00:00
deraadt b1d2d04ee4 chris found a case where cn_tty was being used. Doesn't look like the
right thing to do, so it goes away.
1993-07-07 18:58:23 +00:00
brezak f1b1f173e6 Change NIS--> YP 1993-07-07 12:33:50 +00:00
brezak d3af035718 Return status instead of exiting. 1993-07-07 12:31:52 +00:00
deraadt df59495fc3 uniq -c < /dev/null used to fail. fgets return value was ignored.
patch from <sjg@zen.void.oz.au>
1993-07-05 10:21:17 +00:00
alm fe8b331915 added missing parens in buffer allocation (caused seg violation) 1993-07-02 09:50:36 +00:00
mycroft ea8be8d2e0 Change file name extension for new gzip. 1993-06-29 15:37:37 +00:00
mycroft d3e01f582d Whose inane idea was it to copy this list?
BTW, we need a `-r' option.
1993-06-24 06:11:34 +00:00
mycroft d343706d65 Fix fencepost error. 1993-06-23 06:52:08 +00:00
mycroft 1ab35e6283 Only the magic numbers are in network order. 1993-06-22 23:01:55 +00:00
mycroft 0387281928 Reverse a diff I included accidentally. 1993-06-22 17:42:25 +00:00
mycroft 2da3166a31 /usr/src/usr.lib --> /usr/src/lib, and add some /usr/src/gnu paths. 1993-06-22 00:53:15 +00:00
mycroft 74a4ef2554 Don't use absolute path for /sys; we -I/sys anyway. 1993-06-22 00:49:01 +00:00
brezak a7ee7f88c1 Add getopt(1) from ref public sources. 1993-06-21 12:43:56 +00:00
glass 1619a1bb2c fixed compilation, and mktemp usage problem 1993-06-18 22:19:20 +00:00
glass 0d66213fcd baseline of new version of m4 supplied by Ozan Yigit, original author
of the broken m4 we had.  This is his stuff virgin + our Makefile.
1993-06-18 21:50:26 +00:00
jtc 4091dfd7fc BADSIG -> SIG_ERR 1993-06-18 20:22:04 +00:00
cgd ea839ab1b5 do the right thing for install. 1993-06-18 05:41:32 +00:00
mycroft d3bc70b6bb Don't need -I/sys. (Why was it here?) 1993-06-17 13:16:20 +00:00
mycroft dc362d97b4 Use $@ rather than $*. 1993-06-16 17:30:33 +00:00
jtc 5108aaad56 Update source to use posix fnmatch 1993-06-16 17:19:05 +00:00
alm bd8e434d6d fixed regex initialization 1993-06-16 07:41:14 +00:00
mycroft 5f39183d4b Oops. Need some quotes now that $SED has spaces in it. 1993-06-16 07:40:00 +00:00
mycroft 11169abb0d Make the sed expression a tad stricter so we don't lose depending hack. 1993-06-16 06:48:57 +00:00
sef d7057b31e8 Deal properly with single-module programs. Also, use "$@", not $*! 1993-06-16 06:09:09 +00:00
deraadt eb42ef3021 this is what the new magic numbers will look like 1993-06-13 23:43:00 +00:00
mycroft 77f1922b02 Fix up FILES sections. 1993-06-13 23:06:41 +00:00
mycroft e52e93dd80 Update file names. 1993-06-13 22:36:44 +00:00
mycroft 9b971264a9 Update file names. 1993-06-13 22:29:02 +00:00
deraadt c12b59cc91 The sun magic stuff was a little bit smart. I mailed the
patch to the author.
1993-06-13 22:18:45 +00:00
andrew 633e84cc9d Flip euid to user immediately after opening log file, to allow .tiprc file
to be read without perms problems.
1993-06-12 03:41:40 +00:00
jtc 2de36c6cb2 Added -d option to install 1993-06-11 18:30:46 +00:00
brezak 96267d0e22 Add YP support. 1993-06-11 00:34:38 +00:00
jtc 1a9c05a062 convert manpages to -mandoc macros 1993-06-10 19:15:08 +00:00
brezak adbc81e9d6 Line buffer output to work better with more. 1993-06-10 12:28:06 +00:00
mrg bfbb5d82d8 4.4BSD-Lite2 1993-06-10 05:50:01 +00:00
mycroft 7cbe7ab893 Clean up deleted files. 1993-06-10 01:00:13 +00:00
jtc c4a1e69e2a New updated magic database from Ian Darwin (plus some fixes from me
to images, tex, and audio).  QMAGIC exectables are detected.
1993-06-10 00:57:28 +00:00
jtc 3cc555d0a1 Updated to Ian Darwin's latest release.
Adds lots of neat features from most other vendors file(1) commands,
plus (important!) little and big endian file types.  This will alow
us to detect and extract meaningful information from a many more
file types.
1993-06-10 00:38:32 +00:00
mycroft ba077e1526 Clean up deleted files. 1993-06-10 00:38:21 +00:00
jtc ebefd0d08f Updated to Ian Darwin's latest release.
Adds lots of neat features from most other vendors file(1) commands,
plus (important!) little and big endian file types.  This will alow
us to detect and extract meaningful information from a many more
file types.
1993-06-10 00:37:55 +00:00
brezak 415b090a43 Fix calling clnt_sperror() 1993-06-09 19:50:08 +00:00
brezak 1c4fd29c43 Add man page. 1993-06-08 19:24:16 +00:00
brezak 2c5f9c800f Fix man page. 1993-06-08 19:23:30 +00:00
brezak 03870a0e58 Add man page. 1993-06-08 19:22:59 +00:00
mycroft da84bb1ffa Fix definition of rcsid. 1993-06-08 14:47:33 +00:00
brezak b9ff14e137 Widen host name. 1993-06-08 14:46:03 +00:00
brezak 0d06258f71 Widen host field and don't truncate host names longer than the field.
Display user idle times as days, hours, minutes, seconds.
1993-06-08 14:45:37 +00:00
mrg ef1ad6bcc4 4.4BSD-Lite2 1993-06-08 03:22:08 +00:00
cgd 26e41afe6d add LKM man pages 1993-06-08 03:07:11 +00:00
brezak 2599553ff2 Cleanup man page; convert to mandoc. 1993-06-08 01:51:06 +00:00
cgd 57d3a6d525 add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!
1993-06-07 19:51:59 +00:00
mrg b579fe679d 4.4BSD-Lite2 1993-06-07 05:23:59 +00:00
mrg 152053b06a 4.4BSD-Lite2 1993-06-06 23:13:45 +00:00
mrg b32571f57a 4.4BSD-Lite2 1993-06-06 22:58:35 +00:00
mrg c78c6a22ab 4.4BSD-Lite2 1993-06-06 20:58:02 +00:00
cgd 8d3024e280 clean up interrupt count printing a bit... 1993-06-06 17:15:59 +00:00
cgd f67174d697 patch from David Greenman and Rod Grimes (davidg@implode.rain.com and
rgrimes@agora.rain.com) to support 57600 and 115200 baud
1993-06-05 22:40:40 +00:00
cgd ee6def0bf2 Peter da Silva's <peter@taronga.com> for tip to obey the
taylor UUCP locking convention
1993-06-05 21:56:20 +00:00
brezak db60ef9d46 No need to link with -lrpc 1993-06-04 14:53:53 +00:00
brezak 5f2b367636 Add rup and rusers. Changes to rwall 1993-06-03 19:32:26 +00:00
glass ed3ef484f2 fix bug in touch's non-posix compatibility support. bug report also
forwarded to CSRG as this is their current 'touch'.  bug reported by
Kim Andersen <kim@dde.dk>
1993-06-02 13:35:40 +00:00
cgd 6bc41d30ac fix sending simple commands, from Jonathan Stone <jonathan@CS.Stanford.EDU> 1993-05-29 15:13:32 +00:00
cgd c1fa28cf2c use BINDIR, rather than DESTDIR to specify binary's location.
the former is correct, the latter is not.  actually, this makefile
probably should be hacked a bit more, but i'm not up to it now
1993-05-28 12:38:51 +00:00
cgd 1370992abd update to version 1.9 of Berkeley yacc, from vangogh 1993-05-28 12:32:12 +00:00
mycroft 6e8052b9c6 Clean up deleted files. 1993-05-28 12:30:37 +00:00
cgd 837392081c update to version 1.9 of Berkeley yacc, from vangogh 1993-05-28 12:30:03 +00:00
mycroft 0f902ffaee Clean up deleted files. 1993-05-28 09:26:07 +00:00
cgd 414f33710e make installed file owned by root, to keep crond happy 1993-05-28 09:08:28 +00:00
cgd 9eccc35a44 update for newest version of vixie's cron, as of May 27 1993 1993-05-28 08:33:52 +00:00
cgd fd5ef5c7d9 add "rev" from net/2 1993-05-27 22:17:10 +00:00
cgd 4a1ca0dcfa add "rev" -- it was in /usr/old in net/2, but is back in /usr/bin for 4.4... 1993-05-27 22:15:20 +00:00
glass 248f75d9b8 some compatibility fixes to ease bootstrapping:
Makefile.dist is now a decent Makefile and not one of these cc *.c disasters
1993-05-27 16:54:21 +00:00
glass 6cbb2d4ece some compatibility fixes to ease bootstrapping:
Makefile.dist is now a decent Makefile and not one of these cc *.c disasters
RANLIBMAG now defaults if not otherwise defined
1993-05-27 16:53:49 +00:00
alm 9030436006 Fixed some regex bugs in sed
Added a regresssion test, compile.c.test
1993-05-27 01:14:14 +00:00
cgd a8a67cbfaf fix dependencies on M_LAST's old off-by-one error...
(arguably, the old error wasn't an error, but, given some
of the old usage of M_LAST and its name, i say it was)
1993-05-25 18:04:17 +00:00
deraadt 58f898f7b0 more thought it knew too much about the magic numbers of
a.outs. Like, what about QMAGIC? It now uses N_BADMAG() to check
1993-05-25 11:19:01 +00:00
deraadt 8ae65d6e54 patch00144 by Julian Stacey <stacey@guug.de>: compress.c had a
path[100] instead of path[MAXPATHLEN]
1993-05-25 07:05:18 +00:00
deraadt 1047beea02 enter the modern age with a mail system that out of the
box will ask you for mail subjects
1993-05-24 07:25:24 +00:00
cgd c6e8005022 do cap_mkdb, too 1993-05-22 10:27:18 +00:00
cgd c210f82522 add use of "COMPRESS_POSTFIX" define, to determine what postfix
(e.g. ".Z", ".z", etc.) to append to compressed log files.
1993-05-22 03:52:17 +00:00
cgd 6da19b6501 use the correct (or so john brezak says) copyright. 1993-05-21 14:47:29 +00:00
cgd 90beb7e48c initial import of this log-rotation program to NetBSD 1993-05-21 14:43:59 +00:00
cgd 31cab306ad add entry for "newsyslog" 1993-05-21 14:43:36 +00:00
cgd 784b6e7b9d Remove a couple of warnings, add includes
(from Havard Eidnes <Havard.Eidnes@runit.sintef.no>)
1993-05-21 12:51:14 +00:00
cgd 188696dbcb add rcs ids, and update for "arch" 1993-05-21 08:53:22 +00:00
cgd 5617a0f97a add rcsid 1993-05-20 12:19:00 +00:00
cgd 599306af5d get rid of select.h inclusion, and clean up headers *more*. 1993-05-20 12:03:49 +00:00
cgd 97be2cdc42 don't explicitly include select.h, but keep header cleanup 1993-05-20 11:54:51 +00:00
cgd 7d313cbd4c fix for new select & clean up headers 1993-05-20 10:40:48 +00:00
cgd 12dfec7223 fix for new select & clean up headers 1993-05-20 10:40:41 +00:00
cgd 78c0b207e0 give it an rcsid rather than an sccsid 1993-05-20 10:37:33 +00:00
cgd ef304ff6c0 fix for new select stuff 1993-05-20 10:30:40 +00:00
mycroft 2d0fac2cee Clean up deleted files. 1993-05-20 10:20:41 +00:00
cgd ede9a5f311 fix -I for csu change. 1993-05-20 01:24:27 +00:00
cgd bcfaa8d5f4 patch from john brezak (brezak@osf.org) to print target of symlinks 1993-05-19 06:21:23 +00:00
cgd 8d5826635d bring in getcap routines, supplied by CSRG, from 4.4... 1993-05-18 07:37:51 +00:00
cgd fb8ddd443e fix from David Burren <davidb@otto.bf.rmit.oz.au> to print address families
more nicely, and to print host names when showing routes w/o -n.
1993-05-18 07:15:59 +00:00
deraadt 77c037ed51 added my copyright.. how self efacing of me 1993-05-16 02:47:20 +00:00
deraadt 36acd24748 didn't work as advertized when not given an argument.
(hello, i've come for an argument. <core dumped>
1993-05-11 23:19:51 +00:00
cgd e267ad3fc2 fix from Bakul Shah <bvs@BitBlocks.com> to make tip not dump core
when courier acu routines are used with a non-USR Courier modem.
1993-05-11 06:58:03 +00:00
alm f50fa96eef fixed HS initialization bug; swapping HS (`x') before a hold (`h')
command set the pattern space to NULL
1993-05-08 10:08:44 +00:00
cgd 72a9f93759 undo the last change; our sort has -T... 1993-05-07 05:08:59 +00:00
cgd c5d886aff7 diffs for uname (posix!) system call, provided by John Brezak <brezak@osf.org> 1993-05-06 10:46:12 +00:00
cgd 50a88402c8 update for flex-2.3.8 from prep 1993-05-04 07:44:39 +00:00
deraadt 2820a4755d iostat and vmstat being taught about drives.. 1993-05-04 07:38:29 +00:00
mycroft 21f39729d7 Previous patch was incorrect. 1993-05-04 05:50:21 +00:00
sef 35127652d7 Fix a NULL-dereferencing, that caused a segfault with QMAGIC (yay). 1993-05-03 20:51:56 +00:00
mycroft 2106ad2b37 s/\\(lq/``/;s/\\(rq/''/ 1993-05-03 01:46:22 +00:00
mycroft 627697e07d s/__dead/volatile/ 1993-05-01 16:53:03 +00:00
mycroft b64231f035 Reenable NS and ISO code. 1993-05-01 16:26:52 +00:00
mycroft f5d9fe2b2c Fix typo. 1993-05-01 16:25:04 +00:00
glass 8b8c96cad4 new touch 1993-04-30 23:07:07 +00:00
glass aa97860f48 tail from ftp.uu.net:bsd-sources integrated 1993-04-30 08:04:52 +00:00
glass f7d7921aae join from ftp.uu.net:bsd-sources integrated 1993-04-30 08:04:31 +00:00
glass a85b45cbc6 tail, and join from ftp.uu.net:bsd-sources integrated 1993-04-30 08:04:14 +00:00
cgd cd0f1e7516 move egrep into /usr/src/gnu/usr.bin 1993-04-29 20:52:21 +00:00
cgd 0d1719f340 ld groff grep g++ -> usr.gnubin 1993-04-29 12:39:24 +00:00
cgd 4ab79d0f14 update for stuff moved to usr.gnubin:
tar tail sort pr lex join gdb gcc gas fgrep diff3 diff awk
1993-04-29 11:24:58 +00:00
cgd 0de7a499a8 make sure to rm before ln -s 1993-04-29 11:05:59 +00:00
mycroft ca38c8eafb Fix NULL pointer reference. 1993-04-28 07:17:18 +00:00
cgd 4db9cc0048 fixed after-depend dependency loops 1993-04-27 09:51:52 +00:00
cgd 9e39edd02b oops. space vs. tab thing 1993-04-27 07:00:41 +00:00
cgd 00452e0c62 fixed make depend, and added rcs headers to makefiles 1993-04-27 06:47:28 +00:00
glass 9acecc037c integrated updated 'tr' from ftp.uu.net:bsd-sources 1993-04-27 04:52:26 +00:00
cgd 673442398b update to new version from uunet 1993-04-26 23:13:43 +00:00
mycroft 91ab285e99 Fix typo. (troff makes me ill.) 1993-04-26 19:59:33 +00:00
glass 6b50fbee8d print out more of the gathered udp stats (actually all of them) 1993-04-26 16:54:54 +00:00
mycroft c013d2a322 The tools have no man pages. 1993-04-26 16:31:58 +00:00
mycroft 1298891a7a Don't segv if no process found on tty. 1993-04-26 15:50:34 +00:00
mycroft de7626c37e Fix NULL pointer reference. 1993-04-26 15:03:05 +00:00
mycroft 9596c5e1e8 Fix NULL pointer reference. 1993-04-26 14:43:24 +00:00
cgd 86677cb02a changed to use new libcrypt scheme. 1993-04-26 14:42:34 +00:00
mycroft f90eda1c1e Fix NULL pointer reference and don't drop character when wrapping. 1993-04-26 14:37:49 +00:00
mycroft f2968f5888 tn3270 works now. 1993-04-26 14:13:28 +00:00