Re: [9fans] union directories exploration

2012-09-19 Thread Bakul Shah
Thanks! On Wed, 19 Sep 2012 08:47:33 +0200 cinap_len...@gmx.de wrote: > this has been done before. i can't remember who wrote it > and i couldnt find it in the contrib index. > > #!/bin/rc > > fn get_dirs { > tmp = /tmp/$pid ^_dirs > echo -n > $tmp > > for (f in `{du -nf $roo

[9fans] Brdline() and continuation lines

2012-09-19 Thread Steve Simon
Hi, Anyone worked out an idiom that would allow me to use Brdline()/Blinelen() to read a file which contains continuation lines? I want to read a text file which consists of lines terminated by newlines, but lines with leading whitespace are considered to be continuation lines. Brdline() is very

Re: [9fans] p9p srv files on plan 9

2012-09-19 Thread Yaroslav
you may mount it on terminal (9pfuse or so) then access in drawterm under /mnt/term. 2012/9/15 Anthony Sorace : > i'm certain i've seen this, but i can't reproduce it: is there a > method for getting the srv files created by p9p in $namespace > mounted under plan9? attempting to do so under drawte

Re: [9fans] Brdline() and continuation lines

2012-09-19 Thread erik quanstrom
> Anyone worked out an idiom that would allow me to > use Brdline()/Blinelen() to read a file which > contains continuation lines? > > I want to read a text file which consists of lines terminated > by newlines, but lines with leading whitespace are considered > to be continuation lines. > > Brdl

Re: [9fans] Brdline() and continuation lines

2012-09-19 Thread Charles Forsyth
I don't see how it can do it. On 19 September 2012 09:48, Steve Simon wrote: > I am happy if the answer is "Brdline() cannot do this", I just feel like > I am missing a trick, and there is elegant solution. >

[9fans] when sources is down...

2012-09-19 Thread cinap_lenrek
when sources is down, the webserver should redirect to http://centralservices.net/ instead of showing: mount: hungup channel :-) -- cinap

Re: [9fans] when sources is down...

2012-09-19 Thread erik quanstrom
On Wed Sep 19 16:00:35 EDT 2012, cinap_len...@gmx.de wrote: > when sources is down, the webserver should redirect > to http://centralservices.net/ instead of showing: > > mount: hungup channel > > :-) alternatively, aux/reboot works wonders. :-) - erik