shell - msys not opening programs interactively -
msys not opening programs interactively. example, if enter python, program hangs. mysql
hangs after enter password (entering password interactive, though). when enter pico
, "redirection not supported." bc
not hang, though. python -i
opens interactive session.
i've tried different terminal emulators, , same results. i've tried console , mintty. therefore, i'm led believe issue sh
, not terminal emulator.
i running vista. installed msys on work pc, runs windows 7, , don't have issues running interactive programs on msys.
i've read expected behavior, used work. i'm thinking install corrupted something. tried reinstalling msys, , same results. cannot system restore reason.
any clues?
here example output:
$ python <ctrl-c> $ mysql -u root -p enter password: **** <ctrl-c>
this time used console. in "shell:" textbox put c:/msys/1.0/bin/sh.exe --login -i
when press enter key, newline added, i.e., terminal scrolls. same thing happens terminal provided msys. used work before. furthermore, installed msys on machine, runs windows 7, , python not hang. if use python -i
, there no hang.
here's output of running sh cmd:
c:\users\jpp>sh sh-3.1$ sh-3.1$ sh-3.1$ python python 2.7.3 (default, apr 10 2012, 23:31:26) [msc v.1500 32 bit (intel)] on win 32 type "help", "copyright", "credits" or "license" more information. >>>
have tried winpty (https://github.com/rprichard/winpty) project? details, check answer here: https://stackoverflow.com/a/23164362/1034436
your issue seems similar mine mysql
, hg
, python
, unlike you, don't have example of working without winpty.
Comments
Post a Comment