Re: [PATCH] implementation of determine_screen_width() for Windows

2004-01-29 Thread David Fritz
Hrvoje Niksic wrote: This patch should fix both problems. Great, thanks

Re: [PATCH] implementation of determine_screen_width() for Windows

2004-01-29 Thread Hrvoje Niksic
David Fritz <[EMAIL PROTECTED]> writes: > It occurs to me now that the code should use STD_ERROR_HANDLE > instead of STD_OUTPUT_HANDLE as that is where the progress bar > goes. As it is, if stdout is redirected wget uses the default screen > width even though output goes to stderr which is still a

Re: [PATCH] implementation of determine_screen_width() for Windows

2004-01-28 Thread David Fritz
Herold Heiko wrote: From: Hrvoje Niksic [mailto:[EMAIL PROTECTED] .. Yes. Specifically, Unix's SIGWINCH simply sets a flag that means "window size might have changed, please check it out". That is because checking window size on each refresh would perform an unnecessary ioctl. One thing we coul