I think abaco should be made to host its own webcookies/webfs. Why
not?
I think this is a bad idea, what if you want to use an alternate
webfs (on a different NIC), or an non-standard cookies file? do you
want to wait whilst webcookies rescans it databse at startup and
webfs rescans its
The problem seems to be that aquarela doesn't have permission to switch from
the user who started aquarela to the user who logged in. I assume you are not
running aquarela as the hostowner (by convention bootes).
-Steve
Sshfs uses ssh to start a file server program (generally called sftp) on the
remote server.
Under sshv2 this is described as an external subsystem, i.e. a specific message
is sent
to the server to start the file server subsystem.
Under sshv1 which is what the plan9 ssh server supports, the
Once you have run fossil with venti and it has done its first snap -a,
which is usually done after the first fossil+venti boot, you can now
never run fossil without venti. Fossil now contains only the files
which have changed since the last snap -a. All other files which have
not changed WRT the
...But is there any way to bring up a venti
server read-only -- without it trying to sync or write blocks?
I am 90% sore that venti doesn not have a persistant cache of
blocks waiting to be written, so if you boot venti alone it will
not write anything. What you are seeing as a sync is
Can I have a piece without so much rat in it?
I had stir fried rat in vietnam once - well you gotta try things,
tasted a bit like wild (strong chewy) chicken.
-Steve
As I understand it the load of supporting two libraries was too much work, also
the alef (and perhaps limbo) experience lead to libthread which provides much of
the same functionality - abet not quite as neatly.
the sources of the 2nd edition alef have been released and there was a
one line
Basically, I ported tons of xlibs and wrote the DDX (Device Dependant X)
part of the X for Plan 9, it supports 32 bits, some extensions, etc.
And yes, it's a lot faster than vncv to a Xvnc under linuxemu.
Kudos to Federico.
-Steve
try some debug in factotum perhaps (-d)?
I have had great success debugging auth problems between plan9 servers
using auth/debug - however I don't know if this exists on p9p.
-Steve
Hi,
Who is the keeper of the best port of art(1) to the 4th edition?
I have seen Kenji san's and Andreys, anyone else done any work
on it since then (the port is still not quite finished IMHO).
Does anyone have a stock of pic macros for processing flow diagrams?
-Steve
Hi,
I want to draw some DAGs. Dot (part of graphviz) seems to be the
way to do it these days, however looking at the sources I wondered
if there was a smaller simpler way to do this.
I found a reference to dag, a pic preprocessor which seems to
be a forunner of dot. Is the source available
boot: can't connect to file server: dial tcp!ip file server!564:
connection refused
Is your fileserver listening for 9p connections?
try netstat | grep 9fs on the file server.
If this fails you probably need to add the line
srv fossil to your fossil config (using fossil/conf);
See fossil(1).
Anyone know of some nice simple code to parse C prototype definitions
and split them into nicely awk'able bits so I can generate stub functions:
I have been playing with mkptypes | awk which works well
for simple stuff, say my source contains:
void
func(int a, char *b)
and I
Doesn't matter. Process groups are process groups on any Unix clone.
If it's daemons you're dealing with, then it leaves the scope of this
room. If it's Windows, you're out of luck.
Not true, Windows has the concept of process groups.
See the description of CREATE_NEW_PROCESS_GROUP at
I do have to wonder about the whole TV on your mobile craze.
I share your scepticism however employer doesn't, I find
mob-TV meetings are an excellent forum for bullshit bingo.
-Steve
yes, they all suck. Try this: onesis.org
Ok, it would be a load of work but has anyone tried
building a linux filesystem on a plan9 server (/linux perhaps)
and PXE booting a linux cpu server off it? Extrapolating
you could even get the server to mount its root filesystem using
v9fs rather than
I have a long term project to get somthing like p9p running under windows
though my goal is to use a windows box as a plan9 cpu server so /dev/draw
is not a priority.
My approach is very similar to Russ's p9p for windows alpha on swtch.com
but it is many months away from finished - i get a day a
Hi,
I have become confused trying to understand
the kernel's linkage.
the kernel uses print() in many places, e.g.
/sys/src/9/port/xalloc.c:80
/sys/src/9/port/devcons.c:211 This calls vseprint().
/sys/src/libc/fmt/fmt.c:47 The fmt library installs %r
(errfmt) by default.
OK, am I just out of date or is there a real reason for linker
sets?
I see it this way:
using linker sets means you have to learn and understand the linkers
language
to understand how the system is configured (when trying to track down a
problem)
using a bit of
But suppose you are asking I changed the disk
device name in venti.conf. What else do I
need to do for that to take effect?
The answer is nothing:...
having been in this situation, here is what I have planned
to do - but still havent got around to yet ...
I am going to make two new
I have found another piece of code I don't understand in the kernel.
syscalls are all fed through a single trap, and the common code which
processes them performs a waserror():
/sys/src/9/pc/trap.c:694
A few lines down this function (after the system call has been
executed up-nerrlab
TEXT forkret(SB), $0
very cunning...
thanks russ, I get it now.
-Steve
Hi,
mordor.tip9ug.jp seems to have disappeared, as has
www.tip9ug.jp - is this a temporary problem or has
it been decomissioned?
-Steve
For me, that's a crucial thing. Keeps my code in check purely through
the text of it.
If I understand what you are saying I find this is really interesting.
I many of the prople I work with use syntax highlighting editors and I
often find their code difficult to read (I use sam).
In the way
Plan 9 and the related software just
isn't for someone who wants to Get Their Job Done (tm).
Sorry, I have to bite.
Its because I want to Get my job done™ that I use plan9.
-Steve
Steve Simon's trademark character, I presume, was generated by
[Alt]+0153--you call [Alt] an Option key, right?
nope, Alt,T,M
Well below 255, it's
just extended/8-bit ASCII. Not right-to-left, not even out of ISO 8859. You
could generate that character even on MS-DOS.
I don't get this,
Sorry for feeding the troll, I will shut up.
-Steve
The trick you want is in /rc/bin/service/startcifs - this may not be exactly
the code you want but it demonstrates the technique you need.
-Steve
Thanks very much,
I find it a very useful service.
-Steve
Any Brits going to iwp9? ...
... and any great travel plans to share?
yes, and i must sort that out
-Steve
purely as an aside
this detailed conversation on how notes are handled in the
kernel is very interesting, I was trying to understand this myself
recently and gave up; I will now try again.
Thanks,
-Steve
The startup script is envoked by your profile ($home/lib/profile)
where it starts rio (I call mine startup, you seem to call yours
riostartup, its personal choice really)
here is the relevant line in mine:
exec rio -s -i startup
and here is my $home/bin/rc/startup
#!/bin/rc
I was using a 3c589 until a few years ago, then I moved to
a Netgear FA411 which is somwhat more mechanically robust -
I broke the plug on the 3com card :-(
-Steve
We did this, IIRC. It helped reduce latency, but...
Are the modified kernel files still in your venti?
I would be interested in having a play in a simple disk file
sharing environment.
-Steve
I may be wrong but I assumed the problem with replica was that unless you run
9vx
setuid to root and trust the permssion checking in the host interface there is
no way for wstat to change the username of a file to anything else that the user
who started 9vx.
aditionally there may b e no relevant
being a postscript font virgin, can somone help me with what is
probably a simple problem for one who knows.
troff doc.ms | lp
gives me:
/386/bin/aux/tr2post: stdin:168 :WARNING: cannot find glyph,
rune=0x20ac
stoken=€ troff font LucidaSans
How do I add a euro
Not sure I understand, port 8080 is usually used to proxy http connections,
plan9 uses several ports for its fileserver but HTTP is not one of them
(well venti has a stats server but I only mention that to keep the pedants
happy).
what exactly are you trying to do?
-Steve
If you cannot read this, reply. Otherwise, disregard. - Pietro Gagliardi
Come _on_. I'm not that subtle a 'baiter,' or... am I? [Eris Discordia]
You're a master baiter. [Skip Tavakkolian]
-Steve
The seek system call is here
/sys/src/9/port/sysfile.c:855
The arg variable here is a pointer to the users stack making
the system call. most return values are 32 bit and are passed
back through syscall()
/sys/src/9/pc/trap.c:660
but seek is different, it overwrites 64 bits
Thanks for that erik, I have been meaning to sort that out for years,
and then when I tried I drew a blank. I really should learn the internals
of rc one day.
See you next week in Volos.
-Steve
Hell,
sorry for the noise,
got caught replying to the list as usual.
-Steve
...I have started to like to use as few tools as
possible.
I entirely agree, there is too much to learn and you have to be selective;
however my selection is: sed, awk, C and sam (for impromptu, well, editing).
I cannot really comment directly on gready operators, I have never
knowingly
Forsyth ported refer(1) to plan9, which is what I use,
I have copied his email below.
-Steve
i've the variant in use in sources/contrib/forsyth/refer.tgz. see INSTALL.
it could do with much more work (on the strange
source file partitioning, and more seriously on all those fixed-size char
There is an errata page on the wiki, however
I doubt there is anyone looking at this and fixing
the bugs.
The bottom line is if you discover a bug, and it anoys you,
fix it (you have the source). If you are feeling friendly
submit a patch.
Sorry if this seems harsh, but there is no support team
I issue
; @{cd lib}
then lc, pwd seems to be ok, lists/returns my home directory,
This makes sense to me - though I am not saying its correct.
When you cd in interactive mode rc(1) writes the path to the
directory into /dev/wdir. This informs rio of your current dir
so it can do the
There is a TODO page on the wiki which might give you some ideas.
The two pieces of unfinished business that spring to my mind
are the Centrino driver and the ssh V2 client, both started by
Russ.
These have the advantage of being started by a very talented
programmer so you could learn from the
Cant create temp file: blah blah blah
permission denied
sounds like you have no $home/tmp, but /sys/lib/newuser will
have created one for you so it doesn't make sense.
check if $home/tmp exists and is writable by you.
-Steve
You can delete arbitary files using the fossil console
commands clri to delete the files first, tne directories,
and then flchk to reclaim the storage, see fossilcons(8).
Having said this I would perservere with trying to restore
the username as Erik describes. check the contents of /adm/users
An Intel Atom D945GCLF mini ITX was reccomended to me, I believe
it is all supported by plan9 and draws very little power. I was
going to use one to replace a large noise server I have at home.
They also have a new dual core version though I think it has less
useful I/O for my needs.
But along the very same line of thought -- wouldn't it also then be
much more reasonable to stick with an alternative aname
approach when adopting 9P for symlinks, FIFOs and the
rest of the POSIX paraphernalia?
I'a not the one who has to implement it so my opinion is
nothing more than that,
The dos(1) command I wrote (in the style of cpu(1) but attaches to Windows
boxen)
uses a configuration file describing how the windows directories are
mounted (using cifs(1)) on plan9. It also reads /proc/$pid/namespace to
learn of any additional mounts so it can reliable translate plan9 paths
to
You could use grap(1) - the troff preprocessor.
-Steve
i think this is a good point. reading from the frame buffer can
be deathly slow on a lot of modern video cards.
Very true, the only exception to this I know of is some of the modern
Dual PCIExpress cards which use a bus in each direction.
-Steve
AFS has its warts, but, trust me, if you've used it for a while,
you will not find yourself excitedly perusing the volume location
database to see where your bits are coming from.
Is there an AFS client for plan9 anywhere?
Just curious.
-Steve
It might be an interesting project for some student(s) to reimplement
Kerberos 5 for Plan 9... it's something of an open question of just how
minimal and tasteful the implementation can be when it's not MIT code. ;)
Indeed, if anyone ever does look at it, can I vote for including
the hooks for
Does anyone know of new projects or ports that could get H.264
decoding over to Plan 9 hosts?
I asked around here, the feeling is that VirtualDub will decode
H.264 to uncompressed AVIs in 422 or to BMPs as 444.
My only convern is that some virtual dub features may be dependent
on running on
The 10 Eee is great. Mine has many flyer miles.
does it run plan9?
-Steve
P.S.: Is there anything more intelligent than 'vt' for connecting to a
linux machine?
It all depends what you want to run on the linux box.
if you need VT in order to run your editor you could edit the file remotely
from plan9. To do this either run u9fs on the linux box, or pick up
sftpfs
I have a distant memory that somone implemented some of POSIX pthreads
on plan9, i.e. I want to compile programs that use pthreads under APE.
anyone got any pointers?
-Steve
Didn't Plan 9 have a way to mount 6th and 7th edition disk images also?
Was that ever released?
yep, it exists, though the support is not
as extensive that ancientfs.
http://www.quintile.net/magic/man2html/4/tapefs
-Steve
I'm yet to see anyone demonstrate a disadvantage of doing so.
the problems with publishing code is you have to:
write the manual
document the install process
remove all the debug cruft that you where leaving just in case
field emails about how it:
I´m done with some usb stuff I´m doing we at lsub plan to port plan 9
to gumstix.
excellent, I will buy one and join in once you chose a device.
-Steve
Re: fusion
would 9vx running under linux be an interesting option?
re: resample
If you are experimenting with interploation a zoneplate is one of
the best test signals to check your work on, though its
interpretation can be tricky.
/n/sources/contrib/steve/zoneplate.c
the obscenely deep tree our development happens in
I sympathise, though ours is not _that_ bad. I use Plan9 as my
desktop and mount parts of our server off a work dir in my home
directory. This way I can work with short paths whilst remaining
compatible with my colleagues.
just my 2¢
-Steve
I agree with erik, given 9fs dump I have no need for SCM,
however the return of the /n/sources/extra/changes would be
wonderful.
For the couple of years the guys at the labs where keeping one
up to date I found it very interesting and, I think I learnt
a lot. It also helped me to feel more
I will go with erik on this.
I am using the standard smtpd with -D and the greylisting,
and also a modified validateserder which probably qualifies as an
earlier incarnation of erik's (he sent me the code before nupas
was finished and I hacked it a bit).
I get 1 or 2 spams a day.
I plan to try
Post an (ignored) mode 000 fd in /srv? Since nobody could open
it, it would always have one reference, and would go away when
the venti did?
Kudos to Mr Eckhardt for a very neat solution.
-Steve
... fossil does have the functionality to serve two
different file systems from two different disks, but i don't think
anyone has used that ...
I do this, 'main' backed up by venti and 'other' which holds useful stuff
that needn't be backed up, e.g. RFCs, cdrom images, datasheets etc. This is
Authentication isn't
currently supported by any of the UNIX servers (to my knowledge).
Maybe it doesn't count in your eyes, but I use u9fs to serve
unix filesystems to plan9 - it supports authenticiation.
-Steve
Now, suppose I have a fossil buffer that I constantly snap to venti.
That will build quite a lengthy chain of VtRoots. Then my fossil
buffer gets totally corrupted. I no longer know what was the
score of the most recent snapshot. And I don't think I know of any
way to find that out.
there
... it'd be nice if there was some way for a factotum
protocol to generate a key that stayed in long term storage (i.e. in secstore)
but currently, i don't think there's a way to do it, other
than manually.
I was needing this recently - I have to change my windows filserver password
every
you mention the touchpad - I guess this is a ps2 device rather than a usb one
(though I may be wrong). You should be able to start that using
mouse=ps2 in your plan9.ini.
--- whatabout sound? Does anybody have Realtek AC97 audio working?
There are two ac97 drivers written independently, I
optomist!
Yes I am.
However, I did say ``built with relative ease'',
I did not say ``built easily''
☺
-Steve
i considered adding code to upas to at least
strip pgp nonesense from message bodies. but this
would require upas to know things about what
message bodies look like after mime is done with
them.
FWIW I have several sources of mail which have large, unnecessary disclaimers,
adverts,
Re outgoing mail via gmail.
I haven't used gmail for a while but when I did I used this as the last
line of my /mail/lib/remotemail.
# exec /bin/upas/smtp -d -a -h quintile.net net!smtp.gmail.com
quint...@gmail.com $*
You will also need to set up your TLS certificate, I think this is covered
I don't have a copy of the ISO 9899:1990 but Plauger's The Standard C Library
has excerpts from it. In one of these it states:
``The vfprintf function returns the number of characters transmitted,
or a negative value if an output error occured''
As APE does take great pains to be
Mysqlfs available in my contrib area, modeled after inferno's
odbc(10.4) though not strictly compatible with it.
-Steve
Is there a program that will render some subset of a font file so that
you get a quick feel for what it looks like?
I have somthing I picked off the net years ago - I didn't
write it. If the author reads this I am happy to credit them
with their work, but in the meantime:
I keep getting things like this:
cpu% man backup
troff: warning: can't find hyphen.tex; stdin:40
I have probably done somthing silly but running
du -a /n/sources | grep hyphen
felt a bit antisocial.
Anyone any thoughts?
Hi,
I get a different type sygnature depending on weather the arg to a function
contains members which are in scope or not - is this expected or a bug?
for example:
/* junk.c */
typedef struct unknown unknown;
#ifdef DEF
struct unknown {
int a;
};
#endif
typedef struct arg arg;
struct
Isn't this what
#pragma incomplete
is for?
yep, I completely forgot about it.
Thanks,
-Steve
you are missing /sys/lib/texmf/tex/generic/hyphen.tex [sic].
on the nose,
Thanks Russ.
-Steve
I would do it with awk myself, Much depends on what you want to
do to the 1000'th word on the line.
in sam you can even play with your awk script in the command window, editing it
submitting it and if its wrong you just Undo and try again. Similar things can
be
done in acme I believe but I don't
Isn't it sad being in plan9?! Things should be simple, but not
simpler than that.
I am not sad being in plan9 [sic].
I have used it as my main OS for about eight years and I have used sam
exclusively for ten. During that time I cannot remember ever needing
or wanting repeat counts on regular
This may work for you but your mileage may vary.
/n/sources/contrib/steve/rc/ps2txt
-Steve
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
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
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
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
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
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) limitation
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.
-Steve
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
1 - 100 of 853 matches
Mail list logo