Copying and Pasting
CRT provides you with a variety of ways to copy and paste text to and from the terminal screen. There are several ways CRT aids you in the process of copying and pasting. This section covers the basics on accomplishing the following tasks:
Selecting Text in the Terminal Window
Customizing Word Delimiter Characters
Pasting Text from the Clipboard to the Terminal Screen
Copying and Pasting with CTRL+C and CTRL+V (CUA Copy and Paste)
Selecting Text in the Terminal Window
There are a variety ways to select text in the CRT terminal screen.
Selecting Rows of Text
This method involves moving the mouse pointer across the words or rows of text you want selected while holding down the left mouse button. This is the default method for selecting text (see figure 3.5).
Selecting Columns (blocks) of Text
This method is useful for selecting columns of text rather than rows of text. To select a block of text made of up one or more columns of text on the terminal screen, hold down the Alt key while moving the mouse pointer down the column(s) you want selected while holding down the left mouse button (See figure 3.6).
Selecting an Entire "Word" of Text
Another method of selecting text makes selecting an entire word easy. You can select an entire word just by positioning the mouse cursor over the word and then double-clicking on the word with the left mouse button. In addition to being able to select an entire word with a mere double-click, CRT provides a way for you to customize the word delimiter characters on a per-session basis.
Figure 3.5 Selecting rows of text in the terminal screen
Figure 3.6 Selecting columns of text in the terminal screen while holding down the Alt key
Customizing Word Delimiter Characters
By default, CRT uses all non-alphanumeric characters as word delimiters when selecting an entire "word" with a double-click action as described in the Selecting Text in the Terminal Window section of this help topic.
You can modify the word delimiter characters using the following steps:
4 Select the Options / Advanced category in the Session Options dialog.
4 In the Advanced Session Options panel, select the Set word delimiter characters option and enter your personal word delimiter characters. Do not separate the entries with spaces or any other character. For example, as shown in figure 3.7 below, the user has chosen the exclamation !, $, %, and & characters as word delimiters.
Figure 3.7 Customizing Word Delimiter Characters
Copying Text to the Clipboard:
To copy text from the terminal screen to the Clipboard:
4 Select the text you want to copy by dragging the mouse cursor over the desired area of text.
4 Select Copy from the Edit menu on the CRT menu bar OR click on the copy buttonááá, located on the CRT toolbar.
The selected text is now copied to the Clipboard and ready for pasting.
Pasting Text from the Clipboard to the Terminal Screen:
To paste text from the Clipboard to the terminal screen:
4 Select Paste from the Edit menu on the CRT menu bar OR click on the paste buttonááá, located on the CRT toolbar.
The contents of the Clipboard will be inserted at the point of the text cursor in the terminal screen.
CRT also provides a feature which allows you to copy and paste from the terminal screen back to the terminal screen with just one step. Simply select the text you would like to paste, and then select Copy & Paste from the Edit menu on the CRT menu bar.
The copy on select feature allows you to speed up the process of copying text from the terminal screen to the Clipboard. If this feature is enabled, text is copied to the Clipboard as soon as it is selected.
To enable/disable the copy on select feature:
4 Select the Options section in the Global Options dialog.
4 In the Mouse section of the Global Options dialog, select/deselect the Copy on select option.
The middle button paste feature allows you to speed up the process of pasting content from the Clipboard to the terminal screen. If this feature is enabled, text is pasted from the Clipboard to the terminal screen as soon as the middle mouse button is pressed. If your mouse does not have a middle mouse button, a middle button click can be simulated by pressing both the left and right mouse buttons simultaneously.
To enable/disable the middle button paste feature:
4 Select the Options section of the Global Options dialog.
4 In the Mouse section of the Global Options dialog, select/deselect the Paste on middle button option.
Copying and Pasting with Ctrl+C and Ctrl+V (CUA Copy and Paste)
To enable the Ctrl+C, Ctrl+V, Ctrl+A, and Ctrl+F accelerators for copy, paste, select all, and find, respectively:
4 Select the Options / Advanced category in the Session Options dialog.
4 Select the CUA copy and paste option.
4 A message box will appear with the following warning:
Warning: Turning on CUA copy and paste will disable your ability to send Ctrl+A, Ctrl+C, Ctrl+F and Ctrl+V to the remote host. Most UNIX users should leave this option off.
4 Click on the OK button on the Warning dialog.
4 Click on the OK button at the bottom of the Session Options dialog.