aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pppctl
Commit message (Collapse)AuthorAgeFilesLines
* Expand *n't contractions.Ruslan Ermilov2005-02-131-3/+3
| | | | Notes: svn path=/head/; revision=141846
* Sort sections.Ruslan Ermilov2005-01-181-20/+20
| | | | Notes: svn path=/head/; revision=140442
* Handle select() returning -1/EINTR - fairly common in these KSE days.Brian Somers2004-12-131-1/+5
| | | | | | | | PR: 74972 MFC after: 3 days Notes: svn path=/head/; revision=138808
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-18/+37
| | | | Notes: svn path=/head/; revision=131500
* Apply s/LIBC_R/LIBPTHREAD/ to the DPADD variable. The LDADD variableMarcel Moolenaar2004-01-311-1/+1
| | | | | | | already had s/libc_r/libpthread/ applied to it. Notes: svn path=/head/; revision=125270
* s/-lc_r/-lpthread/Daniel Eischen2004-01-301-1/+1
| | | | Notes: svn path=/head/; revision=125232
* Add IPv6 support to pppctl by using getaddrinfo() and trying each addressTim J. Robbins2003-12-071-88/+114
| | | | | | | | | | 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 Notes: svn path=/head/; revision=123229
* add FBSDIDPhilippe Charnier2003-07-061-2/+3
| | | | Notes: svn path=/head/; revision=117280
* style.Makefile(5)David E. O'Brien2003-04-041-1/+1
| | | | Notes: svn path=/head/; revision=113091
* The .Nm utilityPhilippe Charnier2002-07-141-4/+5
| | | | Notes: svn path=/head/; revision=99968
* *** empty log message ***David E. O'Brien2001-10-011-9/+9
| | | | Notes: svn path=/head/; revision=84261
* Better handling of the return from snprintfBrian Somers2001-08-181-3/+8
| | | | Notes: svn path=/head/; revision=81904
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. TheSheldon Hearn2001-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> Notes: svn path=/head/; revision=80381
* Perform a major cleanup of the usr.sbin Makefiles.David E. O'Brien2001-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. Notes: svn path=/head/; revision=80029
* Remove GCC'isms in CFLAGS.David E. O'Brien2001-07-201-1/+0
| | | | Notes: svn path=/head/; revision=80022
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79537
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-091-2/+0
| | | | Notes: svn path=/head/; revision=79454
* mdoc(7) police: normalize .Nd.Ruslan Ermilov2001-04-181-2/+1
| | | | Notes: svn path=/head/; revision=75670
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74816
* Issue a ``quit'' after other ppp commands given on the command line andBrian Somers2001-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). Notes: svn path=/head/; revision=74793
* Set the default manual section for usr.sbin/ to 8.Ruslan Ermilov2001-03-201-2/+0
| | | | Notes: svn path=/head/; revision=74532
* A NetBSD specific fixBrian Somers2001-03-051-2/+8
| | | | | | | Kind-of obtained from: NetBSD Notes: svn path=/head/; revision=73558
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-4/+10
| | | | Notes: svn path=/head/; revision=71898
* -pthread -> -lc_rDaniel Eischen2001-01-241-1/+1
| | | | Notes: svn path=/head/; revision=71582
* mdoc(7) police: use canonical form of .Dd macro.Ruslan Ermilov2000-12-111-1/+1
| | | | Notes: svn path=/head/; revision=69862
* Change interactive mode so that a monitor thread keeps an eye on theBrian Somers2000-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 Notes: svn path=/head/; revision=69245
* Use Fx macro wherever possible.Ruslan Ermilov2000-11-141-1/+2
| | | | Notes: svn path=/head/; revision=68716
* libutil is no longer required as setproctitle() has moved to libcBrian Somers2000-09-022-5/+2
| | | | Notes: svn path=/head/; revision=65354
* If the -p option is used, use setproctitle() to hide it's argumentBrian Somers2000-08-162-4/+37
| | | | | | | (a password) asap. Notes: svn path=/head/; revision=64703
* Add another example showing how you can use pppctl to only allowNik Clayton2000-04-301-0/+21
| | | | | | | | | dial out at certain times of the day. Approved by: brian Notes: svn path=/head/; revision=59802
* NetBSD has changed the el_init() prototypeBrian Somers1999-09-201-1/+2
| | | | | | | Submitted by: Kazuyoshi Kato <kazk@yyy.or.jp> Notes: svn path=/head/; revision=51448
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50479
* Use err[x]/warn[x] and improve error reportingBrian Somers1999-08-021-23/+25
| | | | | | | Submitted by: charnier Notes: svn path=/head/; revision=49376
* Add support for NetBSD (history() from libedit is different).Brian Somers1999-04-261-2/+9
| | | | Notes: svn path=/head/; revision=46084
* Mention the error when we fail to connect().Brian Somers1999-01-311-4/+10
| | | | Notes: svn path=/head/; revision=43462
* Sort cross references.Wolfram Schneider1998-08-311-4/+4
| | | | Notes: svn path=/head/; revision=38702
* Remove OpenBSD build support - let the Makefile vary perBrian Somers1998-08-311-7/+1
| | | | | | | | | OS rather than making it a mess and potentially screwing up cross builds. Suggested by: bde Notes: svn path=/head/; revision=38682
* Add OpenBSD build supportBrian Somers1998-08-301-2/+8
| | | | | | | Remove -Wmissing-prototypes Notes: svn path=/head/; revision=38662
* .Sh ENVIRONMENT VARIABLES -> .Sh ENVIRONMENTPoul-Henning Kamp1998-05-131-2/+2
| | | | | | | | | PR: 6599 Reviewed by: phk Submitted by: Josh Gilliam <josh@quick.net> Notes: svn path=/head/; revision=36014
* Quiet -Wall in gcc-2.8.1Brian Somers1998-03-221-2/+3
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=34771
* Remove bogus timeout code in Receive().Brian Somers1997-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. Notes: svn path=/head/; revision=32020
* Add (BSD) copyright headers.Brian Somers1997-12-211-2/+26
| | | | Notes: svn path=/head/; revision=31921
* Cosmetic: Tidy up.Brian Somers1997-12-211-19/+12
| | | | | | | Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org> Notes: svn path=/head/; revision=31916
* Zero struct sockaddr_??s before filling them in.Brian Somers1997-12-211-1/+3
| | | | | | | Suggested by: Theo de Raadt <deraadt@cvs.openbsd.org> Notes: svn path=/head/; revision=31914
* Correct the "how to find out if the line is up" example.Brian Somers1997-12-211-2/+2
| | | | Notes: svn path=/head/; revision=31912
* "No reply from ppp" -> "Connection closed".Brian Somers1997-12-181-2/+2
| | | | | | | | "No reply" sounds like the message didn't get through (for example when you `pppctl xxxx quit all'. Notes: svn path=/head/; revision=31829
* Remove an unnecessary (and wrong) cast.Brian Somers1997-12-171-2/+2
| | | | Notes: svn path=/head/; revision=31792
* Add Id string.Brian Somers1997-11-181-0/+4
| | | | Notes: svn path=/head/; revision=31205
* Notice that ppp has closed the connection properly.Brian Somers1997-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. Notes: svn path=/head/; revision=31204