Don't close stdin after reading the makefile when doing 'make -f -'.
[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.\"
c2c51650 5.\" @(#)rlogin.1 6.3 (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] [
50964ee5
JB
18.B \-L
19] [
3f1cd9e6
KM
20.B \-l
21username ]
22.br
23rhost [
24\fB\-e\fR\fIc\fR
25] [
c4e935d1
KM
26.B \-8
27] [
50964ee5
JB
28.B \-L
29] [
3f1cd9e6
KM
30.B \-l
31username ]
32.SH DESCRIPTION
33.I Rlogin
34connects your terminal on the current local host system
35.I lhost
36to the remote host system
37.I rhost.
38.PP
39Each host has a file
40.I /etc/hosts.equiv
41which contains a list of \fIrhost\fR's with which it shares account names.
42(The host names must be the standard names as described in
43.IR rsh (1C).)
44When you
45.I rlogin
46as the same user on an equivalent host, you don't need
47to give a password.
48Each user may also have a private equivalence list in a file \&.rhosts
49in his login directory. Each line in this file should contain a \fIrhost\fP
50and a \fIusername\fP separated by a space, giving additional cases
51where logins without passwords are to be permitted.
52If the originating user is not equivalent to the remote user, then
53a login and password will be prompted for on the remote machine as in
54.IR login (1).
55To avoid some security problems, the \&.rhosts file must be owned by
56either the remote user or root and may not be a symbolic link.
57.PP
58Your remote terminal type is the same as your local
59terminal type (as given in your environment TERM variable).
60All echoing takes place at the remote site, so that (except for
61delays) the rlogin is transparent. Flow control via ^S and ^Q and
62flushing of input and output on interrupts are handled properly.
c4e935d1
KM
63The optional argument
64.B \-8
65allows an eight-bit data path,
66otherwise parity bits are stripped.
50964ee5
JB
67The argument
68.B \-L
69allows the rlogin session to be run in litout mode.
3f1cd9e6 70A line of the form ``~.'' disconnects from the remote host, where
c4e935d1
KM
71``~'' is the escape character.
72Similarly, the line ``~^Z'' (where ^Z, control-Z, is the suspend character)
73will suspend the rlogin session.
74Substitution of the delayed-suspend character (normally ^Y)
75for the suspend character suspends the send portion of the rlogin,
76but allows output from the remote system.
77A different escape character may
3f1cd9e6
KM
78be specified by the
79.B \-e
80option.
81There is no space separating this option flag and the argument
82character.
83.SH SEE ALSO
84rsh(1C)
85.SH FILES
86/usr/hosts/* for \fIrhost\fP version of the command
87.SH BUGS
88More terminal characteristics should be propagated.