Commit Graph

3112 Commits

Author SHA1 Message Date
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
jkh
468930a717 Now that nested menus work properly, stop using the kludged-up
DITEM_RECREATE flag.
1997-10-12 12:11:14 +00:00
max
1dec1c3d6b Typo fix. 1997-10-12 11:51:25 +00:00
brian
be5e3ab6be Cosmetic: Mention that ppp is suspending before
executing a "shell" command.
1997-10-12 01:49:37 +00:00
peter
7fdb874d2e Give PPP_FILTER a whirl. 1997-10-10 11:59:02 +00:00
peter
017c612e63 Revive the connect-max-attempts option. When running in persist mode,
this limits the number of retries before aborting.  This can save
expensive phone bills. :-)  See rev 1.6 of main.c for original.
1997-10-10 09:28:38 +00:00
charnier
ad303c08c1 Use err(3). Silent -Wall. 1997-10-10 06:31:07 +00:00
peter
510a2b6c88 Revive rev 1.10, which documents the secrets files overrides for the
local:remote IP addresses on the command line or the options.ttynn files.
1997-10-10 06:30:08 +00:00
charnier
b93d92dbcd Staticize usage(). Cosmetics. 1997-10-10 06:27:07 +00:00
charnier
c4198a70c7 Use err(3) instead of local redefinition. Add rcsid string. 1997-10-10 06:23:42 +00:00
peter
272f35378b Revive some things that were lost during the ppp-2.3.1 update.
- (see auth.c rev 1.13) allow the pap/chap secrets file to specify an
override for the otherwise hard coded IP addresses.  This allows specific
users to dial in on a rotary which would otherwise get a dynamic address
forced to authenticate and get their own fixed addresses.
- (see options.c rev 1.9) recognize the old dns1 and dns2 options.  This
is a hack (TM). :-)
1997-10-10 06:02:57 +00:00
wpaul
8361cef2ba Fix bug in __yp_ping(): keep proper count of assigned request structures.
The test to see if a request struct had been assigned after looping
though the server list was bogus.

Submitted by: "Erik E. Rantapaa" <rantapaa@math.umn.edu>
1997-10-09 20:29:39 +00:00
charnier
1c136192c4 Use err(3). Add usage().
Default source of tables (-M) is /dev/mem, not /dev/kmem.
1997-10-09 07:22:08 +00:00
charnier
6d64125af7 Use err(3). Add usage().
Correct the .Nd string: in real life, portmap is translating rpc prog numbers
to darpa ports, not the opposite.
1997-10-09 07:17:36 +00:00
jkh
228606a79e Document extra tk*/tcl* package categories. 1997-10-08 15:31:13 +00:00
charnier
1c390186cd Use err(3). Cosmetics in usage string and man page. 1997-10-08 07:48:21 +00:00
brian
5d5b867579 Support VJ maximum slot identifiers != 15.
Support VJ slot id compression.

Previously, ppp would negotiate a max slot between 2 & 15
(if asked), and would agree to slot id compression (if asked).
It would then proceed to use 16 slots and no compression
anyway.  The result was a rather unusable connection.
1997-10-07 00:56:58 +00:00
joerg
f3ad79066c Documentation for the LOG_NTP facility. While i was at it, added a
bit of a warning about not all systems providing for the same set of
syslog facilities.
1997-10-06 20:37:50 +00:00
charnier
ede59acb91 Sync usage string with man page. 1997-10-06 11:38:30 +00:00
charnier
e1eba2d48d Use err(3). Add usage()s. 1997-10-06 11:36:08 +00:00
jkh
0bad82e206 Add an extra sanity check to previous commit. 1997-10-06 08:36:12 +00:00