Re: [9fans] fossil/venti falling down?

2009-06-25 Thread erik quanstrom
> there's no question that a better strategy is to > use a 100% reliable underlying storage device. let me know when you find one. - erik

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] 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] 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

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

[9fans] IWP9 hotel information

2009-06-27 Thread erik quanstrom
i put a link to IWP9's group rate up http://iwp9.quanstro.net. the hotel has free parking and is in walking distance of all of downtown athens. - erik

Re: [9fans] How to set up network?

2009-06-29 Thread erik quanstrom
On Mon Jun 29 05:44:58 EDT 2009, kotzkro...@gmail.com wrote: > Alright, > I have now set up a cpu/auth/file server and can login with drawterm. > But I have not yet understood the concept of terminals in plan9 and > can't find any useful information on it. > Can somebody please explain to me what a

Re: [9fans] 9p on Yeeloong (gNewSense Linux)

2009-06-29 Thread erik quanstrom
On Mon Jun 29 04:52:00 EDT 2009, lu...@proxima.alt.za wrote: > > cat /proc/filesystems > > Returns > > nodev 9p > > but "mount -t 9p" returns "Protocol not supported". Is the problem > not within "mount"? i don't know if this helps, but this works for me: # mount -t 9p -o proto'=

Re: [9fans] when to use vac -q -d old.vac instead of simply vac -dold.vac

2009-06-29 Thread erik quanstrom
> On Mon, Jun 29, 2009 at 09:13:09AM +0800, Fernan Bolando wrote: > > Why is -q not a default? Is there a reliability concern with that option? > > It uses an astronomically large amount of memory, if nothing else. > Mirroring a little over 100MB of data from sources with vac -q occupies > roughly

Re: [9fans] Newbie can't get real hardware to boot

2009-06-29 Thread erik quanstrom
On Mon Jun 29 02:09:12 EDT 2009, iking@>>killthewabbit.org<< wrote: there's your problem. ☺ > As I said, I've RTFM'ed and it seems I'm not getting far enough along > in the process to use that info. The machines in question all > recognize the CDROM, provide a line that says "PBS1...", follo

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

2009-06-29 Thread erik quanstrom
> ty. That's what was in my cpurc, I don't know whether as a default or from > tinkering with it a few years ago. I didn't want to load ntp.org with > multiple requests from the same machine. running multiple timesyncs under the same kernel is an error and will result in unpredictable behavior.

Re: [9fans] Sam commands in acme

2009-06-29 Thread erik quanstrom
> unfortunately the overall line count almost always seems to trend > upwards regardless of the amount of code deleted. we are unwitting wack-a-mole players. - erik

Re: [9fans] 9p on Yeeloong (gNewSense Linux)

2009-06-29 Thread erik quanstrom
> You don't need quotes around the "="s, and a naked "sources" seems > like a recipe for failure. But don't think I'm not thrilled that it > seems to work! you do if the shell you are using is rc. admittedly, this would have looked better # mount -t 9p -o 'proto=tcp,name=root' 204.178.31

[9fans] ndb/tozone

2009-06-30 Thread erik quanstrom
i need to push my zones to a site that accepts only bind zones. for some strange reason i thought it would be easier write a program to do the conversion from ndb file than to keep doing it by hand. i was wrong. but for very interesting reasons. it's interesting to note that a.b.example.com and

Re: [9fans] Guide to using Acme effectively?

2009-07-01 Thread erik quanstrom
> some of the tasks I often wish to do with the efficient Acme approach? I'm > missing small things, like how to select and move all the text in one > window to another in a fast manner, there are a couple of options "Edit ," will select all the text in a window. but "|cat $file" will replace th

Re: [9fans] Guide to using Acme effectively?

2009-07-01 Thread erik quanstrom
> I spend relatively little of my time actually typing > or moving the cursor, etc. The majority of my time > is spent thinking, so I'm much more interested in > what distracts me less and what causes the least > irritation. And I do find moving my hand back and > forth between the keyboard and m

Re: [9fans] Guide to using Acme effectively?

2009-07-01 Thread erik quanstrom
On Wed Jul 1 16:29:23 EDT 2009, noah.ev...@gmail.com wrote: > It's not how you say something, it's what you say. you must be a bachelor. ☺ - erik

Re: [9fans] Guide to using Acme effectively?

2009-07-01 Thread erik quanstrom
> wily is a unix port of just acme which rarely gets updated. wily is a reimplementation of acme from the papers; wily is to acme as byron's rc is to rc. - erik

Re: [9fans] Guide to using Acme effectively?

2009-07-01 Thread erik quanstrom
> Umm, Plan 9 relevance: I don't have to fingertwist in Plan 9! Actually > I can't remember using Esc anywhere, esc selects typing since last non-typing repositing of the tick or deletes selected text in acme. esc toggles hold mode in a 9term window. - erik

Re: [9fans] Guide to using Acme effectively?

2009-07-01 Thread erik quanstrom
> it wasn't just time, but included other aspects such as accuracy. > ``but i want to be slow AND, overall, inaccurate!'' we have folks like that around here. they work for the county. - erik

[9fans] ahci drive not recognized?

2009-07-03 Thread erik quanstrom
i found a case yesterday where an ahci drive would not be recognized because it had gone into an intermediate power saving mode before we could talk to it. i hadn't seen this power-saving mode before. hotplugging the same drive worked just fine. is anyone else seeing this problem? (you can veri

[9fans] ndb/requery

2009-07-03 Thread erik quanstrom
i had a use for listing ip addresses by domain the other day. grep and awk were making a few mistakes so i decided to bring out the big guns. then ndb/requery dom 'example.com$' ip did what i wanted. contrib/pull quanstro/ndbrequery. - erik NDBREQUERY(8)

[9fans] iwp9 clarifications

2009-07-03 Thread erik quanstrom
a few clarifications based on comments i've received 0. anyone is welcome to attend. 1. the conference is wed 21 oct 2009 - fri 23 oct 2009. wed will not be a full day. the previous dates were off-by-one. 2. the works in progress, if accepted, will be published in the proceedings. - erik

Re: [9fans] dial and buffer overflow

2009-07-04 Thread erik quanstrom
On Sat Jul 4 11:45:50 EDT 2009, lejat...@gmail.com wrote: > Hello all, > > I have this piece of code that looks like this: > > for (int i=0; i<5 ; i++){ > for (int j=0; j print("%.2ux", (tor->sha1list)[i][j]); > print("\n"); [...] > which g

Re: [9fans] dial and buffer overflow

2009-07-04 Thread erik quanstrom
On Sat Jul 4 18:12:16 EDT 2009, lejat...@gmail.com wrote: > Thanks for the answer Erik. > > [...] > > the extra () around tor->sha1list are confusing. > > Noted, thanks, they're gone. I suck at remembering operators precedence > so I usually add a few parentheses to be on the safe side. i think

Re: [9fans] my ts7200 port

2009-07-06 Thread erik quanstrom
On Mon Jul 6 19:41:36 EDT 2009, jrm8...@gmail.com wrote: > On Mon, Jul 6, 2009 at 7:37 PM, ron minnich wrote: > > I just ported the linux driver > > I'm interested in how hard this is, and how it might be made easier. that depends. i've found that porting a driver or working backwards from an e

Re: [9fans] my ts7200 port

2009-07-06 Thread erik quanstrom
> Thank you for the Beagleboard information. I have a need for driving > a small vga lcd with a low-power arm board. The intent is to replace > my ailing terminal, a thinkpad 600e. I had previously assumed the > latest Gumstix board would serve this purpose, I believe which is more > expensive.

Re: [9fans] my ts7200 port

2009-07-06 Thread erik quanstrom
> I'm curious When I first heard about the BeagleBoard a couple of > years ago, my first thought was, "terminal." However, then I heard > that there was no builtin ethernet and one had to use a USB<->Ethernet > bridge. This seemed unsatisfactory to me, but was in keeping with the > spirit of

Re: [9fans] Ken FS: Ethernet Cards

2009-07-06 Thread erik quanstrom
> Which Ethernet Cards function with Ken FS? > I have only a few options, but I see a passing > mention of one of them: > > fs/pc/etherdp83820.c:1089: /* case (0x1032<<16)|0x1737: /* > linksys eg1032 */ > > But, as can be seen, it's commented out. > Has anyone tried Ken FS with thi

Re: [9fans] my ts7200 port

2009-07-07 Thread erik quanstrom
> > What about emulating a usb-ethernet device in software? (Assuming the > > beagle board's usb interface can operate in gadget mode as opposed to host > > mode.) The Linux kernel does a good job of emulating a usb ethernet device, > > I use it extensively. I rather assumed the Bitsy port had t

Re: [9fans] Google finally announces their lightweight OS

2009-07-08 Thread erik quanstrom
> It says "linux kernel" with no mention of multi-gigabyes of linux > libraries and commands. The optimistic interpretation is that they've > rediscovered Ron's idea of borrowing a linux kernel as a minimal (sic) > device driver layer to put a sensible OS on top of, and throwing > everything else

Re: [9fans] troff and ps related

2009-07-08 Thread erik quanstrom
> can anybody tell me why whatever .ps about troff/eqn I print has > misplaced lines? > E.g. quite generally, lines that make up tables either don't touch, or > stick out somewhere... does it look bad with proof? if so, this is generally because of font problems. i cribbed this from someone and

Re: [9fans] Google finally announces their lightweight OS

2009-07-08 Thread erik quanstrom
> > But if it is just for a terminal, there is a lot of drivers you don't > > need. (Well, the video card is generally not the easier to correctly > > drive...) > > Exactly. And wi-fi. And ethernet if it's a cheap broadcom chip. > And sound if it's not usb. And bluetooth so you can use your pho

Re: [9fans] Google finally announces their lightweight OS

2009-07-08 Thread erik quanstrom
you say > I think, Google did not choose Plan 9 due lack of device drivers, poor > IPv6 support and confusing redundant fragment of code lurking around in > /sys/boot or 9load, but a compared with Linux a compact, clean and > much more efficient FreeBSD could definitely have been a better choice

Re: [9fans] Google finally announces their lightweight OS

2009-07-08 Thread erik quanstrom
> But don't underestimate the value of the interesting ideas in the > linux kernel that get the performance, e.g. RCU. I don't think there > are any OSes that have scaled to 4096 CPUs at this point besides > Linux. i thought that massively parallel harvard-arch machines had generally fallen out of

Re: [9fans] Google finally announces their lightweight OS

2009-07-08 Thread erik quanstrom
> I'd love to do this, but I don't think anybody's going to > match my salary to port drivers, do ACPI, add amd64 support for > workstations, etc. i told myself this for years. it turns out to be a mistaken idea. now that i know, i regret the years i spent doing other things. - erik

Re: [9fans] Google finally announces their lightweight OS

2009-07-08 Thread erik quanstrom
> 2009/7/8 erik quanstrom : > >> I'd love to do this, but I don't think anybody's going to > >> match my salary to port drivers, do ACPI, add amd64 support for > >> workstations, etc. > > > > i told myself this for years.  it turns out

Re: [9fans] Fonts

2009-07-08 Thread erik quanstrom
> Fontforge is the way I know about, also, and will give you a process > something like drawing your font, or even modifying one of the handful > of 'open-source' fonts, like Inconsolata. There is a ttf2subf program > (http://mirtchovski.com/p9/freetype/) that will, I think, convert the > Fontforg

Re: [9fans] Fonts

2009-07-08 Thread erik quanstrom
> Speaking of that, is there a way to do the reverse, to get plan 9 > Bigelow fonts that Linux can use? I'm sick of my browser not knowing > that the character left of the 1 on my keyboard is an open-quote. maybe this is your problem: ; unicode '`' 0060 ; look 0060 /lib/unicode 0060grave

Re: [9fans] Fonts

2009-07-08 Thread erik quanstrom
> > The enlightened use ' and " for all kinds of single and double quotes, > > because you can copy/paste them anywhere and everybody sees them > > properly. Also, few things in the world look worse than seeing a quote > > done ``like this'' in a monospace font. > > > > Pff, I'm not a heather, I'm

Re: [9fans] Fonts

2009-07-08 Thread erik quanstrom
> Yes, but with all the work in Acme and Sam, I've become quite > accustomed to having ` look nice. It just makes the browser look out > of place. It's not just the tick either, I'd like the browser font to > generally look the same. that's hard. i haven't found one yet that looks good in both a

Re: [9fans] Fonts

2009-07-08 Thread erik quanstrom
> Which vera font? I just looked up http://google.gr/ in Firefox & pasted the > text into a terminal using Bitstream Vera Sans Mono & don't see any missing > letters. Nor do I if I set the font to Bitstream Vera Sans or Serif, or > Bitstream Charter i don't recall. the date on the original con

Re: [9fans] Google finally announces their lightweight OS

2009-07-08 Thread erik quanstrom
> > I expect to see code immediately, by the way, finished or not, and you > > better be > > around to answer my questions. > > You have something here: these are central software-development tenets > of agile/scrum/xp/lean/kanban du jour, and help the open-source > community work. Essentially,

Re: [9fans] Google finally announces their lightweight OS

2009-07-09 Thread erik quanstrom
> Why would it take a book? DMR made the point succinctly in his > critique of Knuth's literate program, showing how a few command-line > utilities do the work of the Don's elaborately constructed tries. because, evidently, one book was not enough. - erik

Re: [9fans] Google finally announces their lightweight OS

2009-07-09 Thread erik quanstrom
> For the task to be done "print the k most common words in a file", the > Unix approach and the Unix tools give everything to create a "program" > far more rapidly than the from scratch approach adopted by D. Knuth. But > because the tools exist (are already written... but in what language? > Easi

Re: [9fans] Google finally announces their lightweight OS

2009-07-09 Thread erik quanstrom
> structure, on extremely clever constructions (on the BWK gibe that I > won't be smart enough to debug it later), and to describe how the code > segment interacts with others and maps to the problem domain. it's also interesting to notice that long comments are often associated with bugs. - erik

Re: [9fans] data analysis on plan9

2009-07-09 Thread erik quanstrom
> http://plan9.bell-labs.com/wiki/plan9/Contrib_index/ the parsing seems a bit odd, at least for my contrib stuff. contrib/list from contrib(1) does a better job of listing contrib packages. - erik

Re: [9fans] Google finally announces their lightweight OS

2009-07-10 Thread erik quanstrom
> there has also been a lot of discussion in the past 1-2 months about > K, a successor to APL, in #plan9. you might ask there; i may have > missed a more recent development. could someone please explain to the ignorant, what is interesting about apl? the last surge of interest i recall in the la

Re: [9fans] Keyboard and Mouse

2009-07-10 Thread erik quanstrom
> This problem is well known, and seems to be > caused by HyperThreading on some CPU. > > Try to add the following line to "plan9.ini": > *nomp=1 > > It will solve this problem. hyperthreading? that doesn't sound right. do you mean a bad mp interrupt table? - erik

Re: [9fans] Keyboard and Mouse

2009-07-10 Thread erik quanstrom
> > This problem is well known, and seems to be > > caused by HyperThreading on some CPU. > > > > Try to add the following line to "plan9.ini": > > *nomp=1 > > > > It will solve this problem. > > hyperthreading? that doesn't sound right. > > do you mean a bad mp interrupt table? you can avoid

[9fans] standard kernel e820 scan

2009-07-10 Thread erik quanstrom
does anyone know why the e820 scan in memory.c marks memory that does not appear in the map as available? i would think it would be safer to mark it as unavailable. but perhaps i just haven't found the right documents? - erik

Re: [9fans] C compiler question

2009-07-12 Thread erik quanstrom
> 8c silently accept the above definition and sizeof(U) is 100. ??? > The sources which include the definition of "NeverDefined" are > regularly compiled too and sizeof(U) = 100 + sizeof(NeverDefined). > i think the issue is that there isn't currently a distinction between this typedef

[9fans] what does #pragma fpround do?

2009-07-12 Thread erik quanstrom
reading 8c (the only compiler that appears to implement this pragma), the difference appears to be in the conversion of (double, float) -> any type of integer. however, #include #include void main(void) { double d; d = 1.

Re: [9fans] what does #pragma fpround do?

2009-07-12 Thread erik quanstrom
> > generates the same output and same assembly > > for both casts.  can anyone explain what this pragma > > is supposed to do? > > it changes the rounding mode from the standard > truncate to integer (expensive on a 387) to > round to nearest (incorrect but cheap). sure enough. here's timings i

[9fans] ide fix?

2009-07-12 Thread erik quanstrom
after a week of fighting with an atom with ich7r sata in ide mode, i finally found the secret sauce that keeps it from "hanging." i pushed out a changed quanstro/9load-e820 and quanstro/sd which boot on my atom machine in ide mode without causing interrupt storms. other changes were included work

Re: [9fans] Plan9 as an everyday OS

2009-07-13 Thread erik quanstrom
> ac97 works fine for me, on 3 different machines. > just to say it here. i put this driver to my contrib, > but aki is the author! is just added some lines of code. > > but there seem to be a bug, when used with juke(7). > i get ton's of these messages when i play the first > song > > qlock: 0xf

Re: [9fans] ide fix?

2009-07-13 Thread erik quanstrom
> This sounds promising for that ICH laptop with the 320G drive that > magically doesn't work (though the 120GB one that was in it was fine). > How do I get this on a disc to try it out? what was the symptom again? - erik

Re: [9fans] ide fix?

2009-07-13 Thread erik quanstrom
> This sounds promising for that ICH laptop with the 320G drive that > magically doesn't work (though the 120GB one that was in it was fine). > How do I get this on a disc to try it out? can you pxe? - erik

Re: [9fans] Time for a new, yet not bleeding edge plan 9 box... (recommendations for a small x86, inexpensive PC)

2009-07-13 Thread erik quanstrom
On Mon Jul 13 11:48:01 EDT 2009, rminn...@gmail.com wrote: > http://www.mini-itx.com/store/?c=49#power-bundle > > DESCRIPTION PRICE QTY TOTAL > Bundle: Intel DG45FC, Jou Jye 528i Case, 2GB RAM, 2.5in HDD Tray > £175.00 £175.00 > Intel E1400 Celeron Dual Co

Re: [9fans] v9fs question

2009-07-13 Thread erik quanstrom
> It would be nice to fix up mounts so that you didn't need to be root > and all that crap, and then make it the default, but I doubt Linus > would let it fly. I get the feeling that private namespaces are viewed > like chroots: a security feature no one but pros needs. Unfortunately > not many lin

Re: [9fans] v9fs question

2009-07-13 Thread erik quanstrom
> > (then again, i have a feeling the same could be said of > > plan 9.) > > Of course, everything has cruft. But Plan 9 is decent to imitate since > it is less crufty. not only is plan 9 cleaner, it's core ideas are all high quality, and one can understand it. so when it comes time to add one's

Re: [9fans] v9fs question

2009-07-13 Thread erik quanstrom
On Mon Jul 13 20:43:21 EDT 2009, news...@lava.net wrote: > > Could we solve this by making private mounts the default (or only > > allowed) behavior? > > I've wondered if there's enough context information > that the fs driver could "fake" per-process mount points > directly. For example, I mount

Re: [9fans] Guide to using Acme effectively? too many spaces

2009-07-13 Thread erik quanstrom
> I usually get in a situation like the one below, when I forget to > format my file with carriage return in acme. It doesn't happen that > often, but I was wondering if anybody has some method in there usage > of acme to avoid it completely. it's tempting to claim the solution is to not use vi.

Re: [9fans] ugliness in vesa

2009-07-13 Thread erik quanstrom
On Mon Jul 13 19:58:54 EDT 2009, j...@csplan9.rit.edu wrote: > So, I finally got tired of slow desktop switching with the nvidia > driver and thought I'd give vesa another shot. i have had trouble with vesa cursor in 1600x1200. generally when i have trouble, the cursor won't move at all. one pro

Re: [9fans] C compiler question

2009-07-13 Thread erik quanstrom
> Yes, but in my example - sorry - "NeverDefined" doesn't mean "declared and > defined elsewhere (or not)" but "not declared .and. not defined". true enough. the patch i sent still rejects your construct. i'd still be interested to hear a perspective of someone with more experience with the c com

Re: [9fans] ugliness in vesa

2009-07-14 Thread erik quanstrom
> I didn't seem to see any improvement after applying the mtrr patch... > did you make any changes to the vganvidia file before compiling? I > haven't looked at the 'pat' thing, I'll have to check that out. > for the pat business, i did: /n/sources/plan9//sys/src/9/pc/vganvidia.c:371,377 - vganv

Re: [9fans] aux/sshserve

2009-07-14 Thread erik quanstrom
> IIRC plan 9 ssh is well out of date, only working with the relatively > insecure version 1 of the ssh protocol. There is openssh in contrib. which is half the story. the other half is that the openssh port is bigger than gs and breaks too often. this would be okay, but the code is large and d

Re: [9fans] which model of SATA II HD?

2009-07-14 Thread erik quanstrom
On Tue Jul 14 07:12:51 EDT 2009, c...@gli.cas.cz wrote: > > Does anyone have a SATA II 1TB (or more) hard drive working under Plan 9? I > am about to buy one, and it would be nice to know that the model was tested. i've used 1tb sata drives with sdiahci, sdmv50xx and sdorion. they work fine. as

Re: [9fans] Plan9 as an everyday OS

2009-07-14 Thread erik quanstrom
On Tue Jul 14 02:41:02 EDT 2009, sqw...@gmail.com wrote: > I suspect the main inhibitor there is that (as I recall) it stomps > all over the existing soundblaster code. These days AC97 is probably > more desirable, but it would be nice to have them coexist. that's going to require thinking out ho

Re: [9fans] v9fs question

2009-07-14 Thread erik quanstrom
> Main annoyance is the lack of a proper srv device in Linux to > facilitate sharing already open connections. This is t a problem for > per-user mounts --- but is a problem for private namespaces. You can > use p9p srv as mentioned elsewhere in this thread, but then you incur > some addi

Re: [9fans] v9fs question

2009-07-14 Thread erik quanstrom
> Is something not working? authentication? or doesn't that count? - erik

Re: [9fans] C compiler question

2009-07-14 Thread erik quanstrom
> The point is how to compute the offset(s) of the last field at compile / > run time. the offset of the last field is not in question. i believe you mean the size? > 8c should reject not defined (named only) types, as *nix compilers do. yes. > > I prefer to have only the tricky but standard

Re: [9fans] v9fs question

2009-07-14 Thread erik quanstrom
> I thought at one point in time we had something in there that > bypassed tversion/tauth and that's how the amount stuff worked. But I > don't see that code anymore, is that what got squashed with the new > auth= stuff? has anyone written anything to deal with an exportfs connection on linux?

Re: [9fans] v9fs question

2009-07-14 Thread erik quanstrom
> > has anyone written anything to deal with an > > exportfs connection on linux? > > > > I'm confused about what you are asking. if i have two plan 9 machines, i can import butts /mnt/consoles /n/consoles however, since import and exportfs run a special protocol in front of 9p, i don't t

Re: [9fans] ugliness in vesa

2009-07-14 Thread erik quanstrom
> I believe I properly applied the pat patch, but I'm not really seeing > any improvement. At least, it still takes fully two seconds to bring > one large window in front of another. that's because the screen is not double-buffered. pat or mtrr do not improve reads from video memory. there is no

Re: [9fans] v9fs question

2009-07-14 Thread erik quanstrom
> > if i have two plan 9 machines, i can > >        import butts /mnt/consoles /n/consoles > > however, since import and exportfs run a special > > protocol in front of 9p, i don't think it's possible > > to do the same thing from a linux host. > > > > Yeah, I don't think anyone is currently doing

Re: [9fans] C compiler question

2009-07-14 Thread erik quanstrom
> erik quanstrom wrote: > >> The point is how to compute the offset(s) of the last field at compile / > >> run time. > >> > > > > the offset of the last field is not in question. i believe you mean the > > size? > > > It

Re: [9fans] ugliness in vesa

2009-07-14 Thread erik quanstrom
> As I'm reading it, the change to vganvidia.c you posted above > (re-pasted below) does pat stuff. Am I confused? I don't think pat and > mtrr are the same thing... they're not. mtrr operates at the physical address level and it's just a bunch of registers that control caching of a (limited set

Re: [9fans] C compiler question

2009-07-14 Thread erik quanstrom
> rejecting the struct seems like the right thing to do as per > ISO/IEC 9899:1999 (http://www.open-std.org/JTC1/SC22/wg14/www/docs/n1124.pdf) > sec. 6.7.2.1 para. 2 > > "A structure or union shall not contain a member with incomplete or function > type (hence, > a structure shall not contain an

Re: [9fans] C compiler question

2009-07-14 Thread erik quanstrom
> For the dirty corner of any language one is usually better off with > a written formal standard. Now, since Plan9 doesn't have such a > document, relying on a work done by c99 committee would seem like > a wise thing to do. > > And it is not like we are talking about C++ ISO standard here, the

Re: [9fans] C compiler question

2009-07-15 Thread erik quanstrom
> Newbie question: Does this statement apply to any struct S (meaning you can > never have a struct as member of another struct), or does it only apply in > cases where the structure of S is not known at that point? the latter. - erik

Re: [9fans] naive acid debugging

2009-07-15 Thread erik quanstrom
> While understanding how refs work inside nupas, i decided to try to implement > the same function nupas has to find mailbox references in acid langauge, so i > did: > > defn findmboxrefs(mb,fids) { > local f, refs; > f=fids; > while f!=0 do { > print("f=", f\X,"

Re: [9fans] Why does Acme only show text?

2009-07-15 Thread erik quanstrom
> It's > a lot easier to see (and not have in the first place) incorrect scope > and continuation with whitespace than with braces or parentheses. do you have a reference for this claim? - erik

Re: [9fans] Why does Acme only show text?

2009-07-15 Thread erik quanstrom
> I find the best thing to do with languages with delimeters is to run code > through a code formatter often. I'm using Gnu indent for C code (especially > valuable when dealing with Gnu C :) ), is there a similar tool for Plan 9? i find that formatting code well to begin with works best. but wh

Re: [9fans] The Joy of Secstore

2009-07-16 Thread erik quanstrom
> Hi, > > when I've got secstored running on the cpu/auth, drawterm asks me for my > secstore password and then factotum does as well. > > Am I missing something that reduces it to once ? i've changed my lib/profile for the cpu case to look like this. it may be on the very first drawterm i fire

[9fans] intel gma 950 graphics

2009-07-16 Thread erik quanstrom
to be precise, this is not 950 graphics: 0.2.0: vid 03.00.00 8086/2772 10 0:fe98 524288 1:cc01 16 2:e008 268435456 3:fe94 262144 Intel Corporation 82945G/GZ Integrated Graphics Device the intel atom machine i've been working with keeps doing things i'm very happy with!

Re: [9fans] btfs, a BitTorrent client (attempt)

2009-07-16 Thread erik quanstrom
> So as a first approach I was thinking of having simply one thread for > each connection with a peer. And maybe one group of threads (in one > process) would be responsible for getting the pieces, while another > one (in another process) would be responsbile for sending the pieces > we have. How

Re: [9fans] intel gma 950 graphics

2009-07-16 Thread erik quanstrom
On Thu Jul 16 14:41:24 EDT 2009, cro...@gmail.com wrote: > On Thu, Jul 16, 2009 at 1:54 PM, erik quanstrom wrote: > > to be precise, this is not 950 graphics: > > > > 0.2.0:  vid  03.00.00 8086/2772  10 0:fe98 524288 1:cc01 16 > > 2:e008 268435456 3:fe940

Re: [9fans] multiport serial

2009-07-16 Thread erik quanstrom
On Thu Jul 16 15:24:59 EDT 2009, a.vera...@tecmav.com wrote: > Hi, all > > Does anyone know what kind of multiport serial cards is currently > well supported by Plan9 ? i have both of the startport models listed, and run the perle ultraport16s at coraid. here's a list from /sys/src/9/pc/uart*.c

Re: [9fans] git on plan9

2009-07-16 Thread erik quanstrom
On Thu Jul 16 17:19:52 EDT 2009, bich...@gmail.com wrote: > you have to rebuild ape, and then python. it should work after that. > why? - erik

Re: [9fans] multiport serial

2009-07-16 Thread erik quanstrom
On Thu Jul 16 17:33:06 EDT 2009, a.vera...@tecmav.com wrote: > Thank you very much, erik. > > Does Plan9 manage PC104 (ISA) cards ? > > From man plan9.ini > > I know they are obsolete but I'm trying to port an > automation system under Plan9 and must deal with > strict hardware constraints. i

Re: [9fans] git on plan9

2009-07-16 Thread erik quanstrom
On Thu Jul 16 17:33:14 EDT 2009, bich...@gmail.com wrote: > python's posix module uses ape. > > On Thu, Jul 16, 2009 at 6:20 PM, erik quanstrom wrote: > > On Thu Jul 16 17:19:52 EDT 2009, bich...@gmail.com wrote: > >> you have to rebuild ape, and then pyth

Re: [9fans] Help needed - Boot Failure...

2009-07-17 Thread erik quanstrom
> Video: ATI Rage XL > Ethernet: (2) Intel Pro/100 ports > CDROM as master on secondary > Dual Pentium III 933MHz, 1GB ECC RAM > PS/2 Keyboard and Mouse (3 button Logitech) nice mouse. > ATA and SCSI HDD > > Upon booting the "live CD", I got the following: > > PBS1... > Plan 9 from Bell Labs >

[9fans] lftp patch for plan9

2009-07-17 Thread erik quanstrom
ryan thomas built an lftp patch for plan 9 to ease moving files to the plan 9 system at coraid. the patch implements netkey. http://www.mail-archive.com/lftp-de...@uniyar.ac.ru/msg01677.html - erik

Re: [9fans] channels across machines

2009-07-18 Thread erik quanstrom
On Sat Jul 18 03:46:01 EDT 2009, bakul+pl...@bitblocks.com wrote: > Has anyone extended the idea of channels where the > sender/receiver are on different machines (or at least in > different processes)? A netcat equivalent for channels! i think the general idea is that if you want to do this betw

Re: [9fans] channels across machines

2009-07-18 Thread erik quanstrom
> inferno's file2chan is local too, just giving a simple interface to > handling plain reads & writes on a file. unless i've been using it > wrong. i assume that import and srv could be used to export a fd? - erik

Re: [9fans] Question about Plan9 project

2009-07-18 Thread erik quanstrom
> As a professional user I think that Plan9 could be better than *nix for a > large class of industrial - not time critical - applications but in > Italy nobody use it, except of no more than a dozen of fans. The University > doesn't > know it at all. Of course, this is what I see. I would be h

Re: [9fans] channels across machines

2009-07-18 Thread erik quanstrom
> On Sat, Jul 18, 2009 at 4:38 AM, Akshat > Kumar wrote: > > The idea seems inviting at first, but have you > > given a thought to using plumber(4) for > > "interprocess messaging" (which is what you > > want, from what I understand)? This seems > > more appropriate for communication amongst > > pr

Re: [9fans] About Plan9 on small systems

2009-07-18 Thread erik quanstrom
On Sat Jul 18 19:24:31 EDT 2009, ano...@gmail.com wrote: > inferno's got lighter requirements in some ways, but has > the same class of CPU requirements (more or less). if you > have something lighter than that in mind, you might not get > plan 9 but the ideas could still be useful. ask google abou

Re: [9fans] i/o on a hangup channel asymmetry

2009-07-18 Thread erik quanstrom
On Sat Jul 18 14:41:02 EDT 2009, r...@sun.com wrote: > In the "mom, why sky is blue" department, here's a silly question: > is there any good reason that read(2) on a hangup channel returns > an error, while write(2) on a hangup channel terminates an application > (by generating a note, of course,

<    1   2   3   4   5   6   7   8   9   10   >