Commit Graph

3199 Commits

Author SHA1 Message Date
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
Philippe Charnier
df82e9ba02 Use err(3). Add usage() and #includes. 1997-10-13 11:13:33 +00:00
Philippe Charnier
5dbfe9a138 Use err(3). 1997-10-13 11:08:47 +00:00
Philippe Charnier
12873ebf56 Hide sccsid[]. Typo in man page. 1997-10-13 11:06:30 +00:00
Philippe Charnier
713fe15b36 Use err(3). Add prototypes. 1997-10-13 11:05:07 +00:00
Philippe Charnier
aa40a0da51 Mdoc'ify man page. 1997-10-13 11:03:36 +00:00
Philippe Charnier
607b525c53 Use err(3). Add prototypes. Cosmetic in usage string. 1997-10-13 11:01:33 +00:00
Brian Somers
6f59cd11ea Un-spam ip_sum (arrgh - I don't know how this made
it into my patches :()
1997-10-12 21:43:55 +00:00
Wolfram Schneider
175dffc0f6 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
Jordan K. Hubbard
90a93ec643 Update to reflect current affairs. 1997-10-12 16:21:36 +00:00
Jordan K. Hubbard
b09dc169b7 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
Jordan K. Hubbard
1990badff5 Now that nested menus work properly, stop using the kludged-up
DITEM_RECREATE flag.
1997-10-12 12:11:14 +00:00
Masafumi Max NAKANE
062e5d5a43 Typo fix. 1997-10-12 11:51:25 +00:00
Brian Somers
0ebb52de1d Cosmetic: Mention that ppp is suspending before
executing a "shell" command.
1997-10-12 01:49:37 +00:00
Peter Wemm
79d2e30daf Give PPP_FILTER a whirl. 1997-10-10 11:59:02 +00:00
Peter Wemm
65201e4a29 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
Philippe Charnier
6980f0ebac Use err(3). Silent -Wall. 1997-10-10 06:31:07 +00:00
Peter Wemm
5b51863fca 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
Philippe Charnier
8b76e1d7a8 Staticize usage(). Cosmetics. 1997-10-10 06:27:07 +00:00
Philippe Charnier
1dcc6ec750 Use err(3) instead of local redefinition. Add rcsid string. 1997-10-10 06:23:42 +00:00
Peter Wemm
8298b5a8af 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
Bill Paul
bfb109df29 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
Philippe Charnier
d9961cfdb9 Use err(3). Add usage().
Default source of tables (-M) is /dev/mem, not /dev/kmem.
1997-10-09 07:22:08 +00:00
Philippe Charnier
4a9670dd76 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
Jordan K. Hubbard
54b85ef5cc Document extra tk*/tcl* package categories. 1997-10-08 15:31:13 +00:00
Philippe Charnier
6fed414929 Use err(3). Cosmetics in usage string and man page. 1997-10-08 07:48:21 +00:00
Brian Somers
03604f3574 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 Wunsch
605efc874f 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
Philippe Charnier
fbe2a70d6b Sync usage string with man page. 1997-10-06 11:38:30 +00:00
Philippe Charnier
9dd6fd23cd Use err(3). Add usage()s. 1997-10-06 11:36:08 +00:00
Jordan K. Hubbard
690f1880b9 Add an extra sanity check to previous commit. 1997-10-06 08:36:12 +00:00
Jordan K. Hubbard
c16f090408 This should put boot.help in its rightful place (finally!) 1997-10-06 08:34:56 +00:00
Philippe Charnier
b8981f4416 Cosmetic in err() strings. 1997-10-06 07:46:08 +00:00
Peter Wemm
d4b1403fc1 Hmm.. where did _that_ come from? :-) 1997-10-06 04:10:24 +00:00
Warner Losh
ed4d1cf9cc Be more paranoid about unlinking files. From mhpower@MIT.EDU by way of
Theo de Raadt.

Likely 2.2.5R candidate.
Obtained from: OpenBSD
1997-10-06 03:58:48 +00:00
Jonathan M. Bresler
0fee58d9fa record the envelope-from address in the received headers
for all mail received at hub.freebsd.org

Obtained from: Peter Wemm <peter@freebsd.org>
1997-10-06 00:09:17 +00:00
Brian Somers
e70c96ab58 Change things around a bit when bringing down the layers.
o LcpLayerDown() no longer does a NewPhase(PHASE_TERMINATE).
  Instead, it's done in LcpLayerFinish().  LayerFinish() gets
  called by the FSM after the LCP FSM goes through the Stopping
  and Stopped states.

o -direct and -background mode exit at PHASE_TERMINATE, not
  PHASE_DEAD.

The result is that LCP, CCP & IPCP are brought down cleanly on both
sides of the link (not just our side).  Killing ppp rather than just
closing it still makes it get out after the LCP SendTerminateReq().
I'll have a look at that soon.  We're probably not actually sending
the REQ :-(
1997-10-05 15:00:10 +00:00
Brian Somers
d37641d82c Refer a bit to pppctl.
Suggested (far to subtly for his own good) by:	joerg
1997-10-05 14:27:08 +00:00
Brian Somers
ea895c156b Add a few examples. 1997-10-05 14:21:30 +00:00
Joerg Wunsch
42ac3bf16a Add a new special called `keep' to the list of special options. It
provides for a means to specify an argument for crunchide's -k option.
(This is required by ntpdate.)

Submitted by:	peter@rhiannon.clari.net.au (Peter Hawkins)
1997-10-05 13:35:05 +00:00
Jordan K. Hubbard
cf68251b3a DOH! I cannot believe that none of us caught this. Do *not*
turn TCPWRAPPER support on by default, eh? :-)
1997-10-05 12:31:08 +00:00
Wolfram Schneider
87ce848491 Cleanup. 1997-10-05 12:28:02 +00:00
Brian Somers
6c9e376dfe Cosmetic: Be specific about using TABs in syslog.conf. 1997-10-05 10:29:32 +00:00
Jordan K. Hubbard
97fe7f477f Changes to support full make parallelism (-j<n>) in the world
target.
Reviewed by:	<many different folks>
Submitted by:	Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
1997-10-05 09:40:24 +00:00
Jordan K. Hubbard
ac492f4554 Whups! Missed a spot in the kerberos src changes. 1997-10-04 15:50:09 +00:00
Peter Wemm
feee4d201e Record the envelope from address in the received: line. This has turned
out to be very useful for spam tracking and other problem debugging.

I first noticed this in one of Paul Vixie's machine's headers a while ago.
1997-10-04 11:10:19 +00:00
Jordan K. Hubbard
c646fc1cfa Un-nuke krb and do what I *meant* to do, darn it. 1997-10-04 09:01:20 +00:00
Jordan K. Hubbard
1de31251a4 Adapt for new crypto source layout. 1997-10-04 08:58:16 +00:00
Brian Somers
57fd05c48b Cosmetic: Log a strerror(errno) when failing to write to
the tun device.
1997-10-04 00:14:39 +00:00
Jordan K. Hubbard
4a0aa46197 Get boot.help from a different place. 1997-10-03 14:14:40 +00:00
Jordan K. Hubbard
7fd698d732 Don't attempt to deref OpenConn after it's been set to NULL. :) 1997-10-03 14:00:09 +00:00
Jordan K. Hubbard
6cf4a83ec5 For people running paranoid ftpds, use the real username to log in
with when running multi-user and we actually have one.
Suggested by:	Joao Carlos Mendes Luis <jonny@coppe.ufrj.br>
1997-10-03 03:32:03 +00:00
Philippe Charnier
2d7a5bff3b Use err(3). 1997-10-02 11:46:53 +00:00
Philippe Charnier
0fc81af12d Use err(3). Change firewall to firewall_enable in man page according to
/etc/rc.conf.
1997-10-02 11:43:33 +00:00
Philippe Charnier
5848fd5f35 According to Bruce, err(-1,..) is bogus. Change it to err(1,..). More commits
to come in this area.
1997-10-01 06:34:09 +00:00
Philippe Charnier
de1ef5eb94 Use err(3) instead of local redefinition. 1997-10-01 06:30:02 +00:00
Philippe Charnier
a89409a2eb Use err(3). -Wall cleaning. 1997-10-01 06:27:34 +00:00
Jordan K. Hubbard
0c795d27ea Keep fingers off /etc files until they're properly backed up.
PR:		4636
Submitted by:	Jack <jack@zeus.xtalwind.net>
1997-10-01 01:30:35 +00:00
Philippe Charnier
6ee8ae607a Use err(3). Add usage(). Rewrote man pages in mdoc format. 1997-09-30 06:15:23 +00:00
Brian Somers
8bfa2d0ed9 If "set mtu" is used, *and* the mtu is less than the
value requested by the peer, NAK using this value
rather than silently just changing the interface
mtu.
1997-09-29 19:40:16 +00:00
Wolfram Schneider
bf5cbf3551 Sort cross refereces in section SEE ALSO. 1997-09-29 19:11:55 +00:00
John Polstra
7a6b5d25b7 Correct the description of the output from the "-s" option. It was
backward.
1997-09-29 17:43:11 +00:00
Wolfram Schneider
2af22b06a4 Endless loop.
$ vipw
[corrupt a line in editor, exit editor]
pwd_mkdb: corrupted entry
pwd_mkdb: at line #2
pwd_mkdb:
/etc/pw.012585: Inappropriate file type or format
re-edit the password file? [y]: n^D^D
[hang]
1997-09-29 13:13:51 +00:00
Philippe Charnier
cd94e9c368 Use err(3). 1997-09-29 06:38:49 +00:00
Jordan K. Hubbard
26a695079e Add ftp4.uk.freebsd.org 1997-09-29 00:15:07 +00:00
Brian Somers
4e556546a8 Test for the existence of ../../secure rather
than /usr/include/des.h before building with MSChap.
support.  Also allow -DNOCRYPT (as well as -DNOSECURE)
as an override
sbin/init example pointed out by: bde
1997-09-28 20:17:59 +00:00
Mark Murray
14710273ac Add (commented out) macros to make compiling with tcpwrappers easier. 1997-09-28 09:31:43 +00:00
Brian Somers
fde958c3d3 Don't depend on time.h including sys/types.h 1997-09-27 19:41:40 +00:00
Brian Somers
f0d4fed251 Don't login twice when using passwdauth
Suggested by:	Peter Childs <pjchilds@imforei.apana.org.au>
Merge the whole module into a few lines in pap.c
1997-09-27 19:11:43 +00:00
Tim Vanderhoek
a04aa72155 Document pkg_add's dependency auto-install. While I'm here, fix
a couple typos, and consistent double-spacing after sentences.

This is actually a spinoff from the "ports-current discontinued"
blow-up some time ago.

Ack'd by: jkh
1997-09-27 13:41:35 +00:00
Brian Somers
252715a39c #define RECON_ENVOKED as 4 (not 3, like RECON_UNKNOWN)
Pointed out by:	tom@tomqnx.com (Tom Torrance at home)
1997-09-26 00:23:36 +00:00
Philippe Charnier
ec175ced96 Use err(3). Add missing parameter for printf() (reviewed by steve). 1997-09-25 06:47:33 +00:00
Philippe Charnier
07e1d533fd Remove unused variables. Lowercase err() strings. 1997-09-25 06:44:39 +00:00
Philippe Charnier
997485f93c Put includes in alphabetical order. Use fprintf() in usage(). 1997-09-25 06:42:30 +00:00
Philippe Charnier
f9b1ba8f7f Stylistic changes in man page. 1997-09-25 06:38:17 +00:00
Philippe Charnier
fe577fe939 Use err(3). 1997-09-25 06:36:29 +00:00
Brian Somers
0f8e0938a0 Do the MSChap encryption.
Submitted by:	Gabor Kincses <gabor@acm.org>
1997-09-25 00:58:20 +00:00
Brian Somers
7351f9d8e8 Allow Microsoft CHAP authentication.
This is a combination of MD4 & DES.
Submitted by:	Gabor Kincses <gabor@acm.org>
1997-09-25 00:52:37 +00:00
Philippe Charnier
9b3fe531b5 Use err(3). Add usage(). Various fixes in man pages. 1997-09-24 06:48:24 +00:00
Philippe Charnier
e2954565f3 Statisize usage(). Add return(0) for -wall. 1997-09-24 06:44:12 +00:00
Andrey A. Chernov
c997889e4b Compact usage string, devices list can be too long 1997-09-23 23:24:13 +00:00
Brian Somers
c06022153e Don't luse uu_lock in -direct mode. It conflicts w/
hylafax & the like.
Get the CD bit right at last - now that I've got
my second modem back - loss of carrier makes ppp exit.
1997-09-23 22:07:51 +00:00
Brian Somers
3f1125194b Undo botched commit (local changes got in) 1997-09-23 19:52:14 +00:00
Nate Williams
a12f9b749f - Bump up the size of the space for strings read from PCMCIA cards. Newer
cards have longer entries.

Submitted by:	Lars Fredriksen <lars@fredriks-1.pr.mcs.net>
1997-09-23 19:51:32 +00:00
Philippe Charnier
fa6990870e Use err(3). Add usage() and prototypes. 1997-09-23 06:38:54 +00:00
Philippe Charnier
ecdf56e7d9 Use err(3). Put includes in alphabetical order.
Rewrote man page in mdoc format.
Document -v and -p flags.
1997-09-23 06:36:27 +00:00
Philippe Charnier
330f19d310 Use err(3). Make it -Wall friendly. Typo fix in man page. 1997-09-23 06:32:33 +00:00
Brian Somers
301127fb0a Don't allow accept/deny when it's not appropriate.
Log PAP/CHAP users in utmp & wtmp, allowing it to
be avoided with "disable utmp"
1997-09-22 23:59:16 +00:00
Masafumi Max NAKANE
1a17a85ecb Typo fix.
PR:		4594
Submitted by:	Masahiro Sekiguchi <seki@sysrap.cs.fujitsu.co.jp>
1997-09-22 10:12:47 +00:00
Jordan K. Hubbard
3887aa4e23 If we're going to blindly install freebsd.cf from the etc-sendmail.cf
rule then we'd better depend on it.
1997-09-22 07:33:14 +00:00
Philippe Charnier
71b906885d Use err(3). Put includes in alphabetical order. Use .An macro. 1997-09-22 06:30:04 +00:00
Brian Somers
586526be29 Don't pause for one second before starting LCP
negotiation.  Instead, incrementally pause after
receiving LCPs with the same magic.  We can now
suffer a server that waits more than 1 second before
responding.  Pauses greater than a second get
hopelessly confusing as when the server eventually
starts, it sees a flood of Config Requests followed
by config NAKs and changes of magic.  This causes the
server to change its magic over and over.....
1997-09-22 02:51:24 +00:00
Brian Somers
3defb7fc30 Use the correct device name in "show modem" 1997-09-22 00:55:46 +00:00
Brian Somers
35495bec8d Correct the way the uucp lock file and the ttyXX.if lock
file get created.  We don't create lock files over non-tty
connections, but we *do* create lock files in -direct mode.
This leaves us capable of adding utmp/wtmp support for
successful pap & chap logins (coming soon).
1997-09-22 00:46:56 +00:00
Brian Somers
94cad8bcb1 Sleep for a second before sending the first LCP
config request.  This stops us from squirting stuff
down a line that still has ECHO turned on because the
peer hasn't had a chance to start yet.
Lead to the cause by:	Greg Lehey <grog@lemis.com>
1997-09-21 23:01:34 +00:00
Justin T. Gibbs
93384faa4c Add isa_devtab_cam. 1997-09-21 22:12:50 +00:00
Brian Somers
c47cab6191 It turns out that the following:
close(1);
  close(2);
  x = open(ctermid(NULL), O_RDWR|O_NONBLOCK);
  close(0)
on a tty causes select() to return an exception for descriptor x !
This is the case in RELENG_2_2, but not in 2.2.2.  I'm not sure why.
Instead of doing the x=open() and close(0), we just do x=0 now.
Problem pointed out by: Greg Lehey <grog@lemis.com>
                        Tomi Vainio <tomppa@fidata.fi>
1997-09-21 20:26:47 +00:00
Brian Somers
705c7a18f9 Typo police
Submitted by:	Mark Cammidge <mark@gmtunx.ee.uct.ac.za>
1997-09-21 13:08:00 +00:00
Brian Somers
599864f851 Add a pppctl(8) xref.
Suggested by:	joerg
1997-09-21 13:06:43 +00:00
Wolfram Schneider
f2b7396852 Add ypwhich(1) and yppoll(8) manual pages.
Obtained from: NetBSD, slightly modified
1997-09-21 11:49:18 +00:00
Wolfram Schneider
d95fc683ed Chown(8) compiled with -DSUPPORT_DOT (backward compatibility) does
first check for a `.' and then for `:' as a delimiter.
Usernames with a dot will fail.

# chown r.r:bin /tmp/bla
chown: r:bin: illegal group name

Fix: first check for a `:' and then for a `.'
1997-09-21 09:13:57 +00:00
Wolfram Schneider
142123c17e Do not complain about non existing shell "/nonexistent"
Smarter error check if a uid is already in use.

Submitted by: "Eugene Radchenko" <genie@qsar.chem.msu.su>
1997-09-20 19:59:54 +00:00
Wolfram Schneider
163f94979e Do not accept empty user names. 1997-09-20 18:26:22 +00:00
Jordan K. Hubbard
87b462a276 More label editor enhancements.
Submitted by:	Ed Gold <vegold01@starbase.spd.louisville.edu>
1997-09-20 06:24:17 +00:00
Warner Losh
c02d44b411 Add missing \ from previous rev to end of a line. 1997-09-20 04:58:08 +00:00
Jordan K. Hubbard
c3a6bc8315 Fix conditional bogon in Label Editor [from Ed Gold]
Print info boxes without titles.
1997-09-20 02:48:48 +00:00
Brian Somers
173471e627 Use snprintf() instead of sprintf() most of the time.
Obtained from: OpenBSD

Make usage() consistent with man page.
1997-09-19 22:22:04 +00:00
Masafumi Max NAKANE
7e04a60da7 Typo. 1997-09-19 16:04:19 +00:00
John-Mark Gurney
fa3699b078 bmake'd pnpinfo 1997-09-19 15:41:57 +00:00
John-Mark Gurney
d737df25ad activate pnpinfo 1997-09-19 15:41:43 +00:00
John-Mark Gurney
eddcf96d7d major modifications to the mixer. currently it doesn't report errors
that it encounters (such as invalid device), but does print usage upon
this error...

but otherwise allows complex commands such as:
mixer -f /dev/mixer4 synth line 50 -rec mic +rec line =rec cd ^rec mix
1997-09-19 13:38:51 +00:00
Philippe Charnier
e80cad8b8b Use An macro for author name. 1997-09-19 06:29:52 +00:00
Philippe Charnier
2976d54b00 Use err(3). Typo fixes in man page. 1997-09-19 06:28:57 +00:00
Philippe Charnier
c1a2e93e94 Use err(3). 1997-09-19 06:27:30 +00:00
Jordan K. Hubbard
466cf1dd58 Whoops! Missed one on the XF8633 -> XF86331 update.
PR:		4560
1997-09-18 17:54:36 +00:00
Jordan K. Hubbard
7789aca24b Correct typo. 1997-09-18 16:24:36 +00:00
Jordan K. Hubbard
c6ea78c196 Over 1000 ports now. Note this in the relevant place. 1997-09-18 16:19:17 +00:00
Poul-Henning Kamp
d030d2d2ae Many places in the code NULL is used in integer context, where
plain 0 should be used.  This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.

PR:		2752
Submitted by:	Arne Henrik Juul <arnej@imf.unit.no>
1997-09-18 14:08:40 +00:00
Philippe Charnier
34384756cd environmental -> environment. 1997-09-18 06:55:21 +00:00
Philippe Charnier
be9950897a Typo. 1997-09-18 06:54:03 +00:00
Philippe Charnier
d682bccf28 Use err(3). Document -y flag. Remove unused -s flag from getopt string. 1997-09-18 06:35:51 +00:00
Brian Somers
fd2bc5eb1d Don't close(1) in direct mode and then proceed to
isatty(1) !  Keep 0 open for this till the modem's
been set up by either dup()ing 0 or by opening
ctermid(NULL) (if isatty(0)).

Discussed problem with: Tomi Vainio <tomppa@fidata.fi>
Made it finally dawn on me: Angelo Turetta <ATuretta@stylo.it>
1997-09-18 00:15:25 +00:00
Brian Somers
f919b46768 Support CHAP using MD4
Suggested by: jordan
1997-09-17 23:17:57 +00:00
Paul Traina
2f6456ee54 Fix misspelling 1997-09-17 16:23:48 +00:00
Paul Traina
c55c0846ed variable_load.c is dead 1997-09-17 16:18:54 +00:00
Paul Traina
69ac164732 Put all variables in VAR_ #define's to force a single location for all
of these magic knobs.  This is purely cosmetic and a documentation issue
so we don't have to glop through the source code looking for gems.
1997-09-17 16:18:22 +00:00
Jordan K. Hubbard
4a50ae9ab3 Add a new netInteractive variable so that the interactiveness of the TCP
setup dialog from scripts is more controllable.  No more biasing off of
hostname (which is now non-optional in the non-netInteractive case).
Requested by:	pst
1997-09-17 13:33:14 +00:00
Philippe Charnier
6c9d588507 Use err(3). Document options in man page, not in usage string. 1997-09-17 06:32:45 +00:00
Philippe Charnier
8268bea759 Perror() -> warn(). 1997-09-17 06:30:22 +00:00
Philippe Charnier
ea28e1c532 Use err(3). Add prototypes. 1997-09-17 06:29:23 +00:00
Philippe Charnier
355c9698df Use err(3), add usage(). 1997-09-17 06:27:23 +00:00
Philippe Charnier
9006448ee5 Use err(3) instead of local redefinition. 1997-09-17 06:26:06 +00:00
Philippe Charnier
873c7a4e8f Use err(3). Use An/Aq for author name. 1997-09-17 06:24:58 +00:00
Philippe Charnier
d82e5f5287 Wrap too long lines.
Requested by: Bruce.
1997-09-17 06:20:45 +00:00
Brian Somers
bc24029963 o Fix two unlikely descriptor leaks.
o Output the correct device for "show modem"
  while in -direct mode.
o Cosmetic:  Moan a bit more when we can't open
  the [modem] device.
o Call OpenModem() in a more "natural" way.
o Add some LogDEBUG in OpenModem().
1997-09-16 23:15:16 +00:00
Jordan K. Hubbard
5ef5a78cd2 Whoops, forgot a file!
Submitted by:	pst
1997-09-16 18:57:47 +00:00
Jordan K. Hubbard
9f86ac0aa7 Much better dispatch code and scripting support.
Submitted by:	pst
1997-09-16 18:57:18 +00:00
Jordan K. Hubbard
365a44db75 MF22: pst's changes.
Submitted by:	pst
1997-09-16 10:14:23 +00:00
Philippe Charnier
bc8600f650 Police from style.9 and Bruce. 1997-09-16 07:11:13 +00:00
Philippe Charnier
b17e90a9c9 Use err(3). 1997-09-15 06:41:09 +00:00
Philippe Charnier
401e64688b Use err(3). Rewrote man page in mdoc format. 1997-09-15 06:39:25 +00:00
Philippe Charnier
d58316915f Use err(3), add usage(). -Wall clean. 1997-09-15 06:37:10 +00:00
Philippe Charnier
55c5024e9c Put includes in alphabetical order. various cosmetics. 1997-09-15 06:33:52 +00:00
Philippe Charnier
14b374a5c4 Remove unused #include. Statisize usage(). 1997-09-15 06:32:01 +00:00
Rodney W. Grimes
2b6f499962 Now that this has been merged over to RELENG_2_2 remove
the #if FreeBSD >= 3 wart I added while debugging.
1997-09-15 05:08:05 +00:00
Joerg Wunsch
81be6c75ba Explain a little more about the piping feature.
PR:		4122
1997-09-14 06:55:15 +00:00
Jordan K. Hubbard
2110cdc5e4 XFree86 3.3.1 updates
Document new media flag in lieu of links.
1997-09-14 04:18:42 +00:00
Masafumi Max NAKANE
a1138a1695 Typo. 1997-09-13 17:55:43 +00:00
Wolfram Schneider
f6b31571f6 spelling corrections.
PR: docs/4450
Submitted by: josh@quick.net
1997-09-13 16:01:53 +00:00
Wolfram Schneider
378b56378a typo
PR:		docs/4523
Submitted by:	Takahiro Yugawa <yugawa@orleans.rim.or.jp>
1997-09-13 15:35:00 +00:00
Jonathan Lemon
a968cfd87c If a host in an export line in /etc/exports (or within a netgroup on
an export line) is unresolvable, make a note of it via syslog and skip
that individual host instead of skipping the entire line.

PR:	1981, 815
Perused by:	joerg
1997-09-12 16:25:24 +00:00
Jordan K. Hubbard
2cbb21cfc9 Fix offset bug in partition display that made partitions of type
`linux_swap' hose the output.

Also add a (T)ype command for changing the type of a partition.
1997-09-11 17:12:08 +00:00
Brian Somers
b0f5f9ed37 Get rid of missing-prototype-warning 1997-09-10 23:55:35 +00:00
Brian Somers
f7fdd41d4a PRED1 => TY_PRED1 (oops) 1997-09-10 21:36:54 +00:00
Brian Somers
29a6597c6b o Initialize the PRED1 input queue when we
receive the ResetAck, NOT when we send the
   ResetReq (as per the rfc).
o  SILENTLY ignore CCPs that arrive *before*
   the network phase (as per the rfc).
o  Check that we've actually negotiated PRED1
   before sending PRED1 output.
   This bug has been around for a *VERY* long
   time !  We shouldn't need to explicitly disable
   PRED1 now :-)
1997-09-10 21:33:32 +00:00
Jordan K. Hubbard
0ac80091c3 Update to XFree86 3.3.1 1997-09-10 10:15:41 +00:00
Peter Wemm
57d7cc66ff Duh, calculate the compression ration correctly. (fixed point artithmatic
with 8 "fractional" bits needs to be divided (not multiplied) by 256.0
to get a floating point representation)
1997-09-10 08:43:17 +00:00
Brian Somers
10a91a42fc Cosmetic: Remove unused variables and build on OpenBSD. 1997-09-10 02:20:35 +00:00
Brian Somers
23a1cfaa6a Allow dial to work in non-interactive mode. 1997-09-09 23:56:29 +00:00
Brian Somers
3732c71b01 Print errors correctly (don't adjust
argc/argv for commands).
1997-09-09 23:23:24 +00:00
Brian Somers
ff9d952578 Don't start an interactive shell from a
telnet prompt.
1997-09-09 23:13:31 +00:00
Brian Somers
d40f8a5a61 Correct ppp authentication defaults in interactive
mode.  We don't want to be forced to type a password
here :-(
Pointed out by: mouth@ibm.net (John Kelly)

While I'm there, don't allow a "set server" in
interactive mode.
1997-09-09 21:51:39 +00:00
Brian Somers
506474c87a Document the use of PAP/CHAP properly. 1997-09-09 21:01:53 +00:00
Jordan K. Hubbard
d0ef76de67 Scrolling partition and label lists now make it possible to partition
lots of disks from sysinstall.  Yay!  Please test this as much as
possible with any 3.0 SNAP later than 970910 (I.E. tomorrow's snap),
especially those of you with larger disk farms.

Submitted by:	Ed Gold <vegold01@starbase.spd.louisville.edu>
1997-09-09 16:32:01 +00:00
Jordan K. Hubbard
5fe1a639c5 Eliminate an obviously redundant message title. 1997-09-09 16:27:50 +00:00
Jordan K. Hubbard
948ae9ab81 Update for XFree86 3.3.1 1997-09-09 16:26:29 +00:00
Jordan K. Hubbard
b79a0997ab Be more cautious about leaving user with a workable kernel during the
upgrade process.
Submitted by:	Mikael Karpberg <karpen@ocean.campus.luth.se>
1997-09-09 09:19:30 +00:00
Jordan K. Hubbard
321a8d519a Make upgrade potentially a little less interactive.
Add and document new loadConfig function (sort of like a script #include).
Make TCP/IP setup far less chatty when it doesn't need to be.
1997-09-08 11:09:11 +00:00
Joerg Wunsch
96fc32627f Add a hint to the FAQ regarding ``DD'' disks. 1997-09-07 14:05:21 +00:00
Bruce Evans
511dfc2c55 Oops, the previous commit shouldn't have touch the Makefile. 1997-09-07 12:27:54 +00:00
Bruce Evans
3ec03428c3 Don't say that swapping is configured by config. 1997-09-07 10:35:17 +00:00
Brian Somers
881a8bbf54 Disable LQR by default. It causes too many problems
with too many ISPs to be a good default.  LQR is still
accepted by default.
1997-09-07 01:00:06 +00:00
Brian Somers
8742662039 Use __libalias_version to derive the name to
pass to dlopen().
1997-09-06 11:16:02 +00:00
Brian Somers
f9b06d5cbe Ingored incoming packets are now dropped when
deny_incoming option is set to yes.
Submitted by:	Ari Suutari <ari@suutari.iki.fi>
1997-09-06 11:14:03 +00:00
Steve Passe
fb42160f6f Changed the Ints labels for the IO APIC from "INT#" to "PIN#" to better
reflect its logical usage.  Ie., there is NOT a 1-to-1 correspondence
between IRQ numbers and APIC pin numbers as there is with the 8259 ICU.
1997-09-06 04:11:53 +00:00
Brian Somers
b61ab30e6b Insist that the user has group network.
Discussed on: -committers
1997-09-05 23:11:28 +00:00
Philippe Charnier
cc09f59a1e Cosmetic in man page. Sync usage() with man page. 1997-09-04 11:55:45 +00:00