I'd like to know my current xterms' window sizes. I'm using Cygwin. Is there a command to just print that to the prompt?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
If it's an actual xterm, the following should work (tested on a PuTTY session, since I don't have Cygwin installed at the moment):
In my case, that returned
returned All the commands involved should be standard in Cygwin or any UNIX-like system. I'd be very surprised if they didn't work equally well in a Cygwin console prompt. |
|||||
|
|
|
Gives you the size in characters:
Whether it works in cygwin? You tell us! |
|||
|
|