Console2 and Cygwin
Moderators: white, Hacker, petermad, Stefan2
Console2 and Cygwin
After a lot tries, I wanted ask someone else for his or her helps.
Ok, as a developer I have to use frequently cygwin and console2 program together.
Console is a Windows console window enhancement. Console features include: multiple tabs, text editor-like text selection, different background types, alpha and color-key transparency, configurable font, different window styles
Ok my question is how I should configure TotalCommander to use cygwin and console2 together. I want to open current dir in a new tab in console2 with Cygwin.
Thanks
Ok, as a developer I have to use frequently cygwin and console2 program together.
Console is a Windows console window enhancement. Console features include: multiple tabs, text editor-like text selection, different background types, alpha and color-key transparency, configurable font, different window styles
Ok my question is how I should configure TotalCommander to use cygwin and console2 together. I want to open current dir in a new tab in console2 with Cygwin.
Thanks
Re: Console2 and Cygwin
Let assume that your cygwin tabname in cosole is "Cygwin"Sessizlik wrote:After a lot tries, I wanted ask someone else for his or her helps.
Ok, as a developer I have to use frequently cygwin and console2 program together.
Console is a Windows console window enhancement. Console features include: multiple tabs, text editor-like text selection, different background types, alpha and color-key transparency, configurable font, different window styles
Ok my question is how I should configure TotalCommander to use cygwin and console2 together. I want to open current dir in a new tab in console2 with Cygwin.
Thanks
Did you try to make a button or a user command ?
Code: Select all
Command: <path to>\console.exe
Parameter: -t "Cygwin" -d "%P"
...
Some shell like powershell does not works correctly and are not fully supported by console2...
Re: Console2 and Cygwin
thank you for your answer,
I have tried with cygwin.bat which has this simple bash script
I changed this script to change directory. But I could not pass parameters.
And also I tried your example but It could not work too.
My another try was using directly bash.exe with parameter -c . You can pass custom commands to bash to initially run them.
I think that it can solve my problem but while I was writing I had a lof of problems about back slashes and quotes...
Thanks
I have tried with cygwin.bat which has this simple bash script
Code: Select all
@echo off
D:
chdir D:\ProgramFiles\Cygwin\bin
bash --login -i
And also I tried your example but It could not work too.
My another try was using directly bash.exe with parameter -c . You can pass custom commands to bash to initially run them.
I think that it can solve my problem but while I was writing I had a lof of problems about back slashes and quotes...
Thanks
nsp wrote:Let assume that your cygwin tabname in cosole is "Cygwin"Sessizlik wrote:After a lot tries, I wanted ask someone else for his or her helps.
Ok, as a developer I have to use frequently cygwin and console2 program together.
Console is a Windows console window enhancement. Console features include: multiple tabs, text editor-like text selection, different background types, alpha and color-key transparency, configurable font, different window styles
Ok my question is how I should configure TotalCommander to use cygwin and console2 together. I want to open current dir in a new tab in console2 with Cygwin.
Thanks
Did you try to make a button or a user command ?
If you launch cygwin using a bat instead of launching directly bash or sh or tcsh with all the setting in etc/profile and your rc file, you could have some trouble to be in good starting folder.Code: Select all
Command: <path to>\console.exe Parameter: -t "Cygwin" -d "%P" ...
Some shell like powershell does not works correctly and are not fully supported by console2...
Code: Select all
Re: Console2 and Cygwin
In my previous mail i was pointing out the cygwin bat, if you want to avoid it :Sessizlik wrote:thank you for your answer,
I have tried with cygwin.bat which has this simple bash script
I changed this script to change directory. But I could not pass parameters.Code: Select all
@echo off D: chdir D:\ProgramFiles\Cygwin\bin bash --login -i
And also I tried your example but It could not work too.
Some hints to follow :
- Add D:\ProgramFiles\Cygwin\bin to your system path.
- in your etc/profile file, remove the command cd "$HOME" (near the end generally)
- in console 2 define Cygwin like :bash --login -i
Try the command from previous post. (It works for me with msys !)
Hi *,
my 2 cents on this topic.
I found it more convenient to use Putty with Cygwin extensions: http://code.google.com/p/puttycyg/
I've also removed the "cd $HOME" part as well so it starts in current directory.
Command: <path to>\puttycyg-20101029\putty.exe
Parameter: -cygterm -
Start path: <leave empty for path of currently selected panel>
Edit:
Triggered by this post, just tried Console2 after long, long time. I must say it is very nice, one more program I'll use. Thx
my 2 cents on this topic.
I found it more convenient to use Putty with Cygwin extensions: http://code.google.com/p/puttycyg/
I've also removed the "cd $HOME" part as well so it starts in current directory.
Command: <path to>\puttycyg-20101029\putty.exe
Parameter: -cygterm -
Start path: <leave empty for path of currently selected panel>
Edit:
Triggered by this post, just tried Console2 after long, long time. I must say it is very nice, one more program I'll use. Thx
Ambiguity succeeds where honesty dares not venture.