Skip to content

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

Open

Description

@aarmn

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!

Activity

  1. sebastinas commented on Apr 25, 2022

    @sebastinas
    Contributor

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

  2. aarmn commented on Apr 25, 2022

    @aarmn
    Author

    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

  3. OscarL commented on May 4, 2022

    @OscarL

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

  4. sebastinas commented on May 4, 2022

    @sebastinas
    Contributor

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

  5. OscarL commented on May 4, 2022

    @OscarL

    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 :-)

  6. aarmn commented on May 8, 2022

    @aarmn
    Author

    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

  7. sebastinas commented on Jun 20, 2022

    @sebastinas
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions