Copying and pasting
You can copy selected text, screen, and scroll buffer into the Windows clipboard and paste the clipboard contents to the terminal window. You can also copy the text toΒ NotepadΒ bypassing the clipboard.
To select text area:
- Do one of the following:
- Left-click at the beginning of the text you want to select, and drag your mouse; then release it at the end of the text.Β
RESULT: The selected text will be changed to a reverse color. - Left-click and release your mouse at the beginning of the text you want to select, then move your cursor to the end of the text to select; left-click while pressing the Shift key .
- Double-click on the word you want to select.Β
RESULT: This will select the word on which the mouse cursor is located. Quickly left-click three times on the line you want to select.Β
RESULT: This will select the whole line.ΒNote
XshellΒ supports scrolled selection that is available in most Windows applications. You can do it by dragging the mouse cursor to the top or bottom of the terminal.
- Left-click at the beginning of the text you want to select, and drag your mouse; then release it at the end of the text.Β
To select text area in column mode:
- Press theΒ AltΒ key.
- Left-click at the start of the text you want to select, while pressing the button, drag the mouse cursor, and then release it at the end position of the text.
To copy selected text to the Windows clipboard:
- Select the text you want to copy.
- Do one of the following:Β
- In theΒ EditΒ menu, clickΒ Copy.
- In theΒ Toolbar, clickΒ Copy.
Press theΒ Ctrl+InsΒ key.
Note
You can paste the copied text to the terminal window as well as any Windows applications.
To copy selected text to text editor:
- Select the text you want to copy.
- In theΒ EditΒ menu, point toΒ To Text Editor.
ClickΒ Selected Area.
Note
You can also copy the text in screen or scroll buffer. A Notepad window will automatically show up with the copied text. This feature does not copy the text into the clipboard.
To paste the clipboard contents to the terminal:
- Do one of the following:
- In theΒ EditΒ menu, clickΒ Paste.
- In theΒ Toolbar, clickΒ Paste.
- Press theΒ Shift+InsΒ key.
Right-click on the terminal window. This works when you have selected theΒ Paste the clipboard contentsΒ option ofΒ Right-buttonΒ in theΒ GeneralΒ tab ofΒ OptionsΒ dialog box.
Note
The paste on right-click works the same way as the xterm program's paste function.
To configure xterm-like copy and paste:
- Open theΒ OptionsΒ dialog box.
- Click theΒ GeneralΒ tab.
- From theΒ Mouse - Right-button, selectΒ Paste the clipboard contents.
- Click theΒ EditΒ tab.
- SelectΒ Copy selected text to the clipboard automatically.
ClickΒ OK.
Note
TheΒ xtermΒ program copies text to the clipboard automatically when the user selects text, and it pastes the clipboard contents to the terminal on mid-click.