Skip to content

Cut and Paste

You can copy screen data to the Clipboard and then paste it into other sessions or applications, such as Microsoft Word. You can also configure how text is selected when you copy and paste. From a session in Reflection, you can:

Use the Clipboard (3270 and 5250)

In 3270 and 5250 sessions, the Clipboard has a few features that are only available from the Reflection menu: Paste Next, Cut and Append, Copy and Append.

Use Paste Next when you have more data in the Clipboard than will fit in a field, and you want to paste the remaining data into another field. Where the Paste command would start at the beginning of the data in the Clipboard, Paste Next starts at the beginning of the remaining data (that is, the Clipboard contents minus what was pasted in the previous field). Consecutive uses of Paste Next gradually empty the Clipboard.

To paste data into multiple fields

  1. With data in the Clipboard, place the cursor in the first target field.

  2. Select Paste. The steps depend on your user interface mode.

    User Interface Mode Steps
    Ribbon From the Clipboard group on the Session ribbon, click Paste.
    Reflection Browser From the Reflection menu, choose Edit and then choose Paste.
    TouchUx Tap the folder icon and then choose Paste.
  3. Move the cursor to the next target field.

  4. From the Ribbon Paste button menu (or the Reflection Browser Edit menu), click Paste Next.

  5. (Optional) Repeat steps 2 and 3 as necessary.

Use Cut and Append or Copy and Append when you want to add to the Clipboard contents instead of replacing the Clipboard contents.

To append data to the Clipboard contents

  1. Select the data you want to add to the Clipboard.

    note

    You can select a word in a field by double-clicking the word or select all of the words in a field by triple-clicking the field.

  2. From the Ribbon Cut or Copy buttons (or the Reflection Browser Edit menu), choose Cut and Append or Copy and Append.

Copy and Paste Host Data

You can copy entire host screens or selected data to the clipboard, then print the data, paste it to other host screens, Microsoft Office products installed on your computer, or other types of files.

To send host screens or data directly to Microsoft Office products, see Integrate Host Data with Office Tools.

To copy selected data from the current screen to other locations

  1. Navigate to the host data you want to copy.

  2. Select specific data to copy, then press CTRL+C.

    note

    You can select a word in a field by double-clicking the word or select all of the words in a field by triple-clicking the field.

  3. Navigate to the location where you want to paste the data. This can be on the same host screen, another host screen, or even in another application.

  4. Press CTRL+V.

Copy Data in a Tabular Format

You can copy data from the screen and paste it into an application that accepts tabular data (for example, a spreadsheet). By default, table columns are set by analyzing vertical space alignment. Optionally, you can configure Reflection so that columns are set by replacing multiple spaces or tabs with a single tab. (See Configure Clipboard Settings.)

To copy data from the current screen to a spreadsheet

  1. Select the host data to copy.

  2. Copy the data as follows:

    The steps depend on your user interface mode.

    User Interface Mode Steps
    Ribbon On the Session ribbon Clipboard group, click the Copy drop-down menu and then select Copy Table.
    Reflection Browser On the Reflection menu, choose Edit and then Copy Table.
  3. Open the spreadsheet and press CTRL+V.

To copy host screens from Screen History to another location

  1. Open the Screen History task pane. The steps depend on your user interface mode.

    User Interface Mode Steps
    Ribbon On the Session ribbon, click the Screen History button.
    Reflection Browser On the Reflection menu, choose View and then Screen History.
    TouchUx Tap the Wrench icon and then under View, select Screen History.
  2. Select the screen that you want to copy.

    note

    Only text areas of the host screen are included in the recorded image; host graphics images are not included.

  3. From the toolbar in the Screen History task pane, click the Copy button.

  4. Choose Copy as Text or Copy as Bitmap.

  5. Navigate to the location where you want to paste the host screen. This would typically be a file in another application (word-processing, e-mail, and so on).

  6. Press CTRL+V.

Using a Paste Range

A paste range defines a region in which you can paste text across multiple screens. After you cut, copy, or append a selection on the Clipboard, you can set the paste range before inserting the selection within the host application. You can also use the Paste Next command to paste text across multiple screens.

note

The changes you make in the Paste Range dialog box are retained only while your session is open and are not saved when you close your session. If you close and reopen your session, you'll need to adjust these settings again. You cannot save these settings. If you need to define a paste range that you can reuse after you close and reopen your session, you can create a VBA macro that pastes text into a custom paste range (see the PasteRange method in the VBA Help).

Paste Range is supported for IBM 3270 and IBM 5250 terminals.

To paste Clipboard information over multiple screens within a host application

  1. In a host application or another Windows application, cut, copy, or append a selection on the Clipboard.

  2. Open the Paste Range Dialog Box.

    The steps depend on your user interface mode.

    User Interface Mode Steps
    Ribbon On the Session tab, on the Paste drop down menu, select Paste Range.
    Classic IBM On the Edit menu, select Paste Range.
  3. Edit the paste range for the First screen and Remaining screens as needed to fit the paste area.

  4. If you need to specify a different page down key to send, select it from the Page Down list.

    This terminal key is used to scroll automatically to the second and remaining screens of the paste range when the pasted text exceeds the end of the screen.

  5. Click OK to paste the data into the paste range you specified.

note

For more about Paste Range settings, see Paste Range Dialog Box

Undo a Cut or Paste

You can undo the latest cut or paste you make in an IBM terminal window.

To undo a cut or paste

On the Reflection Ribbon, click .

note

  • When you undo a cut or paste, any data you have typed in since that cut or paste is removed.

  • After you undo a cut or paste, you can choose to redo it by clicking again.

Select and Mark Text on a Terminal Screen

Reflection provides two different styles for selecting and marking text on the terminal screen, using either your keyboard or your mouse.

You can select and mark any rectangular area on the screen, or you can select and mark contiguous lines on the screen. You can also set the default behavior for your terminal sessions.

To set the default for selecting text on VT sessions

  1. Open the Settings window. The steps depend on your user interface mode.

    User Interface Mode Steps
    Ribbon or Reflection Browser With a session open in Reflection, from the Quick Access Toolbar, click .
    TouchUx Tap the Gear icon and then select Document Settings.
  2. In the Settings dialog box, select Configure Terminal Settings.

  3. In the Terminal Setup dialog box, select the Keyboard & Mouse tab.

  4. To set text selection so that selected text forms a rectangle (instead of wrapping), select Rectangular selection.

To set the default for selecting text on IBM sessions

  1. Open the Settings window. The steps depend on your user interface mode.

    User Interface Mode Steps
    Ribbon or Reflection Browser With a session open in Reflection, from the Quick Access Toolbar, click .
    TouchUx Tap the Gear icon and then select Document Settings.
  2. In the Settings dialog box, select Configure Terminal Settings.

  3. To set text selection so that selected text forms a rectangle (instead of wrapping), select Rectangular selection (mouse).

To select text using the non-default behavior

  • (IBM only) When using the mouse, to use the non-default behavior, hold down the CTRL key while dragging the mouse.

-or-

  • (VT and IBM) When using a keyboard, to change the default behavior, select the Screen Selection (Keyboard) action in the Keyboard Mapper, and then choose either Rectangular Block or Contiguous Lines.

More information