Re: [9fans] Darksky
we do all seem to be working on the same things. I have a WebDAV client in my contrib, wdfs which relies on libxml. you can use it to access Dropbox and svn repositories an other stuff. -steve On 26 Jun 2015, at 03:04, Anthony Sorace a...@9srv.net wrote: I'm very pleased to see my library being of use ☺. I wrote it for a flickr 9p server, which has probably bitrotted a bit by now. And I’m very happy to have it; thanks! I haven’t tried rebuilding flickrfs recently, but it still gets at my flickr account (just tried it). I had forgotten that it was related. My next target is Twitter. I saw a blog post that you were working on a dropbox thingie at some point; you ever get anywhere with that?
Re: [9fans] Plan 9 BOF at Usenix with a slight difference
I can't make it, but I'd be most appreciative if someone who can attend would record this talk Ron. Either way, I'm excited to hear more! -joe On Thu, Jun 25, 2015 at 11:54 AM, ron minnich rminn...@gmail.com wrote: I'm giving a talk at Usenix in Santa Clara in 2 weeks on u-root, and I'll be setting up a Plan 9 BOF (assuming there is room) with a difference: we're going to demo the GPL'ed Plan 9 code base booting on a small amd64 cluster (assuming it's working by then!). The system is built with gcc, although some of us are advocating moving to clang. A full build of all libraries, binaries, and kernels takes about 2-3 minutes. It's now possible to debug the kernel, including setting breakpoints and examining structures, with gdb when you are running under qemu. If you're at Usenix drop on by and see what you think. If you want to know more you can contact me off-list. Thanks Ron
Re: [9fans] p9p's stats
I have done the back port and have backends for Linux and windows. I haven't touched the OS X backend so I cannot help there. will post code when I get to work. -Steve On 26 Jun 2015, at 01:21, Anthony Sorace a...@9srv.net wrote: Two things on stats: 1) The load figures on OS X seem to be mostly useless: they indicate the machine is pretty much constantly pegged, when it’s really mostly idle (as per ’top’ and Activity Monitor). Are other people seeing this, as well? (Results on FreeBSD and Linux match my expectations.) 2) I’m interested in backporting p9p’s auxstats to plan9, so I can monitor my cpu server in the same stats window as I’m monitoring a FreeBSD host. Before I get started, has anyone attempted this? Anthony
Re: [9fans] ftpfs shows empty /n/ftp after login
On 2015-06-26T10:22:14+0200, Nils M Holm wrote: Looks like ftpfs and ftpd cannot agree on a port for passive mode: Of course, here's the problem: PASV 227 Entering passive mode (127,0,0,1,212,96) ^ passive mode connect to /net/tcp!127.0.0.1!54368 failed: connection refused PORT 10,0,2,15,131,19 500 Illegal PORT range rejected. Ftpd announces a port on localhost which, of course, ftpfs is unable to open. What ftpfs needs is a port on 10.0.2.2 (the guest address of QEMU). -- Nils M Holm n m h @ t 3 x . o r g www.t3x.org
Re: [9fans] ftpfs shows empty /n/ftp after login
On 2015-06-25T13:16:53-0700, Bakul Shah wrote: On Thu, 25 Jun 2015 21:51:49 +0200 Nils M Holm n...@t3x.org wrote: My guess is ftpfs requires active mode connection (but should be easy to change). Looking at the ftpfs sources, I see that it should do passive mode fine. You should debug! Looks like ftpfs and ftpd cannot agree on a port for passive mode: PASV 227 Entering passive mode (127,0,0,1,212,96) passive mode connect to /net/tcp!127.0.0.1!54368 failed: connection refused PORT 10,0,2,15,131,19 500 Illegal PORT range rejected. Looks like on the Plan 9 side, the kernel is picking the port, so I guess the next step would be to have a look at the ftpd sources. -- Nils M Holm n m h @ t 3 x . o r g www.t3x.org
Re: [9fans] ftpfs shows empty /n/ftp after login
Admittedly not exactly the same thing, but still: 9vx works very well on FreeBSD, and gives immediate access to the host's files. Mark.
Re: [9fans] ftpfs shows empty /n/ftp after login
On Fri, 26 Jun 2015 10:29:29 +0200 Nils M Holm n...@t3x.org wrote: On 2015-06-26T10:22:14+0200, Nils M Holm wrote: Looks like ftpfs and ftpd cannot agree on a port for passive mode: Of course, here's the problem: PASV 227 Entering passive mode (127,0,0,1,212,96) ^ passive mode connect to /net/tcp!127.0.0.1!54368 failed: connection refused PORT 10,0,2,15,131,19 500 Illegal PORT range rejected. Ftpd announces a port on localhost which, of course, ftpfs is unable to open. What ftpfs needs is a port on 10.0.2.2 (the guest address of QEMU). I just tried this on an old qemu plan9 image. I tried connecting to the hosts' external address, not 10.0.2.2 and it all worked.
Re: [9fans] ftpfs shows empty /n/ftp after login
thanks, to Charles , u9fs is still always an option for me. On Jun 26, 2015 11:43 AM, Nils M Holm n...@t3x.org wrote: On 2015-06-26T01:52:25-0700, Bakul Shah wrote: I just tried this on an old qemu plan9 image. I tried connecting to the hosts' external address, not 10.0.2.2 and it all worked. Works. Didn't know that was possible. Thanks! -- Nils M Holm n m h @ t 3 x . o r g www.t3x.org
Re: [9fans] thank you
Eris Discordia, is that really you? On 06/26/2015 03:25 PM, a.regenf...@gmx.de wrote: I just wanted to say thank you to Richard Miller (if he is reading this) for porting plan 9 to the raspberry pi. Having put so much work into a dead os (uh oh, am i going to get bashed for this?) is simply great. I am so happy having a good platform for running it and experimenting with it. Thank you so much. -- Wes Kussmaul The Authenticity Institute 738 Main Street Waltham, MA 02451 office +1 781 790 1674 mobile +1 781 330 1881 THIS COMMUNICATION IS INTENDED ONLY FOR THE USE OF THE PERSON TO WHOM IT IS ADDRESSED. If it was addressed incorrectly there's not much I can do but ask you politely to pretend you didn't see it. Any disclaimer suggesting that the sender has some kind of recourse is just wishful thinking. If I had a message from you that was digitally signed using your Sigillum™ identity credential from the Osmio Vital Records Department (http://osmio.ch), we could easily and at no cost exchange encrypted messages and files with each other.
Re: [9fans] thank you
Quoting a.regenf...@gmx.de: (uh oh, am i going to get bashed for this?) Nah, instead you'll get bashed for sending an HTML email. khm
Re: [9fans] thank you
https://www.youtube.com/watch?v=UPatfgoNBRo On Fri, Jun 26, 2015 at 12:59 PM, Wes Kussmaul w...@reliableid.com wrote: Eris Discordia, is that really you? On 06/26/2015 03:25 PM, a.regenf...@gmx.de wrote: I just wanted to say thank you to Richard Miller (if he is reading this) for porting plan 9 to the raspberry pi. Having put so much work into a dead os (uh oh, am i going to get bashed for this?) is simply great. I am so happy having a good platform for running it and experimenting with it. Thank you so much. -- Wes Kussmaul The Authenticity Institute 738 Main Street Waltham, MA 02451 office +1 781 790 1674 mobile +1 781 330 1881 THIS COMMUNICATION IS INTENDED ONLY FOR THE USE OF THE PERSON TO WHOM IT IS ADDRESSED. If it was addressed incorrectly there's not much I can do but ask you politely to pretend you didn't see it. Any disclaimer suggesting that the sender has some kind of recourse is just wishful thinking. If I had a message from you that was digitally signed using your Sigillum™ identity credential from the Osmio Vital Records Department (http://osmio.ch), we could easily and at no cost exchange encrypted messages and files with each other.
Re: [9fans] thank you
On Fri, Jun 26, 2015 at 2:25 PM, a.regenf...@gmx.de wrote: I just wanted to say thank you to Richard Miller (if he is reading this) for porting plan 9 to the raspberry pi. Having put so much work into a dead os *(uh oh, am i going to get bashed for this?)* is simply great. I am so happy having a good platform for running it and experimenting with it. Thank you so much. Probably... -- Ryan [ERROR]: Your autotools build scripts are 200 lines longer than your program. Something’s wrong. http://kirbyfan64.github.io/
[9fans] thank you
I just wanted to say thank you to Richard Miller (if he is reading this) for porting plan 9 to the raspberry pi. Having put so much work into a dead os (uh oh, am i going to get bashed for this?) is simply great. I am so happy having a good platform for running it and experimenting with it. Thank you so much.
Re: [9fans] ftpfs shows empty /n/ftp after login
On 2015-06-26T01:52:25-0700, Bakul Shah wrote: I just tried this on an old qemu plan9 image. I tried connecting to the hosts' external address, not 10.0.2.2 and it all worked. Works. Didn't know that was possible. Thanks! -- Nils M Holm n m h @ t 3 x . o r g www.t3x.org
Re: [9fans] ftpfs shows empty /n/ftp after login
This was my first choice but, unfortunately, 9vx crashes on my machine as soon as I try to do something interesting, e.g. compile a program with 8c. What version of 9vx are you using? -- David du Colombier
Re: [9fans] Trying to override 'cd' command
Finally booted up Plan 9 again. Indeed, the function works when placed in the shell, but *not in lib/profile*. I'm putting in $HOME/lib/profile. That's the correct location, right? On Sat, Jun 13, 2015 at 1:46 PM, Ingo Krabbe ikrabbe@gmail.com wrote: try whatis cd to test if the function as active at all btw: I just saw your signature. Great :D -- Ryan [ERROR]: Your autotools build scripts are 200 lines longer than your program. Something’s wrong. http://kirbyfan64.github.io/ -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- Ryan [ERROR]: Your autotools build scripts are 200 lines longer than your program. Something’s wrong. http://kirbyfan64.github.io/
Re: [9fans] thank you
Oh shit, I didn't realise.. adrian Gesendet: Freitag, 26. Juni 2015 um 19:36 Uhr Von: Kurt H Maier k...@sciops.net An: Fans of the OS Plan 9 from Bell Labs 9fans@9fans.net Betreff: Re: [9fans] thank you Quoting a.regenf...@gmx.de: (uh oh, am i going to get bashed for this?) Nah, instead you'll get bashed for sending an HTML email. khm
Re: [9fans] thank you
On Fri, 26 Jun 2015 19:36:01 - Kurt H Maier k...@sciops.net wrote: Quoting a.regenf...@gmx.de: (uh oh, am i going to get bashed for this?) Nah, instead you'll get bashed for sending an HTML email. Nah, no bashing; we can't be rced about it.
Re: [9fans] ftpfs shows empty /n/ftp after login
On 2015-06-25T19:25:36+0200, Nils M Holm wrote: When logging in via ftpfs, though, I get an empty /n/ftp directory. Turns out that ftpd on FreeBSD announces a port on localhost for passive mode connections: 227 Entering Passive Mode (127,0,0,1,247,55) If I understand QEMU user networking correctly, it sees incoming traffic as originating from localhost, in which case the above would make sense. So I patched ftpfs and added an additional command line option to ignore the host address part of the above message and substitute the destination system's address. The patch works fine for me. I'm not a networking expert, though, so it may have some subtle side effects that I'm not aware of. The patch is below in case anybody is interested. Thanks for your help! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - /sys/src/cmd/ip/ftpfs/ftpfs.c.OLD:32,39 - /sys/src/cmd/ip/ftpfs/ftpfs.c:32,37 int kapid = -1; int dying; /* set when any process decides to die */ int dokeepalive; + char *system; + int qemu_hack = 0; char *rflush(Fid*), *rnop(Fid*), *rversion(Fid*), *rattach(Fid*), *rclone(Fid*), *rwalk(Fid*), /sys/src/cmd/ip/ftpfs/ftpfs.c.OLD:151,159 - /sys/src/cmd/ip/ftpfs/ftpfs.c:149,154 case 'q': quiet = 1; break; + case 'Q': + qemu_hack = 1; + break; } ARGEND if(argc != 1) usage(); /sys/src/cmd/ip/ftpfs/ftpfs.c.OLD:165,171 - /sys/src/cmd/ip/ftpfs/ftpfs.c:160,165 /* initial handshakes with remote side */ hello(*argv); + system = *argv; if(cpassword == 0) rlogin(*argv, keyspec); else /sys/src/cmd/ip/ftpfs/proto.c.OLD:1272,1277 - /sys/src/cmd/ip/ftpfs/proto.c:1272,1279 char *p; int x, fd; TLSconn conn; + extern char *system; + extern int qemu_hack; if(nopassive) return Impossible; /sys/src/cmd/ip/ftpfs/proto.c.OLD:1297,1305 - /sys/src/cmd/ip/ftpfs/proto.c:1299,1314 nopassive = 1; return Impossible; } - snprint(ds, sizeof(ds), %s!%s.%s.%s.%s!%d, net, - f[0], f[1], f[2], f[3], - ((atoi(f[4])0xff)8) + (atoi(f[5])0xff)); + if (qemu_hack) { + snprint(ds, sizeof(ds), %s!%s!%d, net, + system, + ((atoi(f[4])0xff)8) + (atoi(f[5])0xff)); + } + else { + snprint(ds, sizeof(ds), %s!%s.%s.%s.%s!%d, net, + f[0], f[1], f[2], f[3], + ((atoi(f[4])0xff)8) + (atoi(f[5])0xff)); + } /* open data connection */ fd = dial(ds, 0, 0, 0); /sys/man/4/ftpfs.OLD:4,10 - /sys/man/4/ftpfs:4,10 .SH SYNOPSIS .B ftpfs [ - .B -/dqnt + .B -/dqntKQ ] [ .B -m /sys/man/4/ftpfs.OLD:96,101 - /sys/man/4/ftpfs:96,107 option causes ftp to send a NOP command every 15 seconds to attempt to keep the connection open. This command can cause some servers to hangup, so you'll have to feel your way. + .PP + QEMU will see incoming connections as coming from localhost and therefore + announce a port for passive mode on 127.0.0.1, which will confuse + .I ftpfs. + The -Q option ignores the host addresses announced by FTP servers in + passive mode negotation and uses the destination address instead. .PP The .B -t - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- Nils M Holm n m h @ t 3 x . o r g www.t3x.org
Re: [9fans] ftpfs shows empty /n/ftp after login
On 2015-06-26T10:24:45+0200, Mark van Atten wrote: Admittedly not exactly the same thing, but still: 9vx works very well on FreeBSD, and gives immediate access to the host's files. This was my first choice but, unfortunately, 9vx crashes on my machine as soon as I try to do something interesting, e.g. compile a program with 8c. -- Nils M Holm n m h @ t 3 x . o r g www.t3x.org
[9fans] Basic limbo programming help
Hello fellow 9fans! I'm currently trying to learn limbo programming for fun and profit. I'm experienced in java and other languages, but I'd like to learn limbo because I want to (wait for it, drumroll please!) build a distributed agent-based system. The agents themselves aren't anything complicated; I've already written a prototype in java. However, limbo offers a vastly superior communications system than java (and windows for that matter), so I believe inferno is going to be a great choice in the desired platform. However, first thing's first, is learning the language. So, I'm reading A descent into Limbo. And the first program example runs fine. However, the second, the graphical hello world, does not. I'm having a problem with the line: t := tk-toplevel(ctxt.screen ); The compiler is telling me that screen isn't a reference of ctxt, and it expected display instead. But if I change the reference from context to display, well... It will compile and run, but I don't get a button. The example pictures show a different inferno button than what is in the current version, so maybe it's an outdated example? Or is ctxt really the author telling me don't copy and paste, think about what goes here! Because I'm finding those hinted in other example codes as well. So, if there are any limbo programmers out there, would you mind giving me a hand? Thanks!
Re: [9fans] p9p's stats
nstats in my contrib as promised. its a slightly modified port of russ's code from p9p that uses a GUI frontend and an OS specific backend. I added the OS type and a rough performance guide to the top line (if the window is wide enough) as we had quite a few servers on different OSs and it was very helpful to be able to put the system load in context. I have used this code extensively but not widely - there may be portability issues I have missed. As usual feel free to feed back fixes and extensions. -Steve