Index: /trunk/src/VBox/Frontends/VBoxShell/vboxshell.py
===================================================================
--- /trunk/src/VBox/Frontends/VBoxShell/vboxshell.py	(revision 29523)
+++ /trunk/src/VBox/Frontends/VBoxShell/vboxshell.py	(revision 29524)
@@ -38,5 +38,6 @@
 
     def onMousePointerShapeChange(self, visible, alpha, xHot, yHot, width, height, shape):
-        print  "%s: onMousePointerShapeChange: visible=%d" %(self.mach.name, visible)
+        print  "%s: onMousePointerShapeChange: visible=%d shape=%d bytes" %(self.mach.name, visible,len(shape))
+
     def onMouseCapabilityChange(self, supportsAbsolute, supportsRelative, needsHostCursor):
         print  "%s: onMouseCapabilityChange: supportsAbsolute = %d, supportsRelative = %d, needsHostCursor = %d" %(self.mach.name, supportsAbsolute, supportsRelative, needsHostCursor)
@@ -2173,10 +2174,10 @@
 
 def natAlias(ctx, mach, nicnum, nat, args=[]):
-    """This command shows/alters NAT's alias settings. 
+    """This command shows/alters NAT's alias settings.
     usage: nat <vm> <nicnum> alias [default|[log] [proxyonly] [sameports]]
     default - set settings to default values
     log - switch on alias loging
     proxyonly - switch proxyonly mode on
-    sameports - enforces NAT using the same ports 
+    sameports - enforces NAT using the same ports
     """
     alias = {
@@ -2188,10 +2189,10 @@
         first = 0
         msg = ''
-        for aliasmode, aliaskey in alias.iteritems(): 
+        for aliasmode, aliaskey in alias.iteritems():
             if first == 0:
                 first = 1
             else:
                 msg += ', '
-            if int(nat.aliasMode) & aliaskey: 
+            if int(nat.aliasMode) & aliaskey:
                 msg += '{0}: {1}'.format(aliasmode, 'on')
             else:
@@ -2214,5 +2215,5 @@
     usage: nat <vm> <nicnum> settings [<mtu> [[<socsndbuf> <sockrcvbuf> [<tcpsndwnd> <tcprcvwnd>]]]]
     mtu - set mtu <= 16000
-    socksndbuf/sockrcvbuf - sets amount of kb for socket sending/receiving buffer 
+    socksndbuf/sockrcvbuf - sets amount of kb for socket sending/receiving buffer
     tcpsndwnd/tcprcvwnd - sets size of initial tcp sending/receiving window
     """
@@ -2233,11 +2234,11 @@
             if not args[i].isdigit() or int(args[i]) < 8 or int(args[i]) > 1024:
                 print 'invalid {0} parameter ({1} not in range [8-1024])'.format(i, args[i])
-                return (1, None) 
+                return (1, None)
         a = [args[1]]
         if len(args) < 6:
-            for i in range(2, len(args)): a.append(args[i]) 
+            for i in range(2, len(args)): a.append(args[i])
             for i in range(len(args), 6): a.append(0)
         else:
-            for i in range(2, len(args)): a.append(args[i]) 
+            for i in range(2, len(args)): a.append(args[i])
         #print a
         nat.setNetworkSettings(int(a[0]), int(a[1]), int(a[2]), int(a[3]), int(a[4]))
@@ -2304,7 +2305,7 @@
 def natPortForwarding(ctx, mach, nicnum, nat, args):
     """This command shows/manages port-forwarding settings
-    usage: 
+    usage:
         nat <vm> <nicnum> <pf> [ simple tcp|udp <hostport> <guestport>]
-            |[no_name tcp|udp <hostip> <hostport> <guestip> <guestport>] 
+            |[no_name tcp|udp <hostip> <hostport> <guestip> <guestport>]
             |[ex tcp|udp <pf-name> <hostip> <hostport> <guestip> <guestport>]
             |[delete <pf-name>]
@@ -2323,13 +2324,13 @@
         pfcmd = {
             'simple': {
-                'validate': lambda: args[1] in pfcmd.keys() and args[2] in proto.keys() and len(args) == 5, 
+                'validate': lambda: args[1] in pfcmd.keys() and args[2] in proto.keys() and len(args) == 5,
                 'func':lambda: nat.addRedirect('', proto[args[2]], '', int(args[3]), '', int(args[4]))
             },
-            'no_name': { 
-                'validate': lambda: args[1] in pfcmd.keys() and args[2] in proto.keys() and len(args) == 7, 
+            'no_name': {
+                'validate': lambda: args[1] in pfcmd.keys() and args[2] in proto.keys() and len(args) == 7,
                 'func': lambda: nat.addRedirect('', proto[args[2]], args[3], int(args[4]), args[5], int(args[6]))
             },
-            'ex': { 
-                'validate': lambda: args[1] in pfcmd.keys() and args[2] in proto.keys() and len(args) == 8, 
+            'ex': {
+                'validate': lambda: args[1] in pfcmd.keys() and args[2] in proto.keys() and len(args) == 8,
                 'func': lambda: nat.addRedirect(args[3], proto[args[2]], args[4], int(args[5]), args[6], int(args[7]))
             },
@@ -2338,5 +2339,5 @@
                 'func': lambda: nat.removeRedirect(args[2])
             }
-        } 
+        }
 
         if not pfcmd[args[1]]['validate']():
@@ -2349,5 +2350,5 @@
 
 def natNetwork(ctx, mach, nicnum, nat, args):
-    """This command shows/alters NAT network settings 
+    """This command shows/alters NAT network settings
     usage: nat <vm> <nicnum> network [<network>]
     """
@@ -2402,6 +2403,6 @@
     for i in range(3, len(args)):
         cmdargs.append(args[i])
-        
-    # @todo vvl if nicnum is missed but command is entered 
+
+    # @todo vvl if nicnum is missed but command is entered
     # use NAT func for every adapter on machine.
     func = args[3]
@@ -2415,5 +2416,5 @@
     adapter = mach.getNetworkAdapter(nicnum)
     natEngine = adapter.natDriver
-    (rc, report) = natcommands[func](ctx, mach, nicnum, natEngine, cmdargs) 
+    (rc, report) = natcommands[func](ctx, mach, nicnum, natEngine, cmdargs)
     if rosession == 0:
         if rc == 0:
