On Sun, Jan 30, 2011 at 7:11 PM, Alexey Eromenko <[email protected]> wrote:
> Patch for "vboxshell.py" for Windows hosts.
>
> This fixes incorrect rendering of "help" command, because 'cmd' shell
> on Windows hosts does not support colors. Against v4.0.0 SDK.
>
> Line 48, "vboxshell.py"
> g_hascolors = True
> +if platform.system() == 'Microsoft':
> + g_hascolors = False
> term_colors = {
>
Nope.
Better patch would be:
Line 3258, "vboxshell.py"
checkUserExtensions(ctx, commands, home)
- if platform.system() == 'Windows':
+ if platform.system() == 'Microsoft':
global g_hascolors
g_hascolors = False
--
-Alexey Eromenko "Technologov"
_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev