Commit Graph

3916 Commits

Author SHA1 Message Date
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
peter
900b5f2036 Use sendmail-8.9.1 makemap 1998-08-04 15:27:40 +00:00
peter
76ab1fe799 Use sendmail-8.9.1 praliases 1998-08-04 15:26:57 +00:00
peter
d273a567f4 Build sendmail-8.9.1 makemap. 1998-08-04 15:25:32 +00:00
peter
5ff8a9c5d6 Connect up sendmail-8.9.1 1998-08-04 15:24:04 +00:00
thepish
3db6cd5ed0 PR: 7489
Submitted by:	Jos.Backus@nl.origin-it.com
Correct execvp fail message in current
1998-08-04 14:33:42 +00:00
yokota
d10afb86ab 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
yokota
b65fa41462 - 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
bde
2b7681ae86 Fixed printf format errors. 1998-08-02 16:06:35 +00:00
bde
442c2c2717 Fixed printf format errors. 1998-08-02 14:41:34 +00:00
brian
71c999c691 PR: 7469
Be careful that the current or next prompt in the list
that we're iterating through doesn't get changed by
descriptor_Read().
1998-08-02 13:01:16 +00:00
brian
a53cc2058a On receipt of a sig 15, do a full bundle_Close() even if
our current phase is PHASE_DEAD as it's possible that there
are links stuck in OPENING waiting for a redial timer.
1998-08-02 06:56:40 +00:00
brian
5f307ef947 When we receive an LCP config REQ in Opened state,
do TLD *before* processing the config request as
TLD initialises the peers LCP values.

It's strange that an IRC isn't required here - but
I'll bow to the wisdom of the rfc.
1998-08-01 01:02:41 +00:00
brian
3c26230087 Cosmetic: Diagnostic wording (Unknown -> Unexpected) 1998-08-01 01:02:12 +00:00
brian
2536be2c5e Always dial immediately on `open'', dial'' and `call''.
We don't need a ``!''.
1998-07-31 19:50:24 +00:00
phk
94a743b98c ndc hardcodes 'named' instead of using $named_program from rc.conf
PR:		7425
Reviewed by:	phk
Submitted by:	frf <frf@xocolatl.com>
1998-07-31 08:47:16 +00:00
jkoshy
62ba33d1b9 Document meanings of flags to the -r and -s options. 1998-07-30 04:17:12 +00:00
brian
2fd30f7a33 Allow an optional ``!'' in the open, dial & call commands.
When used, the redial timer is ignored and the modem is
opened immediately.
1998-07-29 18:21:17 +00:00
brian
24b8c75b10 Use tcsetattr TCSANOW instead of TCSADRAIN so that dedicated mode doesn't
end up blocking indefinitely when there's no carrier.
1998-07-29 18:20:53 +00:00
joerg
8115016ee0 Document the kern.logsigexit sysctl variable (sort of).
Reminded by:	bde
1998-07-29 08:30:37 +00:00