make HSIZE dynamic
[unix-history] / usr / src / usr.bin / rlogin / rlogin.1
CommitLineData
3f1cd9e6
KM
1.\" Copyright (c) 1983 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
c4e935d1 5.\" @(#)rlogin.1 6.1 (Berkeley) %G%
3f1cd9e6 6.\"
c4e935d1 7.TH RLOGIN 1C ""
3f1cd9e6
KM
8.UC 5
9.SH NAME
10rlogin \- remote login
11.SH SYNOPSIS
12.B rlogin
13rhost [
14\fB\-e\fR\fI\|c\fR
15] [
c4e935d1
KM
16.B \-8
17] [
3f1cd9e6
KM
18.B \-l
19username ]
20.br
21rhost [
22\fB\-e\fR\fIc\fR
23] [
c4e935d1
KM
24.B \-8
25] [
3f1cd9e6
KM
26.B \-l
27username ]
28.SH DESCRIPTION
29.I Rlogin
30connects your terminal on the current local host system
31.I lhost
32to the remote host system
33.I rhost.
34.PP
35Each host has a file
36.I /etc/hosts.equiv
37which contains a list of \fIrhost\fR's with which it shares account names.
38(The host names must be the standard names as described in
39.IR rsh (1C).)
40When you
41.I rlogin
42as the same user on an equivalent host, you don't need
43to give a password.
44Each user may also have a private equivalence list in a file \&.rhosts
45in his login directory. Each line in this file should contain a \fIrhost\fP
46and a \fIusername\fP separated by a space, giving additional cases
47where logins without passwords are to be permitted.
48If the originating user is not equivalent to the remote user, then
49a login and password will be prompted for on the remote machine as in
50.IR login (1).
51To avoid some security problems, the \&.rhosts file must be owned by
52either the remote user or root and may not be a symbolic link.
53.PP
54Your remote terminal type is the same as your local
55terminal type (as given in your environment TERM variable).
56All echoing takes place at the remote site, so that (except for
57delays) the rlogin is transparent. Flow control via ^S and ^Q and
58flushing of input and output on interrupts are handled properly.
c4e935d1
KM
59The optional argument
60.B \-8
61allows an eight-bit data path,
62otherwise parity bits are stripped.
3f1cd9e6 63A line of the form ``~.'' disconnects from the remote host, where
c4e935d1
KM
64``~'' is the escape character.
65Similarly, the line ``~^Z'' (where ^Z, control-Z, is the suspend character)
66will suspend the rlogin session.
67Substitution of the delayed-suspend character (normally ^Y)
68for the suspend character suspends the send portion of the rlogin,
69but allows output from the remote system.
70A different escape character may
3f1cd9e6
KM
71be specified by the
72.B \-e
73option.
74There is no space separating this option flag and the argument
75character.
76.SH SEE ALSO
77rsh(1C)
78.SH FILES
79/usr/hosts/* for \fIrhost\fP version of the command
80.SH BUGS
81More terminal characteristics should be propagated.