
Interactive Connections
Using the MSS
5 - 6
No backward or forward switch keys are enabled by default. They must
be explicitly defined using the commands in Figure 5-8. To specify a
control character, precede it with a carat (^).
Figure 5-8:
Defining Switches
A user’s open sessions can be thought of as a list from the earliest to the
most recently created. Forward refers to a more recent connection, while
backward refers to a session started earlier. The list is also circular; going
forward from the most recently created session takes you to the earliest
session, and going backward from the earliest session resumes the most
recent session. For example, user Bob connects to host Thor. He then
breaks to local mode and connects to host Duff. After working, he breaks
and connects to host Conan. His session list, shown with the Show
Session
command, would be:
1.
Thor
2.
Duff
3.
Conan
In the example, Conan is the current session. The current session is either
the session to which a user is currently connected, or the last session the
user was in before entering local mode.
If Bob presses the backward key while working in Conan, he will resume
his session on Duff. If he presses the forward key while working in
Conan, he will move to his session on Thor.
5.2.1.4 Disconnect and Resume
Users need a method of controlling and disconnecting sessions from local
mode. For example, if a session on a remote host freezes or hangs while
executing code, the user can exit the session using the Break key, then
terminate the connection by entering the Disconnect command at the
Local prompt. A user may resume a session after returning to local mode
by entering the Resume command. Both commands can affect any active
sessions, not just the current session.
Local>> CHANGE BACKWARD SWITCH ^B
Local>> CHANGE FORWARD SWITCH ^F