I have been building a Linux From Scratch system and I have installed the Links web browser on it, which I am running in graphical mode via DirectFB (I have not yet installed the X Window System). I am wondering if there is a way that I can copy text from a Links webpage running in one tty, to a console (Bash) running in another tty?

I know text can be copied between two ttys with GPM; however, I can't find a way to do it from Links. In text mode, I seem to be unable to highlight text with the cursor; in graphical mode, I can highlight text, but it doesn't copy to the console with the middle mouse button, like it does in GPM.

It would be very helpful for building further LFS packages, if I could copy-paste text from a web browser to the console.

  • 1
    Use screen – Ipor Sircer Jun 25 '18 at 17:16
  • @IporSircer ok, I'll give that a try. Thanks. – Time4Tea Jun 25 '18 at 18:03
  • 2
    Yes, screen and tmux both have a "copy" feature, after using CTRL+A "ESC" (screen) or CTRL+B "ESC" (tmux). That way it is no longer relevant which program you're trying to copy from. – Stefan M Jun 25 '18 at 19:26

Try to hold down shift when you are trying to copy and paste inside of Links.

  • I tried to hold down shift, nothing happened - cut and paste not possible. – Graham Leggett Mar 31 '20 at 20:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.