How to select a line of text in the archaic terminal browser – Links

copy/pastelinksterminal

I poured over this http://links.twibright.com/user_en.html#subsubch-html_options

But so far does not seem like there is an key to select a line in the browser running in text mode. I would like to select a line and copy it. The cool thing about doing this is that I can stay in a terminal environment and if I need to search something on the net like a github repo I can use Links to copy paste the repo url.

Best Answer

I assume you are not running X. This means you have no native clipboard support. There are several ways to use a clipboard in terminal applications. The difference to GUI applications is that they cut and paste operation is not performed from within the application. Instead it is done using a different program.

1) One way is to start the brower in tmux and use the C-b[ to enter copy mode. Press space bar to start the selection and enter to copy. Pasting is done using C-b].

2) A different solution is to use the gpm daemon. You can use your mouse and copy-paste as you would in X.