| Author |
Message |
ocpaul20
Joined: 31 Jan 2008 Posts: 187 Location: Right on top of CERN
|
Posted: Tue 07 Apr 2009, 22:56 Post subject:
copy, cut and paste in console windows[SOLVED] Subject description: Why doesn't this work? |
|
I cannot seem to copy and paste to and from the console windosw and it is a real pain....
I use this all the time when I am documenting things for myself. Is there a version of the console window where we can do this please?
Even if the executable is a little larger, I think the benefits would be worth it - to me at least!
Last edited by ocpaul20 on Wed 08 Apr 2009, 20:07; edited 1 time in total
|
|
Back to top
|
|
 |
Libretto100ct
Joined: 20 Dec 2008 Posts: 68 Location: Ga, USA
|
Posted: Wed 08 Apr 2009, 00:17 Post subject:
|
|
Highlight the text or code like you normally would.
You can copy holding down Ctrl + C.
To paste it's Shift + Insert .
Cut and paste all you want.
|
|
Back to top
|
|
 |
ocpaul20
Joined: 31 Jan 2008 Posts: 187 Location: Right on top of CERN
|
Posted: Wed 08 Apr 2009, 00:35 Post subject:
|
|
not in my rxvt window in puppy 4.00
all Ctrl+C does is give me a new hash prompt and then if I go to geany and try CTRL+V or shift+Insert I dont get what I have 'copied'. Are you sure you it works in yours?
I seem to remember there are some different ctrl+ commands (like ctrl+U which wipes out and restarts the line you are on). Maybe there is a different command sequence for the console windows.
|
|
Back to top
|
|
 |
Libretto100ct
Joined: 20 Dec 2008 Posts: 68 Location: Ga, USA
|
Posted: Wed 08 Apr 2009, 01:17 Post subject:
|
|
The commands I listed work inside RVXT in 4.2 but don't transfer out of console.
Which is odd as it works fine in other versions I use regularly. It works fine in the 2 series as I used it the other day to post debug messages on the forum.
I just tried it on my 4.12 Bare Bones laptop and it works on there just as the same as it works on the 2 series.
I just tried it on my 4.12 Retro full version and it doesn't work.
So........
|
|
Back to top
|
|
 |
Libretto100ct
Joined: 20 Dec 2008 Posts: 68 Location: Ga, USA
|
Posted: Wed 08 Apr 2009, 01:56 Post subject:
|
|
OK, I found a way around it. Although you can not directly copy & paste in some versions of puppy, I found this works:
Highlight (drag) the text like you normally would to c&p.
Hold Ctrl + C.
Open the Clipboard (Menu/Desktop/Xclipboard)
Paste with Shift + Insert.
Then from there you can paste into a txt editor, etc.
Kind of a PITA with the extra step, but it does indeed work.
I read a comment on the 4.2 repository ,regarding rxvt 2.7.10, that the paste function is broken.. That would lead me to assume that the reason some of my versions of puppy are working is because they are using earlier versions or a like reason. Maybe search the forum for an earlier version pet.
Regardless I just tried the "fix" above in every version of Puppy I have loaded and it works on all of them.
|
|
Back to top
|
|
 |
Pizzasgood

Joined: 04 May 2005 Posts: 6270 Location: Knoxville, TN, USA
|
Posted: Wed 08 Apr 2009, 04:12 Post subject:
|
|
You don't need to explicitly copy at all. Just highlight the text, and then without clicking anywhere, middle-click in the location you want the text pasted into. Clicking the scroll wheel (yes, it is clickable) counts as a middle-click. If you have no middle button and no scroll wheel, you should be able to enable middle-button-emulation (probably is already enabled) which lets you middle-click by clicking both the left and right buttons simultaneously.
If you intend to click somewhere inside the area where you selected the text before you paste, so that it becomes unselected, then depending on which program you're using and which clipboard managers you have running (if any), you may or may not "lose" what was held in the buffer when it isn't currently highlighted. In those cases, you may need to explicitly copy using ctrl-c or the right-click->copy option.
AFAIK, there is no way to explicitly copy in the RXVT terminal. Normally though you can paste in it with shift-insert if you don't like middle-clicking.
_________________ Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

|
|
Back to top
|
|
 |
trio

Joined: 21 Dec 2008 Posts: 1786 Location: अनुमोदना
|
Posted: Wed 08 Apr 2009, 04:31 Post subject:
|
|
try Sakura console...search in this forum
_________________ PET Maker|WbarCC|My Website
|
|
Back to top
|
|
 |
Billwho?

Joined: 06 Dec 2005 Posts: 570 Location: still "In The Dog House" East Coast Oz
Trialing 4.20
|
Posted: Wed 08 Apr 2009, 04:53 Post subject:
|
|
What I have been doing is to highlight what I want to copy in the console then right click in genie and choose paste from the drop down menu.
_________________ Linux = Learning through doing
The learning curve may be steep but there is a light at the end of the tunnel.
You just have to pass the occasional oncoming train to get there.
|
|
Back to top
|
|
 |
ocpaul20
Joined: 31 Jan 2008 Posts: 187 Location: Right on top of CERN
|
Posted: Wed 08 Apr 2009, 20:06 Post subject:
|
|
Ok, thanks for the info. I tried the highlighting and middle click and it does work pasting into geany.
It would be nice if it worked the same as other copy and paste methods, but as long as I can do it, thats fine. I just have to think twice rather than automatically do Ctrl+C & Ctrl+V.
|
|
Back to top
|
|
 |
Gorilla no baka

Joined: 26 Oct 2008 Posts: 234 Location: UK
|
Posted: Tue 12 May 2009, 10:27 Post subject:
|
|
| ocpaul20 wrote: | Ok, thanks for the info. I tried the highlighting and middle click and it does work pasting into geany.
It would be nice if it worked the same as other copy and paste methods, but as long as I can do it, thats fine. I just have to think twice rather than automatically do Ctrl+C & Ctrl+V. |
L.o.l
It took me a while untill i found this post...
bassically until today if i wanted to copy something from console the only thing i could come up with it was
.# cd .opera
# ls -a >opera.txt
because even tough the highlighting and middle click and it does work pasting into geany. it does not work if you want to paste in the forum`s edit/post box ...
_________________
I'M IN MY OWN WORLD. IT'S OK, THEY KNOW ME HERE..!!!
|
|
Back to top
|
|
 |
Bruce B

Joined: 18 May 2005 Posts: 10818 Location: The Peoples Republic of California
|
Posted: Tue 12 May 2009, 18:23 Post subject:
|
|
Shift + Insert
Press mouse wheel
Ctrl + V
Different results and different results with different applications.
Ctrl + V might paste different text than Press mouse wheel in the same application.
X has different clipboards, Applications have their peculiarities.
_________________ New! Puppy Linux Links Page
|
|
Back to top
|
|
 |
zandarian
Joined: 14 Oct 2009 Posts: 46
|
Posted: Mon 26 Oct 2009, 11:41 Post subject:
|
|
| Gorilla no baka wrote: | | .... even tough the highlighting and middle click and it does work pasting into geany. it does not work if you want to paste in the forum`s edit/post box ..... |
I use Puppy v. 4.1 and SeaMonkey 1.1.11 and can paste here that way. For example this: # ls -la (doesn't matter if in Menu-Setup-Mouse...-Choose type of mouse... I have "Middel button emulated on a 2-button mouse" on or off-I have a touchpad with only 2 button in my laptop-)
|
|
Back to top
|
|
 |
meddyuk
Joined: 04 Mar 2011 Posts: 6
|
Posted: Tue 22 Mar 2011, 06:37 Post subject:
|
|
I've got Puppy 5.1 and i'm on the laptop with no middle click or scroll button. I can't right click copy/cut and i can't do CTRL C, as it just brings up a capital C and a chevron.
I'm able to do all this in other packages but not the console. Any ideas?
|
|
Back to top
|
|
 |
|