title: less viewer: Copy all the lines to clipboard
body: <p>There has already been a post in stackoverflow for VI editor for copying all the text into the clipboard. (<a href="https://stackoverflow.com/questions/1620018/vi-editor-copy-all-the-lines-to-clipboard">Copy all the lines to clipboard</a>)  I want to do the same thing with the <code>less</code> viewer. I tried to search online for the process called "yank" and I did not find anything for it.</p>
  
  <p>How do I copy all lines in the less editor into the clip board.  </p>
  
  <p>And I cannot close less and reopen it in vi.  It is because of the fact that I have managed to load this file into the editor and while I have loaded it, the file has already been moved in the back end.  It is a long story.  The easiest solution for me now is to copy the contents of the file into memory.</p>