![]() Worked on this for a while, and Putty itself can't let you copy with just the clipboard. ) Write the contents of the paste buffer to theĬ-a } (history) Copy and paste a previous (command) line.Ĭ-a > (writebuf) Write paste buffer to a file. an excerpt from the man pages: C-a esc (copy) Enter copy/scrollback mode.Ĭ-a ] (paste. If you need to copy and paste only within the terminal window itself, refer to either the man page for the shell you're using or consider using the unix "screen" app ('man screen' for more info), which allows text selection for copy / paste within the terminal window (similar to how vi's copy / paste works). Pasting from the Windows clipboard into putty can be done with Shift- Insert. The only way to copy information from the putty window to the Windows clipboard with a keyboard shortcut is to use the app system menu "copy all to clipboard" (which you can invoke from alt-space, provided you set the "Window > Behavior > System menu appears on ALT-Space" option configured in putty. there is a feature request on the putty site specifically for this functionality. See section 4.6.2 and section 4.11.3 for details of this feature and how to configure it.So far as I know, there is no means of copying a selected area from the putty window to the Windows clipboard without using the mouse. If this happens, the mouse pointer will turn into an arrow, and using the mouse to copy and paste will only work if you hold down Shift. It's possible for the server to ask to handle mouse clicks in the PuTTY window itself. (If you have configured the middle mouse button to paste, then the right mouse button does this instead.) Click the button on the screen, and you can pick up the nearest end of the selection and drag it to somewhere else. If you have a middle mouse button, then you can use it to adjust an existing selection if you selected something slightly wrong. Shift+Alt+drag should work for rectangular selection as well, so you could try that instead.) ![]() (In some Unix environments, Alt+drag is intercepted by the window manager. You can also configure rectangular selection to be the default, and then holding down Alt gives the normal behaviour instead: see section 4.11.4 for details. If you want to select a rectangular region instead of selecting to the end of each line, you can do this by holding down Alt when you make your selection. (You can adjust precisely what PuTTY considers to be part of a word see section 4.11.5.) If you triple-click, or triple-click and drag, then PuTTY will select a whole line or sequence of lines. If you double-click, hold down the second click, and drag the mouse, PuTTY will select a sequence of whole words. If you double-click the left mouse button, PuTTY will select a whole word. There is nothing PuTTY can do about this.) (Therefore, be careful of pasting formatted text into an editor that does automatic indenting you may find that the spaces pasted from the clipboard plus the spaces added by the editor add up to too many spaces and ruin the formatting. (Pressing Shift-Ins, or selecting ‘Paste’ from the Ctrl+right-click context menu, have the same effect.) When you click the right mouse button, PuTTY will read whatever is in the Windows clipboard and paste it into your session, exactly as if it had been typed at the keyboard. Pasting is done using the right button (or the middle mouse button, if you have a three-button mouse and have set it up see section 4.11.2). You do not need to press Ctrl-C or Ctrl-Ins in fact, if you do press Ctrl-C, PuTTY will send a Ctrl-C character down your session to the server where it will probably cause a process to be interrupted. When you let go of the button, the text is automatically copied to the clipboard. In order to copy text to the clipboard, you just click the left mouse button in the terminal window, and drag to select text. ![]() PuTTY's copy and paste works entirely with the mouse. Also, copy and paste uses the Windows clipboard, so that you can paste (for example) URLs into a web browser, or paste from a word processor or spreadsheet into your terminal session. ![]() Like most other terminal emulators, PuTTY allows you to copy and paste the text rather than having to type it again. Often in a PuTTY session you will find text on your terminal screen which you want to type in again. Previous page next page 3.1.1 Copying and pasting text
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |