[9fans] 9vx - prerequisites
I'm not familiar enough with Linux and APT to figure this one out: what are the prerequisites for 9vx that are not intrinsically met by a standard UBUNTU installation? The immediate need is related in some way to x11-draw, but that is not the name of an apt package. ++L
[9fans] double posting
I don't know who is control of the reflector for this list but I have been seeing duplicated posts for the last couple of days. -Steve
Re: [9fans] double posting
I noticed on 9srv that I received duplicates, buy gmail hasn't show any of them (or I don't remember reading them). It started on the 24th.
[9fans] acid aggr assignment
after a quick look around, i can't see an easy way to do this. perhaps i have just misread the docs. i have an aggr P, p=(P)x. i want to set p.i=1, unfortunately p.i is a value not an address so that doesn't work. how do i do this? - erik
Re: [9fans] 9vx - prerequisites
I'm not familiar enough with Linux and APT to figure this one out: what are the prerequisites for 9vx that are not intrinsically met by a standard UBUNTU installation? The immediate need is related in some way to x11-draw, but that is not the name of an apt package. You may wish to install the apt-file package, then you could do apt-file search x11-draw in order to know which package provides it.
Re: [9fans] 9vx - prerequisites
In addition to what has been already said, if you need virtual ethernet devices you will need libpcap-dev in order to build 9vx with pcap support. -- - yiyus || JGL .
[9fans] acid hack
i was having some trouble with a user program that was setting Proc.debugmem. for various reasons it was easier to hack the kernel than hack the program in question. so i thought i'd just get into the kernel and set Proc.debugmem = 0. obviously, this doesn't work out-of-the-box, so i modified the kernel a bit to allow writes. (relax, it's normally compiled out ☺) and it was easy enough to write a bit of acid p = (Proc)procalloc.ht[mypid % 128] while(p != 0 p.pid != mypid) do p = p.pidhash but how to set p.privatemem=0? a first cut was to take p\X + y where y was determined by grepping around in the kernel acid file. but this really is ugly, and hard to hand off to somebody else as a solution. since - is something wierd and . is taken, i used the syntax x·y ≡ x\X + y where y is the same value as before, e.g. offsetof(Proc, privatemem) so now i can say *(p·privatemem) = 0 before jeering too much, consider that this also allows one to set aggr members in user programs. if you've got another solution that looks better, doesn't require a rune, etc. i'd be happy to hear it. so perhaps i'll define the acid prize. 5 euros to the first person to post a convincingly improved approach to the list. - erik
Re: [9fans] 9vx - prerequisites
You may wish to install the apt-file package, then you could do apt-file search x11-draw in order to know which package provides it. Now, that's a piece of useful information, thank you. APT is so unhelpful regarding trying to get any information out of it. ++L