summaryrefslogtreecommitdiffstats
path: root/sbin/slattach
Commit message (Collapse)AuthorAgeFilesLines
* The .Nm utility.charnier2002-07-061-6/+10
|
* s/demon/daemon/dd2002-05-121-1/+1
|
* o remove __Pimp2002-03-211-1/+1
| | | | o remove main prototype
* Default to WARNS=2.obrien2001-12-041-0/+1
| | | | | | Binary builds that cannot handle this must explicitly set WARNS=0. Reviewed by: mike
* Remove whitespace at EOL.dd2001-07-151-3/+3
|
* 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-1/+0
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for sbin/ to 8.ru2001-03-201-2/+0
|
* Prepare for mdoc(7)NG.ru2000-12-271-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-4/+4
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-4/+8
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* sprintf -> snprintfkris1999-06-061-2/+3
| | | | Obtained from: OpenBSD
* $Header$ -> $Id$kris1999-05-293-58/+70
| | | | | | | | Manpage formatting/grammatical fixes. Check return value of malloc() Add sccsid[], other minor source code cleanups Submitted by: Philippe Charnier
* Fixed printf format errors.bde1998-08-021-2/+4
|
* Fixed printf format errors.bde1998-06-281-2/+2
|
* Remove the casts on signal() returns and compare the returned valuejb1998-02-201-5/+5
| | | | | | with SIG_ERR to detect the error case. Suggested by: bde.
* signal() returns an pointer, so must be cast to long, not int beforejb1998-01-251-5/+5
| | | | comparing < 0.
* Remove unused private include files from slattach.eivind1997-12-211-8/+3
| | | | Submitted by: bde
* Use err(3). Add usage().charnier1997-06-191-34/+21
|
* Fix typo: "oder" -> "order".danny1997-04-161-2/+2
|
* Remove the syslog stuff, and allow various return valuesbrian1997-03-311-3/+10
| | | | | | | | | 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
* Move uucplock into libutil and create a manual page.brian1997-03-301-4/+2
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-2/+2
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* Sort cross references.wosch1997-01-131-4/+4
|
* Update to match changes in <net/if.h>.wollman1997-01-031-1/+2
|
* Fix if.h lossage. I could have sworn I already fixed this one.wollman1996-12-101-2/+3
|
* Fix up programs which expect <net/if.h> to include <sys/time.h> to insteadwollman1996-12-101-11/+14
| | | | | | 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.
* Properly distinguish 3 different cases:ache1996-03-122-10/+23
| | | | | No redial command. Empty redial command. Non-empty redial command. Pointed-by: bde
* Re-open line after hangup in any caseache1996-03-121-15/+2
|
* Call unit-command -1 <new> first time connected, close PR 569ache1996-02-172-9/+18
|
* Fix a bunch of spelling errors.mpp1996-01-291-5/+5
|
* recording cvs-1.6 file deathpeter1995-12-301-143/+0
|
* Convert to proper English in the same manner as the sliplogin manpage.nate1995-10-261-12/+11
|
* Call the -u UCMD command on exit. The command is called with thejoerg1995-09-291-0/+9
| | | | | | | | current unit number, and the "new" unit number of -1. This allows the script to actually deconfigure the SLIP interface (e.g. by running "ifconfig delete") which has been impossible previously. This is most likely a candidate for 2.1, too.
* From Bruce:ache1995-09-202-4/+26
| | | | | | | | | | | | | | | | | | | slattach always exited early because fd is not open in acquire_line(). Other (trivial) changes that I've been neglecting for some time: - Turn off O_NONBLOCK so that `chat' doesn't need to worry about it (`chat' actually does worry about it). - Really set speeds POSIXly :-). cfsetspeed() isn't POSIX. - Fix spelling error in comment. - Gripe about bad programming of doing everything from signal handlers. slattach should be written to do everything from the sigsuspend() loop, but I don't want to do it :-). From me: Use .PATH to find uucplock.c Submitted by: bde
* Make uucp-locking optional: -L optionache1995-09-202-53/+105
|
* Unlock device for redial_cmd, then lock againache1995-09-191-0/+8
|
* Implement uucp-lockingache1995-09-193-10/+172
| | | | Cleanup debug/syslog code
* Change new -U option to -S to go the same way as startslip.ache1995-09-182-7/+7
|
* New options:ache1995-09-182-30/+113
| | | | | | | | | -K #: set SLIP keepalive timeout -O #: set SLIP outfil timeout -U #: set SLIP unit number sighup handler now sets tty disc for non-redial case too. Implement SIGURG handling (from keepalive). POSIXing speed settings.
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* Do not try to make any notice if the PID file cannot be created.joerg1995-03-121-3/+1
| | | | | Makes folks happy that run slattach in single-user, where /var/run is probably missing.
* Make slattach create a PID file under /var/run when the connection isjoerg1995-03-122-4/+33
| | | | | | | | | | | established. This way, automatic scripts are possible that might control the SLIP connection. It's unacceptable for a daemon that's being controlled by a variety of signals to not leave its PID somewhere. The file name contains the terminal path name component of the associated tty device, so it should be unique even with multiple parallel slattach's running. The file will be unlinked at regular exit. Also found a minor bug in the option handling by compiling with -Wall.
* configure_network() if carrier already presentache1995-02-251-2/+4
| | | | Submitted by: serg@opus.opu.odessa.ua
* Check exit code of the dialer, from asa@gw.cronyx.msk.suache1994-11-141-3/+4
| | | | | Set HUPCL as default modem flag, idea from asa@gw.cronyx.msk.su but different implementation.
* Remove extra :%s from syslog formatsache1994-11-011-6/+6
|
OpenPOWER on IntegriCloud