-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[winpty] output is not a tty #519
Comments
Meanwhile some explications, if you want to remove all the winpty alias, use this command: # remove winpty alias
unalias $(alias | grep winpty | cut -d"=" -f1 | cut -d" " -f2) Or just the winpty PHP alias, use this command: # remove winpty PHP alias
unalias $(alias | grep winpty | grep php | cut -d"=" -f1 | cut -d" " -f2) |
FWIW there is a much, much easier workaround than to unalias anything:
And no, we cannot simply abandon |
I cannot specify
Yes, but it is not the default use of PHP, it requires : What do you think about it? |
No, that would break it again for the people who reported those issues! They call |
Maybe I am wrong, but I have not found reported issues for PHP?
But with |
If you seriously suggest I should break other people's setups to unbreak yours, this conversation is pretty much over ;-) |
Not at all! Please read carefully my last comment: I explain two things: first, I have not found reported issues for PHP and second, the current setup do break PHP! Not just my little setup ;) So we have:
We must find a fix to all setups! |
Hi @dscho, I have done some research on the PHP Interactive shell:
I try and I have got:
So I try to install readline, http://php.net/manual/en/intro.readline.php:
And now I am lost: how |
No more comments? |
I do not recall where I read a comment of a PHP user who did have an interactive console, but I am pretty certain that we have at least one user who installed PHP using some integrated installer and expects to be able to call that from a Git Bash. |
OK then. I close this issue, but if somebody has the same issue a solution is provided on the 2nd comment |
@dscho @Kmelia Just came across this. It is a real conundrum. It took me several hours to find out how to bypass the Actually the solution is pretty simple:
Or much shorter?
Or more verbose?
🍌 It's quite nifty, isn't it? 🍌 |
Or |
Indeed. But |
@galopin true. You could also work with the |
Hi,
I have an issue with the
winpty
aliases: it brokes the TTY ?How to reproduce:
$ unalias php
Is it necessary to use winpty ?
The text was updated successfully, but these errors were encountered: