BSD 4_3_Net_2 release
[unix-history] / usr / src / usr.bin / rlogin / rlogin.1
index 17bef4f..58abc21 100644 (file)
@@ -1,23 +1,37 @@
 .\" 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.
 .\"
 .\"
-.\"     @(#)rlogin.1   6.16 (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
+.\"    @(#)rlogin.1    6.19.1.1 (Berkeley) 8/20/91
+.\"
+.Dd August 20, 1991
 .Dt RLOGIN 1
 .Os BSD 4.2
 .Sh NAME
 .Dt RLOGIN 1
 .Os BSD 4.2
 .Sh NAME
@@ -25,7 +39,7 @@
 .Nd remote login
 .Sh SYNOPSIS
 .Ar rlogin
 .Nd remote login
 .Sh SYNOPSIS
 .Ar rlogin
-.Op Fl 8KLdx
+.Op Fl 8EKLd
 .Op Fl e Ar char
 .Op Fl k Ar realm
 .Op Fl l Ar username
 .Op Fl e Ar char
 .Op Fl k Ar realm
 .Op Fl l Ar username
@@ -41,36 +55,45 @@ If the remote host does not supporting Kerberos the standard Berkeley
 .Pa rhosts
 authorization mechanism is used.
 The options are as follows:
 .Pa rhosts
 authorization mechanism is used.
 The options are as follows:
-.Tw Fl
-.Tp Fl 8
+.Bl -tag -width flag
+.It Fl 8
 The
 .Fl 8
 option allows an eight-bit input data path at all times; otherwise
 parity bits are stripped except when the remote side's stop and start
 The
 .Fl 8
 option allows an eight-bit input data path at all times; otherwise
 parity bits are stripped except when the remote side's stop and start
-characters are other than ^S/^Q.
-Eight-bit mode is the default.
-.Tp Fl K
+characters are other than
+^S/^Q .
+.It Fl E
+The
+.Fl E
+option stops any character from being recognized as an escape character.
+When used with the
+.Fl 8
+option, this provides a completely transparent connection.
+.It Fl K
 The
 .Fl K
 option turns off all Kerberos authentication.
 The
 .Fl K
 option turns off all Kerberos authentication.
-.Tp Fl L
+.It Fl L
 The
 .Fl L
 option allows the rlogin session to be run in ``litout'' (see
 The
 .Fl L
 option allows the rlogin session to be run in ``litout'' (see
-.Xr tty  4  )
+.Xr tty 4 )
 mode.
 mode.
-.Tp Fl d
+.It Fl d
 The
 .Fl d
 option turns on socket debugging (see
 The
 .Fl d
 option turns on socket debugging (see
-.Xr setsockopt  2  )
+.Xr setsockopt 2 )
 on the TCP sockets used for communication with the remote host.
 on the TCP sockets used for communication with the remote host.
-.Tp Fl e
-By default, the tilde (``~'') character is the escape character.
+.It Fl e
 The
 .Fl e
 The
 .Fl e
-option allows specification of a different escape character.
-.Tp Fl k
+option allows user specification of the escape character, which is
+``~'' by default.
+This specification may be as a literal character, or as an octal
+value in the form \ennn.
+.It Fl k
 The
 .FL k
 option requests rlogin to obtain tickets for the remote host
 The
 .FL k
 option requests rlogin to obtain tickets for the remote host
@@ -78,23 +101,15 @@ 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 Fl x
-The
-.Fl x
-option turns on DES encryption for all data passed via the
-rlogin session.
-This may impact response time and CPU utilization, but provides
-increased security.
-.Tp
+.El
 .Pp
 .Pp
-A line of the form ``~.'' disconnects from the remote host, where ``~''
-is the escape character.
-Similarly, the line ``~^Z'' will suspend the
+A line of the form ``<escape char>.'' disconnects from the remote host.
+Similarly, the line ``<escape char>^Z'' will suspend the
 .Nm rlogin
 .Nm rlogin
-session.
-Substitution of the delayed-suspend character (normally ^Y) for the
-suspend character suspends the send portion of the rlogin, but allows
-output from the remote system.
+session, and ``<escape char><delayed-suspend char>'' suspends the
+send portion of the rlogin, but allows output from the remote system.
+By default, the tilde (``~'') character is the escape character, and
+normally control-Y (``^Y'') is the delayed-suspend character.
 .Pp
 All echoing takes place at the remote site, so that (except for delays)
 the
 .Pp
 All echoing takes place at the remote site, so that (except for delays)
 the
@@ -129,23 +144,25 @@ the remote user.
 .Pp
 If Kerberos authentication fails, a warning message is printed and the
 standard Berkeley
 .Pp
 If Kerberos authentication fails, a warning message is printed and the
 standard Berkeley
-.Em rlogin
+.Nm rlogin
 is used instead.
 .Sh ENVIRONMENT
 The following environment variable is utilized by
 .Nm rlogin :
 is used instead.
 .Sh ENVIRONMENT
 The following environment variable is utilized by
 .Nm rlogin :
-.Tw Fl
-.Tp Ev TERM
-to find user's terminal type.
-.Tp
+.Bl -tag -width TERM
+.It Ev TERM
+Determines the user's terminal type.
+.El
 .Sh SEE ALSO
 .Xr rsh 1 ,
 .Xr kerberos 3 ,
 .Xr krb_sendauth 3 ,
 .Xr krb_realmofhost 3
 .Sh HISTORY
 .Sh SEE ALSO
 .Xr rsh 1 ,
 .Xr kerberos 3 ,
 .Xr krb_sendauth 3 ,
 .Xr krb_realmofhost 3
 .Sh HISTORY
-.Nm Rlogin
-appeared in 4.2 BSD.
+The
+.Nm rlogin
+command appeared in
+.Bx 4.2 .
 .Sh BUGS
 .Nm Rlogin
 will be replaced by
 .Sh BUGS
 .Nm Rlogin
 will be replaced by