Plan 9 from Bell Labs’s /sources/patch/applied/rawfix/readme
Applies the rawon/rawoff fix to vncs. I used the code from 9/port/devcons.c, which works perfectly and can be understood :-)