Re: [9fans] DNS/DHCP/AUTH with Raspberry Pi?
there you go: http://plan9front.googlecode.com/hg/sys/src/cmd/ip/hproxy.c http://plan9front.googlecode.com/hg/sys/src/cmd/ip/socksd.c -- cinap
Re: [9fans] DNS/DHCP/AUTH with Raspberry Pi?
http://plan9front.googlecode.com/hg/sys/src/cmd/ip/hproxy.c http://plan9front.googlecode.com/hg/sys/src/cmd/ip/socksd.c Thank you. Lucio. - This email has been scanned by the MxScan Email Security System. -
Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.
Much as I love Plan9, only a masochist would use it for email Interesting, thats me then I guess - though I have never thought of myself in those terms. I send mail using mail(1)/marshal(1), never had a problem with it. To receive mail I use faces which I find much more useful than most modern apps, which insist on giving me sender and subject lists. When I look at my inbox I would rather have an icon of the sender, this I can access quickly to judge wether I need to read the mail now or defer it till later. Reading the (often cryptic) subject text or parsing the name (things like The Dude) takes a mental switch. Looking at a picture of the culprit is better for my visually orientated brain. I also read email via imap on my iphone, which is useful but actually feels clunkier than plan9 to me - too much pretty zooming windows and not enough just get on with it. What features do you need that plan9 is missing (honest question)? -Steve
Re: [9fans] audio device interface
On 13.10.2014 16:06, Sergey Zhilkin wrote: Hi, audio(3) - some docs. Look at http://plan9.bell-labs.com/wiki/plan9/supported_pc_hardware/index.html for supported hardware. unfortunately, this doest contain any spec on the 9p interface. And sources of device (in /pc) hmm, seems I have to reverse-engieer it ... by the way: does it have any support for delays timestamps, etc? cu -- Enrico Weigelt, metux IT consulting +49-151-27565287
Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.
Hello, On 14 October 2014 11:09, Steve Simon st...@quintile.net wrote: What features do you need that plan9 is missing (honest question)? Since I can't run a dedicated mail server and I want to be able to read mail from anywhere, I have to use imap/pop3 from some server I have no control over. So I use google's gmail. Then: -- Running imap with multiple mboxes (folders or whatever) did not work for me (only one of them was updated). -- Threading did not work properly. -- When something went wrong during 'sending' from acme Mail, I did not get any information that the mail had not been sent. So actually I always had to control sending an email from, say, gmail's web interface. (Or had to look manually into the logs.) That's a pretty bad behaviour. -- You can't easily search within all mail like you can using gmail (for anything in the body, withing given dates, from somebody, combinations, etc. -- I don't know how to correctly 'forward' an email from within acme Mail. -- the fact that gmail helps you to fill addresses when writing an email is extremely handy and useful. That's just a few things. [The worst I feel about www interface of gmail is the lack of a good editor (undo, formatting). Thus I often prepare the email in acme but then send it from gmail's interface.] Ruda
Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.
Ok, I don't use acme so most of those issues don't appear for me. Also, I do run a server so mail is delivered to my machine and I connect to it from iphones/ipads/etc etc when I want to use those devcies. Most often I just use plan9 to read mail. searching in nedmail is more limited I agree, you can only search forwards or backwards in the current mailbox for patterns that match either the header or the body; However this is enough for me. autocompleting email addresses would be a niceity, though I tend to set up aliases which I remember (I use a name I chose rather than the name the computer or some authority chose). This is imperfect and occasionally I need to lookup an adress but its rare. I think I am trying to say, my experience is better than what you had, however it is not as slick as gmail et al, however I have gotten used it plan9's email and it doesn't feel like a problem for me. Now a modern web browser, either native or running in an emulated environment would be really good... Actually I have been toying with running another raspberry Pi with Linux on it as a Chrome server. -Steve
Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.
The mail I mostly read from Plan 9 is hosted on Plan 9, but I've done IMAP with it as well. -- Running imap with multiple mboxes (folders or whatever) did not work for me (only one of them was updated). This is almost certainly a configuration issue. It's not exactly clear what you mean by wasn't updated, but I can't think of anything that matches my experience. Setup with plumber, faces, c can take some thought up front, though. -- Threading did not work properly. Folks have put this into the readers, but I don't use it and haven't evaluated it. -- When something went wrong during 'sending' from acme Mail, I did not get any information that the mail had not been sent. So actually I always had to control sending an email from, say, gmail's web interface. (Or had to look manually into the logs.) That's a pretty bad behaviour. That is bad behavior. I haven't observed (n)upas to be any worse in that regard than any other system I've used, though. Upas maybe provides one or two more places for the handoff to go wonky, but there's always a handoff that can go bad. Regardless, if this is coming up with *any* regularity, I again suspect a configuration issue. -- You can't easily search within all mail like you can using gmail (for anything in the body, withing given dates, from somebody, combinations, etc. True. I wrote Mg (http://9fans.net/archive/2008/11/647) to offset some of these deficiencies, but modern interfaces are well ahead here. -- I don't know how to correctly 'forward' an email from within acme Mail. If you just care about sending the content on, open the message, edit the first line to who you want it to go to, hit Post. Fastest method, although you're tweaking the original. If you'd rather the original message be included unmolested, open the message, hit Reply, edit the address, hit Post. -- the fact that gmail helps you to fill addresses when writing an email is extremely handy and useful. Agreed. That's just a few things. The main thing for me that prevents me from using it for more of my mail is the lack of a good HTML formatter. I occasionally get mail I actually care about (and often get mail that I don't) where the formatting matters. It's rare enough that I can punt that to other devices and have it be okay, but common enough that it's distracting. Configuration, especially when all you're doing is the client (IMAP) side, is more of a pain that most other options. signature.asc Description: Message signed with OpenPGP using GPGMail
Re: [9fans] audio device interface
On Oct 14, 2014, at 5:57 , Enrico Weigelt, metux IT consult enrico.weig...@gr13.net wrote: unfortunately, this doest contain any spec on the 9p interface. The 9p interface is just 9p; there's nothing special for audio. Then audio(3) will answer your questions about what can be read from or written to each file. by the way: does it have any support for delays timestamps, etc? audio(3) answers this (by omission). It describes what you can write to the files. signature.asc Description: Message signed with OpenPGP using GPGMail
Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.
-- When something went wrong during 'sending' from acme Mail, I did not get any information that the mail had not been sent. acme/mail sends by handing messages to upas/marshal, and doesn't check for return status. The assumption is probably that if marshal fails, you'll see its sysfatal message in an acme error window, and once marshal has handed the message to upas/send it will either be successfully delivered or you'll get an asynchronous bounce message back by email. Just last week I hit a case where that assumption wasn't true. My file system became full, so upas/send couldn't queue the message. Sadly it couldn't send a bounce message back either, because ... the file system was full. Even more sadly, I missed the file system full message, because my terminal didn't have a console window for the cpu server open.
Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.
-- Threading did not work properly. Folks have put this into the readers, but I don't use it and haven't evaluated it. nupas maintains References:, so i believe threading should work if you use a threading reader. so it would notbe hard to set up a command to collect the references and display them with either ned or Mail. -- the fact that gmail helps you to fill addresses when writing an email is extremely handy and useful. Agreed. wouldn't be hard to have upas/fs set up a fake directory with common or all known email addresses so that the usual tab completion works in ned and Mail. i never did this, because it's not how i deal with mail. The main thing for me that prevents me from using it for more of my mail is the lack of a good HTML formatter. I occasionally get mail I actually care about (and often get mail that I don't) where the formatting matters. It's rare enough that I can punt that to other devices and have it be okay, but common enough that it's distracting. i actually like the fact that htmlfmt is rather basic. it has made more than one sophisticated phishing attempt easy to spot. - erik
Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.
-- Running imap with multiple mboxes (folders or whatever) did not work for me (only one of them was updated). tested with nupas, and it does work. the default folder seperator in upas is /, as one would expect, since folder is just a windows-centric synonym for directory. one can make + work too by adding a rewrite rule for it. - erik
Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.
On 14 October 2014 17:22, erik quanstrom quans...@quanstro.net wrote: -- Running imap with multiple mboxes (folders or whatever) did not work for me (only one of them was updated). tested with nupas, and it does work. the default folder seperator in upas is /, as one would expect, since folder is just a windows-centric synonym for directory. one can make + work too by adding a rewrite rule for it. - erik http://9fans.net/archive/2012/12/62 is what was my problem back then Ruda
Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.
On Mon Oct 13 22:42:58 EDT 2014, kod...@gmail.com wrote: Much as I love Plan9, only a masochist would use it for email.I agreed with Carmack as recently as 1997: I spent a few months running Plan9. It has an achingly elegent internal structure, but a user interface that has been asleep for the past decade. i can't agree with this generalization. i've had a lot of fun with plan 9 email. both Mail and ned are interesting ideas, fun to work on and effective tools for me. - erik
Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.
tested with nupas, and it does work. the default folder seperator in upas is /, as one would expect, since folder is just a windows-centric synonym for directory. one can make + work too by adding a rewrite rule for it. - erik http://9fans.net/archive/2012/12/62 is what was my problem back then there's no rule against running 2 acme mail instances. - erik
Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.
Ruda: Just now, I tried this: : root; cd /mail/fs : root; lf ctl mbox/ : root; echo 'open /imap/mail.foo.org/anth...@foo.org box1' ctl : root; lf box1/ ctl mbox/ : root; lf box1 1/ 15/ 19/ 22/ 28/ 32/ 36/ 40/ 44/ 48/ 52/ 56/ 60/ 64/ 68/ 71/ 75/ ctl 10/ 16/ 2/ 23/ 29/ 33/ 37/ 41/ 45/ 49/ 53/ 57/ 61/ 65/ 69/ 72/ 76/ 11/ 17/ 20/ 24/ 30/ 34/ 38/ 42/ 46/ 50/ 54/ 58/ 62/ 66/ 7/ 73/ 8/ 12/ 18/ 21/ 25/ 31/ 35/ 39/ 43/ 47/ 51/ 55/ 59/ 63/ 67/ 70/ 74/ 9/ : root; echo 'open /imap/mail.foo.org/anth...@foo.org/Auction box2' ctl : root; lf box2 1/ 13/ 17/ 20/ 24/ 28/ 31/ 35/ 39/ 42/ 46/ 5/ 53/ 57/ 60/ 64/ 68/ 9/ 10/ 14/ 18/ 21/ 25/ 29/ 32/ 36/ 4/ 43/ 47/ 50/ 54/ 58/ 61/ 65/ 69/ ctl 11/ 15/ 19/ 22/ 26/ 3/ 33/ 37/ 40/ 44/ 48/ 51/ 55/ 59/ 62/ 66/ 7/ 12/ 16/ 2/ 23/ 27/ 30/ 34/ 38/ 41/ 45/ 49/ 52/ 56/ 6/ 63/ 67/ 8/ After that, I can run Mail box1 and Mail box2 in Acme, and both are updated as one would expect. Faces, which was started earlier and needs to know about specific mailbox names to monitor, is not. The message you cited implied you're doing this from p9p, not Plan 9. Is that the case? That would be a big difference. signature.asc Description: Message signed with OpenPGP using GPGMail
Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.
Skip, why settle for might even be secure while using the platform of one of the companies that makes a practice of burglarizing your information home? Why not use something like SpiderOak https://spideroak.com/?utm_expid=14446725-7.EXfixEIwRZmffqInbsytsg.0 - which lets you keep and control the encryption keys. Or perhaps even better, the owners of SpiderOak put out a toolkit called Crypton https://crypton.io/ that lets you roll your own. Wes On 10/13/2014 11:08 PM, Skip Tavakkolian wrote: iCloud! Yes! Let's do that! It might even be secure on Plan 9 :) On Oct 13, 2014 8:01 PM, Winston Kodogo kod...@gmail.com mailto:kod...@gmail.com wrote: https://www.apple.com/nz/support/icloud/mail-notes/ Sorry, not a patch as such. On 14 October 2014 15:51, Kurt H Maier k...@sciops.net mailto:k...@sciops.net wrote: Quoting Winston Kodogo kod...@gmail.com mailto:kod...@gmail.com: Much as I love Plan9, only a masochist would use it for email.I agreed with Carmack as recently as 1997: I spent a few months running Plan9. It has an achingly elegent internal structure, but a user interface that has been asleep for the past decade. patches welcome -- Wes Kussmaul The Authenticity Institute 738 Main Street Waltham, MA 02451 office +1 781 790 1674 mobile +1 781 330 1881 “Try this fruit, and by the way if a bunch of people collectively calling themselves Arthur Andersen signs something it’s the same as if a person named Arthur Andersen signed it.” - The Serpent
Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.
Wes, i was being sarcastic in my reply to the suggestion that iCloud (or any iSplat) products should be emulated on Plan 9. -Skip On Tue, Oct 14, 2014 at 12:09 PM, Wes Kussmaul w...@reliableid.com wrote: Skip, why settle for might even be secure while using the platform of one of the companies that makes a practice of burglarizing your information home? Why not use something like SpiderOak https://spideroak.com/?utm_expid=14446725-7.EXfixEIwRZmffqInbsytsg.0 - which lets you keep and control the encryption keys. Or perhaps even better, the owners of SpiderOak put out a toolkit called Crypton https://crypton.io/ that lets you roll your own. Wes On 10/13/2014 11:08 PM, Skip Tavakkolian wrote: iCloud! Yes! Let's do that! It might even be secure on Plan 9 :) On Oct 13, 2014 8:01 PM, Winston Kodogo kod...@gmail.com wrote: https://www.apple.com/nz/support/icloud/mail-notes/ Sorry, not a patch as such. On 14 October 2014 15:51, Kurt H Maier k...@sciops.net wrote: Quoting Winston Kodogo kod...@gmail.com: Much as I love Plan9, only a masochist would use it for email.I agreed with Carmack as recently as 1997: I spent a few months running Plan9. It has an achingly elegent internal structure, but a user interface that has been asleep for the past decade. patches welcome -- Wes Kussmaul The Authenticity Institute 738 Main Street Waltham, MA 02451 office +1 781 790 1674 mobile +1 781 330 1881 “Try this fruit, and by the way if a bunch of people collectively calling themselves Arthur Andersen signs something it’s the same as if a person named Arthur Andersen signed it.” - The Serpent
Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.
Oh, I knew that... :( :( :( On 10/14/2014 04:03 PM, Skip Tavakkolian wrote: Wes, i was being sarcastic in my reply to the suggestion that iCloud (or any iSplat) products should be emulated on Plan 9. -Skip On Tue, Oct 14, 2014 at 12:09 PM, Wes Kussmaul w...@reliableid.com mailto:w...@reliableid.com wrote: Skip, why settle for might even be secure while using the platform of one of the companies that makes a practice of burglarizing your information home? Why not use something like SpiderOak https://spideroak.com/?utm_expid=14446725-7.EXfixEIwRZmffqInbsytsg.0 - which lets you keep and control the encryption keys. Or perhaps even better, the owners of SpiderOak put out a toolkit called Crypton https://crypton.io/ that lets you roll your own. Wes On 10/13/2014 11:08 PM, Skip Tavakkolian wrote: iCloud! Yes! Let's do that! It might even be secure on Plan 9 :) On Oct 13, 2014 8:01 PM, Winston Kodogo kod...@gmail.com mailto:kod...@gmail.com wrote: https://www.apple.com/nz/support/icloud/mail-notes/ Sorry, not a patch as such. On 14 October 2014 15:51, Kurt H Maier k...@sciops.net mailto:k...@sciops.net wrote: Quoting Winston Kodogo kod...@gmail.com mailto:kod...@gmail.com: Much as I love Plan9, only a masochist would use it for email.I agreed with Carmack as recently as 1997: I spent a few months running Plan9. It has an achingly elegent internal structure, but a user interface that has been asleep for the past decade. patches welcome -- Wes Kussmaul The Authenticity Institute 738 Main Street Waltham, MA 02451 office+1 781 790 1674 tel:%2B1%20781%20790%201674 mobile+1 781 330 1881 tel:%2B1%20781%20330%201881 “Try this fruit, and by the way if a bunch of people collectively calling themselves Arthur Andersen signs something it’s the same as if a person named Arthur Andersen signed it.” - The Serpent -- Wes Kussmaul The Authenticity Institute 738 Main Street Waltham, MA 02451 office +1 781 790 1674 mobile +1 781 330 1881 “Try this fruit, and by the way if a bunch of people collectively calling themselves Arthur Andersen signs something it’s the same as if a person named Arthur Andersen signed it.” - The Serpent
Re: [9fans] Setting up Mail in Acme on the Raspberry Pi.
Skip was being sarcastic? Who knew??? But in answer to Steve's question, the only things I would add to Plan9 are a mail program and Web browser that I can work out how to use even in the trance-like state of supreme enlightenment that can only be achieved when one has consumed far too much gin. Apple Mail Safari work for me, more's the pity. On 15 October 2014 09:29, Wes Kussmaul w...@reliableid.com wrote: Oh, I knew that... :( :( :( On 10/14/2014 04:03 PM, Skip Tavakkolian wrote: Wes, i was being sarcastic in my reply to the suggestion that iCloud (or any iSplat) products should be emulated on Plan 9. -Skip On Tue, Oct 14, 2014 at 12:09 PM, Wes Kussmaul w...@reliableid.com wrote: Skip, why settle for might even be secure while using the platform of one of the companies that makes a practice of burglarizing your information home? Why not use something like SpiderOak https://spideroak.com/?utm_expid=14446725-7.EXfixEIwRZmffqInbsytsg.0 - which lets you keep and control the encryption keys. Or perhaps even better, the owners of SpiderOak put out a toolkit called Crypton https://crypton.io/ that lets you roll your own. Wes On 10/13/2014 11:08 PM, Skip Tavakkolian wrote: iCloud! Yes! Let's do that! It might even be secure on Plan 9 :) On Oct 13, 2014 8:01 PM, Winston Kodogo kod...@gmail.com wrote: https://www.apple.com/nz/support/icloud/mail-notes/ Sorry, not a patch as such. On 14 October 2014 15:51, Kurt H Maier k...@sciops.net wrote: Quoting Winston Kodogo kod...@gmail.com: Much as I love Plan9, only a masochist would use it for email.I agreed with Carmack as recently as 1997: I spent a few months running Plan9. It has an achingly elegent internal structure, but a user interface that has been asleep for the past decade. patches welcome -- Wes Kussmaul The Authenticity Institute 738 Main Street Waltham, MA 02451 office +1 781 790 1674 mobile +1 781 330 1881 “Try this fruit, and by the way if a bunch of people collectively calling themselves Arthur Andersen signs something it’s the same as if a person named Arthur Andersen signed it.” - The Serpent -- Wes Kussmaul The Authenticity Institute 738 Main Street Waltham, MA 02451 office +1 781 790 1674 mobile +1 781 330 1881 “Try this fruit, and by the way if a bunch of people collectively calling themselves Arthur Andersen signs something it’s the same as if a person named Arthur Andersen signed it.” - The Serpent
Re: [9fans] copy paste bug in cc.y?
Looks like it. -rob On Tue, Oct 14, 2014 at 3:11 PM, Yoann Padioleau p...@fb.com wrote: Hi, It’s a copy paste bug here right? https://code.google.com/p/ken-cc/source/browse/src/cmd/cc/cc.y#476 | LSWITCH '(' cexpr ')' stmnt { $$ = new(OCONST, Z, Z); $$-vconst = 0; $$-type = types[TINT]; $3 = new(OSUB, $$, $3); $$ = new(OCONST, Z, Z); $$-vconst = 0; $$-type = types[TINT]; $3 = new(OSUB, $$, $3); $$ = new(OSWITCH, $3, $5); }
Re: [9fans] copy paste bug in cc.y?
It's not dead code. It's prepping the switch somehow. -rob On Tue, Oct 14, 2014 at 3:45 PM, Rob Pike robp...@gmail.com wrote: Looks like it. -rob On Tue, Oct 14, 2014 at 3:11 PM, Yoann Padioleau p...@fb.com wrote: Hi, It’s a copy paste bug here right? https://code.google.com/p/ken-cc/source/browse/src/cmd/cc/cc.y#476 | LSWITCH '(' cexpr ')' stmnt { $$ = new(OCONST, Z, Z); $$-vconst = 0; $$-type = types[TINT]; $3 = new(OSUB, $$, $3); $$ = new(OCONST, Z, Z); $$-vconst = 0; $$-type = types[TINT]; $3 = new(OSUB, $$, $3); $$ = new(OSWITCH, $3, $5); }
Re: [9fans] DNS/DHCP/AUTH with Raspberry Pi?
The 9P implementation is based on puffs. Its docs/code may be of help. On Tuesday, October 14, 2014, lu...@proxima.alt.za wrote: i use a socks and http proxies running on the plan9 gateway machine to get windows internet connectivity. the plan9 machines just import the /net.alt ipstack from it. I'm not aware that such tools are in the standard distribution (I have plans to install both 9atom and 9front, but not immediately), could you give us a pointer or two here? Also, slightly off topic, I have discovered that NetBSD has a mount_9p, but it is not obvious how it is meant to be used (I get a Rattach not received, got 107) response, but the documentation is quite economical regarding authentication). Does anyone have some more details on the implementation and deployment? Lucio. - This email has been scanned by the MxScan Email Security System. -