how do i copy and paste to and from terminal?

Booting, installing, newbie
Post Reply
Message
Author
buford
Posts: 97
Joined: Tue 05 May 2009, 00:25

how do i copy and paste to and from terminal?

#1 Post by buford »

how do i copy and paste to and from terminal?


all i know is i can paste in it with clicking both mouse buttons same time.
how do i highlight stuff in the terminal to select and then copy it.

User avatar
Jana
Posts: 33
Joined: Sun 24 Jan 2010, 23:23
Location: Somewhere in the middle of Europe

#2 Post by Jana »

Hey there,

Try Sakura terminal, it has more options, which include easy copy and pasting:
http://murga-linux.com/puppy/viewtopic. ... 108#363108

rxvt is quite limited, check this link:
http://www.murga-linux.com/puppy/viewto ... 996#292996

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#3 Post by dejan555 »

Highlight + middleclick (click on wheel button) is global feature should work for any app. How do you mean, how do you higlight? Well, you just highlight it. Click where you want to start highlighting text, hold mouse button then drag and release when desired text is selected. Then while it's selected just middleclick to paste.

EDIT: For pasting to terminal shift+insert also works usually.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
Jana
Posts: 33
Joined: Sun 24 Jan 2010, 23:23
Location: Somewhere in the middle of Europe

#4 Post by Jana »

dejan555, those methods work for me anywhere outside rxvt. In rxvt it's only possible to copy/paste within the same window, which is not very useful (I state that based on my own experience running Puppy 4.31).

However, in Sakura those methods work along with right-click on highlighted text.
Last edited by Jana on Thu 28 Jan 2010, 17:07, edited 2 times in total.

User avatar
Jana
Posts: 33
Joined: Sun 24 Jan 2010, 23:23
Location: Somewhere in the middle of Europe

#5 Post by Jana »

And, I assume, this thread's author is using rxvt, since it's the default terminal emulator

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#6 Post by Béèm »

Jana, I use the method as Dejans describes for highlighting in the rxvt terminal. Then I go to the target windows outside the rxvt terminal and with the middle click I paste there.
There is no need to make puppy 'heavier' with another terminal program.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

User avatar
Jana
Posts: 33
Joined: Sun 24 Jan 2010, 23:23
Location: Somewhere in the middle of Europe

#7 Post by Jana »

Béèm, that doesn't work for me in rxvt. I get this when I highlight text in rxvt and middle-click in SeaMonkey (in this particular case):

And that's supposed to be few lines of "top" output.

On the other hand, this middle click thing works everywhere else and I really find it very handy.

Maybe this rxvt thing has something to do with system setup? I have full Puppy 4.31 installation on HDD and don't really mind having more programs.

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#8 Post by Béèm »

Highlight in rxvt and middle click to paste here

Code: Select all

# df -h
Filesystem            Size  Used Avail Use% Mounted on
rootfs                 47M   36M   11M  77% /
/dev/sda2              13G   13G  143M  99% /initrd/mnt/dev_save
/dev/loop1             47M   36M   11M  77% /initrd/pup_rw
/dev/loop0            160M  160M     0 100% /initrd/pup_ro2
/dev/loop4            141M  141M     0 100% /initrd/pup_ro4
/dev/loop5            7.2M  7.2M     0 100% /initrd/pup_ro5
/dev/loop6             17M   17M     0 100% /initrd/pup_ro6
unionfs                47M   36M   11M  77% /
tmpfs                  63M  1.8M   61M   3% /tmp
/dev/sdb1              75G   75G  466M 100% /mnt/sdb1
#
Don't know what happens in your system.
Should work in full install the same way.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

buford
Posts: 97
Joined: Tue 05 May 2009, 00:25

#9 Post by buford »

thank you guys.i will try.there is always fast help on puppy forum i love it.

User avatar
Jana
Posts: 33
Joined: Sun 24 Jan 2010, 23:23
Location: Somewhere in the middle of Europe

#10 Post by Jana »

Béèm, something is indeed wrong with my system: I just tested that by booting from Puppy 4.31 CD. Worked perfectly.

Strange, I was pretty sure rxvt is messed up because same problem occured on all puppy installations I had - and I had a few, on two different HDDs, each time adding more packages to install in order to set everything right. I guess some package must have interfered with rxvt.

Anyway, thanks from prooving me I'm wrong, otherwise I would start thinking that everyone is lying :mrgreen:

And buford, sorry if I confused you with my reply :)

User avatar
prehistoric
Posts: 1744
Joined: Tue 23 Oct 2007, 17:34

tips and tricks

#11 Post by prehistoric »

This was already on the recent tips and tricks thread, where I quoted an older post. Probably a good idea to put more simple things there.

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#12 Post by Béèm »

Jana wrote:Béèm, something is indeed wrong with my system: I just tested that by booting from Puppy 4.31 CD. Worked perfectly.

Strange, I was pretty sure rxvt is messed up because same problem occured on all puppy installations I had - and I had a few, on two different HDDs, each time adding more packages to install in order to set everything right. I guess some package must have interfered with rxvt.

Anyway, thanks from prooving me I'm wrong, otherwise I would start thinking that everyone is lying :mrgreen:

And buford, sorry if I confused you with my reply :)
Hope you can restore your system.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

Post Reply