Posts

Showing posts from October, 2007

trainspotting

NAME trainspotting NOTES I want to tell you about my new hobby. I've started to collect inferno emulators. It's a little like trainspotting where the aim is to "spot" a certain type of emulator compiled to run for a particular platform. You get points for running the emulator yourself and bonus points for building the emulator yourself. Unlike trainspotting, I've come to think this hobby might not be completely pointless. So far my collection is not large. I can only claim to have run hosted emu on Plan9, MacOSX, Linux, Solaris, and Nt. Even so, I'm proud of it and would like to add more hosts. Imagine for a moment a collection of emulators that runs on every host, past and present, and with the social organization to port it to all significant future hosts. Wouldn't such a collection be valuable to others? For example, say you are interested in digital preservation, if you could write a program in limbo to interpret your special file format this col

lab 80 - drawterm plugin

Image
NAME lab 80 - drawterm plugin NOTES This post is to show it is possible to use the inferno IE plugin to drawterm to plan9. All the programs involved are part of standard Inferno. These are the steps I did to get this running locally. It does need factotum etc, so you need to export a file system with all the pieces you need. % listen -vA 'tcp!*!7070' {export '#U/'} For the net you'd probably do this using an unauth'd readonly kfs, for example. Then you need a drawterm script % cat /drawterm #!/dis/sh bind -b /n/remote/dis /dis bind -a /n/remote / bind /n/remote/lib /lib mkdir /n/remote/n/9win bind -a /n/remote/n /n auth/factotum load std autoload=std getlines < /n/remote/factotum {echo $line} > /mnt/factotum/ctl bind /n/remote/ndb.local /lib/ndb/local ndb/cs 9cpu -h tcp!fir -r -c 'bind -b /mnt/term/n/9win /dev; bind -a /mnt/term/dev /dev; exec rio' And then you need the HTML <OBJECT classid="clsid:3A274C9A-1E70-435a-8A63-B