Some mdoc fixes; drop some unnecessary whitespace.

This commit is contained in:
wiz 2003-04-07 06:04:09 +00:00
parent 7631a5ff4b
commit a405f5c87c

View File

@ -1,4 +1,4 @@
.\" $NetBSD: rsh.1,v 1.13 2003/04/07 01:46:41 hubertf Exp $ .\" $NetBSD: rsh.1,v 1.14 2003/04/07 06:04:09 wiz Exp $
.\" .\"
.\" Copyright (c) 1983, 1990, 1993 .\" Copyright (c) 1983, 1990, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -47,7 +47,6 @@
.Op Fl p Ar port .Op Fl p Ar port
.Ar host .Ar host
.Op command .Op command
.Nm .Nm
.Op Fl Kdnx .Op Fl Kdnx
.Op Fl k Ar realm .Op Fl k Ar realm
@ -70,11 +69,7 @@ command;
.Nm .Nm
normally terminates when the remote command does. normally terminates when the remote command does.
The options are as follows: The options are as follows:
.Bl -tag -width flag .Bl -tag -width XlXusernameX
.It Fl K
The
.Fl K
option turns off all Kerberos authentication.
.It Fl d .It Fl d
The The
.Fl d .Fl d
@ -83,7 +78,11 @@ option turns on socket debugging (using
on the on the
.Tn TCP .Tn TCP
sockets used for communication with the remote host. sockets used for communication with the remote host.
.It Fl k .It Fl K
The
.Fl K
option turns off all Kerberos authentication.
.It Fl k Ar realm
The The
.Fl k .Fl k
option causes option causes
@ -92,15 +91,14 @@ to obtain tickets for the remote host in
.Ar realm .Ar realm
instead of the remote host's realm as determined by instead of the remote host's realm as determined by
.Xr krb_realmofhost 3 . .Xr krb_realmofhost 3 .
.It Fl l .It Fl l Ar username
By default, the remote username is the same as the local username. By default, the remote username is the same as the local username.
The The
.Fl l .Fl l
option or the option or the
.Pa username@host .Ar username@host
format allow the remote name to be specified. format allow the remote name to be specified.
Kerberos authentication is used, and authorization is determined Kerberos authentication is used, and authorization is determined as in
as in
.Xr rlogin 1 . .Xr rlogin 1 .
.It Fl n .It Fl n
The The
@ -110,19 +108,20 @@ option redirects input from the special device
(see the (see the
.Sx BUGS .Sx BUGS
section of this manual page). section of this manual page).
.It Fl p .It Fl p Ar port
Uses the given Uses the given
.Pa port .Pa port
instead of the one assigned to the service "shell". instead of the one assigned to the service
.Dq shell .
May be given either as symbolic name or as number. May be given either as symbolic name or as number.
If no command is given, note that If no command is given, note that
.Nm rlogin .Xr rlogin 1
is started, which may need a different daemon is started, which may need a different daemon
.Nm ( rlogind , .No ( Xr rlogind 8
instead of instead of
.Nm rshd ) .Xr rshd 8 )
running on the server; You want to pass the running on the server; you want to pass the
.Nm rshd 's .Xr rshd 8
port number in that case. port number in that case.
.It Fl x .It Fl x
The The
@ -158,9 +157,13 @@ to
.Ar other_remotefile . .Ar other_remotefile .
.\" .Pp .\" .Pp
.\" Many sites specify a large number of host names as commands in the .\" Many sites specify a large number of host names as commands in the
.\" directory /usr/hosts. .\" directory
.\" .Pa /usr/hosts .
.\" If this directory is included in your search path, you can use the .\" If this directory is included in your search path, you can use the
.\" shorthand ``host command'' for the longer form ``rsh host command''. .\" shorthand
.\" .Dq host command
.\" for the longer form
.\" .Dq rsh host command .
.Sh FILES .Sh FILES
.Bl -tag -width /etc/hosts -compact .Bl -tag -width /etc/hosts -compact
.It Pa /etc/hosts .It Pa /etc/hosts
@ -192,8 +195,7 @@ using the
.Fl n .Fl n
option. option.
.Pp .Pp
You cannot run an interactive command You cannot run an interactive command (like
(like
.Xr rogue 6 .Xr rogue 6
or or
.Xr vi 1 ) .Xr vi 1 )