New toy, a google maps client in a few lines of script - thanks to them
rather than plan9.
With no args it looks in /lib/sky/here and displays where you are, with
some args describing a place on the planet it tries to show you the local
roads.
It should really have a GUI that lets you zoom and p
A new version of gmap on will be on sources shortly, thanks to erik.
> Screenshots, s’il te plaît?
It just generates a gmap map or satellite image of the place you name,
try http://maps.google.com to see a demo.
The difference is you cannot zoom and pan the image once its loaded,
on the plus sid
Pick up the new code, it reads the key from /lib/gmapkey
and gets the longditude and latitude the correct way round
(as several people have told me.
then try
gmap -s
and wave your arm out fo the window.
-Steve
On March 9th SGI was delisted from NASDAQ and on
April 1st it was purchased for just $25M by Rackable Systems.
Google will tell you more if you want.
-Steve
> cd /n/dump/2009
> for (i in *) { test -d $i$home/tmp || ls -d $i$home/tmp }
> for (i in *) { test -f $i/mail/box/$user/mbox || ls $i/mail/box/$user/mbox }
no problems here, and my server is a dual cpu PIII.
I last built a kernel on the 11th of feb so if this is a very recent but I may
have b
As an uneducated programmer, used to threads,
semaphores, mutexes and queues, I am embarking on
a multithreaded file server.
My server speaks a protocol on a network socket,
and exposes a virtual file system containing both
data and control files.
the data file maps directly to a Channel, but the
> in the immortal words of Colin Chapman: "Complicate, then add weight".
Is this sarcasm?
I remember the quote as: "To add speed, add lightness"
-Steve
> truerand() returns (at most) 32 bits of entropy, which gets pushed into
> srand() and then 32 bits of entropy are read back out... why not just use
> truerand() directly?
This bit I know, truerand() reads /dev/random (see cons(1)) and
can only generate "a few hundred bits per second".
rand is
...
> hasn't matured to that point and its age is already
> past when it had a chance to mature.
Methinks he doth protest too much.
-Steve
I thought russ posted a program that runs under X11 (on unix)
and prints the video config for the current mode in vgadb form.
I had a search but couldn't find it so perhaps it was wishful
thinking, alternatively perhaps this wil jog somones elses
memory.
-Steve
I am interested in the idea of adding some kind of resource limits
to plan9. If they existsed I would probably open it up to external
users, however different things would worry me:
CPU use
Implement the Fair share scheduler
User memory
Working swap would do me to fix this, but sadly rlimits woul
My understanding is that would prevent people listening and pretending to
offer services on my behalf, but would not stop them dialing SMTP ports
on other machines and sending them spam.
-Steve
> The Plan9 project started in 1980, took around 9 years to be solid
> enough to be usable and that too by the internal and, or lab people
> [http://plan9.bell-labs.com/sys/doc/9.html] only.
I was using plan9 outside of bell labs in 1993 - not very aggressively
I admit but I didn't have the skils
> There's aquarela which is a CIFS server, but I'm not sure
> about client. I seem to remember it being worked on at
> one point, but I'm not sure if it was ever completed.
cifs(1) (cifs client) is alive and well at contrib/install steve/cifs
I use it every day at work, its only (known) limitati
I cannot find the reference (sorry), but I read an interview with Ken
(Thompson) a while ago.
He was asked what he would change if he where working on plan9 now,
and his reply was somthing like "I would add support for cloud computing".
I admin I am not clear exactly what he meant by this.
-Stev
I assumed cloud computing means you can log into any node
that you are authorised to and your data and code will migrate
to you as needed.
The idea being the sam -r split is not only dynamic but on demand,
you may connect to the cloud from your phone just to read your email
so the editor session s
> http://myserver/magic/cgi/foo
check the logfile /sys/log/httpd/clf
also, don't you want to do somthing more like:
http://myserver/magic/cgi/foo?var1=val1?var2=val2
This is an educated guess rather tha experience talking.
-Steve
> Let me repeat that the question is/was, "Who uses Plan9 in the Offices,
> homes and, or cafes for commercial and, or industrial application".
I use plan9 at home and at work as a development environment. It is my
primary desktop OS, though I do VNC onto other OSs to use more complex
websites (li
> I thought 9p had tagged requests so you could put many requests in flight
> at
> once, then synchronize on them when the server replied.
This is exactly what fcp(1) does, which is used by replica.
If you want to read a virtual file however, these often
don't support seeks or implement them in u
Hi,
I have decided to try to cross compile to windows again, as I see it
here are my options:
1) build mingw for plan9
This means getting gcc to compile under kenc - non-trivial
2) build lcc on plan9
ditto
3) build pcc for plan9
> ...integrate the
> caching into a cache file system
this was discussed at one of the iwp9s I believe.
Ok, a thought experiment.
Extend fossil so that you can attach to objects of the form
fs.changes (e.g. main.changes or other.changes). Open a known file
here (e.g. /update) and you will receiv
Is wrarenas (write venti arenas back to disk) really really
slow or have I a hardware problem.
reading 10 arenas took 30secs or so, writing them into
a new venti (even with a bloom filter and DMA turned on)
took about 36 hours.
is this expected?
-Steve
> Give or take that all the executables fail, I have enough MINGW
> binutils from the NetBSD package to convince me that MINGW can be
> built and no doubt some debugging will soon take care of the stumbling
> blocks.
>
> It is true that debugging is going to be hard without symbol
> information (o
I think the vital piece of paper is the business reply / product registration
card which has your unique license ID number on it, rather than the license text
(which is here /n/sources/contrib/steve/historic/2nd-edition/LICENSE).
My memory was that patches where exchanged in xor'ed with 9pc from
>> of encryption with a one time pad.
> s/one time //
Indeed, I stand corrected.
-Steve
> Alternately, if you have fuse installed you could
> use sshfs instead (Linux tool, not p9p tool).
Another option might be sftpfs for plan9, which allows
local plan9 machine to see a remote filesystem over
an SSH link using the SFTP protocol.
http://www.tip9ug.jp/who/fhs/sftpfs.tgz
Though this
I wrote this some time ago, not sure if this
represents a large enough installation for you.
http://www.quintile.net/papers/Venti-rescue.pdf
-Steve
Is there a technique or program that can be used on a diskless
cpu server to make it auto-reconnect when the file server reboots?
I remember reading about the Challange file servers at the labs,
in which (I believe) the cyclone driver would write reboot to
/dev/reboot if the connection dropped.
I
Why is cfs in the kernel and not a userlevel program?
Is it historic, perhaps this was done before /boot appeared so it was not
easy to add a userlevel program into the boot process.
I guess there might be performance issues also, though these would
be swamped by the performance improvment of plu
> so I removed the isect1 line from my venti.conf and executed
>
> venti/buildindex -i isect1 $home/lib/venti.conf
>
> and got
>
> 1,731,717 clumps, 63,903 buckets
> 2009/0513 10:35:35 read index
> warning: did not find index section isect1
Are you suffering from an off by one error? you remov
I think I have been silly,
I confused the block cache for cfs.
Sorry for the noise.
-Steve
I thought the ethernet chip is supported in plan9 so that might be easy.
vl can generate elf files, these are targeted at sgi machines
but most of the groundwork should be there for you.
Failing this I am pretty sure I have a motorola S record generator somwhere,
I will convert the input side to
> So you are a bit out of
> luck here on MIPS (unless Brzr has a MIPS64 compiler I've forgotten
> about).
I'am sure somone was working on a mips 64 bit port to modern sgi hardware.
I haven't heard anything of this for a while but perhaps somone
will remember who it was.
-Steve
Anyone got a script to generate a bootable plan9.iso cdrom image,
the mkfiles in /sys/lib/dist seem quite labs-specific.
-Steve
> lspci -n from IBM HS21
00:00.0 0600: 8086:25d8 (rev b1)
Intel Corporation
00:02.0 0604: 8086:25f7 (rev b1)
Intel Corporation
00:03.0 0604: 8086:25e3 (rev b1)
Intel Corporation
00:04.0 0604: 8086:25e4 (rev b1)
Intel Corporation
00:05.0 0604: 8086:25e5 (rev b1)
> damn, he found out our evil plan...
And we would have got away with it if it hadn't been for you pesky kids.
-Steve
This is great news, kudos to all involved.
now, where did I put that memory stick...
-Steve--- Begin Message ---
I've just pushed out to sources a new USB implementation, courtesy of
nemo, who debugged and repaired our old UHCI and OHCI drivers, wrote a
new EHCI driver for USB 2, converted the us
> Do you think it's intentional that h doesn't move dot in nedmail?
The way I usually use it I would not expect h to move dot.
here is a typical senario for me:
I view the email
realise the formatting of the text multipart is badly formatted
type h to see if I have anothe
> by the way, why h and not H?
yep, you are right, I was too hasty in my email.
-Steve
> I'm looking into NFS because it seems that it has about the lowest
> barrier to entry of all the possible file-sharing methods. Any other
> suggestions would be appreciated.
I use aquarela to serve cifs to windows boxen but NFS seems preferable
given your clients are Linux.
-Steve
Oh yes, I would suggest you use the contrib package to install Eriks
sd driver, if you haven't played with it you should just need:
9fs sources
/n/sources/contrib/fgb/root/rc/bin/contrib/install fgb/contrib
contrib/list -v quanstro/sd
contrib/install quanstro/sd
contrib/install quanstro/fis
you w
> /boot/fossil: could not write super block; waiting 10 seconds
> /boot/fossil: blistAlloc: called on clean block.
I have a few a day for the last 5 years on my home server, and one a week
on the work machine... I always ignored them.
-Steve
tex is availabe as an old ISO /n/sources/extra/tex.iso.bz2, this expects
you to have kfs as your main filesystem - but you can fake this with a
couple of binds before running replica/pull.
I installed this image, recompiled it, and pushed it out as a contrib
package steve/tex. I had a look at upda
I am interested in a 9p implementation which used print()-like
format strings for packet marshaling. This was pre-9p2k and I
even have a vague memory that it was a student project, mentored by Rob,
though I may have made that up.
I found this code on the net a long time ago but I ahve lost the lin
contrib/list [-v] [[user]/package]
-v is verbose
user and package restrict the output to that
user on that users package only.
see contrib(1)
-Steve
> ...a colour space diagram showing the range a monitor...
More info than you wanted here:
http://www.poynton.com/Poynton-color.html
-Steve
> I'm APE-porting some programs densely peppered wioth #-directives.
I have this too, try:
contrib/install steve/unifdef
-Steve
> Eric and myself, and I think maybe Ron, are using acme and acme-sac to
> interact with a BlueGene/P system.
Not as glamorous, but an alternative senario - I use sam and rio
to write embedded and windows code.
I edit the code with sam, but I do my best not to ever access
the seperate rio snarf b
I have used an isa card with the 4th edition, so I know they work,
however I haven't tried for quite a few years - it might have bitrotted.
[Beware whistfull ramblings]
Twas an Adaptec 1542, I even upgraded its firmware once,
with a UV lightbox and an EPROM programmer...
-Steve
> ...c-stoff/t-stoff powered rocket...
I watched OU programs as a child too :-)
I suggest you consider why you are moving directories about, I have just got
out of the habit.
If I get a tar or a zip which contains dome data I need I just mount it with
fs/tarfs or fs/zipfs and look inside. If I
> Evernote, for example, would be easier to
> render to the user and mount as a filesystem than Google maps.
You are right, google maps is much more a simple transaction
based system, I cannot see how it would fit usefully into
a file system hierarchy.
It does not require a web browser however.
There are several places which have readonly versions of sources available via
http, alternatively there is a socks client or even htfilefs, the former uses
the SOCKS protocol to tunnel through the firewall.
htfilefs mounts a remote ISO image (like the plan9 nightly build iso)
over an http connect
For interest I have a single cpu/file/auth server at home which I connect
to with drawterm or a native terminal depending on which laptop I am on.
At work I have a cpu/file/auth server which is also my terminal.
This is definitely sub-optimal, combining the terminal with the others means
your host
For what its worth, when I started using CVS on plan9
I trained myself to add a -m 'text' after every cvs ci
command.
I also added a -e false (where false is non-existant)
to my $home/lib/cvsrc so I can still omit the -m and
commit stuff with no log message...
[pauses while the mutters in
> * set up venti manually after the install, and after I've set the timezone
Sorry if I'am being a pedant, but its not the timezone - that
is an offset that effects how dates and times are printed, plan9
like Unix always uses UTC for all time/date stamps. The problem is
the time in the RTC chip wa
> My standalone terminal is always doing the index, the problem seemed
> to have just suddenly showed up for no reason - the system hasn't crashed,
> I'm not doing anything 'weird', and I always run fshalt before shutting
> down. And this persists across fresh installs.
Not sure what you mean by
no it doesn't, I had this a few days ago, moving disks about so
nvram couldn't be found. I could still boot the system but I had to enter
the nvram info from the keyboard, it did then try to write the data back
which (of course) fails - perhaps it was this write to a dead disk that
caused the boot
also, do you know about:
http://plan9.bell-labs.com/7thEdMan/
-Steve
appologies,
I managed to junk half my email, I meant to add:
v1 0-03-061742-1
v2 0-03-061743-X
I have had success buying some older Unix box
from both abebooks.com and alibris.com.
-Steve
Drawterm connects with service=cpu
In the cpu clause I do this:
if (! test -e /mnt/term/mnt/wsys) { # dt2k
# cpu call from drawterm
if (test -e /mnt/term/dev/secstore){
auth/factotum -n
cat /mnt/term/dev/s
> Also, are the old sources available online somewhere so I can do this
> kind of diff in the future on my own?
you can use history(1) and yesterday(1) against sources.
9fs sources
history -D sourcesdump /n/sources/plan9/sys/src/9/pc/vgavesa.c
-Steve
Ok,
Your iso image boots OK, however the kernel still doesn't see PATA.
The iso boots off PATA, 9load finds and reads plan9.ini, it fails
to find the kernel (because it is looking on sdD0), if I type the
kernel path in by hand then it loads the kernel as you would expect.
I tried your bootdev de
Ok, I'al try my keyboard mod and I
borrowed a DVDROM drive from work, just to see
if that works any better.
-Steve
Appologies for the noise everyone.
> Well, with Linux, at least you have a benefit of a gazillions of FS
> clients being available either natively or via FUSE.
Do you have a link to a site which lists interesting FUSE filesystems,
I am definitely not trying to troll, I am always intrigued by others
ideas of how to reprisent data/AP
I have packaged up Forsyth's port of refer as a contrib package with
a kindly donated bin2ref program and a mkfile to pull down the plan9
bibliobraphy referenced on 9fans a while back.
Might be of use to those writing papers for iw9p.
-Steve
I have had loads of problems trying to build a new machine,
Erik has helpd way beyond the call of duty, and finally I
have a working machine.
The problems where:
realteck rtl8169 GigE - erik's driver works a treat
An intermitant PSU - RMA'ed to supplier
SATA - Eriks new sd
I cannot imageine the senario where random people will have access
to the cpu/auth/file server's consoles. It just doesn't happen
if you are serious about security.
However if you want to protect your console against your friends
I wrote a script to do it /n/sources/contrib/steve/rc/conslock
you m
I suspect you could change your BIOS to run SATA in Legacy mode and you will
find your drives will now appear as /dev/sdC0 and /dev/sdD0 though I cannot
promise anything.
It is preferable to run SATA in native mode, and you could change back after
installation though your fossil config, venti conf
> ...by the curmudgeonly 9fans...
For those who follow British comedy:
Father Jack, my alter ego!
Others may find this enlightening
http://www.youtube.com/watch?v=kHiDhERvJ4I
-Steve
As Anthony says it is very very old, but I might
be fun if you had the time on your hands. The 2nd edition
books/cdrom are nolonger available but you might find
a set seccond hand (abebooks.com etc).
The floppys are here:
/n/sources/contrib/steve/historic/2nd-edition/pcdist/
I found a complete mi
The machine key _is_ the hostowners password, DES encrypted with
the hostowner's name, the details are in the code.
the secstore key is just that, it us useful for storing account
details that the hostowner may need - for example I keep my
sources account in hostowner's secstore so I can cpu -u bo
the hostowner is the owner of the machine, but they are also a user
on plan9 so they need an entry on the auth database. the passwords
in the auth database and the nvram must match or you will not be able
to cpu or 9fs to this box, authentication will not work.
-Steve
This will create a n append only file, not a directory. The usual way to
initialised cron for a user is auth/cron -c (similarly for mail type mail -c)
when you have first logged in as that user.
if you run /sys/lib/newuser when you first login (i.e. the very first time, do
this only once) then the
Here is how I think it would work - please correct me if
I am wrong.
the status file gives a list for the supported
features and the current state of each. If particular
hardware does not support mu-law then no state is displayed
for it and the application layer can decide to emulate a
mu-law tabl
Ok, My memory from about 1982...
first there was phillips who used 2 high speed, high linearity 14bit DACs
in their CD players using 4 times oversampling - as they had no apropriate
16bit converters at the time; which gives near 16bit resolution.
sony however developed a laser trimmed 16bit conve
re: /etc/ssh/sshd_config on unix to support sshv1
see: http://plan9.bell-labs.com/wiki/plan9/Connecting_to_other_OSes/index.html
-Steve
I am trying to copy my venti from an old server to a new one,
currently I am using somthing along the lines of:
venti/rdarenas > /tmp/arena; venti/wrarenas /tmp/arena
Which is progressing, admittedly very slowly. I had this problem
before and Russ suggested that perhaps my bloom filter wa
> Does anyone here know if it's possible to obtain printed
> copies of nemo's book if you live in the United States?
I'am intrigued, you have a weblink to where I could buy a printed copy
(in europe)?
I thought sites like lulu only allowed the author to offer the document for
publication, not tha
where.
Steve Simon Dec 2007
Contents: 109.13Mb in 7309 files
Modified: Fri Jun 19 06:57:06 GMT 2009
Depends:
-Steve
I am using ppc drawterm under osx quite a
bit and have never seen this problem.
Not sure if that helps or not...
-Steve
I recently came across this, a tool which
can dump some PCI bus info from windows. This may be
of use to people trying to put plan9 on systems that
are already installed with windows.
perhaps this is old news and evryone knows about it,
but I didn't.
http://support.microsoft.com/kb/311272
exampl
I assume your master DNS is served from bind, then you
can use the zonefresh program in my contrib to build an
ndb compatible ndb file for your local dns to serve.
-Steve
> Really nobody uses 'eqn' these days?...
I use it occasionally, I just don't know
how to help you with your problem.
-Steve
9fat is also a pain in that the 9load file must be created with,
and retain its append only file, which has a special meaning to 9fat
telling it to create the file in sequential blocks.
This could (and has) caused problems if you access the 9fat partition
from os's other than plan9.
The only time
> Anybody have a copy of dformat online?
http://www.troff.org/source.html
-Steve
I usually add these to my document
.FP lucidasans
.de EX
.SM
.CW
.DS
..
.de EE
.DE
.R
.LG
..
And then use .EX and .EE around code examples (concept
lifted from the man macros).
This is from memory, its probably more pedantic/verbose
than necessary, but it works.
-Steve
> it
> seems so straightforward to just send formatted sql or
> pl/sql to the engine and get normally formatted output.
I did somthing like this for mysql to access our
corperate telephone database.
I took the inferno odbcfs as an example:
http://www.vitanuova.com/inferno/man/10/odbc.htm
> So is it so that anybody using vesa should see it...
I use the vesa driver occasionally on my Atom motherboard
(Intel 940?) and have had no such "droppings", so the
problem isn't universal.
-Steve
I have just hit a fossil deadlock. the symptom is simple enough,
fossil wedged, stats continued to be updated and I could run whatis
in a rio window but any attempt to access the local fossil caused
the command to hang.
I was trying to mirror sources when it happened so I had a lot of
processes al
> what happened with either of the recently-reported
> fossil lockup problems, for instance?
As I now have two servers at home (old and new) I have been trying
to provoke the old one into locking up so I can take a snap of its fossil.
sadly the old server has been irriatingly reliable and the onl
I would have thought a small USB stick would be the way to go,
My latest motherboard even had one USB port inside the case
for just this kind of thing.
-Steve
Fantastic work Richard, I too will be very interested in playing
with this once you are ready.
The only one thought - probably not mentioned as it is so obvious,
it would be neat if the plumber and thus auth/fgui could be pressed
into service for entering the pairing PIN.
-Steve
> Does anyone agree with me that it needs fixing?
sorry, I don't agree that it is broken so I don't thing
it need fixing.
It does occasionally annoy me that tr(1) will not take a file
as an argument but again, changing that would have implications
too wide to make it worthwhile; I try to think of
> perhaps the elimination of all traces of IL is a little too thorough?
I see no real harm in IL but, just a suggestion, you could do a pull -s,
and then use diff3 (in my contrib) to do a merge between ip.h.orig,
yesterday(1)'s version and the newly pulled code.
having said this I still have it o
> I don't see this explaining a
> mkdir with mode of 0 however.
Does the file/dir actually have a mode of zero on the source machine?
Plan9 can happily create an object with mode zero but a posix
emulation of wstat() must do the rename()/chmod()/chown()/chgrp()
etc in a fixed order which is bound
> the marvell sheevaplug
> works well
does that imply that there is a working port?
-Steve
I once worked for a telco who's exchanges where connected to their billing
machines
via a pair of IBM PS2 MCA machines, they also had one spare machine. I was
there in about
1997 and everyone very worried what might happen if they lost more than one of
these
machines.
The last I heard the large
> @{builtin cd $1 && tar cf /fd/1 .} | @{builtin cd $2 && tar xTf /fd/0}
the /fd/1 and /fd/0 fererences ensure that dircp will work with ape's tar
which doesn't read/write stdin/stdout by default like plan9's does.
-Steve
If anyone does fancy working on gif(1) it has a bug I have been meaning to look
at for ages.
The problem relates to reproducing optimised animated gif files.
Gif(1) assumes each image in an animation should be rendered on a
black background, however optimised animations, those which contain
only t
1 - 100 of 974 matches
Mail list logo