Commit Graph

3075 Commits

Author SHA1 Message Date
Wolfgang Helbig 60152ec531 Typo. 1997-10-26 10:37:35 +00:00
Nate Williams e7e437dbfa - Do a bunch of gratuitous changes intended to make the code easier to
follow.
 * Rename/reorder all of the pccard structures, change many of the member
   names to be descriptive, and follow more closely other 'bus' drivers
   naming schemes.
 * Rename a bunch of parameter and local variable names to be more
   consistant in the code.
 * Renamed the PCCARD 'crd' device to be the 'card' device
 * KNF and make the code consistant where it was obvious.
 * ifdef'd out some unused code
1997-10-26 04:36:24 +00:00
Brian Somers 75240ed178 Cosmetic (no functional changes):
o   Add missing $Id$s
o   Move extern decls from .c -> .h files
o   Staticize
o   Remove #includes from .h files
o   style(9)ify includes
o   bcopy -> memcpy
    bzero -> memset
    bcmp -> memcmp
    index -> strchr
    rindex -> strrchr
o   Move timeout.h -> timer.h (making it consistent w/ timer.c)
o   Add -Wmissing-prototypes
1997-10-26 01:04:02 +00:00
Jordan K. Hubbard 217ebd5924 Fix typo in startup menu.
Submitted by:	max
1997-10-25 09:27:20 +00:00
Brian Somers 9a571ec74e sleep => nointr_sleep
usleep => nointr_usleep
(not just a #define)
Already done by: ache
1997-10-24 22:36:31 +00:00
Masafumi Max NAKANE cb48519127 Pkg_add refused to process package whose packing list contains @exec/@unexec
before any file names.  This change makes pkg_add to process those
packages if @exec/@unexec commands don't contain any %[fFB].  Also
enable @exec/@unexec that have %D if the installation prefix is known to
pkg_add.
Reviewed by:	jkh
1997-10-24 08:32:06 +00:00
Andrey A. Chernov 1f1d79b8fe Restore back non-interruptable sleep/usleep just redefine them to not
mix with standard library functions
1997-10-23 21:32:48 +00:00
Andrey A. Chernov cc2847b862 Remove private sleep/usleep hacks 1997-10-23 20:11:01 +00:00
Brian Somers 01db51af7a Fix various filter problems
PR:		4727
Submitted by:	Chiharu Shibata <chi@bd.mbn.or.jp>
1997-10-23 10:09:35 +00:00
Philippe Charnier 9cc5d92294 Use err(3). Add usage() and prototypes.
Hide reference to trsp(8) that does not exist.
1997-10-22 06:23:12 +00:00
Philippe Charnier 06457d2f32 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 Somers a9e8f80739 Fix HDLC logging (actually LogDumpBp()). It was only
outputting the first mbuf in the chain.
1997-10-22 01:22:51 +00:00
Peter Wemm 0c90be32da 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 Wemm 463fb43b0a 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
Philippe Charnier b8b7e105a9 Cosmetic in usage string. 1997-10-20 12:55:49 +00:00
Philippe Charnier d9b1bc7779 Use err(3). Change err(-1,... to err(1,... 1997-10-20 12:53:54 +00:00
Philippe Charnier 0fc00685c3 Use err(3). Remove progname. 1997-10-20 12:51:34 +00:00
Philippe Charnier 1c95916129 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
Philippe Charnier 40d3f8a9fc Fix usage in man page. Remove progname. 1997-10-20 12:44:53 +00:00
Philippe Charnier 51fc70b565 Typo. 1997-10-20 12:43:03 +00:00
Philippe Charnier 03690a84cd Hardcode progname in usage string. 1997-10-20 12:41:41 +00:00
Jordan K. Hubbard 38769fc189 Document 100Mbit media selection flag. 1997-10-20 08:11:25 +00:00
David Greenman c49424985a "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 Wunsch e91727715c 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
Jordan K. Hubbard 60ae49aa2a Fix disk counting bug.
Submitted by:	Arjan de Vet <Arjan.deVet@adv.IAEhv.nl>
1997-10-18 21:22:25 +00:00
Brian Somers 10cffc50d2 Add -redirect_port and -redirect_address to the
synopsis.
1997-10-18 16:31:28 +00:00
Joerg Wunsch 2cdfa5f477 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
Jordan K. Hubbard 940d89a9d5 - 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
Jordan K. Hubbard 47af563ed0 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 Wemm 43d887c508 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 Somers ee5c6273d7 Ask for VJ slot id compression by default. 1997-10-17 00:20:30 +00:00
Brian Somers 331953abc2 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 Wunsch 28185a1971 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
Philippe Charnier e015c87712 Use err(3). Add prototypes. 1997-10-15 06:43:54 +00:00
Philippe Charnier 619748d329 Use err(3). Rewrote man page in mdoc format. 1997-10-15 06:42:28 +00:00
Philippe Charnier 19112792f5 Add usage(). 1997-10-15 06:41:19 +00:00
Jordan K. Hubbard 382ac44b63 Fix various bogons reported in this PR.
PR:		4765
Submitted by:	fdiv
1997-10-15 04:37:26 +00:00
Brian Somers 30bbbd3edd 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
Jordan K. Hubbard 9addf1c150 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 Wunsch 83f31ab169 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
Jordan K. Hubbard 5b937d60ee Fix bogon I introduced while adding disks menu to label editor. 1997-10-14 14:41:17 +00:00
Jordan K. Hubbard 6ab2db5e53 Ask for extra confirmation if a newfs has been requested during
an upgrade.
PR:		3368
1997-10-13 17:32:29 +00:00
Jordan K. Hubbard 570f313ee4 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
Jordan K. Hubbard e70709ad1a Consolidate distribution flag checking code. 1997-10-13 12:12:14 +00:00
Jordan K. Hubbard 1b5a372ee6 Allow access to options editor from media screen (sometimes you need it
there!).
1997-10-13 11:45:36 +00:00
Jordan K. Hubbard 7e1ff66d01 Only need to call label editor for all drives. 1997-10-13 11:33:27 +00:00
Philippe Charnier 11588fbd01 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
Philippe Charnier 7f1550ed10 Use err(3). Sync usage string and man page. 1997-10-13 11:24:01 +00:00
Philippe Charnier 1e96bb57a6 Use err(3). Remove multiply defined Id string. 1997-10-13 11:22:39 +00:00
Philippe Charnier fdd839012a Remove multiply defined Id string. Hide sccsid string. 1997-10-13 11:18:53 +00:00