ru
606eb8b7a4
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:44:04 +00:00
deischen
05fe556baa
-pthread -> -lc_r
2001-01-24 13:04:10 +00:00
ru
86f1384c5d
mdoc(7) police: use canonical form of .Dd macro.
2000-12-11 15:57:16 +00:00
brian
00c9863858
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
b42832df66
Use Fx macro wherever possible.
2000-11-14 11:20:58 +00:00
brian
355fa3c5dd
libutil is no longer required as setproctitle() has moved to libc
2000-09-02 02:01:18 +00:00
brian
56c7875fa7
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
93573696e6
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
68e9b5f610
NetBSD has changed the el_init() prototype
...
Submitted by: Kazuyoshi Kato <kazk@yyy.or.jp>
1999-09-20 07:22:22 +00:00
peter
b6784c4210
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
brian
c7e0924a98
Use err[x]/warn[x] and improve error reporting
...
Submitted by: charnier
1999-08-02 16:59:28 +00:00
brian
438b4f2522
Add support for NetBSD (history() from libedit is different).
1999-04-26 08:53:52 +00:00
brian
271cecddfc
Mention the error when we fail to connect().
1999-01-31 12:24:29 +00:00
wosch
a024876276
Sort cross references.
1998-08-31 16:41:09 +00:00
brian
fcdad13ceb
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
64ee6253db
Add OpenBSD build support
...
Remove -Wmissing-prototypes
1998-08-30 23:53:00 +00:00
phk
08f9a08eb7
.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
5a89429198
Quiet -Wall in gcc-2.8.1
...
Obtained from: OpenBSD
1998-03-22 00:43:04 +00:00
brian
75038f611f
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
837a0f22aa
Add (BSD) copyright headers.
1997-12-21 12:11:13 +00:00
brian
decbe398a6
Cosmetic: Tidy up.
...
Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org>
1997-12-21 02:37:49 +00:00
brian
aa8ef79946
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
69560e83b8
Correct the "how to find out if the line is up" example.
1997-12-21 01:21:40 +00:00
brian
183a648b41
"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
b722ca6c05
Remove an unnecessary (and wrong) cast.
1997-12-17 00:26:58 +00:00
brian
576d11c054
Add Id string.
1997-11-18 00:22:07 +00:00
brian
4712a4e963
Notice that ppp has closed the connection properly.
...
Remove the timeout hack to notice that ppp has closed the connection.
Remove the ``special case'' hacks for "quit" and "bye", as pppctl
now exits immediately when the connection is closed by ppp.
Suggest a secure "set server" line for connecting ppp & pppctl.
Tidy up and correct a few man page typos.
1997-11-18 00:20:29 +00:00
brian
560fa8de35
Use select() instead of poll() for portabilities sake.
1997-11-11 13:27:47 +00:00
brian
86a4eddde6
Poll the socket descriptor while in el_gets()
...
so that our display is scribbled over as we
requested.
1997-11-11 12:28:02 +00:00
brian
79f2e87014
Prompt correctly when ppp *doesn't* ask for a password.
1997-11-09 18:50:34 +00:00
brian
ba8eedb010
Style police.
...
bzero -> memset
index -> strchr
rindex -> strrchr
Use libedit (this should make pppctl a lot more attractive than telnet).
1997-11-07 20:20:15 +00:00
brian
05bd28c15c
Support interactive mode.
1997-11-07 02:54:49 +00:00
brian
e27c21c31b
Add a few examples.
1997-10-05 14:21:30 +00:00
wosch
b215fc2e1e
Sort cross refereces in section SEE ALSO.
1997-09-29 19:11:55 +00:00
brian
cc780ba0db
Allow hosts specified by IP number (avoiding
...
a DNS lookup)
Update doc including the [host:]port syntax.
1997-07-28 22:17:48 +00:00
brian
c28aef6462
Support "host:port" as first arg.
1997-07-12 19:26:49 +00:00
brian
76ee5991cc
Allow command line control of ppp through both
...
TCP and AF_LOCAL sockets.
1997-06-28 01:04:54 +00:00