Bug: console window width arbitrarily hardcoded to 80 characters in winvnc4

Alex K. Angelopoulos aka "at" mvps.org
Mon Aug 16 05:25:02 2004


While looking up the code for my prior bug report on parameter help text 
going to stderr, I also seemed to see signs that the output is arbitrarily 
hardcoded to display for 80-character width console screens.

Would it be possible to modify this to use either unlimited width for file 
redirection or correct console width for onscreen display? A call to 
GetConsoleScreenBufferInfo should work when displaying onscreen, but I'm not 
familiar enough with console API calls like this to know what problems this 
might produce when redirecting to a file.

Alex K. Angelopoulos