Re: [9fans] Intel atom system
> Without me having to try a zillion different kernel/bootloader > combinations, would the people who use the D510MO sound off what > kernel/loader they are using? I'd be much obliged. I am using Erik's 9atom on my D510MO without troubles. Content of kmesg: Plan 9 E820: 0008f000 memory E820: 0009 0009ec00 memory E820: 0010 7eebd000 memory E820: 7eebf000 7ef41000 memory E820: 7efbf000 7eff1000 memory E820: 7efff000 7f00 memory meminit - lost 4096 bytes 126 holes free 00018000 0009e000 548864 00454000 06d47000 110047232 110596096 bytes free cpu0: 1661MHz GenuineIntel Atom (cpuid: AX 0x106CA DX 0xBFEBFBFF) pat: 0107040600070406 ELCR: 0E00 pcirouting: ignoring south bridge PCI.0.31.0 8086/27BC nomp LAPIC: fee0 e000 64 0 oui 0x732 phyno 1, macv = 0x2800 phyv = 0x0002 #l0: rtl8169: 100Mbps port 0x1000 irq 11 tu 1514: 00270e03ef27 sdata: blind probe 1f0 sdata: blind probe 170 2031M memory: 109M kernel data, 1922M user, 2547M swap root is from (tcp, il, local)[local!#S/sdC0/fossil]: set sdC0 dma time... venti...2011/0829 19:35:06 venti: conf.../boot/venti: mem -1 bcmem 0 icmem 0...httpd tcp!127.1!8000...init...icache 0 bytes = 1,000 entries; 4 scache sync...2011/0829 19:35:09 arenas00: indexing 87 clumps... announce tcp!127.1!17034...serving. fossil(#S/sdC0/fossil)...fsys: dialing venti at tcp!127.1!17034 version...time... i8042: fe returned to the f5 command init: starting /bin/rc Content of 9fat: --rw-rw-rw- M 194 bill trog 0 May 19 2010 /n/9fat/4e alrw-rw-rw- M 194 bill trog 243192 May 19 2010 /n/9fat/9LOAD --rw-rw-rw- M 194 bill trog 3323188 Jun 14 2010 /n/9fat/9pccpuf --rw-rw-rw- M 194 bill trog 3286720 May 19 2010 /n/9fat/9pcf --rw-rw-rw- M 194 bill trog 411 Jul 6 2010 /n/9fat/plan9.ini Could it help? Pavel
[9fans] c code differencing
Anyone have any pointers to a diff for C code. I have two libraries, A and B. B is and expanded and modified version of A and I have been asked to extract A from B to build two libraries one built on top of the other. What I think I need is a program which parses C and will do diffs at the level of functions, globals , #defines and enums. it would ideally have two input files and generate two outputs one output being the common code, one with the extensions on the common. I don't expect this to be fully automated, there is going to be a load of hand edition before I am done, but is there somthing which can do the easy stuff for me? -Steve
Re: [9fans] c code differencing
On Wed, 31 Aug 2011 14:01:34 +0100, Steve Simon wrote: Anyone have any pointers to a diff for C code. I have two libraries, A and B. B is and expanded and modified version of A and I have been asked to extract A from B to build two libraries one built on top of the other. What I think I need is a program which parses C and will do diffs at the level of functions, globals , #defines and enums. it would ideally have two input files and generate two outputs one output being the common code, one with the extensions on the common. I don't expect this to be fully automated, there is going to be a load of hand edition before I am done, but is there somthing which can do the easy stuff for me? -Steve Why don't use a C preprocessor to do that? You can have one file with ifdefs, and print the two files using an argument Example: #ifdef LIBA #include #else #include #endif and run "cpp -DLIBA ..." and "cpp -ULIBA ..." or "cpp ..." -- ||// //\\// Rodolfo "kix" Garcia ||\\// //\\ http://www.kix.es/
Re: [9fans] mail client; general question web vs command
To use the plan9port version of upas/smtp with authenticated connections, you need a couple of fixes which I've just submitted. 'hg pull -u' will get them. The plan9port upas/smtp also does not support tls, which is required by gmail. The workaround is to run smtp inside a tls tunnel, as shown below. Note that you can't use 'localhost' to address the near end of the tunnel because smtp doesn't like forwarding to 127.0.0.1. bash-3.1$ hostname epia bash-3.1$ cat msg Subject: test hello bash-3.1$ 9p read factotum/ctl key proto=pass role=client server=epia service=smtp user=exam...@gmail.com !password? bash-3.1$ sudo /usr/sbin/stunnel3 -c -d 12345 -r smtp.gmail.com:465 bash-3.1$ $PLAN9/bin/upas/smtp -ai 'tcp!epia!12345' 9f...@hamnavoe.com x...@example.com