Applies the rawon/rawoff fix to vncs. I used the code from 9/port/devcons.c, which works perfectly and can be understood :-)