Copy the entire content of a file opened in Putty to clipboard
You are only able to copy the contents of the currently visible text and the scrollback buffer. For an editor this does not work because it only uses the visible available terminal space to print the file. if you scroll up or down it 'redraws' the visible space with new information.
If you want to copy a large file, run more filename.txt
, go to the end of the file (hit space multiple times) and scroll back in the buffer. You might need to increase the buffer to hold the entire file. This can be done under Settings->Window->Lines of scrollback.