summaryrefslogtreecommitdiff
path: root/sbin/ldattach
AgeCommit message (Collapse)Author
2015-01-15I bet the reference to <sys/ttycom.h> near the ldisc list in tty(4)Theo de Raadt
led this program and the associated manual pages to including that file directly, rather than the canonical include path of <sys/ioctl.h> discussed with millert
2014-10-02no more sl(4);Jason McIntyre
2014-10-01Remove some sl(4) references.Martin Pieuchot
2014-08-10msts(4) appears to support TIOCSTSTAMPPhilip Guenther
From Maurice Janssen (maurice (at) z74.net)
2012-12-04replace sys/param.h with sys/types.h (and sometimes add limits.h if needed)Theo de Raadt
ok guenther
2012-09-12Define empty CDIAGFLAGS for programs that use Werror.Christiano F. Haesbaert
Makes "make build" build with WARNINGS=Yes on amd64. ok espie
2010-04-06list offset should be "indent", not "-indent";Jason McIntyre
2010-04-05-indet is not a valid .Bl option, it should be -indent. But what mandoc(1)Theo de Raadt
did was spit that out on the next line of output, without warning, which is a bug in mandoc(1)...
2009-10-31If the nmea(4) or endrun(4) timing disciplines are selected ignore statusChris Kuethe
lines; this prevents poll(2) from saying the fd has data to be read, when it only had a status line change. Prevents ldattach from exiting when relaying data to gpsd while being driven by a gps with 1PPS. ok deraadt
2009-10-28poll events must be reinitialized after each call to poll. fixesChris Kuethe
ldattach exiting when relaying (nmea to gpsd, for example). ok deraadt@
2009-05-06.Xr endrun 4Kevin Steves
spotted by jmc@
2009-05-06endrun(4) - EndRun Technologies native time-of-day message timedeltaKevin Steves
sensor. Based on msts(4). Tested with Praecis Ct (http://www.endruntechnologies.com/network-time-source.htm). help and feedback mbalmer 'no problem with this sensor going in' deraadt
2008-06-12Initialize the tty in the same way for nmea and slip.Marc Balmer
2008-06-11Explicit flush stdout after printing the pty name when -p is used.Marc Balmer
found by ckuethe, help from otto.
2008-06-10sleep if the slave device of the pty(4) is not connected.Marc Balmer
problem noticed by ckuethe, solution discussed with claudio
2008-06-10correctly setup the tty line for NMEA devices, especially turn off echoMarc Balmer
to the device. found by ckuethe, fixed and tested with ckuethe
2008-06-09Don't reverence slattach(8) or nmeaattach(8) in a comment.Marc Balmer
2008-06-09zap trailing whitespace;Jason McIntyre
2008-06-09Add the '-p' option to ldattach(8) to pass data received from the deviceMarc Balmer
to the master device of a pty(4) pair. The name of the slave device is written to standard output. This is useful for applications like e.g. gpsd from the misc/gpsd port that also use the serial data stream (e.g. nmea(4) as a time source and gpsd to get at positional data). help and ok deraadt, makes ckuethe happy.
2008-02-28Log an error if a device can not be opened, only log line discipline attachmentMarc Balmer
when the line discipline has really been attached. And a few manual tweaks.
2008-01-05Add support for the Meinberg Standard Time String format that all MeinbergMarc Balmer
radio clocks can transmit over serial ports. This is implemented as a line discipline similar to nmea(4) and provides a timedelta sensor. See http://www.meinberg.de/english/specs/timestr.htm for details on the MSTS format. ldattach(8) is extended to support the "msts" line discipline and two stopbits (which some radio clocks, e.g. the C51 use). Do a "make includes" before your next system build. Initially from Maurice Janssen based on nmea(4). "go for it" deraadt
2007-11-13zap trailing whitespace;Jason McIntyre
2007-11-13Do not set explicit com parameters for the tty, instead use the exisitingMarc Balmer
ones and onl change what the user requests. Do not artifically limit the baudrates. prodding and ok by deraadt.
2007-11-03document different types for "device" and improve startup description;Jason McIntyre
this is really an mbalmer diff, tweaked by myself ok deraadt mbalmer
2007-11-034800Theo de Raadt
2007-11-03tweaks;Jason McIntyre
2007-11-03use tty01 and mention the baud rate issueTheo de Raadt
2007-11-03Correct bad example, in /etc/ttys use the _tty_ not _cua_, of course.Marc Balmer
spottet by deraadt.
2007-11-03lintTheo de Raadt
2007-11-03ldattach(8) is a command to attach line discipline to a tty line. It canMarc Balmer
be used from the command line or from init(8) by adding an entry to the /etc/ttys file. ldattach(8) can be extended to support new line disciplines. feedback many, ok deraadt, mikeb