I am mostly using 'git-bash' which came with the Windows install of Git vcs. I think it is the same one that comes with Cygwin. It works fine technically but the UI sucks:
- have to right-click the title bar and go to Properties to change the window width
- most annoyingly... copy and paste and highlight with the mouse are equally cumbersome
In contrast, the Terminal app that comes with OS X manages these with aplomb and makes it so much more comfortable to work with. You can even drag and drop a file on it and it will paste the file path in at your cursor!
I have also tried:
http://sourceforge.net/projects/win-bash
http://www.steve.org.uk/Software/bash/
http://www.hamiltonlabs.com/cshell.htm
None of these do copy and paste of text without cumbersome right-clicking.
I am specifically looking for a Unix-flavoured shell in Windows so I don't have to use different shells between my home dev (Windows), the live server (Linux) or dev at the office (Mac).
Yes I have Googled and haven't found one yet...
Have you tried console2?
It lets you use cmd, bash, or any program as your shell, and allows resizing in any direction.
You can make it default to Git Bash by going to Edit->Settings, then pasting this in the Shell field:
To copy, hold Shift, click and drag with the left mouse button to select, then left click to Copy.
Finally, Git ships with rxvt. You could create a new Windows shortcut with the Target field set to:
[Reposting my comment as an answer at Anentropic's request.]
If you're using Cygwin and like PuTTY, check out mintty. It's available in the Shells category in the Cygwin setup program (or get the source here). The author used large parts of PuTTY to create it, so it behaves very much like PuTTY. It can be configured to work like you'd like it to:
mount -c /mnt
).My only problem with mintty is that recent versions (0.9.4+) seem to be doing something that Windows 7 UAC doesn't like, so it prompts for permission to run it every time. This seems to cause it to run with different privileges, so things like my network drives don't work. I don't know if this is a mintty problem, or a problem with my system, though.
Sorry for the self-promotion, I'm the author of another Console Emulator.
ConEmu is a Windows console emulator with tabs, which presents multiple consoles and simple GUI applications as one customizable GUI window with various features.
A brief excerpt from the long list of options:
Hanselman's post, user's reviews, ConEmu tag on superuser.com
I wish that PuTTY was able to work as an emulator for local OS access like Cygwin does. PuTTY is my favorite when I am stuck on a Windows box. I voted this question up, I would love to know about a better emulator for Windows as well.
The big problem with copy and paste isn't fault of the terminal emulators; it's the keybinding themselves.
When the shortcuts were invented in Mac, Apple added a new key for them: the 'command key' (also known as 'splat') It doesn't have an ASCII equivalent.
A few years later, when Microsoft copied the same shortcuts, PC keyboards didn't have any 'windows', or 'menu' keys, so they went with another little used key you could hold with your pinky: the Ctrl key. Problem is, that Ctrl-C, Ctrl-V, etc. are valid ASCII codes, and heavily used on command line interfaces.
So, when you press Ctrl-C on a Windows ternimal, should it copy the text or break the running command?
As is the case with just about every piece of windows software that I've touched, I had to repeat steps with uncertainty and a brute-force sort of approach...
But somewhere in there I got it to work without installing any new consoles!
I followed AnandK's solution... http://www.thewindowsclub.com/full-screen-command-prompt-in-windows-7 I got it to work with git bash by doing the following
I suppose I should clarify: this is specifically for allowing fullscreen -- nothing more.
Just tossing this out since it hasn't been mentioned yet. But MS's own PowerShell is actually a really good CLI for Windows.
It has some Bash-like features that should make it feel somewhat familiar. In my opinion, it's worth learning if you do any type of scripting or automation with Windows, even if you're primarily a *nix guy (like myself). You'll be able to do more in less time compared to trying to hack together something that runs atop Cygwin.