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
Jobs with pipes not working on fresh install of xonsh #1801
Comments
Thanks for reporting @gotgenes! I believe that we have just pushed fixes to these to master. Please feel free to try out master and let us know how it goes. Sorry about this! |
Hi Anthony I've just rebuilt the latest master and did some quick tests pbr@mongo ~/xonsh master $ xonfig Note the output of "env" should have been shown by the vim program as The generalization is - "any-command | vim -" should put you in vim on Hope this helps. If there are any specific other tests you'd like run Kind regards, _Paul Reiber_http://about.me/reiber On Wed, Oct 5, 2016 at 5:52 PM, Anthony Scopatz notifications@github.com
|
vim is special cased and has some weird effects because of that. I am trying to figure out what is going wrong, but the other cases should work. Also note that when you do |
@scopatz Overall it does look like this was fixed on latest
Note I am actually still being prompted for my password, I can still enter my password, and the command will succeed. I was caught off guard, though, by the traceback, and didn't realize xonsh was actually still waiting for my password. I have filed a separate issue for this, #1806. |
@scopatz I'm on mac too and the piped commands hangs forever. like this one: $ ps ax | wc -l $ xonfig
|
@gotgenes could you try out the latest master and see if this issue persists? Thanks! |
@gforsyth Latest behavior causes
To gain control back of the terminal, I must execute a Ctrl+C, followed by two presses of Q. This behavior does not seem to be exhibited when running something that takes up a screenful or more with
|
Hey @gotgenes, thanks. I can confirm that behavior. I'm inclined to close this out and open a new issue for it so we can keep better track of the individual problems. Question for you, if you open a file with less that takes up more than a screenful and scroll to the bottom and then try to scroll down further, do you also lose keypresses? |
Yes, I recommend marking this issue as resolved. I will file a new issue regarding the lost keypresses. |
I believe this is related to #1330 but am opening a new issue in case it is not.
I'm encountering this issue on OS X with xonsh 0.4.7 installed via Homebrew. I did not run through the xonfig wizard:
I discovered this while running the following command in xonsh:
I did not receive a prompt for a password from
sudo
(which I do get from Bash).Following this I checked to see if basic piping itself was broken with
This did not open
less
in the terminal. I now had two stuck processes; attempting to exit xonsh with Ctrl-D then became impossibleThe only way to get out of xonsh was to
kill
those jobs using their PIDs. Following that, I could use Ctrl-D to exit.The text was updated successfully, but these errors were encountered: