=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cu/cu.1,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- src/usr.bin/cu/cu.1 2013/03/11 12:47:49 1.9 +++ src/usr.bin/cu/cu.1 2014/03/26 13:00:50 1.10 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cu.1,v 1.9 2013/03/11 12:47:49 nicm Exp $ +.\" $OpenBSD: cu.1,v 1.10 2014/03/26 13:00:50 nicm Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)tip.1 8.4 (Berkeley) 4/18/94 .\" -.Dd $Mdocdate: March 11 2013 $ +.Dd $Mdocdate: March 26 2014 $ .Dt CU 1 .Os .Sh NAME @@ -39,6 +39,7 @@ .Nm .Op Fl l Ar line .Op Fl s Ar speed \*(Ba Fl Ar speed +.Op Ar host .Sh DESCRIPTION .Nm is used to connect to another system over a serial link. @@ -72,6 +73,21 @@ The default is 9600. .El .Pp +If +.Ar host +is given, +.Nm +uses the +.Xr remote 5 +host description file to retrieve the +.Sy dv Pq device +and +.Sy br Pq baud rate +capabilities for that host. +The +.Nm +utility ignores other capabilities found in that database. +.Pp Typed characters are normally transmitted directly to the remote machine (which does the echoing as well). A tilde @@ -135,6 +151,17 @@ .Nm guards against multiple users connecting to a remote system by opening modems and terminal lines with exclusive access. +.Sh ENVIRONMENT +If +.Ev REMOTE +is set and begins with a slash, the named file is searched before the +.Xr remote 5 +host description file; otherwise it is searched for as a host. +.Sh FILES +.Bl -tag -width /etc/remote +.It Pa /etc/remote +host description file +.El .Sh HISTORY The .Nm