| Author |
Message |
fos
Joined: 02 Jan 2009
Posts: 101
Location: Texas
|
| Posted: Sat Jan 09, 2010 12:12 pm Post subject: Enable cut & paste in Centos 5 ? |
|
|
I have CentOS installed on my Linode server.
How can I enable cut and paste when I use the shell via SSH?
Thank you,
Jeff |
|
| Back to top |
|
Drakling
Joined: 03 Jan 2010
Posts: 8
|
| Posted: Sat Jan 09, 2010 12:15 pm Post subject: |
|
|
| I always right click somewhere in the SSH client screen and it pastes whatever is copied on my clipboard. |
|
| Back to top |
|
fos
Joined: 02 Jan 2009
Posts: 101
Location: Texas
|
| Posted: Sat Jan 09, 2010 12:59 pm Post subject: |
|
|
Since I reinstalled after the crash a couple of months ago, I no longer have cut and paste in my shell terminals.
I think it has something to do with gpm but I can't seem to get it configured.
Jeff |
|
| Back to top |
|
Xan
Joined: 08 Feb 2004
Posts: 562
Location: Austin
|
| Posted: Sat Jan 09, 2010 1:12 pm Post subject: |
|
|
| Isn't cut&paste entirely a function of your SSH client and/or local terminal emulator, nothing to do with the server? Maybe I'm misunderstanding. |
|
| Back to top |
|
fos
Joined: 02 Jan 2009
Posts: 101
Location: Texas
|
| Posted: Sat Jan 09, 2010 1:36 pm Post subject: |
|
|
It could be but I have always used putty from Windows and SSH from the command line in any linux version. For some reason it is not working and I am trying to sort it out.
Thanks, Jeff |
|
| Back to top |
|
Xan
Joined: 08 Feb 2004
Posts: 562
Location: Austin
|
| Posted: Sat Jan 09, 2010 1:54 pm Post subject: |
|
|
With PuTTY, all you have to do is select some text and then it's in your clipboard.
For Linux from the command line, it's up to your terminal emulator (Konsole? Whatever the Gnome equivalent is?) to perform the same functions.
I honestly don't think it could possibly be an issue on the server end. |
|
| Back to top |
|
rsk
Joined: 24 Nov 2009
Posts: 306
|
| Posted: Mon Jan 11, 2010 2:47 pm Post subject: |
|
|
Note that PuTTY has three different mouse selection modes; also, if some server-side application sends the xterm "track mouse" sequence you need to hold Shoft for the clipboard functionality.
PuTTY Configuration -> Window -> Selection
In Linux console, you need to have GPM daemon installed.
Most (all?) X11 terminal emulator do it the regular X11 way (select with LMB, then paste with middle). |
|
| Back to top |
|
fos
Joined: 02 Jan 2009
Posts: 101
Location: Texas
|
| Posted: Tue Jan 12, 2010 7:00 am Post subject: |
|
|
Thank you for the help RSB,
I believe I have it sorted out now.
Jeff |
|
| Back to top |
|
| |