IIRC dc was removed and then added back. ok nicm
On Mon, Oct 30, 2017 at 11:44:28PM +0100, Remi Locherer wrote: > Hi, > > in 2015 remote(5) was trimmed down when tip was removed. It looks like > documentation for capability "dc" was also removed by accident. cu(1) still > supports this (src/usr.bin/cu/cu.c): > > 381 if (is_direct == -1 && cgetcap(cp, "dc", ':') != NULL) > 382 is_direct = 1; > > Below patch brings back documentation for "dc". > > ok? > > Remi > > > Index: remote.5 > =================================================================== > RCS file: /cvs/src/share/man/man5/remote.5,v > retrieving revision 1.26 > diff -u -p -r1.26 remote.5 > --- remote.5 21 Sep 2017 07:51:43 -0000 1.26 > +++ remote.5 30 Oct 2017 22:39:44 -0000 > @@ -75,6 +75,12 @@ The baud rate used in establishing > a connection to the remote host. > This is a decimal number. > The default baud rate is 9600 baud. > +.It Sy \&dc > +(bool) > +This host is directly connected, and > +.Xr cu 1 > +should not expect carrier detect to be high, nor should it exit if > +carrier detect drops. > .It Sy \&dv > (str) > Device to open to establish a connection.
