ed
073cafdd42
The last big commit: let usr.sbin/ use WARNS=6 by default.
2010-01-02 11:07:44 +00:00
ru
1541af42f1
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
ru
c05985f13f
Sort sections.
2005-01-18 20:02:45 +00:00
brian
ae06668733
Handle select() returning -1/EINTR - fairly common in these KSE days.
...
PR: 74972
MFC after: 3 days
2004-12-13 14:50:13 +00:00
ru
6294018a20
Mechanically kill hard sentence breaks.
2004-07-02 23:13:00 +00:00
marcel
4f70d4609f
Apply s/LIBC_R/LIBPTHREAD/ to the DPADD variable. The LDADD variable
...
already had s/libc_r/libpthread/ applied to it.
2004-01-31 17:28:09 +00:00
deischen
fbc6ccd321
s/-lc_r/-lpthread/
2004-01-30 12:14:50 +00:00
tjr
5f6ddde944
Add IPv6 support to pppctl by using getaddrinfo() and trying each address
...
it returns. This allows it to connect to the server side again, which
has been listening on IPv6 addresses exclusively for more than 2 years.
PR: 59369
2003-12-07 08:39:29 +00:00
charnier
01f9734fe0
add FBSDID
2003-07-06 12:44:11 +00:00
obrien
a920d12f89
style.Makefile(5)
2003-04-04 17:49:21 +00:00
charnier
d2168fe021
The .Nm utility
2002-07-14 14:47:15 +00:00
obrien
d9494059c0
*** empty log message ***
2001-10-01 08:43:58 +00:00
brian
d01d678e4d
Better handling of the return from snprintf
2001-08-18 22:46:06 +00:00
sheldonh
9bfb9eedcd
Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The
...
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.
Submitted by: David Hill <david@phobia.ms>
2001-07-26 11:02:39 +00:00
obrien
9c97c8f02d
Perform a major cleanup of the usr.sbin Makefiles.
...
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
2001-07-20 06:20:32 +00:00
obrien
be022bb715
Remove GCC'isms in CFLAGS.
2001-07-20 04:23:13 +00:00
dd
911ca14c87
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
ru
0d5f9334cf
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 15:12:08 +00:00
dd
eaa6ee03b8
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
2001-07-09 09:54:33 +00:00
ru
2d1b95a96f
mdoc(7) police: normalize .Nd.
2001-04-18 15:54:10 +00:00
ru
afd506414e
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
brian
56ef9e4cd8
Issue a ``quit'' after other ppp commands given on the command line and
...
then wait for the connection to be closed by the peer.
This means that commands such as ``pppctl ... show links'' will
display the correct output again (rather than truncating it depending
on how much data arrived in the last packet).
2001-03-25 20:06:08 +00:00
ru
f10dc9aca1
Set the default manual section for usr.sbin/ to 8.
2001-03-20 18:17:26 +00:00
brian
8bd7abbad1
A NetBSD specific fix
...
Kind-of obtained from: NetBSD
2001-03-05 00:59:53 +00:00
ru
66cd8f698e
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:44:04 +00:00
deischen
c0a4c71bb7
-pthread -> -lc_r
2001-01-24 13:04:10 +00:00
ru
12c490a119
mdoc(7) police: use canonical form of .Dd macro.
2000-12-11 15:57:16 +00:00
brian
bad4a365fe
Change interactive mode so that a monitor thread keeps an eye on the
...
ppp descriptor and signals the terminal thread when there's something
to read on that descriptor.
This means that the main loop doesn't have to alarm() itself into
dropping out of el_gets() frequently to check the descriptor. This
dropping out was disturbing syscons (via ioctl()s from libedit) enough
to reset the screensaver timeout every .5 of a second.
PR: 20345
2000-11-27 02:31:25 +00:00
ru
7d99729431
Use Fx macro wherever possible.
2000-11-14 11:20:58 +00:00
brian
15ac2ddf3c
libutil is no longer required as setproctitle() has moved to libc
2000-09-02 02:01:18 +00:00
brian
f03fa7361a
If the -p option is used, use setproctitle() to hide it's argument
...
(a password) asap.
2000-08-16 12:01:17 +00:00
nik
6c88ac1d50
Add another example showing how you can use pppctl to only allow
...
dial out at certain times of the day.
Approved by: brian
2000-04-30 22:28:21 +00:00
brian
18c36231b7
NetBSD has changed the el_init() prototype
...
Submitted by: Kazuyoshi Kato <kazk@yyy.or.jp>
1999-09-20 07:22:22 +00:00
peter
efabb9ccb1
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
brian
1e67382ede
Use err[x]/warn[x] and improve error reporting
...
Submitted by: charnier
1999-08-02 16:59:28 +00:00
brian
074372cce4
Add support for NetBSD (history() from libedit is different).
1999-04-26 08:53:52 +00:00
brian
a1492aac3d
Mention the error when we fail to connect().
1999-01-31 12:24:29 +00:00
wosch
68cda92e4a
Sort cross references.
1998-08-31 16:41:09 +00:00
brian
d4fe100b7c
Remove OpenBSD build support - let the Makefile vary per
...
OS rather than making it a mess and potentially screwing
up cross builds.
Suggested by: bde
1998-08-31 12:14:32 +00:00
brian
2f5ba7be71
Add OpenBSD build support
...
Remove -Wmissing-prototypes
1998-08-30 23:53:00 +00:00
phk
4c734c0e4d
.Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENT
...
PR: 6599
Reviewed by: phk
Submitted by: Josh Gilliam <josh@quick.net>
1998-05-13 07:57:49 +00:00
brian
e678d7822c
Quiet -Wall in gcc-2.8.1
...
Obtained from: OpenBSD
1998-03-22 00:43:04 +00:00
brian
d038080049
Remove bogus timeout code in Receive().
...
Don't read(fd, buffer, 0) and think ppp has closed the
connection when `buffer' is full, instead, flush most of
buffer to the terminal and read() for a reasonable length.
This fixes "show route" when there's more than 2k of
routing output.
1997-12-27 13:44:42 +00:00
brian
579e751cd3
Add (BSD) copyright headers.
1997-12-21 12:11:13 +00:00
brian
46576b0453
Cosmetic: Tidy up.
...
Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org>
1997-12-21 02:37:49 +00:00
brian
6432d2fafd
Zero struct sockaddr_??s before filling them in.
...
Suggested by: Theo de Raadt <deraadt@cvs.openbsd.org>
1997-12-21 02:27:32 +00:00
brian
57020bef87
Correct the "how to find out if the line is up" example.
1997-12-21 01:21:40 +00:00
brian
71fc17164f
"No reply from ppp" -> "Connection closed".
...
"No reply" sounds like the message didn't get through (for
example when you `pppctl xxxx quit all'.
1997-12-18 00:29:56 +00:00
brian
c3425c1022
Remove an unnecessary (and wrong) cast.
1997-12-17 00:26:58 +00:00
brian
7bfd07097d
Add Id string.
1997-11-18 00:22:07 +00:00