8

It is common to not use the mouse at all in a terminal, but it is not easy to find how to select text in a terminal just with the keyboard.

Once selected CTRL+SHIFT+C and CTRL+SHIFT+V can be used to copy and paste, but how to select text?

Günter Zöchbauer
  • 623,577
  • 216
  • 2,003
  • 1,567
Delirium tremens
  • 4,623
  • 9
  • 46
  • 59

2 Answers2

4

Highlighting with the mouse. *runs*

Ignacio Vazquez-Abrams
  • 776,304
  • 153
  • 1,341
  • 1,358
3

Just found this on net..

  1. Open screen: screen
  2. Run your program, producing output you want copied
  3. Enter copy mode: ^A [
  4. Move your cursor to the start point
  5. Hit enter
  6. Move your cursor to the end point
  7. Hit enter
  8. Paste: ^A ]

would that do ?

Vaibhav
  • 6,620
  • 11
  • 47
  • 72