[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	mbalmer_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2008/06/09 15:06:10

Modified files:
	sbin/ldattach  : Makefile ldattach.8 ldattach.c 
Added files:
	sbin/ldattach  : atomicio.c atomicio.h 

Log message:
Add the '-p' option to ldattach(8) to pass data received from the device
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.