| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
Kind-of obtained from: NetBSD
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
(a password) asap.
|
|
|
|
| |
Submitted by: Kazuyoshi Kato <kazk@yyy.or.jp>
|
| |
|
|
|
|
| |
Submitted by: charnier
|
| |
|
| |
|
|
|
|
| |
Obtained from: OpenBSD
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Suggested by: Theo de Raadt <deraadt@cvs.openbsd.org>
|
|
|
|
|
| |
"No reply" sounds like the message didn't get through (for
example when you `pppctl xxxx quit all'.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
so that our display is scribbled over as we
requested.
|
| |
|
|
|
|
|
|
|
| |
bzero -> memset
index -> strchr
rindex -> strrchr
Use libedit (this should make pppctl a lot more attractive than telnet).
|
| |
|
|
|
|
|
| |
a DNS lookup)
Update doc including the [host:]port syntax.
|
| |
|
|
TCP and AF_LOCAL sockets.
|