Unformatted text preview: he client.
The job-control delayed-suspend character (often Control-Y) suspends only the
client input. Everything we type is now interpreted by whatever program we run on
the client host, but anything sent to the Rlogin client by the Rlogin server is output
to our terminal. This can be used when we start a long running job on the server and
we want to know when it outputs something, but we want to continue running other
programs on the client. file:///D|/Documents%20and%20Settings/bigini/Documenti/homenet2run/tcpip/tcp-ip-illustrated/telnet.htm (7 of 26) [12/09/2001 14.47.45] Chapter 26. Telnet and Rlogin: Remote Login The last two commands are supported only if the client Unix system supports job control. 26.3 Rlogin Examples
We'll look at two examples: the first shows the client-server protocol at the start of an
Rlogin session, and the second shows what happens when we type our interrupt key to
abort a running process on the server that is generating lots of output. In Figure 19.2 we
showed the normal flow of data across an Rlogin session.
Initial Client-Server Protocol
Figure 26.5 shows the time line for an Rlogin connection from the host bsdi to the server
on svr4. (We have removed the normal TCP connection establishment, the window
advertisements, and the type-of-service information.) file:///D|/Documents%20and%20Settings/bigini/Documenti/homenet2run/tcpip/tcp-ip-illustrated/telnet.htm (8 of 26) [12/09/2001 14.47.45] Chapter 26. Telnet and Rlogin: Remote Login Figure 26.5 Time line for an Rlogin connection.
The protocol we described in the previous section can be seen in segments 1-9. The client
sends a single byte of 0 (segment 1) followed by three strings (segment 3). In this example
the three strings are rstevens (the login name on the client), rstevens (the login
name on the server), and ibmpc3/9600 (the terminal type and speed). The server
authenticates this and responds with a byte of 0 (segment 5).
The server then sends the window request command (segment 7). It is sent using TCP's
View Full Document
This test prep was uploaded on 04/04/2014 for the course ECE EL5373 taught by Professor Guoyang during the Spring '12 term at NYU Poly.
- Spring '12