Who hard-codes a file handle?
FD 3 would be the first FD opened after stdin, stdout, and stderr.
On 4/26/2017 6:45 PM, Tim Newsham wrote:
Do you know who wrote the /sys/src/games/blit
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
On Thu, Mar 30, 2017 at 8:30 AM, David du Colombier <0intro(a)gmail.com
This image is ready to be used with aiju's Blit emulator,
which is available as part of 9front.
This emulator works on most Plan 9 distributions. You just
have to copy the /sys/lib/blit and /sys/src/games/blit
directories to your system.
With the v8.ini startup file provided, the console will be
listening on port 8888/tcp once SIMH has been started.
You have to run the emulator and connect to the console:
% cd /sys/src/games/blit
% mk install
% games/blit -t tcp!hostname!8888
Once connected, enter your login and password.
Then, you can launch the mux window system:
Once started, you can run any graphical program.
Binaries are located in the /usr/blit/bin directory.
For example, here is jim text editor:
David du Colombier
Tim Newsham | www.thenewsh.com/~newsham
<http://www.thenewsh.com/%7Enewsham> | @newshtwit |