Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Currently I am using windows version git software for git, I found it is really hard to copy and paste in the console, and the mouse middle key is not supported.

I used to putty SSH way to linux box then do things in putty, but at the moment I only have windows.

so does anyone know some tools enable end-users have UNIX console ? Mouse middle key and highlight supported is essential.

Thanks in advance for any advices.


Update: Downloaded virtualbox then install a copy of Linux..then samba... seems making things complicated but handy.

share|improve this question
    
As a workaround, select/copy/paste is available in all Win32 console windows (even if it's not hosting a cmd.exe instance) by right-clicking the titlebar and using the Edit submenu. –  Andrew Lambert Nov 6 '12 at 23:19
add comment

3 Answers

I'm not very sure there is an exact copy, but here is what I do:

  1. Install MSYS and MinGW (also offers gcc compiler, etc) This gives me many useful linux commands (although not with as much features) such as ls, touch, cat, and you name it. If I need more functionality, say I just add more commands (say Grep, Git etc) by installing the tools, and adding them to the %PATH% environment variable.

  2. A slightly better counterpart is the Windows PowerShell (Win 7 Pro). Give it a whirl...

share|improve this answer
    
Btw, you CAN paste with Right Click/Paste (not as handy, but then, Windows is not linux ;) ) –  Kumar Harsh Nov 6 '12 at 22:00
1  
You can also hit Alt-Space to pull up the terminal menu, edit and paste. The selection can be done from the keyboard as well. Once selection is done, hitting enter (and this will show on the menu) will copy it to the buffer. If it is still the same as years ago, you can also do either shift-insert or control-insert to paste what you did copy to the buffer. –  vgoff Nov 7 '12 at 0:32
    
yup, that is pretty much what i do... never used Cygwin, (cuz had to chose between MinGW and cygwin for having gcc on Windows), but I'm more or less happy with what I have... :D –  Kumar Harsh Nov 7 '12 at 19:03
add comment

You should try Cygwin, which has most basic command line tools from linux, and supports middle mouse pasting.

share|improve this answer
    
Thank you, i will give it a go :-) –  olo Nov 6 '12 at 22:38
    
Don't be afraid of Cygwin-X either. It is a little bit harder to setup. But it will give you your mouse back. Plus some other benefits. –  vgoff Nov 7 '12 at 21:41
add comment

Right-click the shortcut to cmd.exe (or the title bar of a running instance) and select Properties. In the Options tab check the QuickEdit Mode checkbox and click OK.

With that modfication left-click-drag will select a rectangular section, and right-click will either copy the selection (when something is selected), or paste text from the clipboard (when nothing was selected). It's not quite as convenient as Unix/Linux terminals (because it's limited to block selections), but still a lot better than the default setting where you have to initiate each action via the context menu.

Using Console2 might be another option.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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