Re: [9fans] silliness in flight: build a desktop calculator with srv and rio

2008-04-05 Thread Caerwyn Jones
% dc [0=1] | echo 0 /srv/desk Ok, so this is really neat. How do I do it in inferno? What's the equivalent of /srv? Inferno has srv(3) which is the file2chan registry. The closest I can get to the above, without writing a new limbo command, is % load file2chan % calc [0=1] |

Re: [9fans] silliness in flight: build a desktop calculator with

2008-04-02 Thread kokamoto
http://plan9.aichi-u.ac.jp/netlib/demos/suzuki/s41.html hmmm, this was a educational task for Mr. Suzuki at that time... is there an updated version of calc2? it uses an old control(2) library. In short, no. I'm not so happy to develope it on the same line... Kenji --deficient memory

Re: [9fans] silliness in flight: build a desktop calculator with

2008-04-02 Thread hiro
When I was a graduate student, my teacher taught me Science is a private work, and if you want to learn something from someone, you should first contact her/him direct. This is very important, and you should remember this all the time (not the original words, but this way). I agree

Re: [9fans] silliness in flight: build a desktop calculator with

2008-04-01 Thread kokamoto
http://plan9.aichi-u.ac.jp/netlib/demos/suzuki/s41.html hmmm, this was a educational task for Mr. Suzuki at that time... Antway, I've not known this page is linked to other Univ's page. It is a work of Osaka prefecture University, and it belongs to her, I suppose. Of course, you can use or

Re: [9fans] silliness in flight: build a desktop calculator with

2008-04-01 Thread ron minnich
btw another nice thing about having a desk calculator with the fd hanging out in /srv/desk: I can have any process (awk pipeline) feed commands into /srv/desk and have it pop up in my desk calculator. Don't know why I didn't do this before. Also, it would be easy to drop three dc processes at the

Re: [9fans] silliness in flight: build a desktop calculator with

2008-04-01 Thread ron minnich
On Tue, Apr 1, 2008 at 6:29 AM, Eric Van Hensbergen [EMAIL PROTECTED] wrote: Wouldn't plumbing be better for this sort of thing? yeah, good idea, you could prepend calculations with a string. But more important is that your calculator needs to have a channel that is global and available to

Re: [9fans] silliness in flight: build a desktop calculator with

2008-04-01 Thread Skip Tavakkolian
http://plan9.aichi-u.ac.jp/netlib/demos/suzuki/s41.html hmmm, this was a educational task for Mr. Suzuki at that time... is there an updated version of calc2? it uses an old control(2) library. about /srv/desk (minnicalc? ☺), it's funky -- good kind. it tried the the n! example in dc. it

Re: [9fans] silliness in flight: build a desktop calculator with

2008-04-01 Thread Federico G. Benavento
hola, Of course, you can use or improve it by your own risk. However, if anyone wants to link such a property, I suppose, s/he should contact with the original author... what would happen if everytime you wanted to give a link to something public you had to contact the original author?

Re: [9fans] silliness in flight: build a desktop calculator with

2008-04-01 Thread hiro
who cares?

Re: [9fans] silliness in flight: build a desktop calculator with srv and rio

2008-03-31 Thread Federico G. Benavento
what about: % dc [0=1] | echo 0 /srv/desk 2 graphical calculators for Plan 9. http://plan9.aichi-u.ac.jp/netlib/demos/suzuki/s41.html -- Federico G. Benavento

Re: [9fans] silliness in flight: build a desktop calculator with srv and rio

2008-03-31 Thread Pietro Gagliardi
On Mar 31, 2008, at 6:43 PM, Federico G. Benavento wrote: what about: % dc [0=1] | echo 0 /srv/desk Does that even do anything? You can't pipe to echo, can you?

Re: [9fans] silliness in flight: build a desktop calculator with srv and rio

2008-03-31 Thread andrey mirtchovski
Does that even do anything? try to figure it out. you may be enlightened. if you fail, follow this link: http://9fans.net/archive/2002/05/18

Re: [9fans] silliness in flight: build a desktop calculator with srv and rio

2008-03-31 Thread ron minnich
On Mon, Mar 31, 2008 at 3:43 PM, Federico G. Benavento [EMAIL PROTECTED] wrote: what about: % dc [0=1] | echo 0 /srv/desk well I knew somebody would tell me how to do this. Damn. Nice. ron

Re: [9fans] silliness in flight: build a desktop calculator with srv and rio

2008-03-31 Thread ron minnich
On Mon, Mar 31, 2008 at 3:43 PM, Federico G. Benavento [EMAIL PROTECTED] wrote: 2 graphical calculators for Plan 9. http://plan9.aichi-u.ac.jp/netlib/demos/suzuki/s41.html neat. But I like the perversity of using a window manager as my control process. For example, for a memory value, I can

Re: [9fans] silliness in flight: build a desktop calculator with srv and rio

2008-03-31 Thread ron minnich
On Mon, Mar 31, 2008 at 3:51 PM, Pietro Gagliardi [EMAIL PROTECTED] wrote: On Mar 31, 2008, at 6:43 PM, Federico G. Benavento wrote: what about: % dc [0=1] | echo 0 /srv/desk Does that even do anything? You can't pipe to echo, can you? try it first then send email. Try, try, try.

[9fans] silliness in flight: build a desktop calculator with srv and rio

2008-03-30 Thread ron minnich
I've been wanting a desktop calculator for some time. I'm sitting on the plane, trying to avoid real work, and decided to see if I could do this: 1. put a dc behind /srv/desk 2. start a rio in a window 3. window 1 becomes cat /srv/desk 4. other windows are stupid programs that, on mouse click,