LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Copy text from command line (https://www.linuxquestions.org/questions/linux-general-1/copy-text-from-command-line-85428/)

Duukkis 08-25-2003 05:40 AM

Copy text from command line
 
How can I copy text from xterm or other that kind of terminal?

UltimaGuy 08-25-2003 05:46 AM

Yes, of course you can. And guess what, it is so simple that most people miss it.

Just select the text with your mouse, and then center click on any other application, to copy it. This works with all applications, and across all terminals. This works even in virtual terms.

jalal 08-25-2003 06:34 AM

and for those who don't have a 3 buttoned mouse (like yours truly), just click both buttons.

slakmagik 08-25-2003 06:42 AM

Just make sure, if you do that, that 'emulate 3 buttons' is uncommented in your XF86Config - I had to use a 2-button mouse a lot myself before I got my cool new one. :)

Duukkis 08-25-2003 08:38 AM

It's works by pressing both mousebuttons at the same time but I have three buttons!!! :) How do I enable the third button?

MacKtheHacK 08-25-2003 09:17 AM

Like Digiot said, look for the "Emulate3Buttons" line in your XF86Config (usually in /etc/X11). In your case, comment it out, or explicitly set it's value to "no". Log out and back in to start a new X session with the new option setting.

slakmagik 08-25-2003 11:12 AM

Or maybe add - I post this a lot - do a search! *g* - maybe add

Option "Z Axis Mapping" "4 5"

- and your type is probably IMPS/2, as well. And, yeah, no emulation then. :)

siyeclover 08-25-2003 11:38 AM

You can select the text with your mouse left key and paste it with your mouse right key.

siyeclover

Duukkis 08-25-2003 01:29 PM

Thanks now I can use my center button to copy and paste it's very useful!


All times are GMT -5. The time now is 09:22 PM.