Hi people, How do I copy & paste from the command line? So I can copy commands from documents (in nano for example), and paste them into the command line?
I'm using SSH to connect.
Cheers,
Chris Norman <!-- chris.norman4@ntlworld.com -->
On Fri, 2006-01-27 at 11:39 +0000, Chris Norman wrote:
How do I copy & paste from the command line? So I can copy commands from documents (in nano for example), and paste them into the command line?
I'm using SSH to connect.
Many things let you drag and select with the left mouse button, and what's left highlighted is copied into a buffer. Then, you paste with the middle mouse button.
This doesn't work with everything, though. Sometimes right-clicking into the highlighted text and choosing "copy" from a pop-up menu does the trick.
Tim ignored_mailbox@yahoo.com.au wrote: On Fri, 2006-01-27 at 11:39 +0000, Chris Norman wrote:
How do I copy & paste from the command line? So I can copy commands from documents (in nano for example), and paste them into the command line?
I'm using SSH to connect.
Many things let you drag and select with the left mouse button, and what's left highlighted is copied into a buffer. Then, you paste with the middle mouse button.
This doesn't work with everything, though. Sometimes right-clicking into the highlighted text and choosing "copy" from a pop-up menu does the trick. Yeah, <sometimes> 'alt c' will copy, 'alt x' delete and 'alt v' will paste, but not all the time. We had a helluva time with Oracle not accepting copy/paste from an app like Netscape. It would accept cut/paste from Abiword, which would accept from Netscape... so Abiword became sort of a scratch-pad between the two. Go figure. MicroSoft's greatest strength is all their apps ( I say this from my limited knowledge on the matter) seem to accept another's cut/paste. But most commandline edits will accept the alt keys and/or the mouse clicks as Tim pointed out. If you have a two button mouse, you can set up your mouse (mouse config) to use both mouse keys held down, at the same time, as the third button. 3 button mice are cheap. <g> Ric
================================================ My father, Victor Moore (Vic) used to say: "There are two Great Sins in the world... ...the Sin of Ignorance, and ...the Sin of Stupidity. Only the former may be overcome." R.I.P. Dad.
Linux user# 44256 Sign up at: http://counter.li.org/ ================================================ --------------------------------- Do you Yahoo!? With a free 1 GB, there's more in store with Yahoo! Mail.
I'm using the command line, though SSH, and I'm blind, so I can't use the mouse.
Cheers,
Chris Norman <!-- chris.norman4@ntlworld.com --> ----- Original Message ----- From: "Tim" ignored_mailbox@yahoo.com.au To: "For users of Fedora Core releases" fedora-list@redhat.com Sent: Friday, January 27, 2006 11:56 AM Subject: Re: Copy & paste
On Fri, 2006-01-27 at 11:39 +0000, Chris Norman wrote:
How do I copy & paste from the command line? So I can copy commands from documents (in nano for example), and paste them into the command line?
I'm using SSH to connect.
Many things let you drag and select with the left mouse button, and what's left highlighted is copied into a buffer. Then, you paste with the middle mouse button.
This doesn't work with everything, though. Sometimes right-clicking into the highlighted text and choosing "copy" from a pop-up menu does the trick.
Chris Norman wrote:
Hi people, How do I copy & paste from the command line? So I can copy commands from documents (in nano for example), and paste them into the command line?
I'm using SSH to connect.
Copy: Highlight with mouse as usual Paste: Middle mouse button
No Middle mouse button? Make sure "emulate 3-button click" is selected in system-config-mouse
-Andy
Chris Norman wrote:
Hi people, How do I copy & paste from the command line? So I can copy commands from documents (in nano for example), and paste them into the command line?
I'm using SSH to connect.
Cheers,
Are you using ssh from the command line on your machine? If so, take a look at gpm. It will let you copy and paste from the CLI. If you are running ssh in a term program under X, then check the copy/paste functions of the term program. For example, in k-term, you highlight with the left mouse button, and click on Edit --> Copy. You can paste using Shift-Insert or Edit --> Paste.
Mikkel
On 1/27/06, Mikkel L. Ellertson mikkel@infinity-ltd.com wrote:
Are you using ssh from the command line on your machine? If so, take a look at gpm. It will let you copy and paste from the CLI.
If you need a keyboard based copy & paste mechanism, screen has one. Control+a followed by the '[' key puts you into copy mode, you can tag the start and end of what you want to copy using the space bar, then ^a ] will paste it.
On Fri, 2006-01-27 at 11:39 +0000, Chris Norman wrote:
Hi people, How do I copy & paste from the command line? So I can copy commands from documents (in nano for example), and paste them into the command line?
I'm using SSH to connect.
Highlight the text you want to copy, then middle click or do a ctrl+ins to paste.
It is highly dependent upon the application you are writing to, though.
Thomas