A X window system has an amazing feature called selection buffer:
The selection buffer
This buffer is updated automatically when you select any text, and is generally the handiest buffer to use, as you can paste from it by clicking the middle mous...