Deleted Added
full compact
rcmdsh.3 (107619) rcmdsh.3 (108087)
1.\" $OpenBSD: rcmdsh.3,v 1.6 1999/07/05 04:41:00 aaron Exp $
2.\"
3.\" Copyright (c) 1983, 1991, 1993
4.\" The Regents of the University of California. All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 17 unchanged lines hidden (view full) ---

26.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE.
33.\"
1.\" $OpenBSD: rcmdsh.3,v 1.6 1999/07/05 04:41:00 aaron Exp $
2.\"
3.\" Copyright (c) 1983, 1991, 1993
4.\" The Regents of the University of California. All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 17 unchanged lines hidden (view full) ---

26.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE.
33.\"
34.\" $FreeBSD: head/lib/libc/net/rcmdsh.3 107619 2002-12-04 18:57:46Z ru $
34.\" $FreeBSD: head/lib/libc/net/rcmdsh.3 108087 2002-12-19 09:40:28Z ru $
35.\"
36.Dd September 1, 1996
37.Dt RCMDSH 3
38.Os
39.Sh NAME
40.Nm rcmdsh
41.Nd return a stream to a remote command without superuser
42.Sh SYNOPSIS

--- 31 unchanged lines hidden (view full) ---

74Otherwise
75.Fa *ahost
76is set to the standard name of the host
77and a connection is established to a server
78residing at the well-known Internet port
79.Dq Li shell/tcp
80(or whatever port is used by
81.Fa rshprog ) .
35.\"
36.Dd September 1, 1996
37.Dt RCMDSH 3
38.Os
39.Sh NAME
40.Nm rcmdsh
41.Nd return a stream to a remote command without superuser
42.Sh SYNOPSIS

--- 31 unchanged lines hidden (view full) ---

74Otherwise
75.Fa *ahost
76is set to the standard name of the host
77and a connection is established to a server
78residing at the well-known Internet port
79.Dq Li shell/tcp
80(or whatever port is used by
81.Fa rshprog ) .
82The parameter
82The
83.Fa inport
83.Fa inport
84argument
84is ignored; it is only included to provide an interface similar to
85.Xr rcmd 3 .
86.Pp
87If the connection succeeds,
88a socket in the
89.Ux
90domain of type
91.Dv SOCK_STREAM

--- 28 unchanged lines hidden ---
85is ignored; it is only included to provide an interface similar to
86.Xr rcmd 3 .
87.Pp
88If the connection succeeds,
89a socket in the
90.Ux
91domain of type
92.Dv SOCK_STREAM

--- 28 unchanged lines hidden ---