Conversation with #inferno at Wed Nov 23 15:18:45 2011 on powerman-asdf@irc.freenode.net (irc) (15:49:50) Gegemon left the room (quit: Quit: Leaving.). (15:53:56) bvalek2 [c3e41484@gateway/web/freenode/ip.195.228.20.132] entered the room. (16:22:23) dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] entered the room. (16:38:53) fgudin [~fgudin@odin.sdf-eu.org] entered the room. (16:55:22) robot12 left the room (quit: Quit: Leaving.). (16:56:37) dreadlorde left the room (quit: Ping timeout: 240 seconds). (17:22:53) bvalek2 left the room (quit: Ping timeout: 265 seconds). (17:24:34) bvalek2 [c3e41484@gateway/web/freenode/ip.195.228.20.132] entered the room. (17:48:20) dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] entered the room. (18:35:52) bvalek2 left the room (quit: Ping timeout: 265 seconds). (18:42:49) bvalek2 [c3e41484@gateway/web/freenode/ip.195.228.20.132] entered the room. (19:26:22) bvalek2 left the room (quit: Quit: Page closed). (20:24:26) anth_x left the room (quit: Quit: Leaving.). (20:30:58) dreadlorde left the room (quit: Ping timeout: 252 seconds). (20:32:07) bvalek2 [c3e41484@gateway/web/freenode/ip.195.228.20.132] entered the room. (20:46:35) bvalek2 left the room (quit: Quit: burn baby burn!). (21:28:00) robot12 [~KAZZhilki@host-163-205.xdsl.telecet.ru] entered the room. (21:40:46) bvalek2 [~bvalek2@catv-80-98-250-70.catv.broadband.hu] entered the room. (21:40:46) bvalek2 left the room (quit: Changing host). (21:40:46) bvalek2 [~bvalek2@unaffiliated/bvalek2] entered the room. (22:13:48) robot12 left the room (quit: Read error: Connection reset by peer). (22:45:34) Fish- [~Fish@9fans.fr] entered the room. (23:40:47) rog left the room (quit: Ping timeout: 240 seconds). (23:42:06) bvalek2 left the room (quit: Quit: to quit or not to quit, this is the question...). (00:35:22) Fish- left the room (quit: Quit: WeeChat 0.3.5). (00:35:49) kapu [~kapu@cpe-67-240-100-223.nycap.res.rr.com] entered the room. (01:22:13) ecelis left the room (quit: Ping timeout: 240 seconds). (03:22:13) Fish left the room (quit: Ping timeout: 244 seconds). (03:32:43) Fish [~Fish@exo3753.pck.nerim.net] entered the room. (03:44:35) anth_x [~a@adsl-99-40-132-132.dsl.bcvloh.sbcglobal.net] entered the room. (04:02:54) dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] entered the room. (04:07:29) ecelis [ecelis@miku.sdf.org] entered the room. (04:38:27) dreadlorde left the room (quit: Ping timeout: 252 seconds). (05:04:07) dreadlorde [~dreadlord@c-68-42-82-10.hsd1.mi.comcast.net] entered the room. (05:22:47) dreadlorde left the room (quit: Ping timeout: 240 seconds). (06:05:24) kapu left the room (quit: Quit: Lost terminal). (08:12:41) Gegemon [~ynv@mx1.airis.ru] entered the room. (10:42:18) bvalek2 [c3e41484@gateway/web/freenode/ip.195.228.20.132] entered the room. (10:59:29) rlp10 [c3894ea9@gateway/web/freenode/ip.195.137.78.169] entered the room. (11:01:01) rlp10: I've downloaded inferno.zip from the vita nuova website and unzipped it to C:\inferno. How do I run it? (11:03:44) C-Keen: run dis (11:05:14) C-Keen: rlp10: there is also a readme file in ther containing additional hints (11:05:32) rlp10: ah sussed it, I ran C:\inferno\386\bin\emu.exe (11:05:42) rlp10: C-Keen: Thanks, for the pointer (11:07:07) C-Keen: ah yes, dis' name is emu (11:24:01) rlp10: Hmm, tab completion? (11:26:10) rog [~rog@host-92-23-142-121.as13285.net] entered the room. (11:31:32) fgudin: oups, j'étais loin du chan; bonjour! (11:31:45) fgudin: sorry, wrong channel (11:34:21) rlp10: fgudin: Ca va, on peut se parler en francias ici, quand meme! :) (11:35:15) fgudin: je ne voulais pas polluer, mais j'ai un peu vite fait "Up" Enter :) (11:38:36) rlp10: Ahh I see (11:38:43) rlp10: I've been googling but can't locate the rc version of tab completion? Could someone help please? (11:39:48) fgudin: ^F maybe ? (11:41:34) rlp10: Ah sorry, I guess the default shell in inferno isn't rc, it's sh. So ^F doesn't work in that. (11:41:52) fgudin: yes, just checked and you're right (11:42:08) rlp10: So does sh have something like tab completion? Or should I be using rc in inferno? (11:42:20) rlp10: As you might have guessed... I'm new to inferno :) (11:42:43) fgudin: mechiel has a neat sh replacement at: www.ueber.net/code -> look for wmrun (11:43:44) fgudin: ISTR (not used it in a while) it has completion, history, etc. (11:44:15) rlp10: fgudin: thanks, I'll try to work out how to install it (11:45:07) fgudin: you can mount its repo once you installed his hgfs, there copy stuff (or arrange to have it writable) and just build (11:45:23) fgudin: i don't remember any hurdles relating to his work (11:46:34) fgudin: let me check sthg… (11:47:29) fgudin: i thought i'd have one already compiled, but not on my server (11:49:00) rlp10: thanks for looking. when i run the mount command it just pauses with no feedback. i can't cd to /n/hg ... is there something I should do before running the mount command? (11:49:07) rlp10: Sorry I'm being such a newbie (11:53:09) fgudin: np, Inferno confused (and still…) me quite a bit :) No, I just do it like this: mount -A -P net!knaagkever.ueber.net!6867 /n/hg (11:53:53) fgudin: network filtering somewhere ? (11:54:58) rlp10: when I run that command, should it return me to the command prompt? (11:55:23) rlp10: It just "hangs" (11:56:04) fgudin: it should, yes. I checked: his host is UP, and my mount seems functional (11:56:38) rlp10: hmm, thanks for your help... clearly there's something wrong with mine :( I'll have a google around and see if I can work it out (11:56:49) fgudin: just check outside inferno with telnet (telnet knaagkever.ueber.net 6867) and see if you can reach it (11:58:54) rlp10: yes, it opens, i can type things, and then it exits (probably because i'm not speaking the right protocol) (12:00:08) fgudin: you didn't forget the -A flag (means skip auth phase) ? (12:01:11) fgudin: can you ip/ping it ? (12:01:19) fgudin: (from within emu) (12:02:32) fgudin: sorry: no /net/icmp on my side to do so (might be only available if emu is running as root, or on bare metal) (12:03:30) rlp10: the ping command says /net/icmp files does not exist (12:03:42) rlp10: is that what's causing the problem with the mount command, or just the ping command? (12:06:26) fgudin: just ping (12:06:37) fgudin: did you run svc/net ? (12:07:26) fgudin: that's it: reproduced here. Without cs and friends, no way (12:08:23) fgudin: look at /dis/svc/net: it does prepare things to get DNS, CS and all running (12:10:18) rlp10: thanks. it says that it can't find /usr/richard/keyring/default... is there something I need to do to create myself as a user? (12:14:11) rog: rlp10: you could try mount -A (12:14:53) rlp10: rog: thanks, but I'm getting the error when I run svc/net (12:15:26) rog: svc/net is probably unnecessary (12:15:33) rog: bind '#I' /net; ndb/cs (12:15:35) rog: should do it (12:15:48) rlp10: I understand the first command; what's the second command? (12:16:01) rog: runs the network name resolver (12:16:41) rog: it maps from, say tcp!foo.com!32345 to /net/tcp 23.44.65.234!32345 (12:17:22) rlp10: Ah I see... I love the idea of everything being a file (hence why I'm here); I can see it's going to take some figuring out though (12:17:23) rog: i usually put these commands in /lib/sh/profile so they run automatically when inferno's started (12:18:05) rlp10: ah great... I was wondering what got ran automatically (12:18:22) rlp10: great I've mounted the code repository :) it's fast too (12:21:23) rog: fgudin: nice to see someone using the -P option to mount. i implemented it, but i was always a bit uncertain how reliable it could be, given 9P's stateful nature (12:21:25) fgudin: (work brb) (12:21:44) rlp10: right, i've copied wmrun onto my machine... would someone mind telling me how to build the thing? (12:22:06) bvalek2 left the room (quit: Ping timeout: 265 seconds). (12:23:59) fgudin: rog: i don't have an idea if it's actually useful, to be honest (don't know if the host disappears from time to time); but as it's mounted in a persistent emu (running octopus), i thought it was a good idea :) Tnx for that, btw! (12:24:30) rog: fgudin: have you seen it failover when the network goes down? (12:26:29) fgudin: i couldn't observe (don't know if it ever happened); i may try later tonight though (i could break the connection externally and test it out, if it helps) (12:27:12) fgudin: well, i could right now, in fact (i'm going to add a bogus route entry on my host and see…) (12:29:32) fgudin: routed to lo0 and the host became unreach. -> ls in mount is stalled (12:31:57) fgudin: yeah! deleted the bogus route and a few tens of seconds later, ls ran fine! Great option :) (12:32:45) fgudin: would it work also with auth'ed mounts ? (12:36:24) fgudin: rlp10: cd /n/hg/wmrun/files/tip (12:36:45) fgudin: rlp10: cp -r * /usr/yourself/tmp or wherever (12:38:17) fgudin: rlp10: cd back to /usr/yourself/tmp and chmod +w */* (12:38:31) fgudin: rlp10: p README :) (12:40:52) rlp10: I presume default-tip is OK? rather than tip (12:43:29) fgudin: aren't they identical ? i never checked… (12:45:26) fgudin: rlp10: after that copy and +w, just: (12:45:29) fgudin: rlp10: SYSHOST=Inferno (12:45:34) fgudin: rlp10: ROOT= (12:45:40) fgudin: rlp10: mk install (12:46:27) rlp10: Cool... so that's installed it into my inferno filesystem? (12:46:56) fgudin: yes, it should be at /dis/wm/run.dis (12:47:14) fgudin: and man is wm-run(1) (12:47:43) fgudin: better read it, the display confused me the 1st time (12:48:25) rlp10: ah! now this is a shell that I can use more easily... thank you very much for your help (12:48:34) rlp10: and your patience with a new user :) (12:48:39) fgudin: glad i could help :) (12:48:52) bvalek2 [c3e41484@gateway/web/freenode/ip.195.228.20.132] entered the room. (13:07:35) rog: fgudin: i can't quite remember if it also works with authed mounts. i think so. (13:11:34) fgudin: rog: k (i thought they're could be some "crypto" context that'd need to be reinit'ed); going out for lunch now… (13:12:20) rog: fgudin: there is, but the API caters for that (15:16:22) The account has disconnected and you are no longer in this chat. You will be automatically rejoined in the chat when the account reconnects.