Commit Graph

3012 Commits

Author SHA1 Message Date
ache
d854f255c1 Compact usage string, devices list can be too long 1997-09-23 23:24:13 +00:00
brian
10d0f39609 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
95319a53d4 Undo botched commit (local changes got in) 1997-09-23 19:52:14 +00:00
nate
eb9cb81f95 - 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
charnier
a08e5c8f58 Use err(3). Add usage() and prototypes. 1997-09-23 06:38:54 +00:00
charnier
bab9edb2ad 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
charnier
a22aefae5d Use err(3). Make it -Wall friendly. Typo fix in man page. 1997-09-23 06:32:33 +00:00
brian
3180b73eb2 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
max
9bf19cf654 Typo fix.
PR:		4594
Submitted by:	Masahiro Sekiguchi <seki@sysrap.cs.fujitsu.co.jp>
1997-09-22 10:12:47 +00:00
jkh
955e09a3f0 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
charnier
03573ec4a8 Use err(3). Put includes in alphabetical order. Use .An macro. 1997-09-22 06:30:04 +00:00
brian
c2540cceee 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
a201ed1ecc Use the correct device name in "show modem" 1997-09-22 00:55:46 +00:00
brian
a88b0d13f4 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
d788f319a2 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
gibbs
94d84ccb7c Add isa_devtab_cam. 1997-09-21 22:12:50 +00:00
brian
a3705cc47f 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
b67aa30e55 Typo police
Submitted by:	Mark Cammidge <mark@gmtunx.ee.uct.ac.za>
1997-09-21 13:08:00 +00:00
brian
f07c095974 Add a pppctl(8) xref.
Suggested by:	joerg
1997-09-21 13:06:43 +00:00
wosch
c38b558497 Add ypwhich(1) and yppoll(8) manual pages.
Obtained from: NetBSD, slightly modified
1997-09-21 11:49:18 +00:00
wosch
d2e18fbdd4 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
wosch
3621c7a5fa 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
wosch
718c314afd Do not accept empty user names. 1997-09-20 18:26:22 +00:00
jkh
400eee4073 More label editor enhancements.
Submitted by:	Ed Gold <vegold01@starbase.spd.louisville.edu>
1997-09-20 06:24:17 +00:00
imp
1663688086 Add missing \ from previous rev to end of a line. 1997-09-20 04:58:08 +00:00
jkh
4871a19630 Fix conditional bogon in Label Editor [from Ed Gold]
Print info boxes without titles.
1997-09-20 02:48:48 +00:00
brian
558e49db7e 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
max
c19f6cc37e Typo. 1997-09-19 16:04:19 +00:00
jmg
0ab518992c bmake'd pnpinfo 1997-09-19 15:41:57 +00:00
jmg
ca173ef652 activate pnpinfo 1997-09-19 15:41:43 +00:00
jmg
e2eb794514 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
charnier
030c020a18 Use An macro for author name. 1997-09-19 06:29:52 +00:00
charnier
c93ab23f47 Use err(3). Typo fixes in man page. 1997-09-19 06:28:57 +00:00
charnier
7d1a811eb8 Use err(3). 1997-09-19 06:27:30 +00:00
jkh
5ce42b233d Whoops! Missed one on the XF8633 -> XF86331 update.
PR:		4560
1997-09-18 17:54:36 +00:00
jkh
fbd5c7472f Correct typo. 1997-09-18 16:24:36 +00:00
jkh
254b65d7ff Over 1000 ports now. Note this in the relevant place. 1997-09-18 16:19:17 +00:00
phk
7d1a30911b 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
charnier
23d24985c5 environmental -> environment. 1997-09-18 06:55:21 +00:00
charnier
1050957269 Typo. 1997-09-18 06:54:03 +00:00
charnier
c8857f6e29 Use err(3). Document -y flag. Remove unused -s flag from getopt string. 1997-09-18 06:35:51 +00:00
brian
25ee9997f3 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
c8c9219bd1 Support CHAP using MD4
Suggested by: jordan
1997-09-17 23:17:57 +00:00
pst
1022332b55 Fix misspelling 1997-09-17 16:23:48 +00:00
pst
f31a735d6a variable_load.c is dead 1997-09-17 16:18:54 +00:00
pst
e5ff8a9d1b 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
jkh
0669639743 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
charnier
285e8aa5a7 Use err(3). Document options in man page, not in usage string. 1997-09-17 06:32:45 +00:00
charnier
5c61f71e51 Perror() -> warn(). 1997-09-17 06:30:22 +00:00
charnier
5321587692 Use err(3). Add prototypes. 1997-09-17 06:29:23 +00:00