My Windows laptop uses a VirtualBoxed Linux machine to connect to a remote machine, both using Ubuntu 14.04 LTS. On the remote machine I look at files using nano or less. How do I copy part or all of a file from inside these terminal applications and then paste this text into my local machine (as a file or into a file via e.g. gedit)? For reasons I won't go into, I can't scp from the remote machine.