Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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 have installed Console2 and Cygwin too. I like to run Cygwin terminal as Console2. So i want to integrate Console2 over Cygwin. I have seen other guys use Cygwin like that. How to do it?

share|improve this question
up vote 1 down vote accepted

I have a batch script's path in the tab's Shell field, with this as its contents:

@echo off

set path=%PROGRAMPATH%\cygwin\bin;%PROGRAMPATH%\cygwin\usr\X11R6\bin;%PATH%
set SHELL=/bin/bash
set CYGWIN=codepage:437
set HOME=/home/paradroid

%PROGRAMPATH%\cygwin\bin\bash --login -i

Obviously, you will need to edit the Cygwin path and the username for the home directory.

share|improve this answer
Woww! Thats works!! Thats so great and thanks!! Additionally, let me know-- What is %PROGRAMPATH% ? I used static "C:" for that. – 4lvin Jul 26 '11 at 1:24
@4lvin: It's an environmental variable example which I said you would need to alter to fit the way you have things set up. – paradroid Jul 26 '11 at 1:47
Thanks paradroid. It works for me now. Do you have a way to change the details color theme of Console? – 4lvin Jul 26 '11 at 1:51
@4lvin: I'm not sure what you mean, but I just alter the standard ANSI colours in the Console2 settings slightly (lighter) so that they display nicely across all shells I use. If you want to change specific colour settings in Cygwin you will need to edit your .bashrc. – paradroid Jul 26 '11 at 2:01
@4lvin – 에이바 Oct 8 '12 at 17:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .