4

After browsing any link using w3m browser, that comes by default with Ubuntu server, I am not able to do copy paste content of webpage. I surf link using

w3m <link>

After surfing link, I pressed Ctrl+Insert but did not find any any copy paste option. I have installed gpm, but it also not allow to copy.

Please help me out.

1 Answers1

2

If you're on a server, use screen which provides a mechanism to copy program output/display content independently. This SO post provides a quick guide:

  • Ctrl-A Esc,
  • arrows to get to the start of the URL
  • Enter to start selection
  • arrows to get to the end of the URL
  • Enter to end selection and push it into screen's buffer
  • paste it into a shell using Ctrl-]

You should use screen (or tmux) for a lot of reasons if you're on a server. This is one of them.

muru
  • 207,228