Commit Graph

1421 Commits

Author SHA1 Message Date
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
jtc 31ac284a48 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-22 01:06:58 +00:00
jtc f73d94654f Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-21 22:41:22 +00:00
jtc ae2384963b Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-21 08:55:39 +00:00
jtc 0ac05e5259 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-21 08:42:01 +00:00
jtc 4c5b56c20d imported from 44lite 1994-12-21 08:39:37 +00:00
jtc 5233fb4026 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-21 08:11:23 +00:00
jtc fdc1920d23 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
Changed to use err() and warn().
1994-12-21 08:07:19 +00:00
jtc d9a436e9ca misc cleanup by jimj. 1994-12-21 07:22:00 +00:00
jtc 5720e226ae misc cleanup by jimj and myself. 1994-12-21 07:11:00 +00:00
jtc 4915ed9981 Cleanup by jimj.
Converted to use err() and warn() by myself.
1994-12-20 16:13:02 +00:00
jtc d64863d5c6 more cleanup from jimj & myself. 1994-12-20 16:01:03 +00:00
jtc b9dc358fda more cleanup from jimj. 1994-12-20 15:58:19 +00:00
jtc b0101ccb47 misc cleanup.
converted to use err() and warn().
1994-12-20 15:54:03 +00:00
cgd 8e0e3522e1 pull in bsd.own.mk by hand, early, so NOMAN= can be defined there. 1994-12-20 15:12:31 +00:00
cgd e98f7c13ab string.h to bring protos into scope. 1994-12-20 12:05:29 +00:00
jtc 5de9660433 gcc -Wall cleanup by jimj and myself 1994-12-20 01:44:07 +00:00
jtc 2e93b6f80d cleanup from jimj 1994-12-20 01:30:26 +00:00
jtc 22ffcfee21 Include <err.h> to bring prototypes into scope. 1994-12-20 01:28:57 +00:00
jtc 8383e7d727 added prototype for install_dir() 1994-12-20 01:24:38 +00:00
glass 22db40e083 fix bug 644. report and fix from Jan Sparud <sparud@cs.chalmers.se>. both forwarded on. 1994-12-18 23:33:48 +00:00
jtc 9527909e88 added exit(1) to usage() 1994-12-18 22:05:40 +00:00
jtc f9ffa0ef02 Null terminate case-mapped filenames (PR #640). 1994-12-15 08:58:44 +00:00
jtc b2c5e550bb Switch order rows and cols are extracted from the command line.
Now matches documentation and other UNIX systems (PR #636).
1994-12-13 08:17:29 +00:00
jtc 4051e29ec1 A tiny optimization: since the offset radix is not going to change,
set a variable to the format string and use it instead of checking
the offset radix and selecting a format each time a string is found.
1994-12-10 12:06:56 +00:00
jtc d3a545dc01 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-10 11:54:22 +00:00
jtc 51207773f0 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-09 02:14:09 +00:00
jtc 460d54012d Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-09 01:43:36 +00:00
jtc 1bbda10eb1 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-08 09:51:23 +00:00
jtc f6da7412fe imported from 4.4lite 1994-12-08 09:38:45 +00:00
jtc 39801cccde Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-08 09:30:36 +00:00
jtc 3075e8d6b7 imported from 4.4lite 1994-12-08 08:57:40 +00:00
jtc 9341ecd420 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-07 09:19:47 +00:00
jtc fce6632b6a Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-07 08:49:07 +00:00
jtc 8af8823772 imported from 4.4lite 1994-12-07 08:36:42 +00:00
jtc a1228f558a Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-07 08:35:02 +00:00
jtc fb937a59e4 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-07 05:08:04 +00:00
jtc c7c97b414c Added code for POSIX.2's -m, -T, and -u options. 1994-12-07 04:28:47 +00:00
jtc cbb8cacbb2 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-07 01:06:23 +00:00
jtc ea2b6c7c8c Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-07 00:46:54 +00:00
jtc d7a39d841a Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-07 00:36:39 +00:00
jtc 55ad6872f5 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS ID convention.
1994-12-07 00:33:47 +00:00
jtc 7a51c22113 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-07 00:28:21 +00:00
jtc 3b09eeb789 Allocate array containing names of users dynamically. 1994-12-07 00:21:14 +00:00
deraadt f45b220870 Link these statically to make shared library debugging easier 1994-12-06 14:54:50 +00:00
jtc 972ab0a594 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-06 07:51:12 +00:00
jtc 9aa7d87adb Merged with 4.4lite
Changed to conform to NetBSD's new RCS Id convention.
1994-12-06 07:36:07 +00:00
jtc 3ed25c1fb4 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-06 07:32:26 +00:00
mycroft 8b96645c69 Fix typo. 1994-12-04 06:06:19 +00:00
pk 22e62219f7 Allocate proper storage.
Avoid interpretation of boring words as printf(3) style format strings.
1994-12-02 20:29:43 +00:00
jtc b5508f3525 Use tempnam() to generate temporary file names instead of trying to
concatenate getenv("TMPDIR") and "RxXXXXXX" into fixed length arrays.
1994-11-28 20:03:30 +00:00
jtc 389c3da336 Patch by Jason Thorpe that adds SunOS compatible -l option which can be
used to specify the name of array.
Reworked argument parsing to use getopt().
1994-11-26 09:25:22 +00:00
christos 218fbce657 Don't remove targets when the -n flag is given and make is interrupted.
(From Keith Bostic)
1994-11-25 19:16:45 +00:00
deraadt 9e809275c9 mail honours $USER, and from should too. 1994-11-24 14:53:10 +00:00
jtc ae646d0e62 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-11-23 07:41:55 +00:00
jtc 48851c7a0b munmap() mmap()ed regions. 1994-11-23 07:11:00 +00:00
mycroft f9bd7a53d4 Clean up deleted files. 1994-11-17 08:28:23 +00:00
jtc b2fe91d9f0 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id conventions.
1994-11-17 08:27:58 +00:00
jtc 31ce5c89d3 imported from 4.4lite 1994-11-17 08:09:45 +00:00
jtc 9afe744ec4 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id conventions.
1994-11-17 07:55:49 +00:00
jtc 373b32ea19 fix typo 1994-11-17 07:40:43 +00:00
jtc 88d0435bc7 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-11-17 07:39:34 +00:00
jtc a8bfd3d17a Merged with 4.4lite
Changed to conform to NetBSD's new RCS Id conventions.
1994-11-17 07:17:53 +00:00
jtc c0b8fbbaad Merged with 4.4lite
Changed to conform to NetBSD's new RCS Id convention.
1994-11-17 06:59:37 +00:00
mycroft b01b8d8a74 Fix thinko in previous commit. 1994-11-15 19:03:25 +00:00
jtc 690434f052 fix bug discovered by glass 1994-11-14 21:51:30 +00:00
jtc 6e0c4ded79 Changed to conform to NetBSD's new RCS Id convention. 1994-11-14 20:27:21 +00:00
jtc 37e47b6dc5 added chflags, jot, and lam 1994-11-14 20:19:19 +00:00
jtc 9636069c3e imported from 4.4lite 1994-11-14 20:11:58 +00:00
jtc 5bbd8ba446 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id conventions.
Changed to use err(),errx(),warn(),warnx().
1994-11-14 06:51:37 +00:00
jtc 5ff6f16bd7 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-11-14 05:13:14 +00:00
jtc 12ee8ea259 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
Changed to use err(),errx(),warn(),warnx().
1994-11-14 04:57:16 +00:00
jtc 06f0d0a77d Merged with 4.4 lite.
Changed to conform to NetBSD's new RCS ID convention.
1994-11-14 04:56:13 +00:00
jtc 7cb4781f9f Fixed self-referential cross reference 1994-11-09 21:17:34 +00:00
mycroft 49ebbb080e Fix core dump on end of group reported by John Kohl, in a different way. 1994-11-09 19:30:32 +00:00
jtc bb8238b9db Check writes to stdout; if a write fails, comm writes a diagnostic message
to standard error and aborts with a non zero exit value.
1994-11-08 18:37:10 +00:00
jtc 3a08d567f4 Misc manpages fixes (PR #551) 1994-11-03 15:37:46 +00:00
jtc 419e05f42c Fix example. Thanks to Brad Parker (brad@stemwinder.fcr.com) 1994-11-03 15:31:17 +00:00
deraadt 841f975d13 #include <kvm.h> later 1994-11-02 09:20:33 +00:00
deraadt 17595b3407 man page from Jason Thorpe 1994-10-28 16:46:57 +00:00
pk 07c72b0e78 sparc handles `-c'. 1994-10-19 20:43:24 +00:00
pk f1b5aa458d Know more about symbols types. 1994-10-19 20:39:31 +00:00
mycroft 126cf80fd0 Deal with lines that contain only spaces, per PR 515, but implemented
differently.
1994-10-18 20:36:26 +00:00
mycroft dfab95c9fe Remove an outdated comment that is very confusing. 1994-10-18 20:16:13 +00:00
mycroft 5ee5940abc Get rid of a redundant sanity check. 1994-10-18 17:02:44 +00:00
mycroft f8825bfb96 Always save both the mount flags and the file system type when crossing a
mount point.  From John Kohl.
1994-10-18 13:54:25 +00:00
cgd ac58b5cf8c don't install zcat (as it's now done by gzip), and excise the zcat sections
from the man page.  add a xref to zcat(1).  delete nothing, so that
people who want to avoid zcat can.
1994-10-17 21:43:15 +00:00
brezak 304b4efcdf Fix krb4 build. From Michael Graff <explorer@vorpal.com> 1994-10-17 18:36:57 +00:00
mycroft 4b8d7f5ee1 Fix RCS id format. 1994-10-06 16:43:17 +00:00
mycroft 4f96184b10 Re-enable some ugly ISO code. 1994-10-06 16:30:55 +00:00
mycroft b2329b6229 Fix RCS id format. 1994-10-06 15:54:02 +00:00
mycroft ff5dbe5d15 If we don't -I/sys, then don't -I/sys/arch, either. 1994-10-06 15:53:14 +00:00
mycroft 2fd4512058 Add RCS ids. 1994-10-06 15:44:32 +00:00
mycroft d8f5a26b66 Fix RCS id format. 1994-10-06 15:39:54 +00:00
mycroft f5ae092fb9 Clean up deleted files. 1994-10-06 15:18:22 +00:00
cgd 0a2c7c7b35 be a bit more careful abotu what we can stat()/mkdir() 1994-10-02 21:32:31 +00:00
gwr 4ca862ca1d Get the name of this type of MACHINE from utsname
so we can share an executable for similar machines.
(i.e. m68k: amiga hp300, mac68k, sun3, ...)
1994-09-30 03:14:21 +00:00
jtc 756e728be0 Remove description of old, pre-POSIX behavior wrt. suffixes. 1994-09-26 23:57:17 +00:00
mycroft 9edd7e3388 Fix ugly C style. 1994-09-26 06:01:10 +00:00
glass e02859683e updated to reflect local changes 1994-09-26 01:57:07 +00:00
glass 7711afad47 update to 4.4-lite, add rcs ids 1994-09-25 07:55:08 +00:00
glass 6662274f56 import from 4.4 lite 1994-09-25 07:20:52 +00:00
mycroft 3d247c388d Add pmax, vax, and mips. 1994-09-24 23:32:19 +00:00
mycroft b57ce343c0 Use POSIX form of kill(1). 1994-09-23 23:26:54 +00:00
mycroft e046f69de1 Use getcwd(3), not getwd(3), and remove some old, unused compatibility code. 1994-09-23 09:33:21 +00:00
glass 3b1bdc6a9a add 'apply' 1994-09-21 03:19:59 +00:00
glass f511532ab3 rcsids 1994-09-21 03:17:34 +00:00
glass 581df8a2ac initial import 1994-09-21 03:07:20 +00:00
andrew 97e6ca09d7 Don't ignore compress -b information. 1994-09-19 12:47:30 +00:00
mycroft 69587fec56 Make lock directory match the code. 1994-09-19 12:26:18 +00:00
mycroft 180e70c1db Update to 4.4-Lite version, converted to use err*(3) and warn*(3). 1994-09-19 08:18:22 +00:00
mycroft 325dcf0dd9 Install the included files, too. 1994-09-19 05:14:25 +00:00
mycroft 181f38d7da Install the documentation. 1994-09-19 05:13:35 +00:00
mycroft 642d1472ad Don't forget to install .pic files. 1994-09-19 05:08:41 +00:00
mycroft 11ac5752b8 Fix old typo. 1994-09-19 03:50:52 +00:00
mycroft 4b4b56f402 Merge man pages with 4.4-Lite. 1994-09-19 03:46:11 +00:00
mycroft 08f1f608c4 Fix typo. 1994-09-19 03:35:16 +00:00
mycroft cd392179ef Merge with 4.4-Lite. 1994-09-19 03:34:06 +00:00
mycroft d339fcc90b Use `gcc', not `cpp', for depending. 1994-09-19 02:46:11 +00:00
mycroft dd831dd13a 4.4-Lite version, slightly edited. 1994-09-18 02:14:32 +00:00
mycroft 8e14ac7b00 Fix null pointer dereference. 1994-09-17 00:51:10 +00:00
mycroft 196ca74efe Align link address under `Address' header. 1994-09-17 00:14:20 +00:00
deraadt b175f116e1 handle `from user' without croaking 1994-09-15 02:02:00 +00:00
mycroft 959ab396d2 Fix typos, pointed out by Arne Juul. 1994-09-05 00:28:59 +00:00
mycroft bc4780b3bf Document usage of additional arguments after login name, as suggested by
Peter da Silva (slightly edited).
1994-09-05 00:27:10 +00:00
mycroft 46d22e0d6a Fix option parsing bug reported by Uwe Arndt, and another related bogon. 1994-08-31 21:32:33 +00:00
cgd ae32286b2a don't forget manual page links. 1994-08-30 17:12:59 +00:00
deraadt cf37c3ba27 cleanup 1994-08-30 06:09:18 +00:00
mycroft 573393b3d1 Tweak the hash parameters a bit; big win when run over NFS. Merge (copyright
notice) changes from 4.4-Lite.
1994-08-29 22:53:45 +00:00
cgd e1a9c4fa17 local changes; install into /usr/bin, deal with sh warnings, deal with obj.MACHINE, etc. 1994-08-29 15:08:25 +00:00
cgd ee36043f2b crunch, from James da Silva at UMD 1994-08-29 14:47:29 +00:00
mycroft b3f60e273e Correct path to sendmail. 1994-08-29 03:32:58 +00:00
mycroft 39c2e4f00f Remove temporary files on m4exit, from Thomas Eberhardt. 1994-08-29 03:24:44 +00:00
mycroft 8126499a9d Add RCS ids. 1994-08-29 03:09:05 +00:00
cgd 7e8f5e6f63 passive mode support, from David Carrel <carrel@cisco.com>, and cleaned
up for the new ftp sources by me.
1994-08-25 04:27:41 +00:00
cgd 17f8e276eb the previous local changes 1994-08-25 03:49:46 +00:00
mycroft 1955443aa9 Clean up deleted files. 1994-08-25 03:48:12 +00:00
cgd dea9ded20c clean up import, no local changes. 1994-08-25 03:47:50 +00:00
cgd dd93b648c8 Initial revision 1994-08-25 03:27:56 +00:00
pk 794bef3463 Use .CURDIR to install things. 1994-08-20 08:56:03 +00:00
pk 620dc47cd8 Use .CURDIR to install things. 1994-08-20 08:41:09 +00:00
jtc f08cab4100 Upgraded to flex 2.4.7 1994-08-19 16:22:11 +00:00
cgd eb7eaeab05 clean up import. 1994-08-17 20:12:00 +00:00
mycroft 2fa6fe01b2 Clean up deleted files. 1994-08-17 20:11:58 +00:00
cgd e70d2c8c54 clean up import. 1994-08-17 20:11:51 +00:00
deraadt af080bda6b tabs 1994-08-17 19:54:39 +00:00
deraadt 16ed82ec47 fix bug 417 1994-08-17 19:54:34 +00:00
deraadt 61ee562180 fix same bug as in passwd 1994-08-17 19:54:23 +00:00
cgd 7a6c14ee39 new public version of nvi 1994-08-17 19:48:17 +00:00
cgd ba92461eed new public version of nvi 1994-08-17 19:19:35 +00:00
cgd c0304c0e6d minor adjustment 1994-08-17 17:17:02 +00:00
jtc e737069d2f Use shell to invoke mkskel.sh instead of assuming execute bit will be set. 1994-08-17 17:15:26 +00:00
cgd 0870ee7aa2 use PROG rather than nvi 1994-08-17 17:15:14 +00:00
cgd fe9e75cac5 vi not nvi, etc., build man page normally, and get BINDIR 1994-08-17 17:05:16 +00:00
cgd 205dce15be clean up import. still have to hack some things. 1994-08-17 16:37:43 +00:00
mycroft 91df34d72c Clean up deleted files. 1994-08-17 16:37:42 +00:00
cgd e38fcdcd5e clean up import. still have to hack some things. 1994-08-17 16:35:35 +00:00
mycroft 81ed3f9566 Clean up deleted files. 1994-08-17 16:35:24 +00:00
cgd acee4f838a clean up import. still have to hack some things. 1994-08-17 16:35:15 +00:00
cgd 1588279d5e new public version of nvi 1994-08-17 16:17:19 +00:00
deraadt 5996dc7e00 pr#416 1994-08-17 06:06:42 +00:00
mycroft f0aa35c3b6 Install doc files. 1994-08-13 09:55:52 +00:00
pk 864ea66ef9 Use new a.out flags. 1994-08-13 08:42:33 +00:00
glass 2ed755dabb man page. better than nothing 1994-08-09 02:26:30 +00:00
glass 73319ec07e print usage more often. remove #ifdef NOSHM stuff 1994-08-07 18:27:42 +00:00
jtc 1d1682d63c vmunix -> netbsd (PR #375) 1994-08-06 06:11:03 +00:00
jtc 2d87ad7f75 Shell script implementations of "true" and "false" by me, working from
the POSIX.1 specification only.

This should not infringe on the copyright of another well known shell
script based implementation.  See PR #361 for some reasons (Other than
it's "clean room" development) why I think this is true.
1994-08-05 01:29:51 +00:00
mycroft 7da8045a60 Clean up deleted files. 1994-08-05 01:28:57 +00:00
jtc f428335253 Shell script implementations of "true" and "false" by me, working from
the POSIX.1 specification only.

This should not infringe on the copyright of another well known shell
script based implementation.  See PR #361 for some reasons (Other than
it's "clean room" development) why I think this is true.
1994-08-05 01:28:56 +00:00
mycroft d73a6e0da7 Clean up deleted files. 1994-08-05 01:28:50 +00:00
jtc 6b603e0f26 Shell script implementations of "true" and "false" by me, working from
the POSIX.1 specification only.

This should not infringe on the copyright of another well known shell
script based implementation.  See PR #361 for some reasons (Other than
it's "clean room" development) why I think this is true.
1994-08-05 01:28:47 +00:00
deraadt e5c0834b50 do not need -I/sys 1994-08-03 20:34:13 +00:00
deraadt 80ba474bd2 pr#377: dialup line hack is silly 1994-08-03 10:04:25 +00:00
pk 1eacf67a6e Use ${DESTDIR}/sys in CFLAGS. 1994-08-02 09:35:50 +00:00
brezak 9adfc4104e Add conditional kerberosIV and kerberos5 support 1994-07-27 03:28:11 +00:00
brezak b491643425 Add support for Kerberos5 authentication. 1994-07-25 21:11:08 +00:00
cgd d731b5b8a7 fix behaviour when adding -print 1994-07-18 09:55:31 +00:00
jtc af77b4745c Fix manpage typo (Bug #328) 1994-07-16 05:23:46 +00:00
cgd cc3bb2da02 Fix from John Brezak for the following bug:
If there is a non-tty entry in utmp, w(1) will exit with an error.
However there are legitimate non-tty entries, for instance an xlogin via
xdm can be identified with the xlogin program. In this case there is an
entry with the display name as the ut_tty.
1994-06-30 08:08:08 +00:00
cgd 6a3b73440c fix from Jarle Greipsland <jarle@idt.unit.no> to deal with ut_line misprinting. 1994-06-30 07:18:44 +00:00
cgd 138fcd8327 deal with new share/doc strategy 1994-06-30 05:33:30 +00:00
deraadt 58732c3c77 skey support from <tsarna@endicor.com> 1994-06-30 03:49:43 +00:00
deraadt 42a8cb5a34 knf & small bug fix 1994-06-29 21:40:21 +00:00
deraadt 2cb5542f38 4.4-lite, plus our mods 1994-06-29 05:09:04 +00:00
deraadt c119261953 more NFS quota support from <bouyer@ensta.fr> and myself. 1994-06-28 07:47:23 +00:00