[PATCH][win32] obtain terminal width on windows console

Robert Collins robertc at robertcollins.net
Mon May 1 00:19:57 BST 2006


On Sun, 2006-04-30 at 15:15 -0500, John Arbash Meinel wrote:
> Alexander Belchenko wrote:
> > Attached patch adds functionality to obtain terminal width on windows
> > console. Module bzrlib.win32console is already here, I'm slightly change
> >  this module to avoid problem with redirecting output and calling
> > function win32console.get_sonsole_size() from osutils.terminal_width().
> > 
> > -- 
> > Alexander
> 
> This seems reasonable to me. I wonder if we don't want to use the same
> functionality for cygwin. Though I also wonder if the other stdio patch
> works there.

cygwin != win32. 

its common with cygwin to use rxvt for instance. In general, using win32
facilities on cygwin is a bad idea.

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060501/73943804/attachment.pgp 


More information about the bazaar mailing list