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

Making it platform specific or let's fix fcntl problem #958

Open
aarmn opened this issue Apr 25, 2022 · 7 comments
Open

Making it platform specific or let's fix fcntl problem #958

aarmn opened this issue Apr 25, 2022 · 7 comments

Comments

@aarmn
Copy link

aarmn commented Apr 25, 2022

It's a long standing problem since I remember, I couldn't get bpython to run on windows, I want to know exactly how big is domain of fcntl model usage and what are the exact usage so I may can help to fix the problem and make it a truly cross platform shell
or else, lets make it unavailable for windows, cause it anyway is!

@sebastinas
Copy link
Contributor

You'd need to start with fixing it in blessings. But with WSL, isn't fcntl usage an issue of the past?

@aarmn
Copy link
Author

aarmn commented Apr 25, 2022

it is, but its a pain to run a virtual machine (because it is in the end of day) each time I wanna work with python, specially working with some python native toolkits e.g. working with hooks or any other windows native thing

I'll give a look to blessing, but I guess, that means I have no luck

@OscarL
Copy link

OscarL commented May 4, 2022

Instead of fixing Blessings, that seems unmaintained... Why not switch to blessed, that is maintained, and has Windows support?

@sebastinas
Copy link
Contributor

@thomasballinger Would switching to blessed by an option for curtsies?

@OscarL
Copy link

OscarL commented May 4, 2022

curtsies would also need to use functions other than from termios on Windows for it to actually work there.

The colorconsole project can serve as a reference on providing similar functionality to termios on Windows.

Textual's "console drivers" also could be used as a reference.

Edit: or just use what Blessed (and Jinxed) provide, I guess :-)

@aarmn
Copy link
Author

aarmn commented May 8, 2022

hmm, I guess with this new info I have to give a try to read blessed doc and bpython source, I prefer this issue be opened for a time. because it seems like there is an act to be done here

Edit: I saw @sebastinas made a move to blessed (3 days ago) in curtsies lib, so I wish bpython be fixed for windows asap

@sebastinas
Copy link
Contributor

There are still some open issues in curtsies. Most of those can probably be fixed by re-using more of blessed's functionalities.

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