Skip to content
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

zsh is not capable of opening up a zpty instance #394

Closed
fredrikaverpil opened this issue May 19, 2016 · 4 comments
Closed

zsh is not capable of opening up a zpty instance #394

fredrikaverpil opened this issue May 19, 2016 · 4 comments

Comments

@fredrikaverpil
Copy link

fredrikaverpil commented May 19, 2016

I've successfully installed zsh and then opened the shell:

sudo apt-get install zsh
/bin/zsh

But then I noticed zsh is not capable of opening up a zpty instance:

zpty -b test cat

zpty: can't open pseudo terminal: exec format error

zpty -w test hi

zpty: no such pty command: test

zpty -r test

zpty: no such pty command: test

zpty -d test

zpty: no such pty command: test

zpty -L

...did not return anything at all.


I originally created an issue with the zsh pure prompt where this was discussed: sindresorhus/pure#210

@fpqc
Copy link

fpqc commented May 19, 2016

Known issue, WSL does not yet support opening ptys (only tty right now) at all, according to a friend of mine who has done some more research on this than I have.

@russalex
Copy link
Contributor

Marking this one as a dup of #323. We are hard at work on pty support. Unfortunately it is not yet working in our dev branch so no ETA, but we'll make certain to keep people informed.

@fredrikaverpil
Copy link
Author

@russalex Sounds great. Perhaps we should close this issue then, as it is a duplicate?
Cheers!

@russalex
Copy link
Contributor

Sounds like a plan to me. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants