Re: [9fans] rc expression question

2017-03-31 Thread Skip Tavakkolian
something like this? % xxx=`{echo test '-e '^$pathnames^' -o' 1 '!=' 1} % $xxx On Fri, Mar 31, 2017 at 5:31 PM dexen deVries wrote: > given > pathnames = ( foo/a.txt bar/b.txt baz/c.txt ) > > how do i construct arguments to test(1) that test for existence of > those files in one go? > > wanted

Re: [9fans] DNS

2017-03-31 Thread Skip Tavakkolian
Thanks! I should have checked the sources. On Fri, Mar 31, 2017 at 6:28 PM wrote: > yes. raising Maxretries to > 5 in dnresolve.c fixes it. this parameter > limits the chain of cname redirects. > > -- > cinap > >

Re: [9fans] DNS

2017-03-31 Thread cinap_lenrek
yes. raising Maxretries to > 5 in dnresolve.c fixes it. this parameter limits the chain of cname redirects. -- cinap

Re: [9fans] I just realized Linux supports 9p as a file system

2017-03-31 Thread Aram Hăvărneanu
Hardly. -- Aram Hăvărneanu

[9fans] rc expression question

2017-03-31 Thread dexen deVries
given pathnames = ( foo/a.txt bar/b.txt baz/c.txt ) how do i construct arguments to test(1) that test for existence of those files in one go? wanted: test -e foo/a.txt -o -e bar/b.txt -o -e baz/c.txt assuming the pathnames may contain space characters.

[9fans] pipe: bug or feature?

2017-03-31 Thread arisawa
Hello, I have been playing with an experimental code on pipe. the program read a file and write it to one end of pipe and then read it from another end of pipe. the buffer for writing pipe is named buf0, and for reading pipe is named buf. and I found the program does not finish unless sizeof(buf)

[9fans] [ANN] shell scripts to install 9legacy patches

2017-03-31 Thread Kyohei Kadota
Hi fans. I wrote shell scripts that install 9legacy patches to the system. GitHub: https://github.com/lufia/9legacy-tool Archive: http://lufia.org/plan9/src/9legacy-tool.tgz To install stable patches and to update ape: % 9legacy/init % 9legacy/installall <{9legacy/stable} % 9legacy/apply % cd /

Re: [9fans] Initial experience with Plan9 on Raspberry Pi

2017-03-31 Thread Richard Miller
> Does anyone know why the fscons prompt changes from 'prompt:' to 'main:' > for second and subsequent commands. A single fossil may be serving more than one file system. The prompt is to remind you which is the "current" one (ie the one which will be acted on by commands which are not prefixed b

[9fans] I just realized Linux supports 9p as a file system

2017-03-31 Thread Ryan Gonzalez
https://github.com/torvalds/linux/tree/master/fs/9p -- Ryan (ライアン) Yoko Shimomura > ryo (supercell/EGOIST) > Hiroyuki Sawano >> everyone else http://refi64.com

Re: [9fans] coherence function in kernel (especially in raspberry pi port)

2017-03-31 Thread Charles Forsyth
On 28 March 2017 at 19:21, yoann padioleau wrote: > but I fail to understand the meaning of S and B. Synchronisation Barrier

[9fans] new upas vs (lsub) mails

2017-03-31 Thread Rudolf Sykora
Hello, I am interested if someone has experience using both 'nupas' (I think 9front uses this now) and 'mails' (that people at lsub seem to use). The latter seems closer to 'nmh' (the logic of which I intuitively like). Can you comment on your experience? Erik Quanstrom in his 'Scaling Upas', sec

[9fans] Olimex TERES-A64

2017-03-31 Thread Skip Tavakkolian
FYI. This is an open source hardware and software DIY laptop. It would make a good Plan 9 laptop/term. [1] https://www.olimex.com/Products/DIY%20Laptop/KITS/ [2] https://github.com/OLIMEX/DIY-LAPTOP

[9fans] pipe: bug or feature?

2017-03-31 Thread arisawa
Hello, I was playing with an experimental code on pipe and met with a problem which I don’t understand. the program reads a file and writes it to one end of pipe and then reads it from another end of pipe. the buffer for writing pipe is named buf0, and for reading pipe is named buf. and I found

Re: [9fans] coherence function in kernel (especially in raspberry pi

2017-03-31 Thread Richard Miller
Have a look at the ARM document "Barrier Litmus Tests and Cookbook", and especially section 7.2 "Acquiring and Releasing a Lock". After reading this document, I came to the conclusion that the coherence() call in the unlock() function in port/taslock.c belongs before zeroing the l->key instead of

Re: [9fans] DNS

2017-03-31 Thread Peter Hull
Doesn’t work quite right for me. It resolves a few steps and gets to an IP address but it never prints out the “answer” between - lines. If I do it for www.google.com then it does. Also it prints some console messages - "no rr from dblookup; crapped out" Pete

[9fans] Fwd: DNS

2017-03-31 Thread Skip Tavakkolian
It looks like 9fans messages are getting processed again. I asked this a couple of weeks ago. -- Forwarded message - From: Skip Tavakkolian Date: Mon, Mar 20, 2017 at 12:26 AM Subject: DNS To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> It seems Plan 9 dns can't reso

[9fans] DNS

2017-03-31 Thread Skip Tavakkolian
It seems Plan 9 dns can't resolve www.paypal.com correctly; I'm not sure why. Can anyone with a 9front installation try this to see if it resolves to the an IP address (i.e. see a final "answer" output)? ndb/dnsdebug www.paypal.com Thanks, -Skip

Re: [9fans] coherence function in kernel (especially in raspberry pi port)

2017-03-31 Thread Charles Forsyth
On 28 March 2017 at 19:21, yoann padioleau wrote: > For example I see this code in bcm/taslock.c > > coherence(); > l->key = 0; > coherence(); > > bcm/taslock.c seems actually mostly a copy paste of port/taslock.c > with an extra call to coherence before the assignment abo

[9fans] Test, please ignore

2017-03-31 Thread Chris McGee
Test