From owner-svn-src-all@FreeBSD.ORG Sun Dec 14 22:48:48 2008 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A10BD1065672; Sun, 14 Dec 2008 22:48:48 +0000 (UTC) (envelope-from murray@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8F7F98FC08; Sun, 14 Dec 2008 22:48:48 +0000 (UTC) (envelope-from murray@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mBEMmmVF076329; Sun, 14 Dec 2008 22:48:48 GMT (envelope-from murray@svn.freebsd.org) Received: (from murray@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mBEMmmrS076328; Sun, 14 Dec 2008 22:48:48 GMT (envelope-from murray@svn.freebsd.org) Message-Id: <200812142248.mBEMmmrS076328@svn.freebsd.org> From: Murray Stokely Date: Sun, 14 Dec 2008 22:48:48 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r186095 - head/lib/libc/net X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Dec 2008 22:48:48 -0000 Author: murray Date: Sun Dec 14 22:48:48 2008 New Revision: 186095 URL: http://svn.freebsd.org/changeset/base/186095 Log: Add an ENVIRONMENT section to note that the RSH variable can be set to override the use of the rsh(1) program in rcmd(3). PR: docs/51133 Obtained from: NetBSD, partially MFC after: 3 weeks Modified: head/lib/libc/net/rcmd.3 Modified: head/lib/libc/net/rcmd.3 ============================================================================== --- head/lib/libc/net/rcmd.3 Sun Dec 14 22:26:57 2008 (r186094) +++ head/lib/libc/net/rcmd.3 Sun Dec 14 22:48:48 2008 (r186095) @@ -238,6 +238,13 @@ For .Fn rcmd_af , .Dv PF_UNSPEC is also allowed. +.Sh ENVIRONMENT +.Bl -tag -width RSH +.It Ev RSH +When using the +.Fn rcmd +function, this variable is used as the program to run instead of +.Xr rsh 1 . .Sh DIAGNOSTICS The .Fn rcmd