BSD 4_3_Net_2 release
[unix-history] / usr / src / bin / rcp / rcp.1
index a383a59..5fa751b 100644 (file)
@@ -1,25 +1,39 @@
 .\" Copyright (c) 1983, 1990 The Regents of the University of California.
 .\" All rights reserved.
 .\"
 .\" Copyright (c) 1983, 1990 The Regents of the University of California.
 .\" All rights reserved.
 .\"
-.\" Redistribution and use in source and binary forms are permitted provided
-.\" that: (1) source distributions retain this entire copyright notice and
-.\" comment, and (2) distributions including binaries display the following
-.\" acknowledgement:  ``This product includes software developed by the
-.\" University of California, Berkeley and its contributors'' in the
-.\" documentation or other materials provided with the distribution and in
-.\" all advertising materials mentioning features or use of this software.
-.\" Neither the name of the University nor the names of its contributors may
-.\" be used to endorse or promote products derived from this software without
-.\" specific prior written permission.
-.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
-.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
-.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
 .\"
 .\"
-.\"     @(#)rcp.1      6.11 (Berkeley) 7/24/90
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
 .\"
 .\"
-.Dd July 24, 1990
+.\"    @(#)rcp.1       6.14.1.1 (Berkeley) 8/20/91
+.\"
+.Dd August 20, 1991
 .Dt RCP 1
 .Dt RCP 1
-.Os BSD 4.2
+.Os BSD 4.3r
 .Sh NAME
 .Nm rcp
 .Nd remote file copy
 .Sh NAME
 .Nm rcp
 .Nd remote file copy
@@ -44,12 +58,13 @@ argument is either a remote file name of the
 form ``rname@rhost:path'', or a local file name (containing no `:' characters,
 or a `/' before any `:'s).
 .Pp
 form ``rname@rhost:path'', or a local file name (containing no `:' characters,
 or a `/' before any `:'s).
 .Pp
-.Tp Fl r
+.Bl -tag -width flag
+.It Fl r
 If any of the source files are directories,
 .Nm rcp
 copies each subtree rooted at that name; in this case
 the destination must be a directory.
 If any of the source files are directories,
 .Nm rcp
 copies each subtree rooted at that name; in this case
 the destination must be a directory.
-.Tp Fl p
+.It Fl p
 The
 .Fl p
 option causes
 The
 .Fl p
 option causes
@@ -63,7 +78,7 @@ are preserved if it already existed; otherwise the mode of the source file
 modified by the
 .Xr umask  2
 on the destination host is used.
 modified by the
 .Xr umask  2
 on the destination host is used.
-.Tp Fl k
+.It Fl k
 The
 .Fl k
 option requests
 The
 .Fl k
 option requests
@@ -73,7 +88,7 @@ for the remote host in realm
 .Ar realm
 instead of the remote host's realm as determined by
 .Xr krb_realmofhost  3  .
 .Ar realm
 instead of the remote host's realm as determined by
 .Xr krb_realmofhost  3  .
-.Tp
+.El
 .Pp
 If
 .Ar path
 .Pp
 If
 .Ar path
@@ -103,9 +118,15 @@ are on the current machine.
 .Xr rsh 1 ,
 .Xr rlogin 1
 .Sh HISTORY
 .Xr rsh 1 ,
 .Xr rlogin 1
 .Sh HISTORY
-.Nm Rcp
-appeared in 4.2 BSD.  The version of rcp described here
-has been reimplemented with Kerberos in 4.3+Reno BSD.
+The
+.Nm rcp
+command appeared in
+.Bx 4.2 .
+The version of
+.Nm rcp
+described here
+has been reimplemented with Kerberos in
+.Bx 4.3 Reno .
 .Sh BUGS
 Doesn't detect all cases where the target of a copy might
 be a file in cases where only a directory should be legal.
 .Sh BUGS
 Doesn't detect all cases where the target of a copy might
 be a file in cases where only a directory should be legal.
@@ -118,6 +139,7 @@ or
 file on the remote host.
 .Pp
 The destination user and hostname may have to be specified as
 file on the remote host.
 .Pp
 The destination user and hostname may have to be specified as
-``rhost.rname'' when the destination machine is running the 4.2BSD
+``rhost.rname'' when the destination machine is running the
+.Bx 4.2
 version of
 .Nm rcp  .
 version of
 .Nm rcp  .