One approach to copy long lines from htop is the following:
step 1. Change the font size of your terminal to something very small (say 6pt).
step 2. Run htop and maximize window
step 3. Run your processes, switch to htop window and carefully do Ctrl + Shift + A to select everything, then release A and hit C (without releasing Ctrl + Shift). It might take some time to be able to do it (some of the times you might kill htop accidentally).
step 4. Open gedit or another text editor and Ctrl + V if the editor is a GUI or hit Ctrl + Shift + V if the editor opened on the terminal (for example nano).
You can select and copy text in
top
, though you have to be quick before the display changes. I don't know what terminal handling is inhtop
, but as you observe it seems to preclude selecting and therefore copying. I tried Ctrl-z and reset the terminal, but this didn't help when I restarted the task withfg
. So at the moment I conclude that the answer to your question is "no". I am not sure why you want to copy text, but screen capture ought to work as a means to save an instantaneous state. – AFH – 2014-09-10T22:01:59.483