Commit Graph

3132 Commits

Author SHA1 Message Date
charnier
f4735827f2 Use err(3).
Sync man page and usage string.
Strcpy -> strncpy from OpenBSD.
-Wall cleaning.
Obtained from: OpenBSD
1997-10-22 06:20:04 +00:00
brian
9060aacb1c Fix HDLC logging (actually LogDumpBp()). It was only
outputting the first mbuf in the chain.
1997-10-22 01:22:51 +00:00
peter
cac6af7db2 For safety's sake, explicitly depend all objects on the configvers.h header
to make sure that it's all recompiled even if there is no 'make depend'.
This is overkill, but should be one less thing that someone can do wrong.
1997-10-22 00:44:08 +00:00
peter
b57d8acf74 Recognize a %VERSREQ=nnnnn string in the system Makefile. Both config(8)
and the kernel will have a 'config interface version number'.  If an
incompatable change is made to the kernel that requires a rebuild of
config(8) (such as the cam devtab stuff), then the version number would be
bumped in both places.  If a user neglects to rebuild config, then they
will get a nagging (but non-fatal) warning that they need to rebuild
config.
1997-10-22 00:38:48 +00:00
charnier
a9eeb3d932 Cosmetic in usage string. 1997-10-20 12:55:49 +00:00
charnier
a9b89e1f31 Use err(3). Change err(-1,... to err(1,... 1997-10-20 12:53:54 +00:00
charnier
951a274309 Use err(3). Remove progname. 1997-10-20 12:51:34 +00:00
charnier
a0d3c902e1 Use err(3). Remove progname. Remove stli.4 with is a duplicate of stl.4,
use MLINKS instead.
1997-10-20 12:50:57 +00:00
charnier
47824fa253 Fix usage in man page. Remove progname. 1997-10-20 12:44:53 +00:00
charnier
2c674948c9 Typo. 1997-10-20 12:43:03 +00:00
charnier
6d5fb19194 Hardcode progname in usage string. 1997-10-20 12:41:41 +00:00
jkh
f3020bbe23 Document 100Mbit media selection flag. 1997-10-20 08:11:25 +00:00
dg
c9410919df "Fixed" pstat -T by avoiding the vnode stats. Disabled pstat -v since
we no longer support that sysctl (in my opinion, pstat -v is a security
hole in any case).
1997-10-19 18:41:23 +00:00
joerg
b429d6bbe4 Fix a number of buffer overflow conditions.
PR:		bin/4610
Submitted by:	David Holland (dholland@burgundy.eecs.harvard.edu)
1997-10-19 10:42:39 +00:00
jkh
9237618bdb Fix disk counting bug.
Submitted by:	Arjan de Vet <Arjan.deVet@adv.IAEhv.nl>
1997-10-18 21:22:25 +00:00
brian
044c4aaa12 Add -redirect_port and -redirect_address to the
synopsis.
1997-10-18 16:31:28 +00:00
joerg
8be97d8b61 Something that should have been done 2.5 years ago: install pcvt's
accompanying doc files into /usr/share/pcvt/.  (This goes to the `doc'
distribution, not `bin'.)
1997-10-18 10:40:02 +00:00
jkh
fbcce1e304 - do string-magic on the right variable when trying
to find dependent packages on the local disk (i.e. package given as
   filename, not URL)
 - document $PKG_PATH
 - use -v on pkg_add for dependent packages

Submitted by:	hubertf@NetBSD.ORG
Obtained from:	NetBSD
1997-10-18 05:54:17 +00:00
jkh
835fbd1d3a Deal with PLIST_UNEXEC properly.
PR:		4784
Submitted by:	Stefan `Sec` Zehl <sec@quit.42.org>
1997-10-18 05:42:05 +00:00
peter
4630b2d34d Don't say that the filtering options are only available under NetBSD, and
don't claim that _any_ serial speed is settable, mention that it has to
be supported by the device driver.  Some have very flexible baud rate
selection (ie: based on divisors etc, such as the com ports), while others
have explicit baud rate choices.
1997-10-18 01:29:18 +00:00
brian
b066166467 Ask for VJ slot id compression by default. 1997-10-17 00:20:30 +00:00
brian
d134eaa71d cosmetic:
o  Log client connection commands when "set log +command"
o  Don't display PAP password in the log unless we're
   "set log +debug".
1997-10-16 23:55:19 +00:00
joerg
213e132f58 One could be surprised how much bugs can still be found here...
Properlay clean the global RM variable if cgetstr() failed for it.
Otherwise, a connection attempt to a remote machine was made (and a
bogus result code printed) if a local printer followed a remote one in
printcap, and you did a `lpq -a', since checkremote() falsely assumed
the printer to be a remote one.

While i was at it, removed a gratuituous newline printed in front of
the remote machine's name, thus making the output more consistent (and
better machine-parseable) now.
1997-10-15 12:16:37 +00:00
charnier
99be2f82d9 Use err(3). Add prototypes. 1997-10-15 06:43:54 +00:00
charnier
07e4a691ea Use err(3). Rewrote man page in mdoc format. 1997-10-15 06:42:28 +00:00
charnier
189d33fcde Add usage(). 1997-10-15 06:41:19 +00:00
jkh
e72ee0f886 Fix various bogons reported in this PR.
PR:		4765
Submitted by:	fdiv
1997-10-15 04:37:26 +00:00
brian
d651f50b27 Initialise LCP, IPCP and CCP as soon as LCP is down.
Without this, in -auto mode, we stay in ST_STOPPING
and never check our dial filters to see if it's time
to bring the line up again.

This may make "set stopped" redundant.
1997-10-15 01:01:17 +00:00
jkh
66a0e8d6b0 Add a new startup variables menu for tweaking rc.conf variables in more
detail (also added more of them to the networking services menu).  Add
new dmenuISetVariable() function for interactive setting of non-boolean
flags.
1997-10-14 18:17:35 +00:00
joerg
fef7c77457 Improve my hack from rev 1.6 of displayq.c, and make the TCP
connection timeout controllable by a new printcap(5) capability named
`ct' (connectiom timeout), defaulting to 120 seconds (which is the
default TCP connection timeout).

Would anybody see a problem with merging all this into RELENG_2_2?
1997-10-14 16:01:02 +00:00
jkh
98e4a60d1d Fix bogon I introduced while adding disks menu to label editor. 1997-10-14 14:41:17 +00:00
jkh
2afa55ca38 Ask for extra confirmation if a newfs has been requested during
an upgrade.
PR:		3368
1997-10-13 17:32:29 +00:00
jkh
4b318a5826 Don't return from cleanup() - if it's removed the playpen then very
bad things will happen if we return to unsuspecting code.
Noted to my great dismay by:	Tim Vanderhoek <hoek@hwcn.org>
1997-10-13 15:03:55 +00:00
jkh
f71ea4919a Consolidate distribution flag checking code. 1997-10-13 12:12:14 +00:00
jkh
dc8100dcbd Allow access to options editor from media screen (sometimes you need it
there!).
1997-10-13 11:45:36 +00:00
jkh
3aa99fd0f5 Only need to call label editor for all drives. 1997-10-13 11:33:27 +00:00
charnier
1f77e4ee4c Use err(3). Add usage.
Use syslog instead of fprintf when being a daemon.
Change sprintf to snprintf obtained from OpenBSD.
Obtained from: OpenBSD
1997-10-13 11:27:55 +00:00
charnier
ff717fa4f4 Use err(3). Sync usage string and man page. 1997-10-13 11:24:01 +00:00
charnier
8459f389a1 Use err(3). Remove multiply defined Id string. 1997-10-13 11:22:39 +00:00
charnier
67de6ed0a2 Remove multiply defined Id string. Hide sccsid string. 1997-10-13 11:18:53 +00:00
charnier
8f640499e9 Use err(3). Add usage() and #includes. 1997-10-13 11:13:33 +00:00
charnier
5b323e1a48 Use err(3). 1997-10-13 11:08:47 +00:00
charnier
615b81821d Hide sccsid[]. Typo in man page. 1997-10-13 11:06:30 +00:00
charnier
9a7de1d4b1 Use err(3). Add prototypes. 1997-10-13 11:05:07 +00:00
charnier
f2b21f6a68 Mdoc'ify man page. 1997-10-13 11:03:36 +00:00
charnier
5e270e4c19 Use err(3). Add prototypes. Cosmetic in usage string. 1997-10-13 11:01:33 +00:00
brian
6643d67546 Un-spam ip_sum (arrgh - I don't know how this made
it into my patches :()
1997-10-12 21:43:55 +00:00
wosch
8ae70d2227 Delete ctm_scan program. There is no manpage for ctm_scan
and nobody use it.

Reviewed by: phk & Richard Wackerbarth
1997-10-12 19:58:53 +00:00
jkh
ce13ade8fa Update to reflect current affairs. 1997-10-12 16:21:36 +00:00
jkh
efc02b6453 Separate the siamese twins that were the partition and label editor.
Now you can use one without entering the other and it will DTRT.
These changes just allowed me to do the most straight-forward new disk
installation I've ever managed with sysinstall.
1997-10-12 16:21:21 +00:00