This patch allow connections to win8 hosts at 16 bits color depth, and with the bmp cache disabled.
so connect like `./rdesktop -b -u username win8-host`
The patches fall into two categories, graphics and input.
For graphics. the image decoder incorrectly identifies the size because its failing to handle the scale bits properly. The bitmap decompressor also fails as win8 is always setting the bit depth to 0. I put a little "hack" in for that.
For input, win8 no longer appears to support the slow path keyboard and mouse input (or its a capabilities flag, although I played with them without any luck). So, all keyboard and mouse input is now being directed through a pair of fast path calls which bypass a large chunk of the RDP code.