drkstr Posted September 15, 2006 Share Posted September 15, 2006 I had a hard time trying to find a way to get the terminal size (rows and cols) in a command line php script I'm writing. I was about to give up and call a perl script to get the info, but I was wondering if there was a more efficient way. I need to be able to do this without recompiling php with ncurses support. Any ideas?thanks!...drkstr Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.