2.5 Work with More than One Session

In Reflection, the size, location, and arrangement of the workspace and any open terminal or Web session documents can be saved to a layout file. When opened, a layout automatically opens and arranges all documents saved to the layout, opens and positions any docked panes (such as Scratch Pad or Screen History), and connects session documents to configured hosts.

If the workspace is configured to display documents as tabs, you can create a name for each tab. This can be useful when you use two different applications on one host. You can create a session document that connects to that host, then open the document twice, add a different name to each tab, and then save your layout.

To make it easier to work with more than on e session, you can:

2.5.1 Create or Modify a Layout

By saving terminal sessions you use regularly to a layout, you can open them all at once, arranged as you prefer, just by opening the layout.

NOTE:If you already have terminal session or Web session document open when you open a layout, the layout opens in a new workspace.

To create a layout

  1. Open the documents and any docked panes you want to include in the layout.

  2. (Optional) To access multiple layouts using the Reflection .NET API, enter the necessary API settings as follows:

    1. Enter the appropriate values for the server and channel name.

  3. (Optional) If the workspace is configured to display documents as tabs, you can add a descriptive label to each document tab:

    1. Right-click the session tab, and then choose Tab Properties.

    2. In the Name box, type in the name that you want to appear on the tab, and then click OK.

  4. Adjust the size and position of the workspace, as needed.

  5. Name and save the layout file to a trusted location, and then click Save.

    If you haven't saved the session documents, you are prompted to do so.

To modify a saved layout

  • To save changes to a layout, save it again using the same name.

    NOTE:Reflection doesn't prompt you to save changes to a layout.

2.5.2 Open a Layout

By saving terminal sessions you use regularly to a layout, you can open them all at once, arranged as you prefer, just by opening the layout.

NOTE:If you already have terminal session or Web session documents open when you open a layout, the layout opens in a new workspace.

To open a layout

  1. Select the layout file you want, and then click Open.

    Layout files created in Reflection end with the extension .rwsp.

2.5.3 Set Tab Colors

When you are running multiple sessions, color-coding session tabs can help identify which host application each session is connected to.

You can customize the text and background colors of a session tab. After you set the tab colors for your sessions, you can save them in a layout file so that the tab colors are used the next time you open the layout.

NOTE:

  • You can save session tab color settings only in layout files. These settings are not saved in session files.

  • You can change only one tab at a time. You cannot globally change all tab colors.

To set tab background and text colors

You can set different colors for a session tab’s text and background. You can also set different colors for active and inactive states.

  1. On the Session tab, right-click and then select Customize Tab Colors to open the Customize Tab Colors dialog box.

  2. To set inactive tab colors, in the Inactive tab colors list, click Change and then select the foreground (text) color or background color.

  3. Set the Active tab colors in the same way.

  4. HINT:If you want to set only the tab background color, you can use an alternative approach. With a session open, click the Appearance tab and from the Color menu, choose a color. Then click on the session tab to set its background color. (The selected color is used as the tab’s background, for both active and inactive states.)

Related Topics