mintty

Why isn't git bash transforming the path to *nix notation for my python installation?

杀马特。学长 韩版系。学妹 提交于 2019-12-04 19:39:38
Working on Windows 7, I've installed git with the git bash and then installed python and am having trouble running it from the command line. Here's what I've learned so far: *nix uses : as a path separator. Therefore C:/Users/Someone would be seen as two separate paths. *nix uses /c/users/someone notation instead. When I run echo $PATH from git bash, every path there (including Node, which I only just installed now, after everything else) is using the correct /c/ notation-- --except Python, which still has the C:/ notation, and is therefore not accessible from the terminal since it can't find

Opening PostgreSQL in Cygwin and MINTTY

寵の児 提交于 2019-12-01 22:42:07
I can't seem to open the interactive mode of PSQL using MINTTY or using the default Cygwin terminal, it just stalls under the command psql databasename and does nothing. The only way to get it to respond is to ctrl+C out of it. It works fine in Command Prompt. I know that for Python you need to enter the -i argument - is there a similar trick for Cygwin? JonathanZ I'm having the same problem. For some reason psql -l -h localhost -U postgres returns a listing of dataabases, but any other variation on psql just hangs, silently. Edit: I found the answer here: how to set up the psql command in

Opening PostgreSQL in Cygwin and MINTTY

懵懂的女人 提交于 2019-12-01 22:37:20
问题 I can't seem to open the interactive mode of PSQL using MINTTY or using the default Cygwin terminal, it just stalls under the command psql databasename and does nothing. The only way to get it to respond is to ctrl+C out of it. It works fine in Command Prompt. I know that for Python you need to enter the -i argument - is there a similar trick for Cygwin? 回答1: I'm having the same problem. For some reason psql -l -h localhost -U postgres returns a listing of dataabases, but any other variation

How do i start Mintty and run a script file?

对着背影说爱祢 提交于 2019-11-30 08:39:38
I wrote a simple CURL and put it in a script file. if i run mintty first and then "test.sh" it runs the script in the file just fine. Works perfectly. however, if i try to run mintty with any of the following command line, it will not run. I'm running these in CMD C:\>c:\cygwin\bin\mintty.exe --exec '/cygdrive/c/cygwin/bin/test.sh' C:\>c:\cygwin\bin\mintty.exe --exec '/bin/test.sh' C:\>c:\cygwin\bin\mintty.exe --exec '/test.sh' C:\>c:\cygwin\bin\mintty.exe --exec 'test.sh' C:\>c:\cygwin\bin\mintty.exe --exec 'c:/test.sh' C:\>c:\cygwin\bin\mintty.exe --exec 'c:\test.sh' nkman For whoever is

msys not flushing output

青春壹個敷衍的年華 提交于 2019-11-29 16:27:13
I'm using mingw with msys and mintty on windows. I have a problem that msys and mintty are somehow not flushing output until a command is finished. This means I can't really run any interactive programs. For example, if I have in C : printf("Test\n"); the output won't appear until the program has terminated. However, if I have: printf("Test\n"); fflush(stdout); then the output appears immediately. If I use msys without mintty or the windows console, then everything works normally. So my question, what's going on with msys and mintty? This can be an issue when msys uses the rxvt shell under a

Git Bash (mintty) is extremely slow on Windows 10 OS

妖精的绣舞 提交于 2019-11-28 16:19:01
I installed Git on my Windows 10 a couple of months ago. It worked fine for some time. But now, it's running so slow. The git status command takes 7 seconds to execute, and git stash takes many minutes for stashing (even if there is nothing to stash). Also, I would like to point out that git status prints the result instantaneously, but I can not enter a new command for a few seconds as shown in the image below. I have tried surfing the net for solutions to my problem like this , this , etc. but none of these have worked. P.S.: I use Windows Defender antivirus, and it is NOT making my Bash

msys not flushing output

房东的猫 提交于 2019-11-28 11:28:26
问题 I'm using mingw with msys and mintty on windows. I have a problem that msys and mintty are somehow not flushing output until a command is finished. This means I can't really run any interactive programs. For example, if I have in C : printf("Test\n"); the output won't appear until the program has terminated. However, if I have: printf("Test\n"); fflush(stdout); then the output appears immediately. If I use msys without mintty or the windows console, then everything works normally. So my

Git Bash (mintty) is extremely slow on Windows 10 OS

情到浓时终转凉″ 提交于 2019-11-27 09:46:10
问题 I installed Git on my Windows 10 a couple of months ago. It worked fine for some time. But now, it's running so slow. The git status command takes 7 seconds to execute, and git stash takes many minutes for stashing (even if there is nothing to stash). Also, I would like to point out that git status prints the result instantaneously, but I can not enter a new command for a few seconds as shown in the image below. I have tried surfing the net for solutions to my problem like this, this, etc.