LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-25-2003, 06:40 AM   #1
Duukkis
Member
 
Registered: May 2003
Location: Finland
Distribution: Debian Sarge
Posts: 75

Rep: Reputation: 15
Copy text from command line


How can I copy text from xterm or other that kind of terminal?
 
Old 08-25-2003, 06:46 AM   #2
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 31
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.
 
Old 08-25-2003, 07:34 AM   #3
jalal
Member
 
Registered: Aug 2003
Location: .bh
Distribution: Gentoo
Posts: 188

Rep: Reputation: 30
and for those who don't have a 3 buttoned mouse (like yours truly), just click both buttons.
 
Old 08-25-2003, 07:42 AM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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.
 
Old 08-25-2003, 09:38 AM   #5
Duukkis
Member
 
Registered: May 2003
Location: Finland
Distribution: Debian Sarge
Posts: 75

Original Poster
Rep: Reputation: 15
It's works by pressing both mousebuttons at the same time but I have three buttons!!! How do I enable the third button?
 
Old 08-25-2003, 10:17 AM   #6
MacKtheHacK
Member
 
Registered: Jul 2003
Location: Boston, MA, USA
Distribution: RedHat, SuSE, Gentoo, Slackware, Mandrake ...
Posts: 111

Rep: Reputation: 15
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.
 
Old 08-25-2003, 12:12 PM   #7
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
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.
 
Old 08-25-2003, 12:38 PM   #8
siyeclover
Member
 
Registered: Jan 2003
Location: RaMetal
Distribution: Solaris,FC2,FreeBSD
Posts: 41

Rep: Reputation: 15
You can select the text with your mouse left key and paste it with your mouse right key.

siyeclover
 
Old 08-25-2003, 02:29 PM   #9
Duukkis
Member
 
Registered: May 2003
Location: Finland
Distribution: Debian Sarge
Posts: 75

Original Poster
Rep: Reputation: 15
Thanks now I can use my center button to copy and paste it's very useful!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to copy-paste on command line? jameshao Linux - General 3 02-02-2009 02:14 AM
how to copy-past on command line? jameshao Linux - Newbie 5 02-01-2009 04:55 PM
copy a cd from the command line illtbagu Linux - General 32 02-09-2003 08:08 PM
command line CDR / copy file rioguia Linux - Newbie 4 10-05-2002 05:52 AM
Copy Paste under command line? Stingreen Linux - General 7 02-10-2002 07:46 PM


All times are GMT -5. The time now is 07:32 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration