Re: [9fans] Laptop advice

2008-06-11 Thread John Waters
I have an LG A1 Dual Express notebook that I bought here in Riyadh a few months ago. It also has a PRPD (pseudorandom pointing device) and it has nearly driven me to the point of spazzing out on several occasions. Other than that it is a great litte laptop. Since it has an external USB device I

[9fans] [PATCH] p9p: 9pserve proxy support

2008-06-11 Thread Enrico Weigelt
Hi folks, here's a patch against p9p for an proxy mode in 9pserve, like Russ suggested. It just adds an new -c option which tells 9pserve to dial to an address as it's input connection (instead of taking stdio). This way, 9pserve can eg. be used as a proxy between a unix socket and TCP,

Re: [9fans] Laptop advice

2008-06-11 Thread Russ Cox
Does anyone have trouble booting new installations of plan9 on vmware6? I turn off hwaccel, load the os, and after the install completes and the system reboots it just hangs. I am still using systems built on Mahmoud's vmware image (for which I am indeed grateful). Delete the CD drive from

Re: [9fans] Modularizing plan9port

2008-06-11 Thread erik quanstrom
So I intent do write some script which creates Makefile's from mkfile's and maybe even does some build-time configuration (sort of ./configure ;-)). That script(s) could be packet along with some other fundamental p9p build utils, and this package then would be the very first in depedency

Re: [9fans] Modularizing plan9port

2008-06-11 Thread Jeff Sickel
On Jun 11, 2008, at 7:40 AM, Enrico Weigelt wrote: I'm going to modularize plan9port a bit. I'd recommend just leaving it as it is--you can easily pull out and use the pieces you want based off of the current build tree. ... What do you think about this approach ? Way to much like

Re: [9fans] v9fs virtio

2008-06-11 Thread Eric Van Hensbergen
On Wed, Jun 11, 2008 at 6:46 AM, Venkatesh Srinivas [EMAIL PROTECTED] wrote: The v9fs docs mention that it can use virtio as a transport. How does one get a 9P server running in such a way that it can be connected to via virtio? Writing the presentation on this for KVM Forum right now.

Re: [9fans] Modularizing plan9port

2008-06-11 Thread Uriel
If you want to cross-compile why don't you use Plan 9? or at least the port of the plan9 compilers to lunix[1], where cross compiling is the only way to compile. Cross-compiling in Gnu/land is a nightmare not worth going into. uriel [1] http://gsoc.cat-v.org/projects/kencc/ On Wed, Jun 11,

Re: [9fans] Modularizing plan9port

2008-06-11 Thread Uriel
By the way, silly question, but what would it take to have the kencc port accepted as part of p9p? And a port of of plan9's awk (trivial to do)? It would be nice to be able to rely on a decent utf-8 enabled awk when writing scripts for p9p without worrying about what broken awk does this or that

Re: [9fans] Running plan 9 on a Toshiba laptop

2008-06-11 Thread hugo rivera
There are no error messages at all, it just freezes in the DMA question, before I answer anything. My laptop is listed in the wiki as: worked in previous releases and may work in the current one. I have a SATA disk, is that what you mean by disk controller? Gracias por tu ayuda Hugo 2008/6/10

Re: [9fans] Running plan 9 on a Toshiba laptop

2008-06-11 Thread Lorenzo Fernando Bivens de la Fuente
By disk controller I mean the chipset that handles your disk. I believe (I've had problems myself) that many SATA controllers are still buggy/not supported on plan 9. Toshiba Satellite 2800? I don't think you have the same laptop. That 2800 was a single core computer. 2800s are a whole series of

Re: [9fans] Modularizing plan9port

2008-06-11 Thread tlaronde
Hello, On Wed, Jun 11, 2008 at 02:40:38PM +0200, Enrico Weigelt wrote: [...] So I intent do write some script which creates Makefile's from mkfile's and maybe even does some build-time configuration (sort of ./configure ;-)). That script(s) could be packet along with some other

Re: [9fans] Modularizing plan9port

2008-06-11 Thread Russ Cox
I need a way to cross-compile plan9port would have been a much more productive opening statement than I'm going to modularize plan9port. I think you should be able to cross-compile it pretty easily if you already have a cross-compilation environment set up. 1. Build a local plan9port tree, put

Re: [9fans] Modularizing plan9port

2008-06-11 Thread Iruata Souza
On Wed, Jun 11, 2008 at 2:53 PM, Enrico Weigelt [EMAIL PROTECTED] wrote: * Uriel [EMAIL PROTECTED] wrote: Cross-compiling in Gnu/land is a nightmare not worth going into. No, it isn't - as long as you've got a proper toolchain and get around autoshit. (eg. I've got my own libtool

[9fans] store 9p session-only values using lib9p

2008-06-11 Thread gdiaz
Hello I've a 9p server implemented using lib9p which serves decoded files, for example, i have a base64 encoded file i want to read, but i want to decode it at the same time the client reads. Then i need to save two offsets, the one sent to the client corresponds to the decoded data, and i

Re: [9fans] Modularizing plan9port

2008-06-11 Thread Roman Shaposhnik
On Wed, 2008-06-11 at 14:23 -0400, Russ Cox wrote: I find it much easier just to set up a dedicated machine of the right OS and architecture and use its native tools Speaking of which: am I the only one betraying the true cross-compiling in favor of virtualized copies of the OS/platform? I

Re: [9fans] store 9p session-only values using lib9p

2008-06-11 Thread Russ Cox
If i save the offset adjustment in f-aux or simmilar, i can calculate the real file offset on the next T-reads, but that will only work if one client reads it at one time. No it won't. Even if just one client is reading, that client might seek. You could assume that most reads will pick

Re: [9fans] store 9p session-only values using lib9p

2008-06-11 Thread gdiaz
hello you're right, i will think a bit more about it. thank you very much, gabi

Re: [9fans] Modularizing plan9port

2008-06-11 Thread Russ Cox
Okay, how can I make sure the right toolchain is used, *all* imports come from within sysroot and *only* code from the (building) HOST system is executed - *never* from TARGET ? I would have expected your host system to refuse to run binaries for the target architecture. You are clearly

Re: [9fans] store 9p session-only values using lib9p

2008-06-11 Thread erik quanstrom
Hello I've a 9p server implemented using lib9p which serves decoded files, for example, i have a base64 encoded file i want to read, but i want to decode it at the same time the client reads. Then i need to save two offsets, the one sent to the client corresponds to the decoded data, and

Re: [9fans] upas/fs

2008-06-11 Thread Russ Cox
by the way, does anyone know the rational for the date on the unix From line? upas sets it to the date the message is originally delivered to the inbox. moving it from the inbox to another folder does not change the date. the date is the date it was delivered. it's a receiver-side

Re: [9fans] upas/fs

2008-06-11 Thread Lyndon Nerenberg
On 2008-Jun-11, at 19:31 , erik quanstrom wrote: right. since the date is attached when delivered to a mailbox, why doesn't this date change when it's delivered to a secondary mailbox? why is the assignment a magical property of the inbox? Most likely it's just an artifact of the original

[9fans] First/second edition image manipulation tools

2008-06-11 Thread Pietro Gagliardi
Hello. My next experiment in learning libraries, as well as my next project, is a reimplementation of the first and second edition raster graphics manipulation tools. These use libmemdraw, which provides Memimage. Since I only have a working first edition manual, the program I will

Re: [9fans] First/second edition image manipulation tools

2008-06-11 Thread Russ Cox
The first edition specified the arguments to -o as two values - this cannot be done due to idiosyncrasies with args(2). case 'o': arg1 = EARGF(usage()); arg2 = EARGF(usage()); break; russ

Re: [9fans] First/second edition image manipulation tools

2008-06-11 Thread Pietro Gagliardi
On Jun 11, 2008, at 11:46 PM, Russ Cox wrote: The first edition specified the arguments to -o as two values - this cannot be done due to idiosyncrasies with args(2). case 'o': arg1 = EARGF(usage()); arg2 = EARGF(usage()); break; russ According to