Commit Graph

4276 Commits

Author SHA1 Message Date
David E. O'Brien
74b4790de7 mkdosfs(1) is dead, refere to newfs_msdos(8) 1998-09-29 17:31:28 +00:00
Jordan K. Hubbard
50660db1a6 Add in a kludge for registering the "package" version of XFree86 so
various ports don't complain about it.  It also requires that the pkg
registration bits be stick into the Xbin tarball so that they'll be
present in /usr/X11R6/lib/X11/pkgreg.tar.gz.  The registration tarball
is removed upon first use to prevent it later spamming a genuine build
from ports if inadvertently extracted again.
1998-09-29 14:23:13 +00:00
Jordan K. Hubbard
5d20b9915f Update to match newest XFree86 naming conventions. 1998-09-29 07:27:33 +00:00
Jordan K. Hubbard
919b0d127e Always do fixups, even if some minor dist failed to install.
Noticed by:	luigi
1998-09-29 05:12:39 +00:00
Joseph Koshy
1c4d62951a `kern.maxproc' is not changeable using sysctl(1). Change examples
that show `kern.maxproc' being written.

PR:		docs/7978
Submitted by:	jlemon@americantv.com
1998-09-29 02:01:06 +00:00
Joseph Koshy
1504bb5cd9 Correct use of nonexistent `.SS' macro.
PR: 		docs/8039
Submitted by:	Issei Hirayama <iss@mail.wbs.ne.jp>
1998-09-29 01:42:07 +00:00
Jordan K. Hubbard
eb0ffee8a1 Remove support for floppy tape installs. I'm sorry, we're outta
space, and it's either this or the DOS installs.  I think that the
DOS installs are somehow more important. :)
1998-09-26 17:05:08 +00:00
Gary Palmer
028a80e4a8 Don't assume that we have extended modes on all platforms. 1998-09-24 01:36:36 +00:00
Jordan K. Hubbard
bf05096f52 MF22: Important fixes for loading XFree86 distributions I forgot to
merge after 2.2.7 (I was wondering why that bug looked so familiar!).
Also update some docs accordingly.
1998-09-23 12:13:51 +00:00
Kazutaka YOKOTA
cb1d2924c4 VESA BIOS support update in syscons.
- Accept generic video mode names: 80x25, 80x30, etc. Specific video
  mode names, VGA_80x25, VESA_132x25, are still accpeted too.
- Update the man page accordingly.
1998-09-23 10:00:15 +00:00
Kenneth D. Merry
bcc6a3da92 Change the devstat generation number from an int to a long. The int-sized
generation was causing unaligned access faults on the Alpha.

I have incremented the devstat version number, since this is an interface
change.  You'll need to recompile libdevstat, systat, iostat, vmstat and
rpc.rstatd along with your kernel.

Partially Submitted by:	Andrew Gallatin <gallatin@cs.duke.edu>
1998-09-20 00:11:23 +00:00
David E. O'Brien
2887f586f0 Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:14 +00:00
David E. O'Brien
be0cde6f10 Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:06 +00:00
Brian Somers
68b414d193 Revert SEE ALSO ordering to version 1.124
Patched correctly by: wosch
Blunder pointed out by: bde
1998-09-18 23:28:10 +00:00
Joseph Koshy
7ecd7a42c5 Fix inappropriate use of .Ql macro.
PR:		docs/7905
Submitted by:	kuma@jp.freebsd.org
1998-09-18 04:45:43 +00:00
Doug White
929cbbf2b6 Typo: hittab -> hitab 1998-09-17 09:51:15 +00:00
Poul-Henning Kamp
d80044954c Two patches from the HARP people:
Various Makefile related fixes.

-Wformat fixes.

Submitted by:	Mike Spengler <mks@networkcs.com>
1998-09-17 09:35:02 +00:00
Doug Rabson
0b0efca2f4 Don't build ncrcontrol on alpha, its obsoleted by cam. 1998-09-17 08:55:02 +00:00
Justin T. Gibbs
c4ea283d54 Obsoleted by CAM. 1998-09-17 03:54:31 +00:00
Brian Somers
1595bacdf6 Sync with OpenBSD ifdefs 1998-09-17 00:45:27 +00:00
Brian Somers
0122d745f5 Alphabeticalize SEE ALSO section. 1998-09-17 00:45:12 +00:00
Kenneth D. Merry
e4d7fe0209 Fix style bugs introduced by Matt Dillon in his previous, unreviewed
commit.

Reviewed by:	gibbs
1998-09-16 23:14:47 +00:00
Matthew Dillon
2fa4aaa07a Fixed segfault when more then four devices are specified (improper free),
fixed variable so all manually-specified devices are shown rather then
    cutting the display off at 3, fixed formatting for msps when msps is
    larger then 100 (it was blowing the columner display output before),
    added -K option to make blk count (-oIK) force a 1K block size (to conform
    more closely to systat, vmstat definition of blocksize).
1998-09-16 18:03:44 +00:00
Andrzej Bialecki
8a8d9b082f Add new '-i' option to usage(). 1998-09-16 13:55:26 +00:00
Doug Rabson
870b8846f4 Snip out some dead code from the alpha part. 1998-09-16 09:34:07 +00:00
Doug Rabson
183b47f7bb Add some things to the alpha build. 1998-09-16 09:33:23 +00:00
John Hay
9fe6a96a87 Update the man page to match the rest of crunchide. 1998-09-16 09:26:14 +00:00
Jordan K. Hubbard
0d4651753d Make SCSI stuff truly optional.
Noticed by:	jhay
1998-09-16 09:25:20 +00:00
Bill Paul
4b692ba7f9 Apply patch from Stefan Esser to close PR #7941: add code to handle
dynamic loading of libdes on ELF systems. The patch looks correct to
me.
1998-09-16 01:50:04 +00:00
Justin T. Gibbs
2f8aad8b31 Bump config version. Also mention that even after rebuilding a new
config, you may need to resynchronize your config file with syntax
or name changes documented in GENERIC or LINT.
1998-09-15 21:07:54 +00:00
Bill Fenner
8afdc82db6 Update for tcpdump 3.4 1998-09-15 19:47:58 +00:00
Poul-Henning Kamp
a6f32b0c35 Remove blank after -I 1998-09-15 19:16:33 +00:00
Jordan K. Hubbard
6aef63e85c Remove gratuitous (and bad) spaces in -I args. 1998-09-15 19:01:46 +00:00
Jordan K. Hubbard
c4fab580ab Add -lmd 1998-09-15 18:57:43 +00:00
Søren Schmidt
a8445737e7 Add VESA support to syscons.
Kazu writes:

The VESA support code requires vm86 support. Make sure your kernel
configuration file has the following line.
        options "VM86"
If you want to statically link the VESA support code to the kernel,
add the following option to the kernel configuration file.
        options "VESA"

The vidcontrol command now accepts the following video mode names:
VESA_132x25, VESA_132x43, VESA_132x50, VESA_132x60, VESA_800x600

The VESA_800x600 mode is a raster display mode. The 80x25 text will
be displayed on the 800x600 screen. Useful for some laptop computers.

vidcontrol accepts the new `-i <info>' option, where <info> must be
either `adapter' or `mode'.  When the `-i adapter' option is given,
vidcontrol will print basic information (not much) on the video
adapter. When the `-i mode' option is specified, vidcontrol will
list video modes which are actually supported by the video adapter.

Submitted by:   Kazutaka YOKOTA yokota@FreeBSD.ORG
1998-09-15 18:16:39 +00:00
Brian Somers
426281551d Correct ua_ntohs. 1998-09-15 17:22:20 +00:00
Poul-Henning Kamp
3fbd04e6e6 -I ${.OBJDIR} needed to pick up the yacc generated include file. 1998-09-15 15:25:21 +00:00
Poul-Henning Kamp
3f8c45065e (this is an extract from src/share/examples/atm/README)
===================================
                HARP  |  Host ATM Research Platform
                ===================================

                              HARP 3

What is this stuff?
-------------------
The Advanced Networking Group (ANG) at the Minnesota Supercomputer Center,
Inc. (MSCI), as part of its work on the MAGIC Gigabit Testbed, developed
the Host ATM Research Platform (HARP) software, which allows IP hosts to
communicate over ATM networks using standard protocols.  It is intended to
be a high-quality platform for IP/ATM research.

HARP provides a way for IP hosts to connect to ATM networks.  It supports
standard methods of communication using IP over ATM.  A host's standard IP
software sends and receives datagrams via a HARP ATM interface.  HARP provides
functionality similar to (and typically replaces) vendor-provided ATM device
driver software.

HARP includes full source code, making it possible for researchers to
experiment with different approaches to running IP over ATM.  HARP is
self-contained; it requires no other licenses or commercial software packages.

HARP implements support for the IETF Classical IP model for using IP over ATM
networks, including:

   o IETF ATMARP address resolution client
   o IETF ATMARP address resolution server
   o IETF SCSP/ATMARP server
   o UNI 3.1 and 3.0 signalling protocols
   o Fore Systems's SPANS signalling protocol

What's supported
----------------
The following are supported by HARP 3:

   o ATM Host Interfaces
        - FORE Systems, Inc. SBA-200 and SBA-200E ATM SBus Adapters
        - FORE Systems, Inc. PCA-200E ATM PCI Adapters
        - Efficient Networks, Inc. ENI-155p ATM PCI Adapters

   o ATM Signalling Protocols
        - The ATM Forum UNI 3.1 signalling protocol
        - The ATM Forum UNI 3.0 signalling protocol
        - The ATM Forum ILMI address registration
        - FORE Systems's proprietary SPANS signalling protocol
        - Permanent Virtual Channels (PVCs)

   o IETF "Classical IP and ARP over ATM" model
        - RFC 1483, "Multiprotocol Encapsulation over ATM Adaptation Layer 5"
        - RFC 1577, "Classical IP and ARP over ATM"
        - RFC 1626, "Default IP MTU for use over ATM AAL5"
        - RFC 1755, "ATM Signaling Support for IP over ATM"
        - RFC 2225, "Classical IP and ARP over ATM"
        - RFC 2334, "Server Cache Synchronization Protocol (SCSP)"
        - Internet Draft draft-ietf-ion-scsp-atmarp-00.txt,
                "A Distributed ATMARP Service Using SCSP"

   o ATM Sockets interface
        - The file atm-sockets.txt contains further information

What's not supported
--------------------
The following major features of the above list are not currently supported:

        o UNI point-to-multipoint support
        o Driver support for Traffic Control/Quality of Service
        o SPANS multicast and MPP support
        o SPANS signalling using Efficient adapters

This software was developed under the sponsorship of the Defense Advanced
Research Projects Agency (DARPA).

Reviewed (lightly) by:	phk
Submitted by:	Network Computing Services, Inc.
1998-09-15 11:44:44 +00:00
Justin T. Gibbs
eeda31acc3 Add support for the 'V'ersion rmt command. 1998-09-15 10:30:25 +00:00
Justin T. Gibbs
9cbac834b9 Build CAM hardwiring info. 1998-09-15 10:29:32 +00:00
Justin T. Gibbs
f0de228f7a Ncrcontrol is no more. 1998-09-15 10:29:18 +00:00
Justin T. Gibbs
c39581f667 Device name cleanup for CAM. 1998-09-15 10:24:46 +00:00
Poul-Henning Kamp
1820df7a2d Add new files for HARP3
Host ATM Research Platform (HARP), Network Computing Services, Inc.
This software was developed with the support of the Defense Advanced
Research Projects Agency (DARPA).
1998-09-15 08:23:17 +00:00
Justin T. Gibbs
06915ea69a Revive PCIConf.
Submitted by:	"Kenneth D. Merry" <ken@plutotech.com>
1998-09-15 08:21:13 +00:00
Justin T. Gibbs
8d2fbde504 Update system to new device statistics code.
Submitted by:	"Kenneth D. Merry" <ken@plutotech.com>
1998-09-15 08:16:45 +00:00
Jordan K. Hubbard
355150a489 Use a more reasonable default umask in case the root umask is too
fascist.
PR:		4014
1998-09-14 19:22:59 +00:00
Jordan K. Hubbard
04f80d35bf Fix printf warnings and add a few casts.
PR:		7560
Submitted by:	Stefan Eggers <seggers@semyam.dinoco.de>
1998-09-14 19:14:11 +00:00
Jordan K. Hubbard
2ec21a68f0 Teach crunch about an elf/a.out world.
Submitted by:	jhay
1998-09-14 11:35:32 +00:00
Jordan K. Hubbard
6cd35234a0 Assume ELF-style symbol names now.
Submitted by:	jhay
1998-09-14 11:33:38 +00:00
Bill Paul
a5be897656 Add device list entries for the tl and xl PCI ethernet devices. 1998-09-13 16:45:10 +00:00
Robert Nordier
38c931abc7 Enable client entry point support. 1998-09-13 13:28:07 +00:00
Robert Nordier
d60dc4ef43 Activate btxld. 1998-09-12 06:58:18 +00:00
Robert Nordier
9c9f4492f8 btxld is a link editor for BTX (boot extender) clients, supporting ELF,
a.out, and binary formats.
1998-09-12 06:49:48 +00:00
Garrett Wollman
90cf373d9b Fix additional warnings. Remove -Werror, since some people have complained
about it.

PR:		7886
Submitted by:	Stefan Eggers <seggers@semyam.dinoco.de> (partially)
1998-09-11 18:49:33 +00:00
Jordan K. Hubbard
375ca45770 correct usage of cleanup() everywhere - this became bogus when the warnx/errx
stuff was added and nobody seems to have noticed. :)
Noticed by:	Josh MacDonald <jmacd@paris.CS.Berkeley.EDU>
1998-09-11 07:26:58 +00:00
Kazutaka YOKOTA
d30ada6d4b The fix in the previous commit was not sufficient; the upper 24 bits
of an int argument still contained garbage.
Pointed out by: bde
PR: bin/7799
1998-09-10 12:20:09 +00:00
Tor Egge
b45187b7cc Don't allow longjmp into a no longer valid stack frame. 1998-09-10 02:01:06 +00:00
David E. O'Brien
c4e8b7e41e I don't want to be the only one to use `cut''. Use `sed'' instead. 1998-09-10 00:27:57 +00:00
Brian Somers
e9af5a192a Reflect reality 1998-09-09 22:51:49 +00:00
David E. O'Brien
bc4d911b88 Fully use our own generated files for NFSv3. 1998-09-09 16:11:01 +00:00
Daniel O'Callaghan
087572a597 Fix typos. 1998-09-09 05:09:55 +00:00
Brian Somers
7ac9884afe Initialise lcp::his_mru to the ``set mtu'' value if it's less
than DEF_MRU, allowing our interface mtu to be decreased
despite negotiation with the peer.
1998-09-09 00:03:09 +00:00
Søren Schmidt
1235adff33 Add 'blank' and 'nextwriteable' commands for atapi CD-R/RW support. 1998-09-08 20:51:24 +00:00
Jordan K. Hubbard
5d7e166f85 Whoops, update the makefile too while I'm at it. 1998-09-08 11:44:37 +00:00
Jordan K. Hubbard
dac9272725 Go back to using MSDOSFS instead of Robert Nordier's stand-alone DOS
library.  I have to include MSDOSFS on the boot floppy anyway (so I can
read DOS floppies in a few other contexts) and since both -stable and
-current MSDOSFS handle long filenames, I'm OK on that now.  Should
save about 10K of space.
1998-09-08 11:44:08 +00:00
Jordan K. Hubbard
aa75b0b778 Make totally sure that we have the latest 1.7 version of booteasy
(it looked like it already to me, but the PR gives me cause to wonder).
PR:		2514
1998-09-08 10:46:40 +00:00
Jordan K. Hubbard
8c26c30381 o Set paths internally for pkg_add for tools we might want to invoke.
o Fix bogus suffix handling.
o Tell user when an FTP url is being xferred rather than being silent.
  This sort of violates "the unix way" but it stops people from whacking
  ^C when they think it's hung, too.  Sometimes visual indication of
  success is important.  Doesn't spit out anything if not on a TTY.
1998-09-08 10:42:26 +00:00
Jordan K. Hubbard
4a641d8eeb Fix bogus suffix stripping to be less naive.
PR:		3418
Noted by:	pst
1998-09-08 03:15:41 +00:00
Jordan K. Hubbard
62203a9ce5 Fail as documented when a dependency cannot be found
PR:		7318
Submitted by:	djv@bedford.net
1998-09-08 03:02:45 +00:00
John Birrell
db36ef8f02 Change MACHINE to MACHINE_ARCH to support MACHINE=pc98. 1998-09-05 08:22:30 +00:00
David E. O'Brien
72c53665f2 With the change to the 4.4Lite2 mount interface we don't need special
conf files.
1998-09-05 00:58:37 +00:00
Brian Somers
9e8ec64b6b Don't cast potentially unaligned addresses to pointers to
non-char types on non-i386 architectures.
On Alpha and Sparc we get a bus error if we do.
1998-09-04 18:26:00 +00:00
Warner Losh
94d1a20141 o Enable standby mode in apm utility. You need a newer kernel for this
functionality to work (however, the kernel changes were committed
  to current at 1998/07/05 23:29:11 PDT).
o Enable setting of a timer for later wakeup.  Note, not all APM
  BIOSes support this for all modes (mine doesn't support waking up on
  a timer from standby mode).
o Print out the APM capabilities, as reported by the BIOS.
o Report wake on ring indication.  No way to enable/disable this, but
  it is reported.
o update man page with above
o The output of this command has changed, so if you have a script that
  parses its output, then you may need to rewrite it slightly.
o The code attempts to deal with older kernels than July 5, 1998, but
  that part of the code isn't well tested.
1998-09-04 16:08:54 +00:00
Kazutaka YOKOTA
afab29051f Fix uninitialized variable.
PR: bin/7799
Submitted by: Sheldon Hearn (axl@iafrica.com)
1998-09-04 10:15:48 +00:00
David E. O'Brien
89fb7161b9 Don't utilize the pre-4.4Lite2 INITMOUNTNAMES compatibility cruft.
(bde will remove it soon)
1998-09-04 08:55:29 +00:00
Andrey A. Chernov
aa578ab67a add missing sys/queue.h 1998-09-04 07:48:53 +00:00
Nicolas Souchu
8d8b289af3 Reviewed by: Doug Rabson
Submitted by:	nsouch
'local' token added to support new bus architecture .c files generated
by .m files.
1998-09-03 21:03:43 +00:00
Brian Somers
9de9848b61 Install amd.conf 1998-09-02 21:09:14 +00:00
Jordan K. Hubbard
45878e4d34 Silence potentially bogus warning. 1998-09-01 06:58:11 +00:00
Jordan K. Hubbard
119cff04ef Don't set the router_enable variable by default. 1998-08-31 17:47:52 +00:00
Wolfram Schneider
acd8019083 Sort cross references. 1998-08-31 16:41:09 +00:00
Brian Somers
c9a426e9e1 Remove OpenBSD build support - let the Makefile vary per
OS rather than making it a mess and potentially screwing
up cross builds.
Suggested by: bde
1998-08-31 12:14:32 +00:00
Jordan K. Hubbard
87757a15d3 Accept gateway value of NO 1998-08-31 09:02:03 +00:00
Joseph Koshy
06f64964ea The `group{del,mod,show}' take require a '[group|gid]' argument.
PR: docs/7788
1998-08-31 04:49:04 +00:00
Brian Somers
e8ede338eb Add OpenBSD build support 1998-08-30 23:53:25 +00:00
Brian Somers
09bc8205a9 Add OpenBSD build support
Remove -Wmissing-prototypes
1998-08-30 23:53:00 +00:00
Gary Palmer
0451ac36bd Split lines into one subdir per line. 1998-08-30 20:58:16 +00:00
Gary Palmer
971104bfb7 Make pstat machine-independant again 1998-08-30 20:15:09 +00:00
Gary Palmer
dd6303bd2a DPDADD -> DPADD 1998-08-30 19:59:53 +00:00
Gary Palmer
1f4dcd683a Fix parallel makes falling over on xwhere 1998-08-30 19:59:35 +00:00
Joseph Koshy
80c936833f Install ipmon.8 in man8/ not man1/.
PR: 7778
Submitted by: horikawa@jp.freebsd.org
1998-08-30 04:48:00 +00:00
Brian Somers
a804ec2201 Don't use `-width 20'', it's misleading. Use `-width XX''
instead.
1998-08-29 23:02:45 +00:00
Brian Somers
7fdd475323 Don't claim that the alias library isn't loaded until
used.
1998-08-29 23:02:43 +00:00
Brian Somers
131ef891c7 Add the following word substitutions when running a shell
command:
  AUTHNAME:     The local authname
  ENDDISC:      The local endpoint discriminator
  LABEL:        The configuration label in use
  PEER_ENDDISC: The peers endpoint discriminator
  USER:         The peers authname
1998-08-29 23:02:42 +00:00
Brian Somers
080a2247c2 Allow the use of HISADDR, MYADDR and INTERFACE as words
embedded in the args of a "shell" or "!bg" command, and
only accept upper case versions.

We can now do:
  ! sh -c "ifconfig INTERFACE >/tmp/myfile"
1998-08-29 23:02:39 +00:00
Brian Somers
e227fded3f Mention `cbcp'' in `set log ?'' 1998-08-29 18:37:02 +00:00
Jordan K. Hubbard
ccee8446a8 Add /usr/lib to the list of things to chflag before upgrading.
Noticed by:	Blaz Zupan <blaz@gold.amis.net>
1998-08-28 01:03:41 +00:00
Jordan K. Hubbard
47d8228368 Fix recursive package add problem (for on-disk package files) I introduced
with the change in semantics to make_playpen().  Now package dependencies
more than 2 levels deep should work again.  Pass the hat.
1998-08-27 14:59:55 +00:00
David E. O'Brien
f4a9d83b40 bmake framework for contrib_amd 1998-08-27 08:09:42 +00:00
David E. O'Brien
87c1e71689 Make way for the contrib_amd bmake frame work. 1998-08-27 08:03:35 +00:00
Jordan K. Hubbard
0fc1c5c44a Catch more cases where the CDROM has been mounted. 1998-08-27 00:50:14 +00:00
Brian Somers
37d818fb21 Fix some OpenBSD/alpha warnings 1998-08-26 18:07:57 +00:00
Brian Somers
653ead3365 Remove redundant include file. 1998-08-26 17:39:38 +00:00
Brian Somers
5a72b6eda3 Put the IP buffer queues into struct ipcp.
Forgotten by: me
1998-08-26 17:39:37 +00:00
Brian Somers
4a7a066106 The protocol must be in network byte order (OpenBSD only). 1998-08-26 17:39:35 +00:00
Joseph Koshy
842d977707 Remove identity crisis in ispcvt(8) man page. Include reference to
ispcvt(8) in pcvt(4).

PR: docs/7743
Submitted by: <k-horik@yk.rim.or.jp>
1998-08-26 02:46:24 +00:00
Julian Elischer
352ef9ec55 Submitted by: archie@whistle.com
quieten cc -Wall
1998-08-25 21:16:47 +00:00
Brian Somers
f80e09b53a Mention what ``set authname'' does in -direct mode. 1998-08-25 17:48:55 +00:00
Brian Somers
6f8e9f0a8a If we've got a full output buffer queue and cannot send
anything for two mintues (see ``set choked'' and ``show
bundle''), nuke the ip, mp and link level buffer queues.

This should fix problems where ``ppp -auto'' seems to stop
responding after failing to connect to the peer a few times.
1998-08-25 17:48:43 +00:00
Doug Rabson
dbf9b92f80 Change length arguments to sysctl to size_t. 1998-08-25 07:38:19 +00:00
Brian Somers
9773f8c0c8 Consolidate the two malloc()s that are done when allocating
an mbuf.
1998-08-21 18:10:15 +00:00
Brian Somers
3f37462e61 Make ``show mem'' display the number of packets allocated as well as the
number of octets.
1998-08-21 18:09:57 +00:00
Brian Somers
b538df1666 Fix ``lp=port@machine'' syntax and mention it in printcap(5). 1998-08-21 18:08:46 +00:00
John Birrell
1be40924a9 Build kvm_mkdb and natd on alpha too. 1998-08-20 21:51:35 +00:00
Bruce Evans
f6f60773dd Increased column widths for tty input watermark fields so that watermarks
for 11520-byte buffers for 115200 bps are displayed properly.

Fixed my recent printf format error fixes.  %p is almost unusable
in tables, since its width and format are unknown/machine-dependent.
Use %8lx and cast pointers to (u_long)(void*).  This is still quite
broken, e.g., for machines with 64-bit pointers.
1998-08-19 01:32:28 +00:00
John Birrell
4b82d708ae Bruce says that %p is intended to format void pointers only. So use a void *
cast. There are pointers and then there are _pointers_. One day I'll
figure out which are which. 8-)
1998-08-18 02:10:05 +00:00
Brian Somers
b6f5f44231 Destroy any existing chat timeouts in datalink_ComeDown()
If we're told to close/down while in DIAL or LOGIN state,
we don't want to keep our timeout running :-/
1998-08-18 00:53:48 +00:00
Wolfram Schneider
10e41acac5 Removing -batch option from adduser. Adduser was written as
an *interactive* command for newbies. The pw(8) does now a much better
job for adding users from command line.  Also, the -batch option is
not well tested, buggy and unsupported.
1998-08-17 18:50:29 +00:00
Doug Rabson
744857bc1c Update to use the new elf headers. 1998-08-17 08:47:19 +00:00
Brian Somers
fc254be9bd Don't lose an allocated pointer if realloc() fails.
Free it instead.
Pointed out by: Theo de Raadt
1998-08-17 06:42:40 +00:00
John Birrell
44ab8b53f2 Remove a cast and print the pointer value with %p instead of %x. 1998-08-17 06:16:59 +00:00
John Birrell
9d1135a9e1 Ad #include stdlib.h to get the prototype for malloc(). 1998-08-17 06:05:55 +00:00
Gary Palmer
67e55fa568 We need config to build on the alpha also ... kinda difficult to build
kernels without it :)
1998-08-17 05:48:22 +00:00
Poul-Henning Kamp
c7fb30fbe4 /usr/sbin/spkrtest and /usr/sbin/vidfont (aka kbdmap) use very
predictable /tmp files (static prefix + process number) which are
overwritten blindly, and follow links.

These workarounds change it from a process number to a very random
(9999 with tons of decimal places) number.

PR:		7565
Submitted by:	Thomas Stromberg <tstrombe@rtci.com>
1998-08-14 06:26:58 +00:00
Brian Somers
f841c4e56e Be careful about using ``.Bd -literal'' as groff sometimes keeps
the `-literal' after the closing .Ed.
Where this happens, use ``.Bd -unfilled'' with ``.It Li'' to dodge
the problem - it looks better too.
Problem reported by: Dom Mitchell <dom@phmit.demon.co.uk>
1998-08-11 18:59:36 +00:00
Bill Paul
9e8aac2526 DNS lookups for partially qualified hosts didn't work right. I was trying
to be clever by avoiding the 'check all domains in the search list'
cycle in certain cases, but this would lose if handed a name like
"foo.ctr" which refers to an FQDN of "foo.ctr.columbia.edu". If
"columbia.edu" is in the search list in /etc/resolv.conf then the
DNS lookup code should resolve it, but it didn't.
1998-08-10 19:43:33 +00:00
Brian Somers
7955cdca14 `dns' option defaults to disabled, not enabled. 1998-08-09 23:40:31 +00:00
Brian Somers
0f5ecc8b46 Add missing .El 1998-08-09 17:17:23 +00:00
Brian Somers
74e4a8dab7 /var/run/tunX.pid is created regardless of ppps mode.
Spotted by: Alex <garbanzo@hooked.net>
1998-08-09 17:17:10 +00:00
Brian Somers
44cae95d95 Use IFT_PPP from net/if_types.h rather than hard-coding it. 1998-08-09 16:41:01 +00:00
Brian Somers
bf1d3ff614 When entering ``term'' mode, don't output any messages until
the device is successfully opened.  If we fail to open it,
mention the fact.
Also go back into command mode as soon as the device is closed
rather than waiting for the user to type something before noticing.
1998-08-09 15:34:11 +00:00
Brian Somers
2a63083586 Don't forget to call PacketAliasInit().
PR:	7515
1998-08-09 09:13:54 +00:00
Brian Somers
0581dfeff0 Missed these... 1998-08-07 18:44:16 +00:00
Brian Somers
92b0955883 o Support callback types NONE, E.164, AUTH and CBCP.
(see the new ``set callback'' and ``set cbcp'' commands)
o Add a ``cbcp'' log level and mbuf type.
o Don't dump core when \T is given in ``set login'' or
  ``set hangup''.
o Allow ``*'' and blanks as placeholders in ppp.secret and
  allow a fifth field for specifying auth/cbcp dialback
  parameters.
o Remove a few extraneous #includes
o Define the default number of REQs (restart counter) in defs.h
  rather than hardcoding ``5'' all over the place.
o Fix a few man page inconsistencies.
1998-08-07 18:42:51 +00:00
John Birrell
170812ea7a Add snprintf.c to SRCS so that the function quad_to_string exists. The
snprintf function itself is still #ifdef'd out by conf.h. This allows this
program to link when compiled without optimization. With optimization,
the call to quad_to_string gets removed by the compiler. Unfortunately
the linker still links in the quad_to_string function even though it
isn't called. 8-(
1998-08-06 23:01:49 +00:00
Eivind Eklund
60175a9772 Don't mess around in OBJDIR for includes, and remove some warnings. 1998-08-06 21:19:11 +00:00
Kazutaka YOKOTA
b897510f7a The control code ^_ (0x1f) should really be called "us" rather than "ns".
In the mean time, accept both "us" and "ns" in the keymap file as ^_
for the compatibility with the existing keymap files.
1998-08-06 09:44:23 +00:00
Eivind Eklund
b755b88510 Update DPT driver from 1.4.3 to 1.4.5
Submitted by: Simon Shapiro <shimon@simon-shapiro.org>
1998-08-05 00:54:38 +00:00
Nate Williams
5e91a8ac91 - On second thought, attempt to get the read-only lock, but don't
consider it a exit failure if it doesn't work.  This means that root
  processes can safely get the lock, but normal processes can still use
  the 'pw' utility to get information (which may change out from under
  them.)
1998-08-04 22:31:26 +00:00
Nate Williams
2a6797aae2 - Removed read-only lock from 'pw'. This removes portions of the FIX
from PR/6787, but allow non-root users to use pw to get password
  information.  However, this should be safe since the fixes for
  disallowing multiple instances from modifying the DB are still intact.

Bug noted by:	 dima@best.net (Dima Ruban)
1998-08-04 22:20:11 +00:00
Peter Wemm
22b78769f8 Remove old sendmail (to the Attic) 1998-08-04 16:35:57 +00:00
Peter Wemm
943c997663 Descend into makemap/mailstats/praliases when building sendmail. 1998-08-04 15:28:25 +00:00
Peter Wemm
9b89318646 Use sendmail-8.9.1 makemap 1998-08-04 15:27:40 +00:00
Peter Wemm
2810afd3fb Use sendmail-8.9.1 praliases 1998-08-04 15:26:57 +00:00
Peter Wemm
205c3be48b Build sendmail-8.9.1 makemap. 1998-08-04 15:25:32 +00:00
Peter Wemm
22751f562c Connect up sendmail-8.9.1 1998-08-04 15:24:04 +00:00
Peter Hawkins
b69602f3bb PR: 7489
Submitted by:	Jos.Backus@nl.origin-it.com
Correct execvp fail message in current
1998-08-04 14:33:42 +00:00
Kazutaka YOKOTA
28d2c691c0 Added the `saver' key definition. The saver key will activate the screen
saver if one is loaded.
1998-08-03 11:33:22 +00:00
Kazutaka YOKOTA
2aa0aafb2d - Set bell pitch in hertz and duration in msecs.
The change corresponds to syscons.c 1.268.

PR: bin/6037
Submitted by: Kouichi Hirabayashi (kh@eve.mogami-wire.co.jp)
1998-08-03 09:12:39 +00:00
Bruce Evans
ab84534772 Fixed printf format errors. 1998-08-02 16:06:35 +00:00