Re: [9fans] GSoC '14

2014-01-26 Thread Tristan
/ grumpy.pdf grumpy.pdf djb/ crypto/ salsafamily.pdf math/ grumpy.pdf salsafamily.pdf grumpy.pdf just to throw it out there. tristan -- All original matter is hereby placed immediately under the public domain.

Re: [9fans] 9Front network (driver?) issue

2013-12-23 Thread Tristan
. maybe it can make it into 9atom or contrib? thanks! tristan -- All original matter is hereby placed immediately under the public domain.

Re: [9fans] rc and spaces in file names

2013-12-20 Thread Tristan
newline in the ifs variable and it works: term% ifs=' ' for(i in Plan*){cp $i `{echo $i | sed 's/lan/LAN/'}} term% ls P* 'PLAN 9' 'PLAN B' 'Plan 9' 'Plan B' With p9p is the same. I'll appreciate If anyone can tell me why. rc doesn't do backslash escapes. tristan -- All original matter

Re: [9fans] mk time-check/slice issue

2013-12-19 Thread Tristan
of changes? i once changed mk on my local machine to act as you suggest, and then took far too long trying to figure out why the program's behavior didn't reflect the code. more time than i saved from waiting on mk? who knows? theoretical incorrectness has a way of becoming practical... tristan -- All

Re: [9fans] mk time-check/slice issue

2013-12-19 Thread Tristan
middle click Put change more stuff middle click mk middle click Put (within the same second of a file's compile) middle click mk (don't notice that the file wasn't recompiled) tristan -- All original matter is hereby placed immediately under the public domain.

Re: [9fans] 9front vs. 9atom

2013-12-15 Thread Tristan
Quoting Kurt... Is one better maintained than the other? Yes. 9atom. Does one have better hardware support than the other? Yes. 9front. khm tristan -- All original matter is hereby placed immediately under the public domain.

Re: [9fans] Ideas from Plan-9

2013-12-15 Thread Tristan
it for their own use. given the state of other systems that probably doesn't appear possible. that's probably the most important idea that i've taken from plan 9. software can be sane. and then there's chuck moore. tristan -- All original matter is hereby placed immediately under the public domain.

Re: [9fans] USB wifi

2013-12-12 Thread Tristan
There is no usb wifi suppotrt in plan9 (unless you know different). i'm fairly sure i have a working-but-not-finished driver for the marvell liberatas (olpc, and a few external devices, only 802.11g) in my contrib. no encryption or anything fancy but enough to load plan9 over it. tristan

Re: [9fans] Octets regexp

2013-05-03 Thread Tristan
U0080-U00ff, so you can use the standard regexps and tools on them. and just convert back afterwards. maybe it's not meant to be used that way, but it _works_. try it. have fun! tristan -- All original matter is hereby placed immediately under the public domain.

Re: [9fans] Octets regexp

2013-05-02 Thread Tristan
putting a little more thought into your actual problem, use tcs: tcs -f 8859-1 which (as i remember) will map 0x80-ff to U0080-00ff and you can use normal utf8 regular expressions. tristan -- All original matter is hereby placed immediately under the public domain.

Re: [9fans] OED2 index?

2013-01-15 Thread Tristan
/src/cmd/dict/dict.c for the sort arguments, and my memory is that mkindex puts the fields in reverse order too. Tristan -- All original matter is hereby placed immediately under the public domain.

Re: [9fans] usbether

2012-09-30 Thread Tristan
! Tristan -- All original matter is hereby placed immediately under the public domain.

Re: [9fans] the `Look' command in Acme

2012-05-17 Thread Tristan
it. tristan -- All original matter is hereby placed immediately under the public domain.

Re: [9fans] I will buy laptop pre-installed with plan9!!!

2012-05-09 Thread Tristan
I will buy laptop pre-installed with plan9, can my dream come true? I'm trying to make it. Though more a programmer's tablet than a laptop. Take care, Tristan

Re: [9fans] how up to date are the PDF doc files onplan9.bell-labs.com?

2012-05-03 Thread Tristan
to have a prototype together for iwp9 that will include an epaper display of some sort (E Ink is not very responsive). enjoy, tristan -- All original matter is hereby placed immediately under the public domain.

Re: [9fans] nice terminal...

2012-04-22 Thread Tristan
So, a month has gone by and a slice of raspberry pi is looking more and more tempting these days, especially since official delivery seems to have happened last week. Has anyone yet chanced an introduction of one to plan9? I would guess the initial booting would be the biggest hurdle. Not to

Re: [9fans] nix at lsub

2012-04-17 Thread Tristan
(3) plan9 or nix or 9front, traditional style of OS developement In basic, I like the (3) approarch, but undocumented device problem. why not start with documented devices? looks like there is at least some docs for the omap's opengl. tristan -- All original matter is hereby placed

[9fans] kirkwood sata

2012-04-02 Thread Tristan
has anyone done anything with this? it appears to be kindred to the chips covered by pc/sdmv50xx.c, but with two ports per chip and no bridges. or maybe there really are bridges and the kw sheet doesn't mention them. thanks, tristan -- All original matter is hereby placed immediately under

Re: [9fans] wifi interface

2012-03-21 Thread Tristan
ether-ctl to an appropriate function. indeed, i had already. thanks, tristan -- All original matter is hereby placed immediately under the public domain.

Re: [9fans] known working wifi cards

2012-03-20 Thread Tristan
Reading into the record. Please update the list (or the wiki) if you've verified any other working wifi cards. Please, firsthand experience only. USB: Marvell 88W8388 aka olpc (probably not what you're looking for) enjoy, tristan -- All original matter is hereby placed immediately under

[9fans] wifi interface

2012-03-20 Thread Tristan
USB: Marvell 88W8388 aka olpc (probably not what you're looking for) oh, and on that note: said wireless driver is much nicer now (though far from perfect or complete) and still in contrib/tristan/libertas.tgz. the wavelan driver uses the ctl file in the connection (`{cat clone}/ctl) to manage

Re: [9fans] Plan 9 rejected from GSoC 2012

2012-03-18 Thread Tristan
help, but even if gsoc were happening i'm not elegible. and i would guess that i'm not one of the students in erik's combinations ⌣ (assuming a closed set). but, i'll continue what i'm doing regardless, and maybe another four years will produce some nice code. enjoy, tristan -- All original

[9fans] olpc wifi (libertas)

2012-03-13 Thread Tristan
people looking at it, but if folks are playing with olpc stuff it's at contrib/tristan/libertas.tgz (you'll want to change some things in doassociation (and it'll be nicer if your ssid is 11 bytes long)). enjoy, tristan -- All original matter is hereby placed immediately under the public domain.

Re: [9fans] hardware device (...)

2012-03-13 Thread Tristan
So, my question: Doesn't it makes sense that some hardware like CAMs or USB-Scanners are working with Plan 9. I mean: There is a good system but as I understand there is absolutely no device what I can buy and connect to it. Is this a stupid question? Sure I could now spend endless times in

Re: [9fans] hardware device (...)

2012-03-13 Thread Tristan
to use the cpu server as the sitdown computer, bad for reading pdfs but other that... but agreed! enjoy, tristan (appologies to John, who'll likely get this twice, except this bit) -- All original matter is hereby placed immediately under the public domain.

Re: [9fans] donehead changed before ack

2012-03-10 Thread Tristan
nil to a real pointer, which leaves very little time in the routine. cycles says [300,386]. which of course means that it isn't changing, it's just an interrupt with without statusWdh but with donehead set. checking for Wdh is running perfectly well now. thank you, tristan -- All original matter

[9fans] donehead changed before ack

2012-03-09 Thread Tristan
to) appears to help, but i havn't been running that for very long. anyone know anything about this? thanks, tristan -- All original matter is hereby placed immediately under the public domain.

Re: [9fans] usb slowness

2012-03-06 Thread Tristan
... the fascinating piece is that the olpc and the pc with intel ehc take just about the same amount of time. and a different usb flash device doesn't change it (which was expected as usb/ether seems to suffer also). enjoy, tristan -- All original matter is hereby placed immediately under

Re: [9fans] usb slowness

2012-03-06 Thread Tristan
, say, half as slow. and ping time to my switch is half. and i can get about twice the throughput from the file server, which is still kinda slow. (hget yields about 6Mbit over a 100Mbit link) tristan -- All original matter is hereby placed immediately under the public domain.

Re: [9fans] usb slowness

2012-03-06 Thread Tristan
? that is, is this a problem with all my available hardware, or all of our software? tristan -- All original matter is hereby placed immediately under the public domain.

Re: [9fans] usb slowness

2012-03-06 Thread Tristan
and olpc kernels. kw does fine though (for now!). changing devmnt seem unlikely to be very safe without checking on every fileserver in case it now happily assumes 8k (plus headers) is enough for anything. anybody messed with devmnt's Msgsize successfully? enjoy, tristan -- All original matter

Re: [9fans] usb slowness

2012-03-06 Thread Tristan
anybody messed with devmnt's Msgsize successfully? make that devmnt's MAXRPC, in usbfs.h it's Msgsize. enjoy, tristan -- All original matter is hereby placed immediately under the public domain.

Re: [9fans] usb slowness

2012-03-05 Thread Tristan
? load remains fairly low during both, but system calls and context switches are high. time to read up on ehci... thank you, tristan -- All original matter is hereby placed immediately under the public domain.

[9fans] usb slowness

2012-03-03 Thread Tristan
guess i'm asking, is this expected behavior? and what can i do? enjoy, tristan -- All original matter is hereby placed immediately under the public domain.

[9fans] usb/wacom

2012-02-28 Thread Tristan
may be found in contrib/tristan/wacom.tgz. there is currently rudimentary support for the intous 2 series of digitizers, with the normal pen and the 4d mouse. it currently uses mousein(3), which is not at all sufficient to express the full glory of these devices... oh, and you'll need

Re: [9fans] Smiley's plan9port mod 1 ver. 1.0 released

2012-01-23 Thread Tristan
* It's not easy to search one Acme window for a search string in another Acme window. highlight text in source window. 2-1 cord on Look in the search window. * Where did all my keyboard accelerators go? Acme could use Put, Undo, and Paste accelerators, at a minimum.

[9fans] startech usb21000s - ax88178 based gbe adapter

2012-01-19 Thread Tristan
a little in the initialization, but so far no transmit. between asix.c, the linux driver from ASIX, and the datasheet i have a general sense of what's going on, but not enough to guess where the problem lies. hints? thanks, tristan datasheet: http://www.asix.com.tw/FrootAttach/datasheet

Re: [9fans] startech usb21000s - ax88178 based gbe adapter

2012-01-19 Thread Tristan
i have a (surprise) startech usb21000s. happily (??) it appears to be defective, we'll see if the next one works. tristan -- All original matter is hereby placed immediately under the public domain.

[9fans] /dev/etherfile

2011-12-20 Thread Tristan Plumb
/sys/src/cmd/usb/ether/ether.c says * BUG: This should use /dev/etherfile to * use the kernel ether device code. Which sounds promising, but I can't seem to find any references to etherfile anywhere else. Does it exist? tristan -- All original matter is hereby placed immediately under

Re: [9fans] SIP

2011-06-26 Thread Tristan Plumb
Anyone working on or have a simple SIP router/proxy for Plan9? As of today I will no longer waste days of my life dealing with the abomination that is Asterisk. I would also love to see a SIP implementation for Plan 9, I've contemplated it a number of times, but the sheer volume of SIP RFCs is

Re: [9fans] Making read(1) an rc(1) builtin?

2011-04-04 Thread Tristan Plumb
(right, sorry erik for the double) i hate to be pedantic, By all means, please be pedantic, I was flat wrong. ifs is not a list; it is a set of characters like strpbrk(2). And it matches [$ifs]+ which is the other piece I always forget. for(line in `{ifs=$nl cat}){...} That is exactly

Re: [9fans] Making read(1) an rc(1) builtin?

2011-04-03 Thread Tristan Plumb
it uses cat! Without any forking, I don't know (see below). On the other hand, echo -n is a wart. I wonder, does echo '' -n work? (My plan9 machine is off and far away.) On a more friendly note. Hi, I think I know you slightly, telephones. Tristan -- All original matter is hereby placed immediately

Re: [9fans] sound, graphics, tuner

2011-01-15 Thread Tristan Plumb
matter for you. How do I find from within plan 9 what soundcard/hardware I have? pci(1)? enjoy, tristan -- All original matter is hereby placed immediately under the public domain.

Re: [9fans] kw audio -- /dev/audio and friends

2010-10-28 Thread Tristan Plumb
extendable: vol in 0 0 0 0 0 0 out 0 0 0 0 0 0 out1 0 0 0 0 0 0 but it doesn't give the ranges. ? vol -103 24 in 0 0 out 0 0 which looks liable to break things (out being optional). tristan (with apologies for such a long post) -- All original matter is hereby placed immediately under

Re: [9fans] kw audio -- /dev/audio and friends

2010-10-27 Thread Tristan Plumb
other people think about an alternative? tristan -- All original matter is hereby placed immediately under the public domain.

Re: [9fans] kw audio -- /dev/audio and friends

2010-10-27 Thread Tristan Plumb
exist, which volume cannot express. that said, i havn't written the backwards compatibility yet. tristan -- All original matter is hereby placed immediately under the public domain.

Re: [9fans] kw audio -- /dev/audio and friends

2010-10-27 Thread Tristan Plumb
network over audio?) tristan -- All original matter is hereby placed immediately under the public domain.

[9fans] kw audio -- /dev/audio and friends

2010-10-26 Thread Tristan Plumb
of you folks have opinions on these interfaces? i would like to use a simple and extendible interface for the kirkwood driver, and am willing to convert the soundblaster and usb drivers and sound programs (though i don't have the hardware to test). tristan -- All original matter is hereby placed

Re: [9fans] Sheevaplug - USB working? Just checking

2010-09-06 Thread Tristan Plumb
available... though there isn't much talking about it, the first one at least supported the Z11 (xg27 core) at one point. http://cgit.freedesktop.org/xorg/driver/xf86-video-xgi/ and maybe? http://cgit.freedesktop.org/xorg/driver/xf86-video-xgixp/ enjoy, Tristan -- All original matter is hereby

Re: kw I²C

2010-09-04 Thread Tristan Plumb
and the SMBus connector. ... tristan -- All original matter is hereby placed immediately under the public domain.

kw I²C

2010-09-03 Thread Tristan Plumb
anything with I²C, is it used for anything else? The kirkwood functional specification does not mention it (at least so far as I can see in the copy I have). Elseways I'll scrounge around some more. Thoughts? tristan -- All original matter is hereby placed immediately under the public domain.

[9fans] plot

2010-06-05 Thread Tristan Plumb
, but I'd rather not... Is there a good reason that plot(1) is (semi) interactive and doesn't just leave the display part to page(1)? enjoy, tristan -- All original matter is hereby placed immediately under the public domain.

[9fans] printing floating point numbers

2010-03-12 Thread Tristan Plumb
implementation just prints the first 18 digits. Thoughts? Tristan -- All original matter is hereby placed immediately under the public domain.

[9fans] NaN, +Inf, and -Inf, constants?

2010-02-06 Thread Tristan Plumb
? Or is there a way to evaluate constant functions at compile time (eep)? Or I could just use #define (much safer than the above). enjoy, tristan -- All original matter is hereby placed immediately under the public domain.

Re: [9fans] NaN, +Inf, and -Inf, constants?

2010-02-06 Thread Tristan Plumb
depends on the fcr. (And on my machine, curiously changes 0x7ff0...1 to 0x7ff8...1). So if I think of enum definitions as assignment, it makes sense, mostly. thanks, tristan -- All original matter is hereby placed immediately under the public domain.

[9fans] VIA VT8122 (ethervgbe), 256 packets, and further no PHY

2010-01-22 Thread Tristan Plumb
the problem in the transition from Linux to Plan 9 (like when I was fetching docs for it), at which point removing power from the computer before booting fixed it. enjoy, tristan -- All original matter is hereby placed immediately under the public domain.

[9fans] Intel 82544EI Gigabit Ethernet (Fiber)

2009-02-04 Thread Tristan Plumb
and try to figure out what is happening, but any advice would be swell. % pci -v ... 1.10.0: net 02.00.00 8086/1009 5 0:e304 131072 1:e306 131072 2:000a001 32 Intel Corporation 82544EI Gigabit Ethernet Controller (Fiber) ... Thank you, Tristan -- All original matter is hereby placed