9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] usage of CPU server
@ 2000-11-01  9:53 okamoto
  2000-11-01 10:03 ` Lucio De Re
  0 siblings, 1 reply; 26+ messages in thread
From: okamoto @ 2000-11-01  9:53 UTC (permalink / raw)
  To: 9fans

Thanks a lot, Lucio and Charles.

Yes, it did work right.   I get headache usually when I read man pages
of sh/csh/rc.   ^_^

Kenji



^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: [9fans] usage of CPU server
@ 2000-11-06 13:05 rob pike
  0 siblings, 0 replies; 26+ messages in thread
From: rob pike @ 2000-11-06 13:05 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 83 bytes --]

The discussions I was having at the time were with the System V people.

-rob


[-- Attachment #2: Type: message/rfc822, Size: 1762 bytes --]

From: "Douglas A. Gwyn" <DAGwyn@null.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] usage of CPU server
Date: Mon, 6 Nov 2000 09:44:05 GMT
Message-ID: <3A0604E3.9E11CCCB@null.net>

rob pike wrote:
> Sure, the environment gets big; so give it more space.

How?  I think you're spoiled by being in a position to
modify the operating system.  For most commercial OSes
we don't have that luxury, and therefore design choices
we make may well reflect the reality we're stuck with.

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: [9fans] usage of CPU server
@ 2000-11-03 14:56 rob pike
  2000-11-03 16:55 ` Elliott Hughes
  2000-11-06  9:44 ` Douglas A. Gwyn
  0 siblings, 2 replies; 26+ messages in thread
From: rob pike @ 2000-11-03 14:56 UTC (permalink / raw)
  To: 9fans

You're absolutely right: every reason anyone ever gave for not
exporting functions involved a failure of imagination.  Sure,
the environment gets big; so give it more space.  Sure, you can
import from a file; so why not do that for all variables and lose
export altogether?  The point is having a dynamic programming
environment; cavils about stack size and available work-arounds
are just conservatism, and programmers are indeed a 
conservative bunch.  Pity.

I never understood the resistance. I still don't.  Fortunately, I
don't have to care any more, either, since Plan 9 has the best
implementation of the environment out there, and rc does
functions very well, thank you.

-rob



^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: [9fans] usage of CPU server
@ 2000-11-02 18:02 rob pike
  2000-11-03 14:22 ` Douglas A. Gwyn
  0 siblings, 1 reply; 26+ messages in thread
From: rob pike @ 2000-11-02 18:02 UTC (permalink / raw)
  To: 9fans

The one feature in that long list that is notably absent is the ability
to export functions.  We had a long acrimonious debate with Korn.
I never understood his reason for not making functions exportable.
It was always Bourne's intention (I asked him) and the main reason
for doing the 8th edition shell was to have exportable functions.
The rest (builtin most especially) followed from that decision.

-rob



^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: [9fans] usage of CPU server
@ 2000-11-02 10:20 forsyth
  0 siblings, 0 replies; 26+ messages in thread
From: forsyth @ 2000-11-02 10:20 UTC (permalink / raw)
  To: 9fans

>>However, I do suggest that the conciseness of a dependency graph
>>notation is important.

it is not only the conciseness that is important, but its declarative nature.


^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: [9fans] usage of CPU server
@ 2000-11-02 10:02 nigel
  2000-11-02 16:03 ` Rick Hohensee
  0 siblings, 1 reply; 26+ messages in thread
From: nigel @ 2000-11-02 10:02 UTC (permalink / raw)
  To: 9fans

>> Which bit of the Korn shell models the dependency graph?
> > 
> > 

> A dependancy graph is a tiny subset of what you can construct with -n and
> friends, isn't it?

True, but it doesn't answer my question.  I asked "which bit of the
Korn shell _models_ the dependency graph", not "which bits of the Korn
shell can be assembled to create the same effect as the dependency
graph in make".

I may as well have asked "which bits of the C language model the
dependency graph", at which point your reply would have suggested that
I should write a C program each time I want to assemble a kit of parts
in the right order to create a whole.  Any language in which you can
invoke other commands, test the relative age of files and do some
filename manipulation is, according to your reply, better than make on
the grounds that it is more general.

Now I'm not proposing that make is all we need; it's been superceded.
However, I do suggest that the conciseness of a dependency graph
notation is important.  There is plenty of evidence for this; the
concept has been preserved in subsequent tools, IDEs etc..

So the question is, "which bit of the Korn shell _models_ the
dependency graph?"



^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: [9fans] usage of CPU server
@ 2000-11-01  9:08 forsyth
  0 siblings, 0 replies; 26+ messages in thread
From: forsyth @ 2000-11-01  9:08 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 89 bytes --]

>>(2) rx diabase 'du / & >/usr/okamoto/ken'

 rx diabase 'du / >/usr/okamoto/ken &'


[-- Attachment #2: Type: message/rfc822, Size: 2025 bytes --]

From: okamoto@granite.cias.osakafu-u.ac.jp
To: 9fans@cse.psu.edu
Subject: Re: [9fans] usage of CPU server
Date: Wed, 1 Nov 2000 16:27:17 0900
Message-ID: <20001101072630.23396199D8@mail>

Thanks Russ.

I tired
term% rx diabase 'du / &'
command, and it continues to run after I logged out from the
terminal. (This command consumes about 80 seconds in my
system when output is directed to stdout.).

However,
>(It's going to fail if, say, you don't
>redirect standard output and the process
>writes something after you log off.)
occurred.

How I can redirect the output from the du command to say,
/usr/okamoto/ken.

I tried following two.
(1) rx diabase 'du / &' >/usr/okamoto/ken
(2) rx diabase 'du / & >/usr/okamoto/ken'

In case (1), the output upto the time I logged out is wrote to
/usr/okamoto/ken, and in case (2), no output is kept.

Kenji

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: [9fans] usage of CPU server
@ 2000-11-01  7:27 okamoto
  2000-11-01  8:21 ` Lucio De Re
  0 siblings, 1 reply; 26+ messages in thread
From: okamoto @ 2000-11-01  7:27 UTC (permalink / raw)
  To: 9fans

Thanks Russ.

I tired
term% rx diabase 'du / &'
command, and it continues to run after I logged out from the
terminal. (This command consumes about 80 seconds in my
system when output is directed to stdout.).

However,
>(It's going to fail if, say, you don't
>redirect standard output and the process
>writes something after you log off.)
occurred.

How I can redirect the output from the du command to say,
/usr/okamoto/ken.

I tried following two.
(1) rx diabase 'du / &' >/usr/okamoto/ken
(2) rx diabase 'du / & >/usr/okamoto/ken'

In case (1), the output upto the time I logged out is wrote to
/usr/okamoto/ken, and in case (2), no output is kept.

Kenji



^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: [9fans] usage of CPU server
@ 2000-11-01  6:03 Russ Cox
  0 siblings, 0 replies; 26+ messages in thread
From: Russ Cox @ 2000-11-01  6:03 UTC (permalink / raw)
  To: 9fans

	cpu -c "command" will do the same as rx <hosname> "command".
	There is no CPU command to let the job doing on the CPU server 
	even after the user logged off from the terminal.  

	Is it difficult to implement this function?

As long as you set up the resources properly,
rx host "command &" should work, no?
(It's going to fail if, say, you don't
redirect standard output and the process
writes something after you log off.)

Russ


^ permalink raw reply	[flat|nested] 26+ messages in thread
* [9fans] usage of CPU server
@ 2000-11-01  4:09 okamoto
  0 siblings, 0 replies; 26+ messages in thread
From: okamoto @ 2000-11-01  4:09 UTC (permalink / raw)
  To: plan9

cpu -c "command" will do the same as rx <hosname> "command".
There is no CPU command to let the job doing on the CPU server
even after the user logged off from the terminal.

Is it difficult to implement this function?

Kenji



^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2000-11-06 13:05 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-01  9:53 [9fans] usage of CPU server okamoto
2000-11-01 10:03 ` Lucio De Re
2000-11-01 14:46   ` Rick Hohensee
2000-11-01 15:19     ` nigel
2000-11-02  1:06       ` Rick Hohensee
2000-11-02  1:24         ` Boyd Roberts
2000-11-02  8:21           ` Rick Hohensee
2000-11-02 17:44           ` Douglas A. Gwyn
2000-11-02  7:55         ` Steve Kilbane
2000-11-02 11:25           ` Boyd Roberts
  -- strict thread matches above, loose matches on Subject: below --
2000-11-06 13:05 rob pike
2000-11-03 14:56 rob pike
2000-11-03 16:55 ` Elliott Hughes
2000-11-03 18:54   ` Boyd Roberts
2000-11-06  9:44 ` Douglas A. Gwyn
2000-11-02 18:02 rob pike
2000-11-03 14:22 ` Douglas A. Gwyn
2000-11-02 10:20 forsyth
2000-11-02 10:02 nigel
2000-11-02 16:03 ` Rick Hohensee
2000-11-02 16:27   ` Boyd Roberts
2000-11-01  9:08 forsyth
2000-11-01  7:27 okamoto
2000-11-01  8:21 ` Lucio De Re
2000-11-01  6:03 Russ Cox
2000-11-01  4:09 okamoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).