aboutsummaryrefslogtreecommitdiff
path: root/sbin/startslip
Commit message (Collapse)AuthorAgeFilesLines
* Use `The .Nm utility'Philippe Charnier2002-04-191-6/+7
| | | | Notes: svn path=/head/; revision=95077
* o remove __PWarner Losh2002-03-211-4/+4
| | | | | | | o remove main prototype Notes: svn path=/head/; revision=92883
* Remove 'register' keyword.David E. O'Brien2002-03-201-1/+1
| | | | | | | | | It does not help modern compilers, and some may take some hit from it. (I also found several functions that listed *every* of its 10 local vars with "register" -- just how many free registers do people think machines have?) Notes: svn path=/head/; revision=92806
* Default to WARNS=2.David E. O'Brien2001-12-041-0/+1
| | | | | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike Notes: svn path=/head/; revision=87325
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79530
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-1/+0
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74815
* Set the default manual section for sbin/ to 8.Ruslan Ermilov2001-03-201-0/+2
| | | | Notes: svn path=/head/; revision=74531
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-3/+3
| | | | Notes: svn path=/head/; revision=71895
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-181-0/+1
| | | | Notes: svn path=/head/; revision=70152
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-3/+3
| | | | Notes: svn path=/head/; revision=68960
* Fixes a potential buffer overflow with the pid filename.Josef Karthauser2000-04-301-1/+3
| | | | | | | | Submitted by: Mike Heffner <spock@techfour.net> Submitted on: audit@freebsd.org Notes: svn path=/head/; revision=59799
* Remove single-space hard sentence breaks. These degrade the qualitySheldon Hearn2000-03-011-5/+10
| | | | | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc. Notes: svn path=/head/; revision=57668
* $Id$ -> $FreeBSD$Peter Wemm1999-08-282-2/+2
| | | | Notes: svn path=/head/; revision=50476
* Correct use of .Nm and .Ev.Philippe Charnier1998-08-032-31/+34
| | | | | | | Add rcsid, rmove unused #include. Spelling. Notes: svn path=/head/; revision=38038
* Fixed printf format errors.Bruce Evans1998-08-021-2/+3
| | | | Notes: svn path=/head/; revision=38023
* Fixed printf format errors, scanf format errors and scanf error handling.Bruce Evans1998-06-281-7/+9
| | | | Notes: svn path=/head/; revision=37242
* Remove unused include filesEivind Eklund1997-12-221-9/+3
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=31937
* Remove unused private header.Eivind Eklund1997-12-211-2/+1
| | | | | | | Submitted by: max Notes: svn path=/head/; revision=31924
* Use err(3). Add missing prototypes. Cosmetic in usage string.Philippe Charnier1997-06-191-11/+20
| | | | Notes: svn path=/head/; revision=26739
* Fixed missing DPADD. Removed now-redundant SRCS.Bruce Evans1997-04-011-1/+1
| | | | Notes: svn path=/head/; revision=24476
* Remove the syslog stuff, and allow various return valuesBrian Somers1997-03-311-2/+6
| | | | | | | | | | | | in uu_lock(). Add uu_lockerr() for turning the results of uu_lock into something printable. Remove bogus section in man page about race conditions allowing both processes to get the lock. Include libutil.h and use uu_lock() correctly where it should. Suggested by: ache@freebsd.org Notes: svn path=/head/; revision=24461
* Move uucplock into libutil and create a manual page.Brian Somers1997-03-302-162/+2
| | | | Notes: svn path=/head/; revision=24417
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-2/+2
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24359
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-222-2/+2
| | | | Notes: svn path=/head/; revision=22990
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-142-2/+2
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Sort cross references.Wolfram Schneider1997-01-131-2/+3
| | | | Notes: svn path=/head/; revision=21635
* Update to match changes in <net/if.h>.Garrett Wollman1997-01-031-1/+2
| | | | Notes: svn path=/head/; revision=21264
* Fix up programs which expect <net/if.h> to include <sys/time.h> to insteadGarrett Wollman1996-12-101-12/+15
| | | | | | | | | do it themselves. (Some of these programs actually depended on this beyond compiling the definition of struct ifinfo!) Also fix up some other #include messes while we're at it. Notes: svn path=/head/; revision=20287
* Eliminated includes of the "temporary" backwards compatibility headerBruce Evans1996-09-241-1/+1
| | | | | | | | | <sys/dir.h> in applications. Maintained existing (inadequate) ifdefs for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any new ones. Notes: svn path=/head/; revision=18485
* Fixed a couple of format strings to match the change of pid_t from longBruce Evans1996-04-131-1/+1
| | | | | | | | | to int32_t. I only fixed the ones that I noticed the warnings for. Perhaps most of the format strings are correct now because they were wrong before. Except of course if int32_t isn't compatible with `int'. Notes: svn path=/head/; revision=15252
* Prepare to eliminate multiply uucplock.c copiesAndrey A. Chernov1996-03-041-16/+33
| | | | Notes: svn path=/head/; revision=14368
* Fix a bunch of spelling errors.Mike Pritchard1996-01-291-4/+4
| | | | Notes: svn path=/head/; revision=13720
* recording cvs-1.6 file deathPeter Wemm1995-12-303-16/+0
| | | | Notes: svn path=/cvs2svn/branches/ATT/; revision=13122
* Log user name with each info and total connection time elapsedAndrey A. Chernov1995-09-271-48/+55
| | | | | | | | (for accounting purposes). Log few additional events like dialing number and connection established. Set speed POSIXly. Notes: svn path=/head/; revision=11031
* Rename PATH_LOCK to PATH_UUCPLOCKAndrey A. Chernov1995-09-231-2/+2
| | | | Notes: svn path=/head/; revision=10976
* Use new _PATH_LOCK for lock namesAndrey A. Chernov1995-09-201-5/+6
| | | | Notes: svn path=/head/; revision=10926
* Make uucp-lock optional: -L optionAndrey A. Chernov1995-09-202-18/+31
| | | | Notes: svn path=/head/; revision=10912
* Fix uucp lockingAndrey A. Chernov1995-09-192-38/+29
| | | | | | | | Remove unnecesary TIOCSETD Move SLIO* before startup script call Notes: svn path=/head/; revision=10889
* New option: -S #: set SLIP unit numberAndrey A. Chernov1995-09-182-5/+18
| | | | Notes: svn path=/head/; revision=10879
* Add new options:Andrey A. Chernov1995-09-172-12/+52
| | | | | | | | | | -K: set keepalive SLIP timeout -O: set outfill SLIP timeout Handle SIGURG from keepalive like SIGHUP now, i.e. reconnect. Back out background scription change, cause some synchro problems. Notes: svn path=/head/; revision=10860
* Use daemon() instead of fork/setsid/close.Andrey A. Chernov1995-09-161-26/+15
| | | | | | | Rearrange things to do fork as later as possible. Notes: svn path=/head/; revision=10817
* Oops. Fix my error with -W optionAndrey A. Chernov1995-09-151-2/+2
| | | | Notes: svn path=/head/; revision=10811
* Close line before fork, or becomes close twice.Andrey A. Chernov1995-09-151-28/+26
| | | | | | | Debug output cleanup. Notes: svn path=/head/; revision=10806
* Tune it to REALLY sense carrier drop.Andrey A. Chernov1995-09-152-102/+117
| | | | | | | | | | | | Now works with dialin devices too. Add new option in slattach style -l: dont use modem control. Add new option -W: specify max number of dial tries for one phone. Remove -p option, this ugly hack not needed. Fix script timeout expires. Some code cleanups. Notes: svn path=/head/; revision=10803
* Restore TTYDISC on exit. Move setting of control terminalAndrey A. Chernov1995-09-151-9/+14
| | | | | | | after TTYDISC setting Notes: svn path=/head/; revision=10800
* Wait until login completed before starting SLIP (5 secs)Andrey A. Chernov1995-09-151-0/+3
| | | | Notes: svn path=/head/; revision=10797
* Pass sequence number to called scripts via LINE env. variable.Andrey A. Chernov1995-09-152-3/+18
| | | | | | | It allows specific per phone number tunings Notes: svn path=/head/; revision=10795
* Add reference to /usr/share/examples/startslipAndrey A. Chernov1995-09-141-1/+2
| | | | Notes: svn path=/head/; revision=10753
* Add example scriptsAndrey A. Chernov1995-09-143-0/+16
| | | | Notes: svn path=/head/; revision=10745
* All changes still related to original version:Andrey A. Chernov1995-09-143-59/+195
| | | | | | | | | | Don't close line twice. Change typo == to = in assignment. Don't restart, if ioctl fails. Implement uucp-style locking to help dialout pgms. Notes: svn path=/head/; revision=10743