I just started using Console2 as an alternative to cmd.exe

I can't figure out how to copy text from the console to the clipboard -- dragging over it with the mouse won't mark anything, and there is no option in the right-click menu to "mark" as in cmd.exe

It must be terribly obvious but I guess I'm overlooking it... :(

link|improve this question

49% accept rate
1  
Console2 is not an alternative to cmd. It's just a different front-end for whatever console application you happen to run. – Joey Apr 20 '10 at 8:05
I don't think Console2 works for any console other than cmd.exe. IIRC, the strange mouse behavior is because cmd.exe actually handles all of the window drawing itself, rather than using the standard windows APIs. As a result, it's behavior is a bit anachronistic. – Fake Name Apr 20 '10 at 9:46
1  
@Fake Name: (delayed comment) cmd.exe is a shell; it doesn't do any window drawing, only parses commands. The window it uses is a "Win32 Console" window. Console2 is a "console" or "terminal", a replacement for the ugly Win32 Console windows; the delay is because it has to poll a hidden "real" console window for changes. – grawity Mar 11 '11 at 20:49
feedback

5 Answers

up vote 41 down vote accepted

Open Console2 menu Edit -> Settings, and in the Hotkeys / Mouse sections you can configure the selection and copy actions. The defaults are a bit wonky.

I use: Mouse Left = select text, Ctrl+Alt+C = copy text, ESC = clear selection.

link|improve this answer
1  
Well this did not really work. I am still not able o select the text. The entry about holding shift helped though. – homaxto Aug 25 '10 at 12:29
This configuration works great on my copy of Console2. Make sure that no other binding takes the Left-click action. – wez Aug 31 '10 at 13:05
1  
Works for me too. I actually have Left mouse button both for selecting text and copy/clear. – Peter Jaric May 13 '11 at 12:07
feedback

Holding SHIFT and marking the text should do the trick (at least for me). After this just click Edit -> Copy

link|improve this answer
Thanks! For me though it auto-copies it as soon as I finish marking the selection. – GJ. Apr 21 '10 at 7:28
feedback

Console2's key and mouse assignment is a bit funky. Here's how to actually make left_click == select text:

  1. Open the Edit->Settings->Hotkeys->Mouse submenu.
  2. Select the "Select text" item. Then change the "Button:" line to be "Left" and un-check all three Modifiers boxes.
  3. Then click "Assign" - without this step none of your changes will actually take effect.
link|improve this answer
feedback

Console2 is not a shell. It is a console window enhancement. You can configure Console2 to run any shell you want such as cmd.exe or bash.

By default I believe the copy-paste functionality within the Console2 window is:

Select Text: Shift + Left Mouse Button
Copy Text: Left Mouse Button
Paste Text: Middle Mouse Button

note: by default, the right mouse button brings up a menu that allows you to configure Console2

You must Select and Copy text (by clicking the Left Mouse Button after you're done selecting). Simply selecting text does not copy it automatically (like the default windows console quick edit settings does).

link|improve this answer
feedback

You can also just configure Select Text: Left Mouse Button

and then enable "Copy on select" on the "Behavior" tab under settings.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.