[9fans] plan9port and procexecl

2010-01-04 Thread Dmitry Golubovsky
Hi, I have a piece of code which compiles and works fine in Plan9: void execproc(void *v) { Channel *sync; Exec *e; int q[2]; char *cmd; threadsetname("execproc"); e = v; q[0] = e->q[0];

Re: [9fans] breadth first walking

2010-01-04 Thread roger peppe
what's a scape tree? 2010/1/4 Bruce Ellis : > yep, use a scape tree. ozi is full of them. no hash tables here, > except for my coffee table. > > brucee > > On 1/4/10, Tim Newsham wrote: >> someone mentioned in the thread that it would be nice to be able >> to walk directory trees in breadth-first

Re: [9fans] breadth first walking

2010-01-04 Thread roger peppe
2010/1/4 Tim Newsham : > someone mentioned in the thread that it would be nice to be able > to walk directory trees in breadth-first manner: >  http://www.thenewsh.com/~newsham/x/9/walk.c that's potentially useful, thanks. BTW, any robust file tree walker in plan 9 should cope with cycles in the

Re: [9fans] breadth first walking

2010-01-04 Thread Bruce Ellis
you were talking and not listening. On 1/4/10, roger peppe wrote: > what's a scape tree? > > 2010/1/4 Bruce Ellis : > > yep, use a scape tree. ozi is full of them. no hash tables here, > > except for my coffee table. > > > > brucee > > > > On 1/4/10, Tim Newsham wrote: > >> someone mentioned in

Re: [9fans] evoluent mouse review

2010-01-04 Thread David Leimbach
On Sun, Jan 3, 2010 at 8:41 PM, Russ Cox wrote: > On Sun, Jan 3, 2010 at 1:52 PM, Mathieu Lonjaret > wrote: > > I'm thinking of buying such a mouse. Have you found better since you > > posted that review? Did you (or anyone else) get a chance to eventually > > try the wireless one? > > I still u

Re: [9fans] evoluent mouse review

2010-01-04 Thread Benjamin Huntsman
Anyone remember or still use the Depraz red mouse? I thought I had heard someone figured out how to convert them to USB... I've got three brand-new-in-box, so at least one of them is itching to be usb-ifyed. > I am planning to play with an Apple Magic Mouse > using Paul Lalonde's patch (soon to

Re: [9fans] evoluent mouse review

2010-01-04 Thread Anthony Sorace
Benjamin Huntsman wrote: Anyone remember or still use the Depraz red mouse? I thought I had heard someone figured out how to convert them to USB... I've got two of the USBified ones, one attached to my cpu server and one moving between an old iBook and a few other Plan 9 machines. i stil

Re: [9fans] evoluent mouse review

2010-01-04 Thread David Leimbach
Just saw this Patch of Paul's, it's the same stuff I found. I'm now anxious to try the new p9p on my touchpad with the macbook! :-) Good times! Thanks Paul and Russ! Dave On Mon, Jan 4, 2010 at 10:14 AM, Anthony Sorace wrote: > Benjamin Huntsman wrote: > > Anyone remember or still use the

[9fans] secstore account expired, how fix it using only drawterm

2010-01-04 Thread Robert Raschke
Somehow my account "expired" in a way that appears to only affect secstore. I can log in and do stuff, but get the fgui popup for stuff normally stored in my factotum. And ... cpu% auth/secstore -g factotum secstore password: auth/secstore: error: account rtr expired at Sat Jan 2 03:59:59 GMT 20

Re: [9fans] secstore account expired, how fix it using only drawterm

2010-01-04 Thread erik quanstrom
> cpu% auth/secstore -g factotum > secstore password: > auth/secstore: error: account rtr expired at Sat Jan 2 03:59:59 GMT 2010 > secstore password: see secstore(8). auth/secuser $user is what you want. on the console of the auth server. - erik

Re: [9fans] secstore account expired, how fix it using only drawterm

2010-01-04 Thread Steve Simon
I think (I haven't tried this) you can drawterm in as bootes and then manually edit the file /adm/secstore/who/$user and change the number after exp. I guess this number is the number of secs since 1/1/70 butthe source for secstored wil tell you. -Steve

Re: [9fans] secstore account expired, how fix it using only drawterm

2010-01-04 Thread Robert Raschke
Thank you Erik. On Mon, Jan 4, 2010 at 7:09 PM, erik quanstrom wrote: > > cpu% auth/secstore -g factotum > > secstore password: > > auth/secstore: error: account rtr expired at Sat Jan 2 03:59:59 GMT 2010 > > secstore password: > > see secstore(8). auth/secuser $user is what you want. on > th

[9fans] secuser bugs

2010-01-04 Thread erik quanstrom
i submitted a patch to secuser. i noticed that the month printed was off by one. according to secuser one year from today would be (in the odd ddmmy format it used) 04002011. i changed that to mmdd and fixed a handful of bugs. one year from today is now 20110104. - erik

Re: [9fans] secuser bugs

2010-01-04 Thread Steve Simon
> (in the odd ddmmy format it used) We, on this side of the pond, find that format rather modern and exciting; not in the least bit old... ☺

Re: [9fans] secstore account expired, how fix it using only drawterm

2010-01-04 Thread Steve Simon
> I'm not sure why the auth commands hang in a vanilla drawterm (no rio). The problem is not drawterm, it is by design. keyfs (and I assume secstored) create a virtual filesystem that the command line apps use to communicate with the running daemon. Due to plan9's per process namespace and becaus

Re: [9fans] secuser bugs

2010-01-04 Thread erik quanstrom
On Mon Jan 4 16:23:56 EST 2010, st...@quintile.net wrote: > > (in the odd ddmmy format it used) > > We, on this side of the pond, find that format rather modern and exciting; > not in the least bit old... ☺ i suppose that it has the benefit that it conflicts with the fileserver's dump format

Re: [9fans] secstore account expired, how fix it using only drawterm

2010-01-04 Thread erik quanstrom
> Erik has an ethernet (not tcpip, raw ethernet) console kernel driver and > command line > tool which is easier these days (EIA interfaces are a dieing breed). You can > even use > these tools over a loopback interface, from the machine back to itself. a version of cec(8), the client, is availa