Re: [9fans] bug in echo?

2008-04-01 Thread Douglas A. Gwyn
roger peppe wrote:
> personally, i'd vote for allowing -- just for
> the above case: echoing unknown text.

Exactly.



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

Kenji




Re: [9fans] bug in echo?

2008-04-01 Thread Douglas A. Gwyn
> this is a very odd case which can be worked around without adding --.
> the adding of which adds another odd case.  what if you want to echo
> --?  so adding -- special case code doesn't really solve any problems.

echo -- {whatever} # {whatever} can be "--", "-n", or other things



Re: [9fans] bug in echo?

2008-04-01 Thread Douglas A. Gwyn
Russ Cox wrote:
> Who needs an operating system when you have a 0 and a 1?

Actually all you need is one symbol.
 3(decimal) = |||
 7(decimal) = |||
etc.  Obviously this can express any numerically-coded object.



Re: [9fans] bug in echo?

2008-04-01 Thread Anders Li
hi, are you all student ? or have a job in a company ?
why you have so many time in Plan9 ?
Are all you spare all your spare time in Play9 ?



On 4/1/08, Douglas A. Gwyn <[EMAIL PROTECTED]> wrote:
>
> > this is a very odd case which can be worked around without adding --.
> > the adding of which adds another odd case.  what if you want to echo
> > --?  so adding -- special case code doesn't really solve any problems.
>
> echo -- {whatever} # {whatever} can be "--", "-n", or other things
>
>


Re: [9fans] bug in echo?

2008-04-01 Thread Douglas A. Gwyn
Bruce Ellis wrote:
> well the gcc list is still waiting for you ... maybe it was volatile.

Is that a pointer to const volatile?



[9fans] IWP9 2008

2008-04-01 Thread spyros lalis

The web page has been updated, also
with this year's Program Committee.

http://iwp9.inf.uth.gr/

Spyros





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 end of /srv/desk, and have displays in my
calculator running always in dec, hex, octal -- handy for me!

I've not really used /srv as much as I could have.

ron



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

2008-04-01 Thread Eric Van Hensbergen
On Tue, Apr 1, 2008 at 8:11 AM, ron minnich <[EMAIL PROTECTED]> wrote:
> 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 end of /srv/desk, and have displays in my
>  calculator running always in dec, hex, octal -- handy for me!
>
>  I've not really used /srv as much as I could have.
>

Wouldn't plumbing be better for this sort of thing?

  -eric



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 all, which is not a common attribute of
graphical desktop calculators ... once that is there, plumbing can use
it.

ron



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 seems that a script to rio -i could figure
out the geometry, create the windows for the buttons (windows -r ...)
etc. but.c should probably take an argument to force a static label;  it
doesn't re-read text on redraw.




[9fans] Worksheet program

2008-04-01 Thread Benjamin T. D. Newman
Hello list

As my first foray into Plan 9 GUI programming, I have created a worksheet
program.

It doesn't edit.
The input/output format is rather lame.
It's rather annoying to move around;
The cells are all of a fixed size.
I'm sure I'm forgetting something else lame.

I'm happy enough for three days of coding. If nothing else, I'm sending
this e-mail so I start working on actual work...

Thanks to fgb for his help and /sys/src/cmd/tweak.c for parts of the 
interface.

I have put it at .
./test to run it.
--
Benjamin Newman




Re: [9fans] Worksheet program

2008-04-01 Thread Sape Mullender
> Thanks to fgb for his help and /sys/src/cmd/tweak.c for parts of the 
> interface.

You might try control(2) instead.  See
/sys/src/cmd/auth/factotum/fgui.c
/sys/src/cmd/bitsy/keyboard.c
for examples.

Sape




[9fans] A new age has arrived

2008-04-01 Thread Skip Tavakkolian
i can sleep easier knowing that this technology has finally been
accepted by the general public:

has anyone seen this?

http://www.cloud9web.com




Re: [9fans] A new age has arrived

2008-04-01 Thread Brian L. Stuart
> i can sleep easier knowing that this technology has finally been
> accepted by the general public:

It would appear their intent is that everyone sleep easier.

What worries me is the inventory reduction.  This OS is
already very lean.  I'm not sure what there is to reduce.

BLS




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? would that make the flow of information
and knowledge harder, wouldn't it? did google contact the original author too?
anyways, my intention was not to be disrespectful or anything, but
being helpful.

-- 
Federico G. Benavento



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

2008-04-01 Thread hiro
who cares?



Re: [9fans] A new age has arrived

2008-04-01 Thread erik quanstrom
On Tue Apr  1 13:25:15 EDT 2008, [EMAIL PROTECTED] wrote:
> What worries me is the inventory reduction.  This OS is
> already very lean.  I'm not sure what there is to reduce.

--rwxrwxr-x M 12538 glenda sys 2235277 Feb 28 16:43 /n/sources/plan9/386/9pccpu

plan 9 is no longer as lean as she once was.

- erik