|
|
#1 |
|
Prospect
Join Date: Sep 2002
Location: Brooklyn, NY
Posts: 9
|
One thing that always screws me up is that selected text in Terminal is not copied automatically. Anyone know of any way to do this? I haven't figured it out yet, but since OS X allows swapping of caps lock and control, I wonder if maybe there's a hidden function for this.
Thanks. -Ken |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jan 2002
Location: Montreal
Posts: 29,278
|
If you mean that you need to use Cmd-C to copy the selected text to the clipboard, that is nothing unusual - it's the same in all Mac applications.
Perhaps you are used to X Window apps where you can select then paste with the middle mouse button. The Mac way requires more keypresses (or mouse clicks if you use the Edit menu) but it is more versatile. |
|
|
|
|
|
#3 |
|
Prospect
Join Date: Sep 2002
Location: Brooklyn, NY
Posts: 9
|
I know about Mac clipboards. And Unix. And Windows.
A lot of telnet/ssh clients for Windows have copy-on-select options. I would like to see that in Terminal.app, or was hoping to find some hack to do that. A lot of non-standard things are possible. In one of the system files you can add a few lines to swap caps lock and control.
|
|
|
|
|
|
#4 |
|
All Star
Join Date: Jan 2002
Location: CO, USA
Posts: 886
|
My gut feeling is that this would require some changes to the Terminal source, as the window would have to do a pasteboard copy on highlight.
|
|
|
|
|
|
#5 |
|
League Commissioner
Join Date: Jan 2002
Posts: 5,536
|
if you select text in the shell, then click-drag the selection, the cursor modifies to cursor+ and if you release, your selection is pasted.
not exactly copy-on-select, more of a copy/paste-on-drag. care must be exercised with a bare command line and copying newlines. you can cancel this behavior by holding control or option and releasing the selection, or by dragging the selection to the menubar and realeasing it. someone might check if this is a hint at the main site, and if not, may submit it for non-forum trollers. |
|
|
|
|
|
#6 |
|
Moderator
Join Date: Jan 2002
Location: Montreal
Posts: 29,278
|
Paste Selection
If you want to paste the selected text immediately (as opposed to saving it for later), you can use the Terminal's "Paste Selection" command - see the Edit menu.
|
|
|
|
|
|
#7 | |||||||||||||||||||
|
Prospect
Join Date: Sep 2002
Location: Brooklyn, NY
Posts: 9
|
Re: Paste Selection
I have 'paste' assigned to the middle mouse button. But hmmm, I'll look into that when I get home. Run Win2k at work. I hope there's a key combo to I can map it to a mouse button or combo. mervTormel: Thanks. That sounds interesting. I'll check that out. I hate having to wait to get home just to try things like this. |
|||||||||||||||||||
|
|
|
|
|
#8 |
|
Moderator
Join Date: Jan 2002
Location: Montreal
Posts: 29,278
|
Paste Selection keyboard shortcut
The keyboard shortcut for Paste Selection is Shift-Cmd-V.
|
|
|
|
|
|
#9 | |||||||||||||||||||
|
Prospect
Join Date: Sep 2002
Location: Brooklyn, NY
Posts: 9
|
Re: Paste Selection keyboard shortcut
Oh, very cool. Thinking about that, it's a pretty cool way to do a sort of dirty copy-on-select, but only for within the terminal. I have to see and decide if it ends up being more confusing than it's worth between the terminal and other apps that I might want to copy text into from the terminal. Was Paste Selection in 10.1 as well? |
|||||||||||||||||||
|
|
|
|
|
#10 |
|
Major Leaguer
Join Date: May 2002
Location: Sweden
Posts: 282
|
Couldn't the middle mouse button be bound to Paste selection?
__________________
/PEZ |
|
|
|
|
|
#11 | |||||||||||||||||||
|
Prospect
Join Date: Sep 2002
Location: Brooklyn, NY
Posts: 9
|
Absolutely. That's why I asked if there was a key combo for it. |
|||||||||||||||||||
|
|
|
|
|
#12 | |||||||||||||||||||
|
All Star
Join Date: Jan 2002
Location: CO, USA
Posts: 886
|
Re: Re: Paste Selection keyboard shortcut
Nope, that and merv's trick aren't possible in 10.1. |
|||||||||||||||||||
|
|
|
|
|
#13 |
|
Prospect
Join Date: Sep 2002
Location: Brooklyn, NY
Posts: 9
|
Wow, that select and drag will come in REALLY useful. Thanks for the tip, merv! As far as Paste Selection, unfortunately it's not good enough for me and wore out really quickly. It's too limiting to the one terminal window. Can't paste outside the one, and can't copy the clipboard in. No good for a mouse button mapping. As far as dragging selected text, the only thing about dragging it to another terminal window is that it would be nice to have the other window pop to the front, to see where you will be pasting, you know?
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|