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

Ship libpty in the nuget package for Mac. #18

Open
migueldeicaza opened this issue Mar 13, 2019 · 2 comments
Open

Ship libpty in the nuget package for Mac. #18

migueldeicaza opened this issue Mar 13, 2019 · 2 comments

Comments

@migueldeicaza
Copy link
Owner

No description provided.

@danwalmsley
Copy link

would you be interested in a pull request that means you can use 100% managed code.

It works like:
https://github.com/VitalElement/AvalonStudio.TerminalEmulator/blob/master/src/AvalonStudio.Terminals/Unix/UnixPsuedoTerminalProvider.cs#L24

combined with a trampoline:
https://github.com/VitalElement/AvalonStudio.TerminalEmulator/blob/master/src/AvalonStudio.Terminals/Unix/UnixPsuedoTerminal.cs#L33

works on linux, and mac and fully managed code.

Im thinking of adopting this to use in my cross platform IDE, my current solution is based on:

https://github.com/darrenstarr/VtNetCore in case your interested.

https://user-images.githubusercontent.com/4672627/55180052-ae184280-5180-11e9-93fa-baf59d2e677e.gif

Id also be happy to submit a PR for a cross platform ui based on Avalonia.

@devmil
Copy link

devmil commented Aug 10, 2020

would you be interested in a pull request that means you can use 100% managed code.

It works like:
https://github.com/VitalElement/AvalonStudio.TerminalEmulator/blob/master/src/AvalonStudio.Terminals/Unix/UnixPsuedoTerminalProvider.cs#L24

combined with a trampoline:
https://github.com/VitalElement/AvalonStudio.TerminalEmulator/blob/master/src/AvalonStudio.Terminals/Unix/UnixPsuedoTerminal.cs#L33

works on linux, and mac and fully managed code.

Im thinking of adopting this to use in my cross platform IDE, my current solution is based on:

https://github.com/darrenstarr/VtNetCore in case your interested.

https://user-images.githubusercontent.com/4672627/55180052-ae184280-5180-11e9-93fa-baf59d2e677e.gif

Id also be happy to submit a PR for a cross platform ui based on Avalonia.

Really interesting approach. Sadly this approach has a problem with zsh.
I got your approach working together with XtermSharp. Bash works fine but using zsh CTRL+C doesn't have an effect (it gets printed though).
I reproduced this problem also with AvalonStudio (by changing the shell command used) so it is not me not being able to port code :)
So at its current state not a replacement for what Miguel did for MacOS

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

No branches or pull requests

3 participants