Re: [9fans] p9p vac issue

2009-06-26 Thread Fernan Bolando
On Tue, Jun 23, 2009 at 12:50 AM, erik quanstrom wrote: >> looks like it's related to the error above. you might want to downgrade to >> http://swtch.com/plan9port/plan9port-20090609.tgz > > fortune tells me > > The most effective debugging tool is still careful thought, > coupled with judiciously

Re: [9fans] timesync -r not working?

2009-06-26 Thread John Floren
On Fri, Jun 26, 2009 at 4:57 PM, erik quanstrom wrote: >> > > The script runs at boot, the echo tells me that much, but the time is >> > > not set, perhaps as if timesync -r is not working. To be specific the >> > > date a few minutes after booting is Sun Jan  2 18:30:36 GMT 2000. >> > >> > i bel

Re: [9fans] timesync -r not working?

2009-06-26 Thread erik quanstrom
> > > The script runs at boot, the echo tells me that much, but the time is not > > > set, perhaps as if timesync -r is not working. To be specific the date a > > > few minutes after booting is Sun Jan 2 18:30:36 GMT 2000. > > > > i believe timesync is setting the system clock from /dev/rtc, no

Re: [9fans] timesync -r not working?

2009-06-26 Thread Ethan Grammatikidis
On Fri, 26 Jun 2009 15:48:25 -0400 erik quanstrom wrote: > > The script runs at boot, the echo tells me that much, but the time is not > > set, perhaps as if timesync -r is not working. To be specific the date a > > few minutes after booting is Sun Jan 2 18:30:36 GMT 2000. > > i believe times

Re: [9fans] timesync -r not working?

2009-06-26 Thread erik quanstrom
> The script runs at boot, the echo tells me that much, but the time is not > set, perhaps as if timesync -r is not working. To be specific the date a few > minutes after booting is Sun Jan 2 18:30:36 GMT 2000. i believe timesync is setting the system clock from /dev/rtc, not the other way arou

[9fans] timesync -r not working?

2009-06-26 Thread Ethan Grammatikidis
I'm running plan 9 in qemu, I want to use the qemu-emulated hardware clock for the plan 9 time because it keeps the same time as the host. I made a script to be sourced from cpurc: #!/bin/rc echo '> starting timesync' if (! test -e '/dev/rtc')

[9fans] iwp9 2009

2009-06-26 Thread erik quanstrom
the iwp9 4e website is up at http://iwp9.quanstro.net/. the biggest difference from previous years is that we would like to include works-in-progress in the proceedings. these do not need to be lengthy or world changing, so i would expect that most attendees will submit one (or more?). a schedul

Re: [9fans] How to add another (local) fossil partition?

2009-06-26 Thread Yaroslav
Carefully read "File system configuration" in fossilcons(8) and "fossil/flfmt" in fossil(4). 2009/6/26 : > hello, > i want to format and add a free space on /dev/sdC0 for use with fossil. > i ended up with /dev/sdC0/plan9 and /dev/sdC0/plan9.1 partitions... > then i did: >   disk/prep –w –a fossi

Re: [9fans] synchronization of time, setting time

2009-06-26 Thread erik quanstrom
> 1) If I want to set the hardware (on-board) clock by hand, how can I? date -n>/dev/rtc > 2) If I want to synchronize the hardware time with a ntp server (once > / periodically), how can I? modify timesync. > 3) If I run the 'timesync -n [ntp server]' command, how is the > frequency of synchro

[9fans] How to add another (local) fossil partition?

2009-06-26 Thread cej
hello, i want to format and add a free space on /dev/sdC0 for use with fossil. i ended up with /dev/sdC0/plan9 and /dev/sdC0/plan9.1 partitions... then i did: disk/prep –w –a fossil /dev/sdC0/plan9.1 but now, i cant find any clue what to do next , in prep(8), or fossilcons(8) sorry for this stu

Re: [9fans] Sam commands in acme

2009-06-26 Thread hugo rivera
Yes, you are right. Now I understand it, I missed the / after \*, so I was thinking that the comma was inside the regexp. Thanks a lot :-) 2009/6/26 Rudolf Sykora : > 2009/6/26 hugo rivera : >> I tested the command you suggested (,x/\/\*/.,/\*\//) and it works as >> I wanted, thanks. But there's s

Re: [9fans] Sam commands in acme

2009-06-26 Thread Rudolf Sykora
2009/6/26 hugo rivera : > I tested the command you suggested (,x/\/\*/.,/\*\//) and it works as > I wanted, thanks. But there's something I still don't understand and > is the meaning of that comma in there. As far as I know, the comma is > a  mark that delimits the addresses that acme understands,

[9fans] synchronization of time, setting time

2009-06-26 Thread Rudolf Sykora
Hello everyone, 1) If I want to set the hardware (on-board) clock by hand, how can I? 2) If I want to synchronize the hardware time with a ntp server (once / periodically), how can I? 3) If I run the 'timesync -n [ntp server]' command, how is the frequency of synchronization determined? If I run i

Re: [9fans] Sam commands in acme

2009-06-26 Thread hugo rivera
I tested the command you suggested (,x/\/\*/.,/\*\//) and it works as I wanted, thanks. But there's something I still don't understand and is the meaning of that comma in there. As far as I know, the comma is a mark that delimits the addresses that acme understands, but I do not know how a comma i

Re: [9fans] Another acme question

2009-06-26 Thread hugo rivera
OK, thanks for the reply. 2009/6/26 roger peppe : > 2009/6/26 hugo rivera : >> Hello, >> I have another problem with acme. >> Lets say I want to check the spelling in all the comments in a c file, >> so I execute: >> Edit ,x/\/\*.*\*\// > spell (nevermind this doesn't work for more >> than one l

Re: [9fans] Another acme question

2009-06-26 Thread roger peppe
2009/6/26 hugo rivera : > Hello, > I have another problem with acme. > Lets say I want to check the spelling in all the comments in a c file, > so I execute: > Edit ,x/\/\*.*\*\// > spell   (nevermind this doesn't work for more > than one line comments) > and nothing happens. this seems to be a bu

Re: [9fans] Sam commands in acme

2009-06-26 Thread roger peppe
you need (.|\n) instead of . sam originally used @ as a "match everything" character but it was removed, presumably because it was rarely used. to match C comments, you need something like this: x/\/\*([^*]|\*[^\/]|[^*\/]|\n)*\*\// 2009/6/26 hugo rivera : > Hi, > I am trying to select all c com

Re: [9fans] Sam commands in acme

2009-06-26 Thread yy
2009/6/26 hugo rivera : > Hi, > I am trying to select all c comments from within a file using acme, > but I am unable to do it properly. The command x/\/\*.*\*\// is the > closest I could get, but it doesn't work with comments that span over > more than one line. This raises a question for me: some

[9fans] Another acme question

2009-06-26 Thread hugo rivera
Hello, I have another problem with acme. Lets say I want to check the spelling in all the comments in a c file, so I execute: Edit ,x/\/\*.*\*\// > spell (nevermind this doesn't work for more than one line comments) and nothing happens. This doesn't mean that my spelling is good, since I saw some

[9fans] Sam commands in acme

2009-06-26 Thread hugo rivera
Hi, I am trying to select all c comments from within a file using acme, but I am unable to do it properly. The command x/\/\*.*\*\// is the closest I could get, but it doesn't work with comments that span over more than one line. This raises a question for me: somewhere, I cannot recall where, I re