You are not logged in.

#1 2009-11-27 17:39:12

Kopachris
Member
Registered: 2009-11-15
Posts: 7

Mac laptop terminal copy/paste?

I'm running Arch on a PowerBook G4 without X.org (for now), and I need to know how to select, copy, and paste some text, e.g. from w3m in vc/1 to nano in vc/2.  The reason being I'd rather not have to type up this long xorg.conf section by hand, I'd rather copy and paste.  Sorry, kinda new to doing things console-only.

BTW, I mention that I'm on a Mac laptop because the standard copy/paste commands that I found elsewhere don't work on it.  I don't even have and Insert key.

Offline

#2 2009-11-27 17:51:40

JuseBox
Member
Registered: 2009-11-27
Posts: 260

Re: Mac laptop terminal copy/paste?

Ctrl+space = set mark
Ctrl+W = cut
Ctrl+Y = paste

Least this works for me.  if you are in a text file and don't want to lose the data simply don't save the file.... or "cat" the file when you wanna "cut" and "paste"....

Last edited by JuseBox (2009-11-27 17:52:06)


Linux ArchLinux 3.2.8-1-ARCH
#1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux
8192MB DDR3 1300MHz | Asus m5a97 | GeForce GTX 550 Ti | 120 GB SSD

Offline

#3 2009-11-27 19:03:33

Kopachris
Member
Registered: 2009-11-15
Posts: 7

Re: Mac laptop terminal copy/paste?

JuseBox wrote:

Ctrl+space = set mark
Ctrl+W = cut
Ctrl+Y = paste

Least this works for me.  if you are in a text file and don't want to lose the data simply don't save the file.... or "cat" the file when you wanna "cut" and "paste"....

It doesn't seem to work for w3m or nano, which is what I really need it for.  I guess if I could select and copy text from w3m, I could cat it with xorg.conf (that's what cat was made for, right?), but w3m doesn't seem to have anything about selecting and copying in their manual.

Offline

#4 2009-11-27 19:12:57

JuseBox
Member
Registered: 2009-11-27
Posts: 260

Re: Mac laptop terminal copy/paste?

You could also do something with grep to pull information that you are looking for with cat...

cat ~/.xserver | grep (whatever your looking for)

also grep --help to see some more features of grep while pulling the data to copy...

Last edited by JuseBox (2009-11-27 19:13:16)


Linux ArchLinux 3.2.8-1-ARCH
#1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux
8192MB DDR3 1300MHz | Asus m5a97 | GeForce GTX 550 Ti | 120 GB SSD

Offline

Board footer

Powered by FluxBB