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

2009-07-09 Thread Micah Stetson
> 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. Do you have a URL for this? Micah

Re: [9fans] p9p acme: incredibly slow typing in tag line for file.

2009-07-14 Thread Micah Stetson
>> Is this with a remote >> X or some other high latency connection to the >> underlying graphics? > > Right on my laptop. But ubuntu 9.04 is known to have "X issues" and I > did not know if this was another one. Has anybody figured this one out? I just updated to Ubuntu 9.04 and I'm seeing exact

[9fans] Acme niceties

2009-08-11 Thread Micah Stetson
One thing I like about acme is it doesn't present me with little annoyances I must learn to work around. Instead I find little niceties like this: I was editing an over sized tag in a way that would cause it to shrink, leaving my mouse pointer outside. But acme nicely warped the pointer so it re

[9fans] acme(4) and addr=dot

2010-03-05 Thread Micah Stetson
I think this may apply to all versions of acme, but I'm running into it on p9p. First, acme(4) claims that a read on a window's addr file returns the current address as a pair of character offsets m and n, in '#m,#n' format or just '#m' if m and n are equal. It looks like it really returns m and

Re: [9fans] acme(4) and addr=dot

2010-03-06 Thread Micah Stetson
> Addr is reset to 0,0 once opened. So, you need to perform these > operations in order: open addr; write ctl; then read addr. Thanks, all. Micah

Re: [9fans] Dragan

2016-02-11 Thread Micah Stetson
I'm curious. What is it? Google tells me nothing, unless you're talking about playing basketball with a Croatian or football with a Serbian. On Thu, Feb 4, 2016 at 8:27 PM, Prof Brucee wrote: > Anyone played with a Dragan? >

Re: [9fans] Acme and Git

2017-02-15 Thread Micah Stetson
In plan9port, this script will re-load any clean window that differs from an existing file with the same name: ``` #!/usr/local/plan9/bin/rc cleanIDs = `{9p read acme/index | awk '$4 == 0 && $5 == 0 { print $1 }'} for (id in $cleanIDs) { nm = `{9p read acme/$id/tag | sed 's/ .*//'} if (test -f $n

Re: [9fans] Acme Edit to remove lines

2017-05-26 Thread Micah Stetson
You can also take advantage of x's default behavior of splitting the selection into lines and use g to select which you want: Edit x g/^X/d

Re: [9fans] The Case for Bind

2017-09-14 Thread Micah Stetson
It's been years since I've used Plan 9, and I very-much miss bind and union mount. For me, the big benefit of them is that you can hard-code well-known names for certain files or directories, and yet you can override those paths as needed, without having to set a bunch of environment variables and

Re: [9fans] acme/sam linewrapping off

2008-03-23 Thread Micah Stetson
> Another, even more compelling example is, when you want to look at some > scientific data from some experiment. There it is quite common to have rows > of data, each row having say 20 real numbers, each row meaning one 'step' of > the experiment. With acme or sam, with/without your solution, you

Re: [9fans] hot or not

2008-04-06 Thread Micah Stetson
> http://www.ugu.com/sui/ugu/show?I=ugu.hotnot&HN=1113&RT=10 Shouldn't that be RT=9? Or does your Plan 9 go to 10? Micah

[9fans] Local variables and rc functions

2008-08-13 Thread Micah Stetson
Is this a bug? % fn foo { echo $bar } % bar=baz foo % I would expect to see baz instead of a blank line. Micah

Re: [9fans] Local variables and rc functions

2008-08-14 Thread Micah Stetson
> Both fixes are in plan9port. Thanks, Russ. Micah

Re: [9fans] mount followed by srvfs needs a sleep?

2008-10-20 Thread Micah Stetson
> local mount /srv/penelopa $home/shared/penelopa > #sleep 1 # --- see the text bellow; this pertains to my main > question > local srvfs CALC $home/shared/penelopa/home/ruda/CPA-CALC # > local mount /srv/CALC $home/shared/CALC I haven't actually tried this, s

Re: [9fans] Do we have a catalog of 9P servers?

2008-11-15 Thread Micah Stetson
>> I'm unclear as to what "amount of state" iptables needs to keep > > After you do something like: ># iptables -t nat -A POSTROUTING -p TCP -j MASQUERADE > the Linux kernel module called nf_conntrack starts allocating > data structures to do its job. I'll leave it up to you to see how much >

Re: [9fans] Do we have a catalog of 9P servers?

2008-11-16 Thread Micah Stetson
>> I think Eris is saying that this makes Plan >> 9's resource requirements grow with the number of hosts behind the >> gateway -- not just with the number of connections through it like >> Linux. > > I don't quite follow. If by resources you mean process related resources > than I would agree. My

Re: [9fans] Do we have a catalog of 9P servers?

2008-11-16 Thread Micah Stetson
> Very well said. This posting summarizes what's been going on: Thank you. > 2. Generality costs. Not always, and I think you may be overestimating the costs here. Your later posts talk about making a complete copy of the TCP stack. That isn't happening. All we have is one TCP connection and on

Re: [9fans] Do we have a catalog of 9P servers?

2008-11-16 Thread Micah Stetson
>> That isn't happening. All we have is one TCP connection and one small >> program exporting file service. > > I see. But then, is it the "small program exporting file service" that does > the multiplexing? I mean, if two machines import a gateway's /net and both > run HTTP servers binding to and

Re: [9fans] Some arithmetic [was: Re: Sources Gone?]

2009-02-05 Thread Micah Stetson
>> > http://www.google.com/search?q="09+f9"; >> >> is that a legal url? > > P.S. Or am I missing some kind of a joke here? ;-) Intentional or not, it's a very good joke. Micah

Re: [9fans] impact of dynamic libraries on the speed of fork()

2009-02-20 Thread Micah Stetson
> I wrote a really simple program, forktest.c. Chris beat me to the punch, but I'm posting anyway because I went a different direction. I wrote some rc scripts that make static and dynamic libraries of various sizes and programs that use those libraries (trivially). For each number of functions

Re: [9fans] cocoa devdraw

2011-09-30 Thread Micah Stetson
> I'm seeing missing recipes.  Lion and XCode 4.2 I get nearly identical output on Snow Leopard with XCode 4.0.2 (see below). BUT if I manually copy o.devdraw from $PLAN9/src/cmd/devdraw to $PLAN9/bin/devdraw, nearly everything seems to work. The best part (for me) is that now my acme and 9term w

Re: [9fans] acme/sam language question

2013-11-06 Thread Micah Stetson
What if you specify the address twice like this: /A/+#0;/B/-#0g/CC/ s/CC/DD/g /A/+#0;/B/-#0p That doesn't work if A and B occur more than once in the file or if DD matches A or B. But otherwise, it seems to work for me. Micah On Nov 6, 2013, at 10:47 AM, Rudolf Sykora wrote: > On 31 October 2