LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 09-29-2009, 03:01 PM   #1
camposomar
LQ Newbie
 
Registered: Aug 2009
Location: Colombia
Distribution: CentOs - Ubuntu
Posts: 14

Rep: Reputation: 0
Question Copy and Paste in Putty


hello all..

is a stupid question, but don't know

how can copy text of a putty windows and paste in a file of text?? or copy some command of a page and paste in a putty windows?? i try Ctrl + C and don't works.. Shift + Ctlr + C and don't works.. and try select test and after right click and don't works..

somebody can help me?
 
Old 09-29-2009, 03:15 PM   #2
OdinnBurkni
Member
 
Registered: Feb 2007
Location: Iceland
Distribution: Fedora 14, CentOS, FreeNAS
Posts: 126

Rep: Reputation: 20
Putty

You just highlight the text with the mouse and then go to the notepad or whatever you use and do CTRL-V. To copy and paste again in putty you highlight to copy and to paste you just rightclick but keep in mind that you paste where the cursor is, not where the mouse is.
 
Old 09-29-2009, 03:16 PM   #3
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 50
This is copying something from putty running on a windows system logged into a linux system and pasting it onto a windows app like notepad.

When you have the putty window open and you have something that you want to copy, highlight the text. By highlighting the text it stores it in ram memory, now go to what app you want to copy it to, right click and select paste.
 
Old 09-29-2009, 03:28 PM   #4
camposomar
LQ Newbie
 
Registered: Aug 2009
Location: Colombia
Distribution: CentOs - Ubuntu
Posts: 14

Original Poster
Rep: Reputation: 0
Unhappy

Quote:
Originally Posted by mrrangerman View Post
This is copying something from putty running on a windows system logged into a linux system and pasting it onto a windows app like notepad.

When you have the putty window open and you have something that you want to copy, highlight the text. By highlighting the text it stores it in ram memory, now go to what app you want to copy it to, right click and select paste.
i'm work in CentOs, putty running in Centos in windows is easy.. just highlight the text and paste with Ctrl + V or right click in same window.. but in CentOs dont know...


thx
 
Old 09-29-2009, 03:47 PM   #5
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 50
Quote:
camposomar

i'm work in CentOs, putty running in Centos in windows is easy.. just highlight the text and paste with Ctrl + V or right click in same window.. but in CentOs dont know...
Then highlight the text and use your middle mouse button to paste, if you have a two button mouse press them both at the same time and this will paste the contents stored in ram. If you don't have your mouse setup to emulate a three button mouse edit your xorg.conf and add
Code:
Option   "Emulate3Buttons" "yes"
to the Section "InputDevice" section.
 
Old 09-29-2009, 04:27 PM   #6
camposomar
LQ Newbie
 
Registered: Aug 2009
Location: Colombia
Distribution: CentOs - Ubuntu
Posts: 14

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by mrrangerman View Post
Then highlight the text and use your middle mouse button to paste, if you have a two button mouse press them both at the same time and this will paste the contents stored in ram. If you don't have your mouse setup to emulate a three button mouse edit your xorg.conf and add
Code:
Option   "Emulate3Buttons" "yes"
to the Section "InputDevice" section.
hey .. thx so much bro
 
Old 09-30-2009, 12:11 AM   #7
sudya
LQ Newbie
 
Registered: Mar 2005
Location: CA
Distribution: SuSE, Debian
Posts: 27

Rep: Reputation: 15
There is also Ctrl+<insert>/ Shift+<insert>
 
Old 12-21-2011, 05:58 AM   #8
jcramalho
LQ Newbie
 
Registered: Dec 2011
Posts: 2

Rep: Reputation: Disabled
PuTTY usage on LInux - Copy Paste issue - How I solved it

Hi:

I solved this issue using 2 methods:

1. Using PuTTY linux version:
clicking in both touchpad buttons I simulated the middle button.
Since Linux Mint distro I'm using had not this middle button simulation activated (The latest version of evdev, version 2.5, changed the default for the middle mouse button emulation code. This change has disabled emulation of the middle mouse button by clicking the left and right mouse buttons) I needed to enable it manually:

Enabling the middle mouse button emulation adding this to xorg.conf snippet:

Section "InputClass"
Identifier "middle button emulation class"
MatchIsPointer "on"
Option "Emulate3Buttons" "on"
EndSection

2. Using PuTTY Windows version (I prefer that since I do not need to change distro setting like Xorg, only Wine settings in order to connect to console serial ports):

Since wine handles com ports by having a link to the device (ie /dev/ttyUSB0), in the ~/.wine/dosdevices folder, this link would be created as follows, in order to update your wine profile configs:

ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com1

I prefer this second method, since the copy paste works allways, do not need the middle button simulation and, the sherry in the top of the cake, it NEVER hangs (occasionally PuTTY hangs on some Windows XP installations).

Otherwise, in case you do not need/want to install wine, the first method is preferable.

Enjoy.

Joao
 
Old 08-05-2012, 05:05 PM   #9
coloradoruss
LQ Newbie
 
Registered: Mar 2012
Posts: 2

Rep: Reputation: Disabled
Solved

I was having the same problem... Shift-Insert. solved
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
copy/paste help abk4523 Linux - Newbie 4 05-31-2005 06:29 AM
Copy Paste zaicheke Linux - Software 8 04-09-2005 04:45 AM
how to copy and paste acd copy cd paschim Linux - General 2 04-05-2004 09:25 AM
Copy and paste scottie Linux - General 4 10-29-2003 01:27 PM
Copy/Paste jcb_dreamvsat Linux - Software 12 06-18-2003 02:23 AM


All times are GMT -5. The time now is 10:18 PM.

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