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 Link to comment https://forums.phpfreaks.com/topic/20900-getting-terminal-size-without-using-ncurses/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.