Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed Cygwin, to be disappointed that bash by default runs within "cmd.exe". I googled around and found Console2. It's not a particularly well-designed application, as doing adjustments is slightly painful, although most of the time it works well.

I am still looking for a better way to survive in a Windows environment as even Console 2 occasionally crashes e.g. when trying to resize my terminal when editing in vim and there are plenty of other annoyances that I'm really not satisfied with.

Any ideas? I tried using Cygwin via PuTTY and that was an equally bad user experience.

share|improve this question
1  
Recommended reading: How do you configure a Windows machine for a Linux user? – Gilles Aug 9 '11 at 23:07
up vote 28 down vote accepted

MinTTY - here.

It makes Cygwin entirely usable on Windows. I would be lost without it. Based on the original PuTTY code, but integrates straight into Cygwin (and in fact, is bundled with Cygwin).

Start it with,

C:\cygwin\bin\mintty.exe -

Or where-ever you installed it. The '-' is key.

There are a few other useful additions for Cygwin as well, one being apt-cyg. It's not perfect, but it's better than running setup.exe every time you remember you're missing a package.

Even with Cygwin/X, I still use MinTTY as my primary terminal (I hate the scroll bars on xterm).

share|improve this answer
    
Oh, how do I make it start in my home directory? I start mintty and it starts in /usr/bin and it doesn't even have a PATH variable. Thanks :) – T.K. Aug 11 '11 at 7:34
2  
Invoke it with a dash (i.e. '-') as its argument. If you've installed it through Cygwin's setup.exe, there should be a mintty start menu entry in the Cygwin folder that already does that. – ak2 Aug 11 '11 at 8:27
1  
Yeh I was just adding the - to the answer. – EightBitTony Aug 11 '11 at 8:32
    
Thanks guys. I am using MinTTY now and I'm very happy with it. – T.K. Aug 12 '11 at 9:31

Install Cygwin/X and use xterm. (And then you'll probably either want their version of gvim or the Windows native one.)

share|improve this answer

Alternatively, you can try AndLinux and work with a real terminal.

share|improve this answer
    
That actually looks interesting. Will look into it. – T.K. Aug 11 '11 at 7:20

I added C:\cygwin\bin i.e. cygwin installation path to System variable "Path". It solves two problems

1) You need not to do cd to particular folder (go to particular folder and press alt+d, type cmd press enter)
2) Use cygwin terminal as default cmd in windows.
share|improve this answer
    
I found one good software to customize console in windows "conEmu"with installer and portlable version(sourceforge.net/projects/conemu). It has all advanced features and its really good to use. check this link to integrate it with windows context menu. stackoverflow.com/questions/21852965/… – OpenSourceEnthu Apr 6 '15 at 13:52

I realize this is very old, but since things have changed, ConEmu is the best in my opinion. It lets me run all variety of tabbed shells with massive customization, hot keys, etc. My primary use case is a series of named Cygwin zsh instances.

https://github.com/Maximus5/ConEmu

share|improve this answer

Reviving an old threat, however I stumbled across this while doing my own search. So rather than make a new thread - Here's what I found:

http://babun.github.io/

The core of Babun consists of a pre-configured Cygwin. Cygwin is a great tool, but there’s a lot of quirks and tricks that makes you lose a lot of time to make it actually 'usable'. Not only does babun solve most of these problems, but also contains a lot of vital packages, so that you can be productive from the very first minute.

It installs quickly, and sets up the environment for you which is great, and installs pact (a package manager similar to yum / apt-get)

Uses mintty as the for the console.

Overall, I'd say it's a great project and the more people that use it, the better it will become.

share|improve this answer

Personally I don't think there is a great solution on Windows unfortunately. I've opted to install the gvim windows package and use that for most of my editing (it adds a nice option in your right click menu to open with Vim).

As for CLI, you can keep using bash if you'd like. Other options include Windows PowerShell. I haven't bothered to learn it, but I've heard its pretty good.

The last solution is to run a VM in VirtualBox or VMWare Workstation. May not be ideal, but it lets you get Linux and edit/manipulate files from Windows via SMB Share or Shared Folders.

share|improve this answer
    
The OP is going to have to weather this somehow and there ARE things to be suggested to improve the situation even if you don't personally think there are "great" ones. – Caleb Aug 9 '11 at 17:24

rxvt is nice.

From my blog (currently down, thanks Google cache!):

My buddy Bill told me there is now a Cygwin command xhere and a setup command chere that will do all the Registry insertions for you. So launch Cygwin in the default crappy shell (with admin privs) and you can type:

chere -i -af -t rxvt -o "-bg black -fg white -sr -sl 1000 -fn \"FixedSys\" -ls" -s bash -e "Bash prompt here"

You can change -af to -cf for current user only if you don't have admin on the machine.

Because he was kind enough to give it to me, I will give you his command which seriously hurts my eyes. :) I also prefer the default size and expand it if needed.

chere -i -af -t rxvt -o "-ls -sr -sl 1000 -bg grey70 -fg black -geometry 120x65+300+15 -fn 10x16 -title Bash" -s bash -e "Bash prompt here"

share|improve this answer

I've been using Poderosa for a long time.

It works beautifully with Cygwin.

It has a dedicated button to launch a Cygwin terminal, while being a capable terminal itself. It's a tabbed terminal, has the ability to send commands to all your tabs (using a plugin), display profiles (text/background color) per session, copy-by-select, etc.

I mainly use it to test awk/sed scripts on Cygwin before running it on the server.

share|improve this answer
    
Could you expand this a little please? Perhaps explain what features make this useful? As it stands, this is more of a comment than an answer. – terdon 2 days ago

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.