Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

"stty size" POSIX #26

Closed
ghost opened this issue Sep 21, 2020 · 5 comments
Closed

"stty size" POSIX #26

ghost opened this issue Sep 21, 2020 · 5 comments

Comments

@ghost
Copy link

ghost commented Sep 21, 2020

Hi Dylan, out of curiosity, haven't you found a POSIX way to get the size of the terminal?

@cmplstofB
Copy link

@ghost
Copy link
Author

ghost commented Sep 21, 2020

I'm all dumb, I didn't look at the variables 😔, excuse me, I'm learning to program in shell with "sh" following the POSIX standard, a few days ago I finished programming a password manager inspired by "pash", but my programming is not so good like Dylan's:

https://git.disroot.org/ricardog08/passgesh

Thank you very much for your answer.

@dylanaraps
Copy link
Owner

stty size is POSIX (very recent). See https://austingroupbugs.net/view.php?id=1053 and https://austingroupbugs.net/view.php?id=1151

@cmplstofB
Copy link

Oh, I didn’t know that (stty size).
Thank you for telling!

@ghost
Copy link
Author

ghost commented Sep 22, 2020

Thanks Dylan

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

No branches or pull requests

2 participants