[9fans] pthreads

2008-12-16 Thread Steve Simon
I have a distant memory that somone implemented some of POSIX pthreads on plan9, i.e. I want to compile programs that use pthreads under APE. anyone got any pointers? -Steve

Re: [9fans] sam/rc script problem

2008-12-16 Thread Rudolf Sykora
> ssh -r should strip carriage returns. to read man pages, i set my > MANPAGER environment variable to cat or to p9p's nobs. i might be > misunderstanding your problem though > > -- m Thanks, better now. Ruda

Re: [9fans] Multiple '#s' ?

2008-12-16 Thread Charles Forsyth
>Or is there some active problem with the idea of multiple named >pipe namespaces on one kernel? they aren't named-pipe name spaces, but holders of arbitrary file descriptors, which allows them to hold references to any open device, including network connections. that means there's no problem in

Re: [9fans] 9P in C++

2008-12-16 Thread kix
Thanks Pietro, sqweek, I can't compile it :-/ Some info: k...@sys:~/2008110109$ cat Makefile all: g++ -Wall -fPIC -c a.C g++ -Wall -fPIC -c b.C g++ -Wall -fPIC -c c.C 9c -Wall -o tryfs.o tryfs.c 9l -Wall -shared -lthread -o libtry.so a.o b.o c.o tryfs.o /usr/

Re: [9fans] sam/rc script problem

2008-12-16 Thread michael block
On Tue, Dec 16, 2008 at 13:25, Rudolf Sykora wrote: > When not using 'vt' I get CR printed at the end of each line, I can't > read man pages, etc. ssh -r should strip carriage returns. to read man pages, i set my MANPAGER environment variable to cat or to p9p's nobs. i might be misunderstanding y

Re: [9fans] sam/rc script problem

2008-12-16 Thread erik quanstrom
> well, this doesn't work for me, even when using just 'rc' (i.e. not bash). > When not using 'vt' I get CR printed at the end of each line, I can't > read man pages, etc. > Even though your approach allows me to use a mouse for e.g. copying, > mentioned cons are just too serious. really, it's jus

[9fans] Multiple '#s' ?

2008-12-16 Thread Nathaniel W Filardo
Is it crazy to propose that the kernel should offer multiple devsrv sources? It seems to me that it might be a useful to isolate proesses from things that have been posted in /srv's even if they run as the same user under, without preventing the use of /srv altogether. If something like this is po

Re: [9fans] sam/rc script problem

2008-12-16 Thread Rudolf Sykora
> if you need VT in order to run your editor you could edit the file remotely > from plan9. To do this either run u9fs on the linux box, or pick up > sftpfs from contrib and use ssh. You can then import your linux boxes > namespace from plan9 (by convention put the magic in the 9fs script so its >

Re: [9fans] sam/rc script problem

2008-12-16 Thread Charles Forsyth
>the real rc a better option. it's one of the few times when the best choice is duff software.

Re: [9fans] sam/rc script problem

2008-12-16 Thread erik quanstrom
there's a new version of byron's rc on sources and ftp://rc.quanstro.net which fixes the $- here document bug. the real rc a better option. - erik

Re: [9fans] sam/rc script problem

2008-12-16 Thread Rudolf Sykora
> you mean tom duff? > > - erik Yes, of course, tom duff's, sure. sorry. R

Re: [9fans] sam/rc script problem

2008-12-16 Thread erik quanstrom
> Thanks, that's it. > I have now reread Pike's paper on 'rc' and it's there, too. > Ruda you mean tom duff? - erik

Re: [9fans] sam/rc script problem

2008-12-16 Thread Martin Neubauer
I tried your example (reduced to the to given lines) on my FreeBSD system and got identical output both ways. So I suspect it's a linux (or distro) thingie. I'm quite puzzled as to what could be the cause, though. Nevertheless, I'd still be cautious about here documents and variable substitutions.

Re: [9fans] sam/rc script problem

2008-12-16 Thread Rudolf Sykora
> In all three cases, if you want to pass a $ through > uninterpreted, you should be using <<'EOF' not < > Russ Thanks, that's it. I have now reread Pike's paper on 'rc' and it's there, too. Ruda

Re: [9fans] sam/rc script problem

2008-12-16 Thread Russ Cox
> why do I get, running rc in linux (plan9port) > - > ; sam -d outit > -. outit > $-/FERMI/+- > FERMI LEVEL= 0.01 ITER= 70 > q > - > - > ; sam -d outit < $-/FERMI/+- > q > EOF > -. outit > FERMI LEVEL= 0.07

Re: [9fans] sam/rc script problem

2008-12-16 Thread Rudolf Sykora
> i think rc is interpreting $ as a here document > variable and messing up. By why then i works nicely in plan9 and not in linux, although I use 'rc' in both? R

Re: [9fans] sam/rc script problem

2008-12-16 Thread erik quanstrom
On Tue Dec 16 11:25:21 EST 2008, rudolf.syk...@gmail.com wrote: > Well, > thanks so far for answering my PS... > ... but what about my main question? > :) > Has anybody encountered it? > Ruda i think rc is interpreting $ as a here document variable and messing up. this is one of the reasons i rea

Re: [9fans] sam/rc script problem

2008-12-16 Thread Rudolf Sykora
Well, thanks so far for answering my PS... ... but what about my main question? :) Has anybody encountered it? Ruda

Re: [9fans] sam/rc script problem

2008-12-16 Thread gdiaz
hello it is possible to use sam -r from aplan9 machine to a linux one? it uses ssh too in plan9 isn't it? that could be a nice option too, if you're able to distribute sam to your hosts. slds. gabi

Re: [9fans] sam/rc script problem

2008-12-16 Thread erik quanstrom
On Tue Dec 16 08:09:34 EST 2008, st...@quintile.net wrote: > > P.S.: Is there anything more intelligent than 'vt' for connecting to a > > linux machine? > > It all depends what you want to run on the linux box. > > if you need VT in order to run your editor you could edit the file remotely > fro

Re: [9fans] sam/rc script problem

2008-12-16 Thread Charles Forsyth
>I usually run either a Bourne shell or Byron's rc(1) for Unix for sanity's >sake. If you use Plan 9 port's rc, and 9term, you'll find that shell windows also appear instantly, even on a Linux system.

Re: [9fans] boot issue after install

2008-12-16 Thread Sergey Zhilkin
Hm seems that kfs went away from /boot ... 2008/12/11 Ben Calvert > after installing from a CD image i just downloaded yesterday, i get the > following panic when booting for the first time: > > root is from(tcp,local)[local!#S/sdE0/fossil]: > user[none]: glenda > boot: can't connect to fil

Re: [9fans] sam/rc script problem

2008-12-16 Thread Steve Simon
> P.S.: Is there anything more intelligent than 'vt' for connecting to a > linux machine? It all depends what you want to run on the linux box. if you need VT in order to run your editor you could edit the file remotely from plan9. To do this either run u9fs on the linux box, or pick up sftpfs f

Re: [9fans] sam/rc script problem

2008-12-16 Thread lucio
> P.S.: Is there anything more intelligent than 'vt' for connecting to a > linux machine? I can't use a mouse in vt, window size change doesn't > propagate, sometimes I loose what was in the window... Simply, the > work with 'vt' (I 1st run 'vt' and then ssh to my linux machine; note > that I reall

[9fans] sam/rc script problem

2008-12-16 Thread Rudolf Sykora
Hello, why do I get, running rc in linux (plan9port) - ; sam -d outit -. outit $-/FERMI/+- FERMI LEVEL= 0.01 ITER= 70 q - while - ; sam -d outit <

Re: [9fans] Wireless cards

2008-12-16 Thread Sergey Zhilkin
2008/12/16 Roman Zhukov > >> -- > >> ? ? > >> ?? ?? > > Sergey's signature is in KOI8 encoding, not in UTF-8. What a shame! ) > > -- > Roma > > I've corrected it :) P.S.: Im use gmail ... -- С наилучшими пожеланиями Жилкин Сергей With best regards Zhilkin Segey

Re: [9fans] Wireless cards

2008-12-16 Thread Sergey Zhilkin
> > > I will begin porting madwifi because I have more time than money and I > think others will benefit. > > > COOL !!! :) -- С наилучшими пожеланиями Жилкин Сергей With best regards Zhilkin Segey

Re: [9fans] Can somebody tell me the EXACT commands I need to use for

2008-12-16 Thread Sergey Zhilkin
Whereis wiki :) 2008/12/9 erik quanstrom > > Ok, I use gmail so my imap is: *imap.gmail.com*, and my smtp is: * > > smtp.gmail.com* . > > Can somebody tell me the exact commands to get mail on plan 9 > > to read mail, it would be > >upas/fs -f /imaps/imap.gmal.com/$gmailuser > > you

Re: [9fans] Wireless cards

2008-12-16 Thread Roman Zhukov
>> -- >> ? ? >> ?? ?? Sergey's signature is in KOI8 encoding, not in UTF-8. What a shame! ) -- Roma

Re: [9fans] Wireless cards

2008-12-16 Thread theotherjimmy
On Dec 15, 11:47═am, szhil...@gmail.com (Sergey Zhilkin) wrote: > Hi ! > > As far as I know, madwifi is a driver fot atheros based WiFi Ethernet. sorry for not posting more information; I have an Atheros based pcmcia card. > Atheros is unsupported by Plan9 :( I will begin porting madwifi because