Commit Graph

3935 Commits

Author SHA1 Message Date
brian
6251de01bc Don't claim that the alias library isn't loaded until
used.
1998-08-29 23:02:43 +00:00
brian
5726073c22 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
9afa25380b 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
9c2f32d612 Mention `cbcp'' in `set log ?'' 1998-08-29 18:37:02 +00:00
jkh
460572da05 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
jkh
a4a5649dd5 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
obrien
efcd5d49de bmake framework for contrib_amd 1998-08-27 08:09:42 +00:00
obrien
6a6b05e7b9 Make way for the contrib_amd bmake frame work. 1998-08-27 08:03:35 +00:00
jkh
8fc30b17db Catch more cases where the CDROM has been mounted. 1998-08-27 00:50:14 +00:00
brian
ca7940c1ce Fix some OpenBSD/alpha warnings 1998-08-26 18:07:57 +00:00
brian
ee2bb826f4 Remove redundant include file. 1998-08-26 17:39:38 +00:00
brian
84cbea149e Put the IP buffer queues into struct ipcp.
Forgotten by: me
1998-08-26 17:39:37 +00:00
brian
23c9a59baa The protocol must be in network byte order (OpenBSD only). 1998-08-26 17:39:35 +00:00
jkoshy
9c450dc29d 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
837c547de1 Submitted by: archie@whistle.com
quieten cc -Wall
1998-08-25 21:16:47 +00:00
brian
74a5e42993 Mention what ``set authname'' does in -direct mode. 1998-08-25 17:48:55 +00:00
brian
adbeaf54b4 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
dfr
6b5c3784cd Change length arguments to sysctl to size_t. 1998-08-25 07:38:19 +00:00
brian
9ab7584c37 Consolidate the two malloc()s that are done when allocating
an mbuf.
1998-08-21 18:10:15 +00:00
brian
a2d034b76c 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
f3b02efb97 Fix ``lp=port@machine'' syntax and mention it in printcap(5). 1998-08-21 18:08:46 +00:00
jb
4426287d2b Build kvm_mkdb and natd on alpha too. 1998-08-20 21:51:35 +00:00
bde
4f9cf53f2a 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
jb
1397d65617 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
b1c88fd91a 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
wosch
8a2ac07335 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
dfr
a6a6acddcf Update to use the new elf headers. 1998-08-17 08:47:19 +00:00
brian
a33d60d5f0 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
jb
30d13525cd Remove a cast and print the pointer value with %p instead of %x. 1998-08-17 06:16:59 +00:00
jb
1c9636c592 Ad #include stdlib.h to get the prototype for malloc(). 1998-08-17 06:05:55 +00:00
gpalmer
184d9410c4 We need config to build on the alpha also ... kinda difficult to build
kernels without it :)
1998-08-17 05:48:22 +00:00
phk
85e3e12f5f /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
8ee6e5166c 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
wpaul
5baabbaea1 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
a58358059f `dns' option defaults to disabled, not enabled. 1998-08-09 23:40:31 +00:00
brian
8c84344049 Add missing .El 1998-08-09 17:17:23 +00:00
brian
0338106858 /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
8db4e10f56 Use IFT_PPP from net/if_types.h rather than hard-coding it. 1998-08-09 16:41:01 +00:00
brian
430a0b1177 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
fc414f8bc7 Don't forget to call PacketAliasInit().
PR:	7515
1998-08-09 09:13:54 +00:00
brian
2dd00704c3 Missed these... 1998-08-07 18:44:16 +00:00
brian
38362b7e67 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
jb
51dca9e284 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
f6bf25f130 Don't mess around in OBJDIR for includes, and remove some warnings. 1998-08-06 21:19:11 +00:00
yokota
cd81c89e40 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
c010857f2c 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
be1f7e24d7 - 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
b45dd84cc0 - 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
64535f5b4a Remove old sendmail (to the Attic) 1998-08-04 16:35:57 +00:00
peter
8ae5e634c3 Descend into makemap/mailstats/praliases when building sendmail. 1998-08-04 15:28:25 +00:00