-
Notifications
You must be signed in to change notification settings - Fork 82
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
Use TIOCGWINSZ to get the terminal size #254
base: master
Are you sure you want to change the base?
Conversation
|
|
3.3 should be fine I don't think anyone is till one 3.2−. I don't think checking However, maybe there are programs that expect the current behaviour, so perhaps, your patch is the best option, but with one change: try, stderr first, then stdout, and stdin last. |
I'm ok, all go for fallbacks. Also I think we should stick to our minimal python Q: What's Toaruos' max compilable python version?? EDIT: I did a long search and I come to this
So in resume is |
I did a release but it keep the same old minimal version so i think now is the time to decide if up the minimal python version or not for 3.0.4 Your throughs? |
So I will asume that ToaruOS can compile and use python 3.4, so is safe to bump the minimal to 3.4 |
ToaruOS/PonyOS ship packages for Python 3.6, so no problem from our end. |
What is still needed for this PR to be merged in? |
Well as was discused it need a backup method, i think that every distro and system is capable or is already runing the minimum version but what if the TIOCGWINSZ method fail, there is a backup method to get the stuff? So make the TIOCGWINSZ method and fall back to the actual if something went wrong; update the CHANGELOG and TEXINFO page acordingly too and will be enoigh for me |
This patch is derived from the port of ponysay to PonyOS, where
stty
was ported from Minix and does not have thesize
option. This approach should be faster and more widely portable and has been tested on Linux, OS X, and of course PonyOS.