[TUHS] 8th Edition Research Unix on SIMH

Kurt H Maier khm at sciops.net
Thu Apr 27 09:07:12 AEST 2017


On Wed, Apr 26, 2017 at 12:45:17PM -1000, Tim Newsham wrote:
> Do you know who wrote the /sys/src/games/blit emulator?
> There's a piece of code in it that I had to comment out that
> I dont understand and I want to ask about it:
> 
>         }
> -       write(3, rom, sizeof(rom));
> +    /* I dont know what this was for, but it spews garbage
> +     * out telnet to the vax, causing it to hang.
> +     */
> +       //write(3, rom, sizeof(rom));
>  }
> 
> I'm not sure what fd 3 is intended to be, but its the telnet socket in p9p.

aiju (not on this list) wrote games/blit.  You're working from a copy a
couple revisions behind;  that line was leftover debugging stuff removed
in revision 6842e7932c68 in the 9front tree, which is available at
http://code.9front.org/hg/plan9front


khm


More information about the TUHS mailing list