On 2/19/08, <b class="gmail_sendername">Dan Armbrust</b> <<a href="mailto:daniel.armbrust.list@gmail.com">daniel.armbrust.list@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
How does one go about finding the width of a console on linux? Or<br>(shudder) on windows?</blockquote><div><br>Here's a python snippet that might help for windows, plus some code in the comments that might apply to linux:<br>
<br><a href="http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/440694">http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/440694</a><br><br>hth<br><br>--kurt<br></div><br></div>