LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-05-2006, 01:46 PM   #1
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Rep: Reputation: 60
copying from XTERM session


I have always wondered how one can copy what is on the screen during an XTERM session and paste it to a file. I know how to append using redirection but what I want is to simply be able to highlight the letters with my mouse and then copy and then paste. Sad to say kind of like windows. When you type - run- command and then take your mouse and in the upper left hand corner choose to copy what is on the screen and then paste it where you want. This would really eliminate a lot of typing.I want to know how to do this in windows.
 
Old 12-05-2006, 02:17 PM   #2
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
When I'm in an xterm I just highlight the text I need to copy and press enter. This puts it into a clipboard, it should then be ready to paste. So for example you are on www.linuxquestions.org and you are trying to give somebody something that you have copied from xterm, you should be able to Ctrl-v to paste it. Let me know if this doesn't work for you.

Last edited by fordeck; 12-05-2006 at 02:19 PM.
 
Old 12-05-2006, 02:45 PM   #3
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Rep: Reputation: 30
i do
echo ' middle mouse button ' > file
 
Old 12-05-2006, 03:42 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
On my terminal "enter" does not do it--but right-click>>copy does
 
Old 12-05-2006, 05:20 PM   #5
ygloo
Member
 
Registered: Aug 2006
Distribution: slack
Posts: 323

Rep: Reputation: 30
i think that just highlighting the text copies it to clipboard
 
Old 12-05-2006, 07:18 PM   #6
johndoe0028
Member
 
Registered: Jun 2005
Location: CA, USA
Distribution: Gentoo
Posts: 165

Rep: Reputation: 30
Highlight , then middle-click to paste.

Last edited by johndoe0028; 12-05-2006 at 07:19 PM.
 
Old 12-13-2006, 07:39 PM   #7
metallica1973
Senior Member
 
Registered: Feb 2003
Location: Washington D.C
Posts: 2,190

Original Poster
Rep: Reputation: 60
right click and paste work thanks
 
  


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
xterm - howto lauch an xterm into a specific directory jobano Linux - Software 11 01-30-2023 04:45 AM
Copying xterm or rxvt messages to clipboard vharishankar Linux - General 2 04-04-2006 08:49 PM
how is black xterm background in IceWM when issue a xterm command? BRAHmS Linux - Software 1 02-14-2005 03:51 AM
copying kde configuration for 2 users OR 2 users on 1 x session for vnc blackphiber Linux - General 0 02-26-2004 08:57 PM
Copying and Pasting from KDE to a remote Windows session gowanstl27 Linux - Software 2 11-22-2003 06:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:36 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration