summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pppctl
Commit message (Collapse)AuthorAgeFilesLines
* Apply s/LIBC_R/LIBPTHREAD/ to the DPADD variable. The LDADD variablemarcel2004-01-311-1/+1
| | | | already had s/libc_r/libpthread/ applied to it.
* s/-lc_r/-lpthread/deischen2004-01-301-1/+1
|
* Add IPv6 support to pppctl by using getaddrinfo() and trying each addresstjr2003-12-071-89/+115
| | | | | | | 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
* add FBSDIDcharnier2003-07-061-2/+3
|
* style.Makefile(5)obrien2003-04-041-1/+1
|
* The .Nm utilitycharnier2002-07-141-4/+5
|
* *** empty log message ***obrien2001-10-011-9/+9
|
* Better handling of the return from snprintfbrian2001-08-181-3/+8
|
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. Thesheldonh2001-07-261-7/+7
| | | | | | | definitions are more readable, and it's possible that they're more portable to pathalogical platforms. Submitted by: David Hill <david@phobia.ms>
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-2/+3
| | | | | 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.
* Remove GCC'isms in CFLAGS.obrien2001-07-201-1/+0
|
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-091-2/+0
|
* mdoc(7) police: normalize .Nd.ru2001-04-181-2/+1
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Issue a ``quit'' after other ppp commands given on the command line andbrian2001-03-251-0/+5
| | | | | | | | 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).
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-2/+0
|
* A NetBSD specific fixbrian2001-03-051-2/+8
| | | | Kind-of obtained from: NetBSD
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-4/+10
|
* -pthread -> -lc_rdeischen2001-01-241-1/+1
|
* mdoc(7) police: use canonical form of .Dd macro.ru2000-12-111-1/+1
|
* Change interactive mode so that a monitor thread keeps an eye on thebrian2000-11-272-72/+240
| | | | | | | | | | | | 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
* Use Fx macro wherever possible.ru2000-11-141-1/+2
|
* libutil is no longer required as setproctitle() has moved to libcbrian2000-09-022-5/+2
|
* If the -p option is used, use setproctitle() to hide it's argumentbrian2000-08-162-4/+37
| | | | (a password) asap.
* Add another example showing how you can use pppctl to only allownik2000-04-301-0/+21
| | | | | | dial out at certain times of the day. Approved by: brian
* NetBSD has changed the el_init() prototypebrian1999-09-201-1/+2
| | | | Submitted by: Kazuyoshi Kato <kazk@yyy.or.jp>
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Use err[x]/warn[x] and improve error reportingbrian1999-08-021-23/+25
| | | | Submitted by: charnier
* Add support for NetBSD (history() from libedit is different).brian1999-04-261-2/+9
|
* Mention the error when we fail to connect().brian1999-01-311-4/+10
|
* Sort cross references.wosch1998-08-311-4/+4
|
* Remove OpenBSD build support - let the Makefile vary perbrian1998-08-311-7/+1
| | | | | | OS rather than making it a mess and potentially screwing up cross builds. Suggested by: bde
* Add OpenBSD build supportbrian1998-08-301-2/+8
| | | | Remove -Wmissing-prototypes
* .Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENTphk1998-05-131-2/+2
| | | | | | PR: 6599 Reviewed by: phk Submitted by: Josh Gilliam <josh@quick.net>
* Quiet -Wall in gcc-2.8.1brian1998-03-221-2/+3
| | | | Obtained from: OpenBSD
* Remove bogus timeout code in Receive().brian1997-12-271-7/+13
| | | | | | | | 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.
* Add (BSD) copyright headers.brian1997-12-211-2/+26
|
* Cosmetic: Tidy up.brian1997-12-211-19/+12
| | | | Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org>
* Zero struct sockaddr_??s before filling them in.brian1997-12-211-1/+3
| | | | Suggested by: Theo de Raadt <deraadt@cvs.openbsd.org>
* Correct the "how to find out if the line is up" example.brian1997-12-211-2/+2
|
* "No reply from ppp" -> "Connection closed".brian1997-12-181-2/+2
| | | | | "No reply" sounds like the message didn't get through (for example when you `pppctl xxxx quit all'.
* Remove an unnecessary (and wrong) cast.brian1997-12-171-2/+2
|
* Add Id string.brian1997-11-181-0/+4
|
* Notice that ppp has closed the connection properly.brian1997-11-182-69/+47
| | | | | | | | 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.
* Use select() instead of poll() for portabilities sake.brian1997-11-111-6/+8
|
* Poll the socket descriptor while in el_gets()brian1997-11-111-1/+36
| | | | | so that our display is scribbled over as we requested.
* Prompt correctly when ppp *doesn't* ask for a password.brian1997-11-091-2/+3
|
* Style police.brian1997-11-073-37/+102
| | | | | | | bzero -> memset index -> strchr rindex -> strrchr Use libedit (this should make pppctl a lot more attractive than telnet).
OpenPOWER on IntegriCloud