Commit Graph

1362 Commits

Author SHA1 Message Date
ache
aa5a205bac Fix diagnostic: skey->key, we have key command 1996-10-17 12:06:05 +00:00
bde
467c7d29da Use a (signed) int32_t counter instead of an `unsigned int' counter
for the GPROF4 case.  This allows a simpler method to be used for
non-statistical profiling (it allows overhead adjustments to be
subtracted from one counter without harm if that counter goes
negative; otherwise the adjustment would have to be distributed).

32 bit counters were already too small for GPROF4 with a 200MHz
clock.  int64_t counters should be used.
1996-10-16 21:02:49 +00:00
sos
cb13266b14 Utility to "brand" ELF binaries.
Man page to come...
For now use: <brandelf -t Linux linuxbin> to brand, and just
<brandelf> to verify branding on a ELF file. FreeBSD native is
set with <brandelf -t FreeBSD freebsdbin>.
1996-10-16 18:16:22 +00:00
ache
f5b4e8c2ab Simplify and improve parser.
Clarify manpage.
1996-10-16 03:12:22 +00:00
ache
09ecea6256 Save half of LC_COLLATE space
ASCIIfy data files, use RFC1345 symbolic names instead of hex codes
Improve parser and manpage
1996-10-15 22:05:18 +00:00
joerg
901db635de Wow!, i finally found a usable vgrind definition for Perl. 1996-10-15 18:58:45 +00:00
wosch
1edf24275a 8-Bit character support.
Old locate(1) programs still works with the new database format, print
some garbage for 8 bit characters, but don't core (maybe except char 30).

7-Bit Puritan should not notice any difference. Same speed,
Same database size if the database contain only ASCII characters.

Reviewed by: ache
1996-10-13 01:44:43 +00:00
wosch
0952f69287 export variable TMPDIR (which maybe set, but not exported in /etc/locate.rc) 1996-10-12 20:29:25 +00:00
jkh
8a4edeb5fd Close PR#1781 - time returns with EXIT_SUCCESS on some failures
Submitted-By: Tor Egge <Tor.Egge@idt.ntnu.no>
1996-10-12 18:41:26 +00:00
steve
67bda81def Remove extraneous comment, fix second-level tabs (one
tab and four spaces), and return error message in *err
instead of calling Parse_Error.

Suggested by: Bruce Evans <bde@zeta.org.au>
1996-10-12 02:15:30 +00:00
steve
2d340b514c Removed extra $Id$ string. 1996-10-11 04:15:57 +00:00
steve
a63d5c3c9f Reinstate '!=' fix by Bruce Evans. The original commit message from
parse.c(1.9) was:

revision 1.9
date: 1996/09/12 03:03:25;  author: bde;  state: Exp;  lines: +7 -6
Fixed handling of `!=' assignment.  Don't warn if the shell's output is
null, but warn if there was an error reading it.

Suggested by: Bruce Evans <bde@zeta.org.au>
1996-10-11 03:55:29 +00:00
wollman
8beec6c65d Remove reference to oobsolete RTF_MASK flag (soon to be removed). 1996-10-09 18:19:07 +00:00
wosch
f7abebc6e2 Fix searching for shell quoting characters. I guess it was
broken since locate exists.

This works now

$ locate '*\['
$ locate '*i386-\**'
$ locate '*[C\[]'
1996-10-09 00:33:34 +00:00
steve
838a7cdccb O' to be bitten by CVS. Cleanup after import
of Christos' version of make(1) and add Id's.

Set straight by: Bruce Evans and Peter Wemm :)
1996-10-08 04:07:59 +00:00
joerg
94ef229c15 Export $TERM only if it has been set in our environment.
Detected by: Amancio Hasty
1996-10-07 10:00:58 +00:00
steve
d687df7a01 This commit was generated by cvs2svn to compensate for changes in r18764,
which included commits to RCS files with non-trunk default branches.
1996-10-06 16:45:32 +00:00
steve
5c6ac2e68c Import Christos Zoulas' version of NetBSD's make onto the
vendor branch for reference.

Obtained from: Christos Zoulas <christos@netbsd.org>
1996-10-06 16:45:32 +00:00
steve
a761e29d9a Clarify the rule used to determine the object
directory location.
1996-10-06 16:19:08 +00:00
peter
4370a5a248 Import the 4.4BSD-Lite2 version of make onto the vendor branch
"for reference".  This doesn't change anything since all files
have been touched.
1996-10-06 15:57:15 +00:00
peter
21bea375d1 This commit was generated by cvs2svn to compensate for changes in r18756,
which included commits to RCS files with non-trunk default branches.
1996-10-06 15:57:15 +00:00
steve
d4df49b545 Correct problem with traversing into PSD.doc directory,
these files are actually installed/built as part of
src/share/doc/psd/12.make.  Oops. :)

Pointed out by:	Peter Wemm and Bruce Evans
1996-10-06 13:02:43 +00:00
jkh
759a48eac3 Correct merge bogon: You want to descend into PSD.doc for both `all' and
`install' cases or there's never anything made to install, and you blow
up in the install. :-)
1996-10-06 12:43:14 +00:00
steve
9ff459e9a2 Remove annoying -Wall warning. 1996-10-06 02:40:39 +00:00
cvs2svn
7bee03ad1d This commit was manufactured by cvs2svn to create branch 'CHRISTOS'. 1996-10-06 02:35:39 +00:00
steve
49662693d9 Merge in NetBSD's changes to make(1). Changes include:
- Add the .PHONY, .PARALLEL, and .WAIT directives
	- Added the -B and -m commandline flags
	- misc. man page cleanups
	- numerous job-related enhancements
	- removed unused header file (bit.h)
	- add util.c for functions not found in other envs.
	- and a few coordinated whitespace changes

Special thanks to Christos Zoulas <christos@netbsd.org>
for help in the merge.  A 'diff -ur' between Net and
FreeBSD now only contains sccsid-related diffs. :)

Obtained from: NetBSD, christos@netbsd.org, and me
1996-10-06 02:35:38 +00:00
jkh
336dd89b31 Honor the MAIL environment variable.
Submitted-By: Dan Cross <cross@math.psu.edu>
1996-10-06 01:55:32 +00:00
jkh
588cbc5059 Honor the MAIL environment variable, if set.
Submitted-by: Dan Cross <cross@math.psu.edu>
1996-10-06 01:54:22 +00:00
jmz
6772418485 The -h flag implies ftp = 1. 1996-10-06 00:44:24 +00:00
peter
1fb5e546cf With -delete, don't complain about non-empty directories. Otherwise
"cd /tmp; find . -mtime +7 -delete" is excessively noisy.
1996-10-05 23:47:07 +00:00
jfieber
92313ed7f0 Some new options for the FreeBSD web pages. These are for the moment
not officially documented and are subject to change.

 -hdr and -ftr
	Specify files to insert at the top and bottom of every
	page.  This is similar in result to the existing -ssi
	option but everything happens at build time.  If the
	string @@UPDATED@@ appears in either file it will be
	replaced with "Updated" followed by the current date.

-white
	Make the pages black text on white background.
1996-10-05 23:38:55 +00:00
wosch
000fb64288 delete doubled words, e.g.: "the the" -> "the" 1996-10-05 22:27:30 +00:00
peter
a066ea9800 For the -delete option, emulate the behavior of "rm -f" when dealing with
user-immutable files.

Requested by: ache
1996-10-05 18:21:05 +00:00
ache
89c99ff0c6 Fix Moscow timezone rule 1996-10-05 09:03:37 +00:00
peter
8b748f9115 Fix the previous commit. The second of the 8-character columns was
a duplicate of the first column of 8...
1996-10-04 23:29:38 +00:00
peter
342c1e0794 Implement a -delete option to find. The code is extremely paranoid and
goes to a fair degree of trouble to enable something like this to
be safe:  cd /tmp && find . -mtime +7 -delete

It removes both files and directories.  It does not attempt to remove
immutable files (an earlier version I showed to a few people did a chflags
and tried to blow away even immutable files.  Too risky..)

It is thought to be safe because it forces the fts(3) driven descent to
only do "minimal risk" stuff.  specifically, -follow is disabled, it does
checking to see that it chdir'ed to the directory it thought it was
going to, it will *not* pass a pathname with a '/' character in it to
unlink(), so it should be totally immune to symlink tree races.  If it runs
into something "fishy", it bails out rather than blunder ahead.. It's better
to do that if somebody is trying to compromise security rather than risk
giving them an opportunity.  Since the unlink()/rmdir() is being called
from within the current working directory during the tree descent, there
are no fork/exec overheads or races.

As a side effect of this paranoia, you cannot do a
"find /somewhere/dir -delete", as the last argument to rmdir() is
"/somewhere/dir", and the checking won't allow it.  Besides, one would use
rm -rf for that case anyway. :-)

Reviewed by: pst (some time ago, but I've removed the immutable file
deletion code that he complained about since he last saw it)
1996-10-04 12:54:07 +00:00
jfieber
ae0689930a When starting HTML generation, remove any pre-existing link file. 1996-10-01 16:23:39 +00:00
peter
dd85f245b6 When used as a shell builtin, this program decoded a subset of arguments
known to printf(3) and then used printf() to format it... The only
problem what the #define printf out1fmt.  The code was behaving differently
when run as a shell builtin since out1fmt() isn't printf(3).

Simple hack.  Print to a buffer and fputs (also #defined for sh) the
result.  This should fix the printf builtin problem in PR#1673, rather
than leaving the call commented out.  (printf.o was being statically linked
in anyway, we might as well use it)
1996-10-01 04:56:59 +00:00
imp
ffedaf5fae Sync usage line to man page, per style(9).
Pointed out by: Bruce Evans <bde@zeta.org.au>
1996-10-01 03:59:57 +00:00
peter
519e9b0911 Incorporate John Polstra's sods.c display of the details about the
dynamic linking information in the executable.  It's quite extensive.
It's connected to ldd's (new) -v option.
1996-10-01 02:16:16 +00:00
peter
7ad318175d Support for specifying printf-like output specs to control the ldd output
as present in the new rtld version.

Obtained from: NetBSD
Reviewed by: nate, jdp
1996-10-01 01:34:32 +00:00
imp
d4e55ffaf3 Submitted by: Bruce Evans
Remove -S for the install usage message
Make the install usage message < 80 columns wide
Place the dodir declaration in order.
1996-09-29 23:09:51 +00:00
jfieber
4c255f1f69 Add a signal handler to clean up files if an INT, HUP, or QUIT
is received.
1996-09-29 19:42:51 +00:00
bde
3d1181fd33 Include <fcntl.h> so that this doesn't depend on the KERNEL version
of <sys/file.h> including <sys/fcntl.h>.  Only the !KERNEL version
of <sys/file.h> will do that when I unspam the kernel headers.
1996-09-29 19:25:10 +00:00
jfieber
07acb1312b Remove some stray debugging code. 1996-09-29 18:27:12 +00:00
jfieber
20976a3391 Change the behavior of the -links option. Instead of actually
creating a symbolic link from foo.html (from <label name="foo">) to
the numbered file, a shell script is built that can be used to make
the links at a later time (read: after installation in the target
directory).
1996-09-29 17:34:05 +00:00
imp
7cb3462826 Implement -d in install. Update the man page to reflect this change. 1996-09-29 06:29:54 +00:00
joerg
f811c2ec39 Now that we've already got "hexdump -C", make calling the command "hd"
having the same effect, and install a link for this.  There is
historic precedence for the command hd(1) (with roughly that output
format) in Xenix, SCO, and a few SysV's that tooks the idea.

Also, added a couple of spaces to the -C format to make the output
better readable.

Ok'ed by: phk
1996-09-29 04:17:24 +00:00
wosch
ee17503232 .Os NetBSD -> .Os FreeBSD.
The pages are not NetBSD specific and FreeBSD is not a child of NetBSD.
1996-09-28 22:46:35 +00:00
joerg
8d0e25e335 Various cleanups:
. prototyped and staticized the internal functions while i was here,
. made the thing -Wall clean,
. fixed an error that causes the recipient name to be matched only
  for the first characters, as opposed to a full name (wonder why i'm
  concerned?  Well, one of my login IDs is `j', and i've noticed that
  vacation has been sending out replies to all mailing list messages
  that had a jkh@ or jmb@ in it :),
. introduced an option -l to list the contents of the database; mucho
  useful if you've got (too) many mailing list messages in your inbox
  and wanna make sure you don't miss the `important' mails.
1996-09-28 13:37:38 +00:00
bde
8dd1904c30 Eliminated NOFILE. Use the arbitrary (currently identical) limit of 64
instead (for the input stack size).

`mail' was one of the 3 programs in /usr/src that (mis)used NOFILE.
1996-09-28 13:15:06 +00:00
imp
f558febd81 Use EX_* exit values, from NetBSD 1996-09-28 02:53:45 +00:00
andreas
c70c65cc5d Added magic file for bzip in ./Magdir
Obtained from: bzip sources ;)
1996-09-27 21:57:12 +00:00
steve
b9bf5744b2 Fix for PR# 1231, make(1) execution of ``.BEGIN'' does
not halt on error.  Thanks to Wolfram for reminding me. ;)

Also remove a unnecessary test for c == '\n', since the
loop (in ParseSkipLine) will not terminate unless
c == '\n' || c == EOF, and the EOF case is already
explicted handled by a return statement.
1996-09-25 02:55:49 +00:00
bde
a0082297a8 Changed 'd' to 'D' in getopt arg too. 1996-09-24 17:29:42 +00:00
peter
4c88ad3be8 Drat, had the N_FN overloading based on N_EXT backwards. N_EXT = filename,
no N_EXT is a "warning". eg:
% nm -p /tmp/gets.o
...
00000000 w  warning: this program uses gets(), which is unsafe.
         U  _gets
00000000 T  _gets
1996-09-24 15:56:26 +00:00
peter
142a5685e6 Rudimentry support for viewing weak symbols. There are two types that
this deals with, the N_INDR indirect symbols done with .stabs operations,
and those done with .weak that have an extra field in n_other.
1996-09-24 09:59:43 +00:00
bde
86c863abe8 Really eliminated includes of the "temporary" backwards compatibility
header <sys/dir.h> in applications.  My previous sweep didn't find the
places that included it without needing it.
1996-09-24 08:43:04 +00:00
bde
d2512c2bf9 Eliminated includes of the "temporary" backwards compatibility header
<sys/dir.h> in applications.  Maintained existing (inadequate) ifdefs
for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any
new ones.
1996-09-24 08:08:11 +00:00
imp
eea77f0b8b Per discussions in -current
- Change the debug flag from -d to -D to avoid conflict with other
	  install programs.
	- Update man page to reflect this
	- Update usage string
-d meaning creat directory is specifically not implemented by these changes.
1996-09-24 04:15:02 +00:00
wosch
89dea7c61d add missing comma(s) in .Xr macros 1996-09-23 22:24:39 +00:00
steve
9b222d6b6a Be sure to remove any newlines encountered when
parsing the input file in ParseSkipLine(...).
1996-09-23 17:21:34 +00:00
phk
880849a80e Remove length field from utrace entries. 1996-09-22 18:18:20 +00:00
steve
a43b707795 Fix for PR# 1095, make's continuation line handling buggy
when used with .elif.  Additional fixes include:

    - fix continuation line handling when using .for
    - plug up a memory leak
1996-09-22 02:28:36 +00:00
steve
29accf9e0f Fix for PR# 1427, yacc-generated parser generates warnings
with -Wall.  Tim's work with some minor additions by me.

Submitted by:	Tim Vanderhoek <hoek@freenet.hamilton.on.ca>
1996-09-22 02:05:53 +00:00
pst
365fa6d6f8 Fix some compilation warnings 1996-09-22 01:05:21 +00:00
pst
8ddc5c2acb Fix some compilation warnings. 1996-09-21 18:01:23 +00:00
steve
c2d4b0268c Fix for PR#1230, make ``.for'' loops iterate backwards. 1996-09-21 04:00:22 +00:00
nate
717bed3db1 More ts_nse -> tv_nsec changes following the kernel changes I made earlier.
Submitted by:	Chuck Robey <chuckr@glue.umd.edu>
1996-09-20 02:34:51 +00:00
phk
df8df7f441 For now we just hexdump the stuff in USER records. 1996-09-19 19:50:45 +00:00
phk
fcdb3184db The userland change to the utrace(2) call. 1996-09-19 19:50:17 +00:00
peter
43f6021163 Attempt to untangle the timeout code a bit, also make the default ftp
and http timeouts the same, since when using a http proxy to do ftp
transfers, the http timeout was being used for what is coming in via
ftp.
1996-09-19 18:07:24 +00:00
peter
ae3b6a683b Make fetch 64-bit safe, corresponding to libftpio changes.
Submitted by: Jason Thorpe <thorpej@nas.nasa.gov>, PR#1641
1996-09-19 17:31:34 +00:00
phk
5f8eb47742 Make "ftp" a synonym for "open" 1996-09-19 08:16:47 +00:00
phk
75b39c00ce Make telnet a synonym for open 1996-09-19 08:15:56 +00:00
peter
89bb2f09ad Clean up dependencies a bit (we were not doing a depend on scan.c)
Make the 'bootstrap' target work a little better.
1996-09-19 05:21:07 +00:00
peter
4ef573301c Do not claim that tip is also called cu.
Submitted by: "Ph. Charnier" <charnier@xp11.frmug.org>, PR#1639
1996-09-19 05:14:30 +00:00
wollman
df37b0422c Clean up style and formatting. The listing of options could still be
improved.
1996-09-18 16:48:54 +00:00
swallace
61bc096e33 Restore previous compatibility of ${.CURDIR}/obj.uname -m and
$(.CURDIR}/obj search while retaining compatability of new
prefix with cwd for the current source tree builds.
.TARGETOBJDIR has been removed from make and CANONICALOBJDIR set in
bsd.obj.mk

The builtin object directory searching is defined specifically as:

If MAKEOBJDIRPREFIX is defined, the search order is
${MAKEOBJDIRPREFIX}${.CURDIR}
${.CURDIR}

Else if MAKEOBJDIR is defined, the search order is
${MAKEOBJDIR}
${.CURDIR}

Otherwise, default to the search order
${.CURDIR}/obj.`uname -m`
$(.CURDIR}/obj
/usr/obj${.CURDIR}
${.CURDIR}

Reviewed by:	bde
1996-09-18 06:06:39 +00:00
phk
132596c18d Add '-C' "Canonical" format to hexdump:
$ hexdump -C /etc/resolv.conf
00000000 64 6f 6d 61 69 6e 20 64 6b 2e 74 66 73 2e 63 6f |domain dk.tfs.co|
00000010 6d 0a 6e 61 6d 65 73 65 72 76 65 72 20 31 34 30 |m.nameserver 140|
00000020 2e 31 34 35 2e 32 33 30 2e 31 30 0a             |.145.230.10.|
1996-09-16 21:18:48 +00:00
wosch
0db310bc8e #include <fastfind.c> -> #include "fastfind.c" 1996-09-16 01:17:25 +00:00
wosch
d403258fea remove unnecessary boundary check, 2x faster
code cleanup
1996-09-14 20:15:49 +00:00
roberto
cfb1047c90 Closes PR bin/1567
/usr/bin/lock can be used to lock a terminal much like xlock does
for your X-windows session.  Problem is, /usr/bin/lock cannot lock
your terminal indefinately.  Rather you must specify a timeout
value, after which, your terminal is unlocked and become unsecured.

I have added a ``-n'' no timeout option to /usr/bin/lock
Currently the only way to get this functionality is to use a huge
timeout value and hope it is long enought (in time).  This method
also requires you to know the maxium number of minutes you are
allowed to specify.

Submitted by:	David E. O'Brien <obrien@Nuxi.cs.ucdavis.edu>
1996-09-14 09:00:52 +00:00
bde
6ed5ccfb8f Don't use __dead or __pure in user code. They were obfuscations
for gcc >= 2.5 and no-ops for gcc >= 2.6.  Converted to use __dead2
or __pure2 where it wasn't already done, except in math.h where use
of __pure was mostly wrong.
1996-09-14 03:00:32 +00:00
bde
5639f058b9 Fixed handling of `!=' assignment. Don't warn if the shell's output is
null, but warn if there was an error reading it.
1996-09-12 03:03:25 +00:00
pst
4ff1c6aa9b Close bin/2747: rdist accesses free()d memory 1996-09-11 01:39:55 +00:00
adam
99c3be59a5 YY --> CC 1996-09-10 21:19:56 +00:00
phk
fe6f3f9eab Add -c flag to fmt to center lines. 1996-09-10 19:50:23 +00:00
jkh
ccd8fb4fad Remove the code which has restart looking at the modtime. That's just
moronic!  We don't care about the time in restart mode, only the size.
It's *mirror* mode which cares about modtimes.
1996-09-10 19:49:41 +00:00
jfieber
3a2a3320ba Document the -f ps option.
Suggested by:	Jordan Hubbard <jkh@freebsd.org>
1996-09-09 14:15:28 +00:00
jfieber
91b974b96e Bye Bye sgmlsasp (and rast)! Frankly, I won't miss you. 1996-09-08 20:44:50 +00:00
jfieber
b9342257a1 This now uses instant(1) instead of sgmlsasp(2).
It now supports the latin1 and koi8-r groff devices for output.
1996-09-08 20:40:52 +00:00
joerg
7f766016b3 . make vgrind 8-bit clean; note that it still implicitly assumes
ISO-8859-1, since the characters are simply being passed on to
  groff
. introduce an option to override the silly default to `psroff' as
  the post-processor
. document the new option
1996-09-08 18:23:53 +00:00
jfieber
c6f20da17c Turn on instant. 1996-09-08 02:00:37 +00:00
jfieber
0f9d90ebea This commit was generated by cvs2svn to compensate for changes in r18145,
which included commits to RCS files with non-trunk default branches.
1996-09-08 01:55:10 +00:00
jfieber
38d1297524 Tool for manipulating SGML document instances. Replaces sgmlsasp. 1996-09-08 01:55:10 +00:00
phk
9640e2d9e8 remove devconf tools from make tree. 1996-09-06 23:07:35 +00:00
phk
ef1c38f974 Remove devmenu. Devconf never grew up. 1996-09-06 23:05:55 +00:00
jkh
adb8bc7102 Add a timeout flag so that failing operations can at least be caught
and flagged.  Closes PR#1513
Submitted-By: David Muir Sharnoff <muir@idiom.com>
1996-09-06 05:24:05 +00:00
julian
b740ca2195 make appletalk networks not show an un-needed host
part in displaying the routes.
1996-09-05 23:34:09 +00:00
guido
bdff9a8fc2 Document the existance of a configuration file for updatedb.
Fix a typo in the default rc file and add a comment about
default values.
1996-09-05 20:18:15 +00:00
bde
835e9e65dd Recovered from -Wall cleanup in ss_internal.h. This depended on
ss_internal.h bogusly declaring things in <stdlib.h>.
1996-09-05 18:20:47 +00:00
bde
ab9dad6cdf Finished adjustments for cleaning up declaration of zopen(). Moving the
declaration from <stdio.h> to "zopen.h" left it undeclared here.
1996-09-05 18:15:43 +00:00
bde
11546f4616 Fixed DPADD. 1996-09-05 17:16:10 +00:00
wpaul
38fd8fd26e Reset password change time to zero. (This has no effect with standard
RPC calls to rpc.yppasswdd, but when using the special superuser-only
AF_UNIX socket access method, the server will properly handle all the
additional fields, including pw_change.)

I would also like to take this opportunity to say that Sprint sucks.
1996-09-05 15:57:41 +00:00
jdp
b861646aff Make "file foo.core" print the program name properly again. 1996-09-05 15:55:57 +00:00
peter
ff7e508bb9 Be more careful with mmap. If it fails, fall back to a plain compare or
copy.

Dont leave stray INS@xxxx temp files around, especially when installing
something less than 8MB and the destination runs out of space, etc.

It still doesn't clean up the temp files on SEGV or other signals etc.
1996-09-05 07:54:08 +00:00
peter
f30b313a63 accidently removed the "dont compare > 8MB files hack".
didn't rewind the files after the read()s in the non-mmap compare.
1996-09-05 07:33:24 +00:00
peter
46847c4cdf Only attempt to mmap() files from a ufs or cd9660 fs for comparing or
installing.  mmap'ing stuff over a nfs mount took out my machine during
a 'make world' last night while I was asleep.  I started out with a list
of fs's to avoid, when I realised that I really didn't know which ones
were safe with mmap, so I went for the ones I knew and implemented a
fallback compare.
1996-09-05 07:27:43 +00:00
bde
22cf3c1924 Removed unused `-I.'s from CFLAGS.
"." means the object directory, so it is just confusing to use it
when nothing is included from the object directory unless the object
directory is also the source directory.  It is confusing for "."
not to mean the source directory anyway, so used `-I.'s should be
replaced by `-I${.OBJDIR}'.
1996-09-04 22:25:35 +00:00
bde
50b00557e0 Removed fib. It was never used, and is unusable without libforms, which
has already gone away.
1996-09-03 14:30:09 +00:00
peter
90c8dabe75 Fix -Wall warning in skeleton parser 1996-09-03 10:56:32 +00:00
joerg
ae3ee69e4d Make the yacc skeleton aware of C++. It was previously broken in the
YYDEBUG case (getenv() declared wrong).
1996-09-03 08:00:26 +00:00
wosch
4f92cd3d5d Fix to work with obj directories: -I. -> -I${.CURDIR}
Submitted by: Bruce
1996-09-01 16:03:28 +00:00
wosch
5ec9b01393 optimized search algorithm
faster IO due mmap(2) [-m | -s]
better error check for damaged databases
support for databases in network byte order (SunOS/sparc)
optional case insensitve search [-i]
optional multiple databases
optional multiple pattern
new enviroment variable LOCATE_PATH for database(s)
[-S] print some statistic about the database
[-l number] limit output to number file names
[-c] suppress normal output; instead print a count of matching file names
1996-08-31 23:14:54 +00:00
jkh
2ae01aec12 Allow proper ftp verbosity with a new -v flag. 1996-08-31 22:03:05 +00:00
wosch
daaa458ad4 NULL -> '\0'
Submitted by: Bruce, see also c-faq 5.6 and 5.9
1996-08-31 14:51:18 +00:00
bde
f8b5cfc537 Fixed a missing colon in `notyet' code. 1996-08-31 14:22:33 +00:00
bde
24874ef732 Listed all the environment variables (MACHINE and PWD were missing).
Documented PWD.  MACHINE and MAKEOBJDIR are are still undocumented
except in main.c.  I will be changing MAKEOBJDIR back to its old
behaviour so that the comment in main.c actually applies.

Removed irrelevant misformatted text about make's name being argv[0].
1996-08-31 14:21:15 +00:00
julian
31eae602d6 fix printing of netranges in the i and r displays for netatalk 1996-08-31 07:43:01 +00:00
peter
6143fcd95b fix prototypes/forward declarations/return type
kill obsolete updatedb.csh, it's been rewritten in sh now.
1996-08-30 03:08:26 +00:00
peter
5ba2d9fdf8 delete unused #include <string.h> 1996-08-30 03:06:15 +00:00
peter
e5f3b9010e Make the dependencies work a little better.. 1996-08-30 03:04:49 +00:00
peter
3cc2bf6b2f build bind-4.9.4-P1 dnsquery in it's own directory 1996-08-29 21:54:39 +00:00
peter
14948af029 build bind-4.9.4-P1 host in it's own directory 1996-08-29 21:53:39 +00:00
peter
a98be41bb4 build bind-4.9.4-P1 dig in it's own directory 1996-08-29 21:51:42 +00:00
wosch
ab0ebe585d [HISTORY] command appeared in Version 1 AT&T UNIX
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
1996-08-29 18:06:19 +00:00
wosch
0210175107 sync copyright with /usr/share/examples/etc/bsd-style-copyright 1996-08-27 20:04:45 +00:00
adam
794f8a0f1c complete err() changes, actually use warn() in most instances 1996-08-26 20:37:48 +00:00
peter
64c12fd60d Dont forget to #include <err.h> 1996-08-25 21:14:19 +00:00
peter
a5eafc88c5 Argh! caught! *blush*.. This program was supplying it's own 'err' routine
which was slightly different to the libc one.  To save any more cunfusion,
use the libc one.
1996-08-25 21:12:01 +00:00
peter
72cf92af79 Fix some bogons:
- timeval in select loop was depending on not having the remaining time
  returned from select(), causing a busy spin on an implementation that
  does implement it.
- the err() usage was pretty bogus, some of the error messages had
  strerror attached manually and then reattached by err().
1996-08-25 21:03:50 +00:00
alex
d1a13b5346 Add synopsis for yppasswd. 1996-08-24 23:27:04 +00:00
mpp
8af7d5dcdd Change a stray reference to pstat to vmstat.
Pointed-out-by: bde
1996-08-24 16:12:53 +00:00
peter
5de1717df6 Locate the text inode, closes PR#1070 1996-08-24 13:43:46 +00:00
peter
96566bfc03 Quick attempt to decode DTYPE_PIPE files and print something meaningful
for them.  Otherwise, it does strange things when it hits one..
1996-08-24 08:01:29 +00:00
peter
a8e6568074 s/__unused/__sex_unused/ - this is simply a placeholder variable that
conflicts with what I added to cdefs.h a while ago.  I never noticed this
since I used nvi-1.71..
1996-08-24 03:49:14 +00:00
mpp
748de7f8e2 Convert to mdoc format. 1996-08-23 21:40:59 +00:00
mpp
bef6fb830a Use the .Bx macro where appropriate. 1996-08-23 20:36:11 +00:00
phk
733856f964 Try to make netstat more smart about port numbers.
Feedback most welcome.
1996-08-23 19:05:34 +00:00
phk
a283f65a08 Fix a couple of file-descriptor leaks. 1996-08-23 09:33:32 +00:00
jkh
7b0b861fef Don't make -l warn when it's not used, so we can potentially set it
all the time if we want to use "link" behavior for file URLs (and not
have fetch whine at us when they're not).
1996-08-23 06:21:17 +00:00
mpp
a951e1ba65 Use the .At macro where appropriate. 1996-08-23 01:06:24 +00:00
mpp
b4aab8b6f6 Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
jkh
e9dba4b462 Print the correct thing when interrupted by a signal. 1996-08-22 23:25:24 +00:00
jkh
6e3ba357ba 1. Understand file:/path style URLs.
2. Add a -l flag for symlinking to rather than copying file:/path style URLs.
3. Add a -T flag for setting the timeout interval (overrides FTP_TIMEOUT if set)
1996-08-22 21:30:51 +00:00
wosch
1647af0a74 code cleanup 1996-08-22 18:46:13 +00:00
mpp
e972d19de5 Add kzip(8) as supplied with PR# 1507, with some minor cleanup by me.
Submitted by:	 David E. O'Brien <obrien@nuxi.com>
1996-08-21 19:07:22 +00:00
jkh
3b73be8498 Fix a small potential bogon I noticed here with restarts. 1996-08-21 01:27:25 +00:00
wosch
b72054ac4e a header file for zopen.3
Pointed out by: Philippe Charnier <charnier@lirmm.fr>
1996-08-20 20:49:39 +00:00