9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] file server problems
@ 2000-07-12  9:04 ianb
  2000-07-13  1:33 ` Eric Dorman
  0 siblings, 1 reply; 175+ messages in thread
From: ianb @ 2000-07-12  9:04 UTC (permalink / raw)
  To: 9fans


>i've not had any trouble with my IDE fileserver,

I thought that fileservers had to be SCSI?

Ian



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

* Re: [9fans] file server problems
  2000-07-12  9:04 [9fans] file server problems ianb
@ 2000-07-13  1:33 ` Eric Dorman
  2000-07-13  2:28   ` Eric Dorman
  0 siblings, 1 reply; 175+ messages in thread
From: Eric Dorman @ 2000-07-13  1:33 UTC (permalink / raw)
  To: 9fans

----- Original Message ----- 
From: <ianb@cs.york.ac.uk>
To: <9fans@cse.psu.edu>
Sent: Wednesday, July 12, 2000 2:04 AM
Subject: Re: [9fans] file server problems


> >i've not had any trouble with my IDE fileserver,
> I thought that fileservers had to be SCSI?
> Ian

<chuckle>
'had' is somewhat strong, eh?  it's just a software problem.
i have an interface that allows using IDE drives for
the fileserver.  i have 2 3.5Gb IDEs striped together.

Eric Dorman
edorman@san.rr.com



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

* Re: [9fans] file server problems
  2000-07-13  1:33 ` Eric Dorman
@ 2000-07-13  2:28   ` Eric Dorman
  2000-07-13  4:15     ` Lucio De Re
  0 siblings, 1 reply; 175+ messages in thread
From: Eric Dorman @ 2000-07-13  2:28 UTC (permalink / raw)
  To: 9fans

----- Original Message ----- 
From: "Eric Dorman" <edorman@san.rr.com>
To: <9fans@cse.psu.edu>
Sent: Wednesday, July 12, 2000 6:33 PM
Subject: Re: [9fans] file server problems


> > >i've not had any trouble with my IDE fileserver,
> > I thought that fileservers had to be SCSI?
> > Ian
> 
> <chuckle>
> 'had' is somewhat strong, eh?  it's just a software problem.
> i have an interface that allows using IDE drives for
> the fileserver.  i have 2 3.5Gb IDEs striped together.

oh yeah, if you'd like a snapshot of it i can provide it.  i don't
see it getting rolled into the base tree (however that works) but
it might be useful for some people.

--eld




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

* Re: [9fans] file server problems
  2000-07-13  2:28   ` Eric Dorman
@ 2000-07-13  4:15     ` Lucio De Re
  2000-07-13  4:33       ` Scott Schwartz
  0 siblings, 1 reply; 175+ messages in thread
From: Lucio De Re @ 2000-07-13  4:15 UTC (permalink / raw)
  To: 9fans

On Wed, Jul 12, 2000 at 07:28:13PM -0700, Eric Dorman wrote:
> > 
> > <chuckle>
> > 'had' is somewhat strong, eh?  it's just a software problem.
> > i have an interface that allows using IDE drives for
> > the fileserver.  i have 2 3.5Gb IDEs striped together.
> 
> oh yeah, if you'd like a snapshot of it i can provide it.  i don't
> see it getting rolled into the base tree (however that works) but
> it might be useful for some people.
> 
If Russ has CVS compiled, we may not be far from a public CVS repository
(hint, hint) where we may be able to have a few branches for software
such as your IDE fileserver.

I recall David Butler's extensions to the file server, too, and I was
really hoping to see those in the source tree.

In fact, there is also the issue of externally supporting Alef, although
Limbo may be the better option in this case.  And largely it would be
useful to make available second edition source code which, although
obsolete, may be released either for curiosity's sake or as unsupported
alternatives to newer stuff.

++L

PS: Russ, could I have a copy of the Makefile/mkfile you used to
compile CVS?


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

* Re: [9fans] file server problems
  2000-07-13  4:15     ` Lucio De Re
@ 2000-07-13  4:33       ` Scott Schwartz
  2000-07-13 12:19         ` Lucio De Re
  0 siblings, 1 reply; 175+ messages in thread
From: Scott Schwartz @ 2000-07-13  4:33 UTC (permalink / raw)
  To: 9fans

> If Russ has CVS compiled, we may not be far from a public CVS repository

We've got a wizzy file server that supports time travel.  Let's use
that instead.



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

* Re: [9fans] file server problems
  2000-07-13  4:33       ` Scott Schwartz
@ 2000-07-13 12:19         ` Lucio De Re
  0 siblings, 0 replies; 175+ messages in thread
From: Lucio De Re @ 2000-07-13 12:19 UTC (permalink / raw)
  To: 9fans

On Thu, Jul 13, 2000 at 12:33:11AM -0400, Scott Schwartz wrote:
> 
> > If Russ has CVS compiled, we may not be far from a public CVS repository
> 
> We've got a wizzy file server that supports time travel.  Let's use
> that instead.

The administration is different, and not necessarily to everyone's
comfort.  But I do appreciate the abilities of the Plan 9 file
system, although I must confess that I have never had quite enough
hardware to try it out.

Heck, I can't even figure out how to run NFS, or the CD-ROM jukeboxes
in any sensible manner :-(

++L


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

* Re: [9fans] /n/smtp
@ 2000-11-01 20:47 Russ Cox
  2000-11-01 21:48 ` Boyd Roberts
  0 siblings, 1 reply; 175+ messages in thread
From: Russ Cox @ 2000-11-01 20:47 UTC (permalink / raw)
  To: 9fans

	russ told me that it would serve no purpose, but i
	'counter attacked' :-) importing it off the firewall.
	a free proxy; code running on the the firewall with
	9P/styx gluing it to wherever it's needed.

even after all this discussion,
i still don't think it serves any purpose.
the data only flows in one direction, and
only in one format.  file servers are good
for handling interactive resources or 
resources with complex presentations.
mail delivery is neither.

people have pointed out that it's like 
sendmail -t.  so have upas/marshal -t,
which i agree would be useful.

want to get the service from a firewall?
instead of marshal -t, do rx firewall marshal -t.

to me, it feels a lot more like a good
pipeline piece than a full-blown filesystem.

russ


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

* Re: [9fans] /n/smtp
  2000-11-01 20:47 [9fans] /n/smtp Russ Cox
@ 2000-11-01 21:48 ` Boyd Roberts
  2000-11-01 22:02   ` Boyd Roberts
  0 siblings, 1 reply; 175+ messages in thread
From: Boyd Roberts @ 2000-11-01 21:48 UTC (permalink / raw)
  To: 9fans

From: Russ Cox <rsc@plan9.bell-labs.com>

> even after all this discussion,
> i still don't think it serves any purpose.

i understand what you're saying.  i just don't agree.

given i smash a template into sam with B and then
hand up 'f /n/postoffice' and with one mouse click
[write] in can send it.

for years i've been using an MH like mail user agent:

   com

   <creates template and then uses B>

   del

   <delivers it>

anyway, a difference of opinion, i can cope with that :-)




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

* Re: [9fans] /n/smtp
  2000-11-01 21:48 ` Boyd Roberts
@ 2000-11-01 22:02   ` Boyd Roberts
  2000-11-01 22:10     ` Scott Schwartz
  0 siblings, 1 reply; 175+ messages in thread
From: Boyd Roberts @ 2000-11-01 22:02 UTC (permalink / raw)
  To: 9fans

> given i smash a template into sam with B ...

B is acredited to me for the unix sam, but it wasn't
my idea.  rob saw how i was using sam to send mail
via a mechanism that did a B via some god awful X11
thing.  as soon as he saw that he just said that
sam should have a named pipe for commands, thus B.

the idea was John J. Mackin's:

    http://perso.wanadoo.fr/shand/jjm/index.html




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

* Re: [9fans] /n/smtp
  2000-11-01 22:02   ` Boyd Roberts
@ 2000-11-01 22:10     ` Scott Schwartz
  2000-11-01 22:23       ` Boyd Roberts
  0 siblings, 1 reply; 175+ messages in thread
From: Scott Schwartz @ 2000-11-01 22:10 UTC (permalink / raw)
  To: 9fans

> sam should have a named pipe for commands

Speaking of that... the diffs I just posted don't provide it.  Sam wants
to use plumbing now, and having Plan 9 in front of me saps my will to
code approximations for unix.



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

* Re: [9fans] /n/smtp
  2000-11-01 22:10     ` Scott Schwartz
@ 2000-11-01 22:23       ` Boyd Roberts
  0 siblings, 0 replies; 175+ messages in thread
From: Boyd Roberts @ 2000-11-01 22:23 UTC (permalink / raw)
  To: 9fans

> Speaking of that... the diffs I just posted don't provide it.  Sam wants
> to use plumbing now, and having Plan 9 in front of me saps my will to
> code approximations for unix.

the code is trivial.  50 lines?

i think it's in unix.c.




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

* Re: [9fans] AFS-client for Plan9 - ?
@ 2000-11-13 20:19 anothy
  2000-11-14  9:58 ` Wladimir Mutel
  0 siblings, 1 reply; 175+ messages in thread
From: anothy @ 2000-11-13 20:19 UTC (permalink / raw)
  To: 9fans

//Local caching would be great, I think.

okay, let me say off the bat i have no idea how
AFS handles caching, so this comparison may be
totally inapropriate. but for fs caching in
Plan 9 (without 9p↔AFS), take a look at cfs(4)
and the -C option to mount in bind(1).

if your goal is talking to AIX or other Unix
boxes, take a look at u9fs(4).
-α.


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

* Re: [9fans] AFS-client for Plan9 - ?
  2000-11-13 20:19 [9fans] AFS-client for Plan9 - ? anothy
@ 2000-11-14  9:58 ` Wladimir Mutel
       [not found]   ` <mwg@alkar.net>
  0 siblings, 1 reply; 175+ messages in thread
From: Wladimir Mutel @ 2000-11-14  9:58 UTC (permalink / raw)
  To: 9fans

anothy@cosym.net wrote:
> //Local caching would be great, I think.

> okay, let me say off the bat i have no idea how
> AFS handles caching, so this comparison may be
> totally inapropriate. but for fs caching in
> Plan 9 (without 9pAFS), take a look at cfs(4)
> and the -C option to mount in bind(1).

> if your goal is talking to AIX or other Unix
> boxes, take a look at u9fs(4).

	Here is a quote from their doc
http://oss.software.ibm.com/developerworks/opensource/afs/docs/html/AdminGd/auagd007.htm :

AFS Implements Save on Close

When an application issues the UNIX close system call on a file, the Cache
Manager performs a synchronous write of the data to
the File Server that maintains the central copy of the file. It does not
return control to the application until the File
Server has acknowledged receipt of the data. For the fsync system call,
control does not return to the application until the
File Server indicates that it has written the data to non-volatile storage
on the file server machine. 

When an application issues the UNIX write system call, the Cache Manager
writes modifications to the local AFS client cache
only. If the local machine crashes or an application program exits without
issuing the close system call, it is possible that
the modifications are not recorded in the central copy of the file
maintained by the File Server. The Cache Manager does
sometimes write this type of modified data from the cache to the File
Server without receiving the close or fsync system call,
for example if it needs to free cache chunks for new data. However, it is
not generally possible to predict when the Cache
Manager transfers modified data to the File Server in this way. 

The implication is that if an application's Save option invokes the write
system call rather than close or fsync, the changes
are not necessarily stored permanently on the File Server machine. Most
application programs issue the close system call for
save operations, as well as when they finish handling a file and when they
exit. 


--
mwg@alkar.net, 399916, 340044, 7442333, 7786458 -  


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

* Re: [9fans] AFS-client for Plan9 - ?
       [not found]   ` <mwg@alkar.net>
@ 2000-11-14 22:33     ` Tom Duff
  2000-11-14 22:41       ` Boyd Roberts
  2000-11-14 22:41       ` Alexander Viro
  0 siblings, 2 replies; 175+ messages in thread
From: Tom Duff @ 2000-11-14 22:33 UTC (permalink / raw)
  To: 9fans

Wladimir Mutel <mwg@alkar.net> wrote:
> If the local machine crashes or an application program exits without
> issuing the close system call, it is possible that
> the modifications are not recorded in the central copy of the file
> maintained by the File Server.

I'm confused.  UNIX applications can't exit without issuing the
close system call.  The exit system call internally calls out
to close for each open file.  Unless some numskull changed it
since the last time I had my fingers in it.  (They've had plenty
of opportunity -- I haven't touched a non-BSD UNIX kernel in many
years.)

-- 
Tom Duff.  If all else fails, make it up.


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

* Re: [9fans] AFS-client for Plan9 - ?
  2000-11-14 22:33     ` Tom Duff
@ 2000-11-14 22:41       ` Boyd Roberts
  2000-11-14 22:41       ` Alexander Viro
  1 sibling, 0 replies; 175+ messages in thread
From: Boyd Roberts @ 2000-11-14 22:41 UTC (permalink / raw)
  To: 9fans

From: Tom Duff <td@pixar.com>

> Unless some numskull changed it since the last time

sadly you're probably right -- between the sheets.




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

* Re: [9fans] AFS-client for Plan9 - ?
  2000-11-14 22:33     ` Tom Duff
  2000-11-14 22:41       ` Boyd Roberts
@ 2000-11-14 22:41       ` Alexander Viro
  2000-11-14 22:51         ` Boyd Roberts
       [not found]         ` <viro@math.psu.edu>
  1 sibling, 2 replies; 175+ messages in thread
From: Alexander Viro @ 2000-11-14 22:41 UTC (permalink / raw)
  To: Tom Duff; +Cc: 9fans



On Tue, 14 Nov 2000, Tom Duff wrote:

> Wladimir Mutel <mwg@alkar.net> wrote:
> > If the local machine crashes or an application program exits without
> > issuing the close system call, it is possible that
> > the modifications are not recorded in the central copy of the file
> > maintained by the File Server.
> 
> I'm confused.  UNIX applications can't exit without issuing the
> close system call.  The exit system call internally calls out
> to close for each open file.  Unless some numskull changed it
> since the last time I had my fingers in it.  (They've had plenty
> of opportunity -- I haven't touched a non-BSD UNIX kernel in many
> years.)

Not bloody likely. _Many_ applications exit without calling close(), so
such system would die horribly under the leaks. OTOH... name a perversion
and somebody will find a place where it had been implemented.



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

* Re: [9fans] AFS-client for Plan9 - ?
  2000-11-14 22:41       ` Alexander Viro
@ 2000-11-14 22:51         ` Boyd Roberts
       [not found]           ` <boyd@planete.net>
                             ` (2 more replies)
       [not found]         ` <viro@math.psu.edu>
  1 sibling, 3 replies; 175+ messages in thread
From: Boyd Roberts @ 2000-11-14 22:51 UTC (permalink / raw)
  To: 9fans

From: Alexander Viro <viro@math.psu.edu>

> Not bloody likely. _Many_ applications exit without calling close

here we go.  the kernel closes the fd's as a part of exit,
like td said. 

duff knows what he's doing -- between the sheets.

you wanna outcode duff?




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

* Re: [9fans] AFS-client for Plan9 - ?
       [not found]         ` <viro@math.psu.edu>
@ 2000-11-14 23:00           ` Tom Duff
  2000-11-14 23:15             ` Alexander Viro
  2000-11-14 23:54           ` Tom Duff
  1 sibling, 1 reply; 175+ messages in thread
From: Tom Duff @ 2000-11-14 23:00 UTC (permalink / raw)
  To: 9fans

On Nov 14,  5:41pm, Alexander Viro wrote:
> On Tue, 14 Nov 2000, Tom Duff wrote:
> > UNIX applications can't exit without issuing the
> > close system call.  The exit system call internally calls out
> > to close for each open file.
>
> Not bloody likely. _Many_ applications exit without calling close(), so
> such system would die horribly under the leaks.

No.
Read what I said.
The exit system call closes all open files.
You cannot exit without closing.  (By `cannot'
I do not mean that you are enjoined from so
doing, but rather that it is not possible to
do so.)

You can, however, exit without fclosing, although
the stdio library tries to make that difficult.

-- 
Tom Duff.  I spent an interesting evening recently with a grain of salt.


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

* Re: [9fans] AFS-client for Plan9 - ?
       [not found]           ` <boyd@planete.net>
@ 2000-11-14 23:02             ` Tom Duff
  0 siblings, 0 replies; 175+ messages in thread
From: Tom Duff @ 2000-11-14 23:02 UTC (permalink / raw)
  To: 9fans

On Nov 14, 11:51pm, Boyd Roberts wrote:
> duff knows what he's doing -- between the sheets.
>
> you wanna outcode duff?

I am sitting in my workshop reading this,
and now my head won't fit through the door.

-- 
Tom Duff.  I spent an interesting evening recently with a grain of salt.


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

* Re: [9fans] AFS-client for Plan9 - ?
  2000-11-14 23:00           ` Tom Duff
@ 2000-11-14 23:15             ` Alexander Viro
  0 siblings, 0 replies; 175+ messages in thread
From: Alexander Viro @ 2000-11-14 23:15 UTC (permalink / raw)
  To: Tom Duff; +Cc: 9fans



On Tue, 14 Nov 2000, Tom Duff wrote:

> On Nov 14,  5:41pm, Alexander Viro wrote:
> > On Tue, 14 Nov 2000, Tom Duff wrote:
> > > UNIX applications can't exit without issuing the
> > > close system call.  The exit system call internally calls out
> > > to close for each open file.
> >
> > Not bloody likely. _Many_ applications exit without calling close(), so
> > such system would die horribly under the leaks.
> 
> No.
> Read what I said.

Erm... Ditto.

> The exit system call closes all open files.

Precisely. And any kernel that will try _not_ to do that will die under the
leaks produced by the $BIGNUM of applications expecting it do act as any
sane UNIX should. Thus "not bloody likely" - any attempt to change the
behaviour in that area is pretty much doomed.



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

* Re: [9fans] AFS-client for Plan9 - ?
       [not found]         ` <viro@math.psu.edu>
  2000-11-14 23:00           ` Tom Duff
@ 2000-11-14 23:54           ` Tom Duff
  2000-11-15  0:31             ` Alexander Viro
  1 sibling, 1 reply; 175+ messages in thread
From: Tom Duff @ 2000-11-14 23:54 UTC (permalink / raw)
  To: 9fans

> Precisely. And any kernel that will try _not_ to do that will die under the
> leaks produced by the $BIGNUM of applications expecting it do act as any
> sane UNIX should.
Which UNIX version lacks this behavior?
(Or are you trying to run UNIX programs
on some non-UNIX?)

-- 
Tom Duff.  I spent an interesting evening recently with a grain of salt.


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

* Re: [9fans] AFS-client for Plan9 - ?
  2000-11-14 23:54           ` Tom Duff
@ 2000-11-15  0:31             ` Alexander Viro
  2000-11-15  0:38               ` Boyd Roberts
  0 siblings, 1 reply; 175+ messages in thread
From: Alexander Viro @ 2000-11-15  0:31 UTC (permalink / raw)
  To: Tom Duff; +Cc: 9fans



On Tue, 14 Nov 2000, Tom Duff wrote:

> > Precisely. And any kernel that will try _not_ to do that will die under the
> > leaks produced by the $BIGNUM of applications expecting it do act as any
> > sane UNIX should.
> Which UNIX version lacks this behavior?
> (Or are you trying to run UNIX programs
> on some non-UNIX?)

Grr... OK, let me rephrase it:

	I really doubt that there is (or ever was) a UNIX variant that
would not do close-on-exit. Reason: lots and lots of programs that would
kill such system with file leaks.

IOW, "not likely" was about "some numskull changed it" part - such attempt
would backfire immediately. We are in violent agreement...



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

* Re: [9fans] AFS-client for Plan9 - ?
  2000-11-15  0:31             ` Alexander Viro
@ 2000-11-15  0:38               ` Boyd Roberts
  0 siblings, 0 replies; 175+ messages in thread
From: Boyd Roberts @ 2000-11-15  0:38 UTC (permalink / raw)
  To: 9fans

From: Alexander Viro <viro@math.psu.edu>

> IOW, "not likely" was about "some numskull changed it" part - such attempt
> would backfire immediately. We are in violent agreement...

if some 'numskull' would stand up and call bullshit on dat
the world world would be a better place.

tell me why the BSD f/S was written?

quadratic rehash -- give me a break.




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

* Re: [9fans] AFS-client for Plan9 - ?
  2000-11-14 22:51         ` Boyd Roberts
       [not found]           ` <boyd@planete.net>
@ 2000-11-20 10:55           ` Chris Locke
  2000-11-20 10:56           ` Douglas A. Gwyn
  2 siblings, 0 replies; 175+ messages in thread
From: Chris Locke @ 2000-11-20 10:55 UTC (permalink / raw)
  To: 9fans


The kernel cannot close the fds if the machine has crashed.
The original post said "if the local machine crashes".
This can also be read as  "some numskul knocked
the reset button / kicked the power lead out /
raccoon sat on local power transformer etc. etc."

Chris.


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

* Re: [9fans] AFS-client for Plan9 - ?
  2000-11-14 22:51         ` Boyd Roberts
       [not found]           ` <boyd@planete.net>
  2000-11-20 10:55           ` Chris Locke
@ 2000-11-20 10:56           ` Douglas A. Gwyn
  2000-11-20 13:24             ` Boyd Roberts
  2 siblings, 1 reply; 175+ messages in thread
From: Douglas A. Gwyn @ 2000-11-20 10:56 UTC (permalink / raw)
  To: 9fans

Boyd Roberts wrote:
> here we go.  the kernel closes the fd's as a part of exit,
> like td said.

Further, upon return from main(), all the exit() actions
are performed.

_exit(), on the other hand, does not perform any stdio.
(Its main use is in a child branch of a fork.)


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

* Re: [9fans] AFS-client for Plan9 - ?
  2000-11-20 10:56           ` Douglas A. Gwyn
@ 2000-11-20 13:24             ` Boyd Roberts
  0 siblings, 0 replies; 175+ messages in thread
From: Boyd Roberts @ 2000-11-20 13:24 UTC (permalink / raw)
  To: 9fans

From: Douglas A. Gwyn <gwyn@arl.army.mil>

> Boyd Roberts wrote:
> > here we go.  the kernel closes the fd's as a part of exit,
> > like td said.
> 
> Further, upon return from main(), all the exit() actions
> are performed.
> 
> _exit(), on the other hand, does not perform any stdio.
> (Its main use is in a child branch of a fork.)

absolutely correct.




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

* [9fans] PGP
@ 2001-04-23  5:53 ` Lucio De Re
  2001-04-23  6:01   ` Scott Schwartz
  0 siblings, 1 reply; 175+ messages in thread
From: Lucio De Re @ 2001-04-23  5:53 UTC (permalink / raw)
  To: 9fans mailing list

I can't seem to find the sources, but I still have a 2ed PGP binary.
Does anyone know where I can find an update?  Or, for that matter, how
I came across the 2ed version?

++L


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

* Re: [9fans] PGP
  2001-04-23  5:53 ` [9fans] PGP Lucio De Re
@ 2001-04-23  6:01   ` Scott Schwartz
  2001-04-23 16:13     ` Dan Cross
  0 siblings, 1 reply; 175+ messages in thread
From: Scott Schwartz @ 2001-04-23  6:01 UTC (permalink / raw)
  To: 9fans mailing list

> Or, for that matter, how I came across the 2ed version?

Ages ago I posted patches to get it to compile under APE.
Someone else can repeat the exercise this time. :)



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

* Re: [9fans] PGP
  2001-04-23  6:01   ` Scott Schwartz
@ 2001-04-23 16:13     ` Dan Cross
  0 siblings, 0 replies; 175+ messages in thread
From: Dan Cross @ 2001-04-23 16:13 UTC (permalink / raw)
  To: 9fans

In article <20010423060128.16241.qmail@g.bio.cse.psu.edu> you write:
>Ages ago I posted patches to get it to compile under APE.
>Someone else can repeat the exercise this time. :)

PGP 2 is all well and good, but isn't compatable with the keys
generated by PGP >=5, which is what all the kids are using these
days.

Unfortunately, the latest version of PGP (6.5.8) uses C++.  Grrr....
I tried to port GPG (the GNU version, which at least is written in
straight up C), but gave up in disgust after a few hours of fixing
stupid type incompatabilities in various source files.

It'd be nice to see an OpenPGP implementation under Plan 9, maybe
built from the ground up.

	- Dan C.



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

* Re: [9fans] Sam question
@ 2001-08-18  7:38 nigel
  2001-08-18  8:31 ` Steve Kilbane
                   ` (3 more replies)
  0 siblings, 4 replies; 175+ messages in thread
From: nigel @ 2001-08-18  7:38 UTC (permalink / raw)
  To: 9fans

OK, so 8 space tabs, ridiculously long variable names, unnecessary
nesting, hungarian notation, and insuffcient use of subfunctions
blows the 80 column limit too quickly.

So use more columns! When did you last use a VT100?

As for clarity, a consistent style is all that is required. Within bounds, it
doesn't matter so much what the style is. The assistance it gives in
reading other people's code is immense.

Programmers should be flexible enough to communicate in the local
dialect whether it be OTB, or something widly different.



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

* Re: [9fans] Sam question
  2001-08-18  7:38 [9fans] Sam question nigel
@ 2001-08-18  8:31 ` Steve Kilbane
  2001-08-20  8:57   ` Luis Fernandes
  2001-08-18 11:06 ` Boyd Roberts
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 175+ messages in thread
From: Steve Kilbane @ 2001-08-18  8:31 UTC (permalink / raw)
  To: 9fans

Nigel:

> As for clarity, a consistent style is all that is required. Within bounds, it
> doesn't matter so much what the style is. The assistance it gives in
> reading other people's code is immense.
> 
> Programmers should be flexible enough to communicate in the local
> dialect whether it be OTB, or something widly different.

Exactly my point. Put any two programmers together, and they'll find
*something* they can disagree on, for layout. It's a holy war issue that'll
never be completely solved, so why worry? Get them to write better code,
instead.

steve




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

* Re: [9fans] Sam question
  2001-08-18  7:38 [9fans] Sam question nigel
  2001-08-18  8:31 ` Steve Kilbane
@ 2001-08-18 11:06 ` Boyd Roberts
  2001-08-19  6:57 ` Lucio De Re
  2001-08-19 20:57 ` Dan Cross
  3 siblings, 0 replies; 175+ messages in thread
From: Boyd Roberts @ 2001-08-18 11:06 UTC (permalink / raw)
  To: 9fans

> As for clarity, a consistent style is all that is required. Within bounds, it
> doesn't matter so much what the style is. The assistance it gives in
> reading other people's code is immense.

very necessary when hacking the 7th ed's shell's shellgol.




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

* Re: [9fans] Sam question
  2001-08-18  7:38 [9fans] Sam question nigel
  2001-08-18  8:31 ` Steve Kilbane
  2001-08-18 11:06 ` Boyd Roberts
@ 2001-08-19  6:57 ` Lucio De Re
  2001-08-19 10:54   ` Boyd Roberts
  2001-08-19 20:57 ` Dan Cross
  3 siblings, 1 reply; 175+ messages in thread
From: Lucio De Re @ 2001-08-19  6:57 UTC (permalink / raw)
  To: 9fans

On Sat, Aug 18, 2001 at 08:38:31AM +0100, nigel@9fs.org wrote:
> 
> So use more columns! When did you last use a VT100?
> 
All the time, in emulation at least :-(

Encouraging wider lines has the drawback that my ceiling may
well be your floor.  So how do we communicate?

As Boyd aptly pointed out, readability should come very high in
the priorities.  I'll even accept "continue", "break", "return"
and "exit()" as compromises for the sake of readability.  I
_do_ draw the line at "goto".

++L


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

* Re: [9fans] Sam question
  2001-08-19  6:57 ` Lucio De Re
@ 2001-08-19 10:54   ` Boyd Roberts
  2001-08-19 11:13     ` Lucio De Re
  0 siblings, 1 reply; 175+ messages in thread
From: Boyd Roberts @ 2001-08-19 10:54 UTC (permalink / raw)
  To: 9fans

From: "Lucio De Re" <lucio@proxima.alt.za>
> I _do_ draw the line at "goto".

well it's a toolkit.  sometimes you have to use 'goto' for clarity,
much as i am loathed to.  usually a:

    for (;;)
    {
        for (;;)
        {
            ...

            if (forbid(c))
                goto break2;

            ...
        }
    }

break2:

the problem being that at the end of the first loop requires
some sort of test (probably the same test as in the second
loop) which will cause code duplication and one day you will
forget to keep both tests in sync.

iirc it should be 'goto fonfon' :)




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

* Re: [9fans] Sam question
  2001-08-19 10:54   ` Boyd Roberts
@ 2001-08-19 11:13     ` Lucio De Re
  2001-08-19 12:02       ` Boyd Roberts
  0 siblings, 1 reply; 175+ messages in thread
From: Lucio De Re @ 2001-08-19 11:13 UTC (permalink / raw)
  To: 9fans

On Sun, Aug 19, 2001 at 12:54:18PM +0200, Boyd Roberts wrote:
> 
> well it's a toolkit.  sometimes you have to use 'goto' for clarity,
> much as i am loathed to.  usually a:
> 
I believe "goto" was retained in C for the benefit of code
generators.

The alternative to "goto" in your instance is actually (almost)
obvious from your explanation ;-)  You need the duplicate test
to check a condition that will not change with changed
circumstances, for example a variable set earlier or a
function.  The redundancy is unavoidable, at the end of a
search you still need to know if you succeeded or failed:

	while (!finished && !found) {
	}
	if (finished) {
	} else { // found!
	}

Sorry to teach you to suck eggs, I'm sure I'm not telling you
anything new :-)  On the other hand, I'd love a language where
the above can be represented elegantly (for some value of
elegantly, and SNOBOL doesn't count :-)

++L

PS: Try/Catch in C++ addresses this out-of-band behaviour, Tcl
uses "uplevel" and all round it does cry out for a clean
solution.  But I think it is quite intractable in linear
languages and the human intellect balks at coding in two
dimensions (or is it two-dimensional what we do and three-
dimensional would be too hard?).


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

* Re: [9fans] Sam question
  2001-08-19 11:13     ` Lucio De Re
@ 2001-08-19 12:02       ` Boyd Roberts
  2001-08-19 12:23         ` Lucio De Re
  0 siblings, 1 reply; 175+ messages in thread
From: Boyd Roberts @ 2001-08-19 12:02 UTC (permalink / raw)
  To: 9fans

> Sorry to teach you to suck eggs, I'm sure I'm not telling you
> anything new :-)

the trouble is that the mess you are trying to get out of may
be extremely inelegant to test for at the end of the outer loop.

it's usually error cases that screw things up and destroy perfectly
good loops.




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

* Re: [9fans] Sam question
  2001-08-19 12:02       ` Boyd Roberts
@ 2001-08-19 12:23         ` Lucio De Re
  2001-08-19 16:17           ` Steve Kilbane
  0 siblings, 1 reply; 175+ messages in thread
From: Lucio De Re @ 2001-08-19 12:23 UTC (permalink / raw)
  To: 9fans

On Sun, Aug 19, 2001 at 02:02:44PM +0200, Boyd Roberts wrote:
> 
> the trouble is that the mess you are trying to get out of may
> be extremely inelegant to test for at the end of the outer loop.
> 
> it's usually error cases that screw things up and destroy perfectly
> good loops.
> 
Agreed.  And it isn't always feasible to test in advance,
although even when it is, one may inherit a previous pile of
spaghetti.

With errors (I like to think of them as contingencies), one
knows something may go wrong, but not what, only the effects
can be identified (an NFS service is unmounted, or a file is
corrupt, whatever).  The "try/catch" approach makes sense, but
a clean (nevermind elegant) implementations would have to pass
a lot of criticism.  Yet the alternative is the dreaded "goto"
- better the devil you know syndrome?

Hm, the other contributing factor is the lifetime of code.  One
never expects prototyping code to be still running 20 years
later, yet I doubt there's much that is proper
production-quality code out there.  If one profiled code for a
while, the uncertainty in the middle of a loop would eventually
turn into predictable events and the "goto"s could be replaced
with precondition testing.  But who profiles prototypes?

++L


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

* Re: [9fans] Sam question
  2001-08-19 12:23         ` Lucio De Re
@ 2001-08-19 16:17           ` Steve Kilbane
  0 siblings, 0 replies; 175+ messages in thread
From: Steve Kilbane @ 2001-08-19 16:17 UTC (permalink / raw)
  To: 9fans

> The "try/catch" approach makes sense, but
> a clean (nevermind elegant) implementations would have to pass
> a lot of criticism.

Except that breaking out of several loops can be normal program
behaviour, rather than an error condition. It's not out-of-bounds,
necessarily.

> Yet the alternative is the dreaded "goto"

Not really. Being able to name loops and exit or continue a
particular nesting loop is a safe middle ground - it just
happens to be missing from C. There's inner-loop-only, and
there's goto-anywhere-in-this-function, which is a shame.

steve




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

* Re: [9fans] Sam question
  2001-08-18  7:38 [9fans] Sam question nigel
                   ` (2 preceding siblings ...)
  2001-08-19  6:57 ` Lucio De Re
@ 2001-08-19 20:57 ` Dan Cross
  3 siblings, 0 replies; 175+ messages in thread
From: Dan Cross @ 2001-08-19 20:57 UTC (permalink / raw)
  To: 9fans

In article <E15Y0gh-000N2j-0U@anchor-post-30.mail.demon.net> you write:
>OK, so 8 space tabs, ridiculously long variable names, unnecessary
>nesting, hungarian notation, and insuffcient use of subfunctions
>blows the 80 column limit too quickly.
>
>So use more columns! When did you last use a VT100?

Probably six years ago (really!), but I did use a laser printer on
Friday.

One reason the 80 column limit still makes sense is that one can print
the code out with a minimum of hassle (no special pretty printers or
whatever) and it'll be readable enough to review.

>As for clarity, a consistent style is all that is required. Within bounds, it
>doesn't matter so much what the style is. The assistance it gives in
>reading other people's code is immense.

I think it's the, ``within bounds'' part that throws so many people
off.  Things like ``Hungarian notation'' just tend to obscure a program,
and even though my company's coding standards specifically ban it,
the windows programmers put it in anyway.  How terribly frustrating.

I agree that consistency is important, but consistent unreadable garbage
isn't too helpful.

Something I've noticed is that programmers who don't take the time
and care to produce a *readable* program are the ones who write bad
software.  Someone who actually puts some effort into the presentation
is, in my experience, more likely to produce a correct, working and
maintainable program than someone who doesn't.

>Programmers should be flexible enough to communicate in the local
>dialect whether it be OTB, or something widly different.

Sure, as long as the local dialect is reasonable, or should I say
readable?  :-)

	- Dan C.



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

* Re: [9fans] Sam question
  2001-08-18  8:31 ` Steve Kilbane
@ 2001-08-20  8:57   ` Luis Fernandes
  2001-08-20 11:10     ` Boyd Roberts
  0 siblings, 1 reply; 175+ messages in thread
From: Luis Fernandes @ 2001-08-20  8:57 UTC (permalink / raw)
  To: 9fans

>>>>> "steve" == Steve Kilbane <steve@whitecrow.demon.co.uk> writes:

    steve> Exactly my point. Put any two programmers together, and
    steve> they'll find *something* they can disagree on, for
    steve> layout. It's a holy war issue that'll never be completely
    steve> solved, so why worry?

Well, what if there was an editor that re-displayed the code (braces,
tabs, everything) in the exact manner you preferred, regradless of
it's structure in the actual file? Then everyone could have their
very own One True Brace Style and One True Tab Setting.  Wouldn't
that put an end to the holy wars?

I once proposed this idea to Barry Warsaw, the author of C-mode for
Emacs, and IIRC he said it wasn't worth the effort.


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

* Re: [9fans] Sam question
  2001-08-20  8:57   ` Luis Fernandes
@ 2001-08-20 11:10     ` Boyd Roberts
  0 siblings, 0 replies; 175+ messages in thread
From: Boyd Roberts @ 2001-08-20 11:10 UTC (permalink / raw)
  To: 9fans

> I once proposed this idea to Barry Warsaw, the author of C-mode for
> Emacs, and IIRC he said it wasn't worth the effort.

sounds like a good call and from an emacs head too -- amazing.




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

* Re: [9fans] mv vs cp
@ 2001-10-07 16:23 jmk
  2001-10-08  4:28 ` Lucio De Re
                   ` (2 more replies)
  0 siblings, 3 replies; 175+ messages in thread
From: jmk @ 2001-10-07 16:23 UTC (permalink / raw)
  To: 9fans

As Dave points out, there are a lot of balls in the air during
an atomic 'rename'. 4.2BSD introduced the 'rename' system call,
and as an alpha/beta tester for 4.1[abc] and 4.2BSD I can testify
to how long it took to get it right and how much ugly code was
involved.

--jim


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

* Re: [9fans] mv vs cp
  2001-10-07 16:23 [9fans] mv vs cp jmk
@ 2001-10-08  4:28 ` Lucio De Re
  2001-10-08  4:49   ` Alexander Viro
  2001-10-08  9:50   ` Douglas A. Gwyn
  2001-10-08  9:42 ` Thomas Bushnell, BSG
  2001-10-08 17:43 ` [9fans] rewriting paths [was: mv vs cp] Richard Uhtenwoldt
  2 siblings, 2 replies; 175+ messages in thread
From: Lucio De Re @ 2001-10-08  4:28 UTC (permalink / raw)
  To: 9fans

On Sun, Oct 07, 2001 at 12:23:59PM -0400, jmk@plan9.bell-labs.com wrote:
> 
> As Dave points out, there are a lot of balls in the air during
> an atomic 'rename'. 4.2BSD introduced the 'rename' system call,
> and as an alpha/beta tester for 4.1[abc] and 4.2BSD I can testify
> to how long it took to get it right and how much ugly code was
> involved.
> 
There are really only two social factors overriding here.  People
like me have grown to expect it, unfortunate as it may be, and the
alternative is inconsistent and open to error, besides being much
more time and resource intensive.

In addition, it may be more consistent for mv not to go part way
and do a cp+rm on my behalf _on_condition_ that the request is not
recursive, rather not do it at all.  But I suppose my MSDOS background
shows here, the "mv" I'm thinking of is "REN".  That, I ought to
be able to fix by crippling "mv".

What wasn't clear from Dave's response, is whether we would need
a "Tmv" to do it all, including recursive copies that (shudder!)
may need to understand the entire namespace, or just "Tren" that
may still change the namespace, but at least won't have to make
decisions on how to follow mounted resources.

I should imagine that BSD "rename" must have been made orders of
magnitude more complex by symbolic links.  After all, SysV 3.2 "mv"
could rename directories into other directories in the same
filesystem, couldn't it?  It's been a long time since my 3B2 was
turned off, so it's hard for me to check.  I'm almost certain SCO
Xenix and Unix could do it without copying.

++L


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

* Re: [9fans] mv vs cp
  2001-10-08  4:28 ` Lucio De Re
@ 2001-10-08  4:49   ` Alexander Viro
  2001-10-08  6:10     ` George Michaelson
  2001-10-08  9:51     ` Thomas Bushnell, BSG
  2001-10-08  9:50   ` Douglas A. Gwyn
  1 sibling, 2 replies; 175+ messages in thread
From: Alexander Viro @ 2001-10-08  4:49 UTC (permalink / raw)
  To: 9fans



On Mon, 8 Oct 2001, Lucio De Re wrote:

> On Sun, Oct 07, 2001 at 12:23:59PM -0400, jmk@plan9.bell-labs.com wrote:
> > 
> > As Dave points out, there are a lot of balls in the air during
> > an atomic 'rename'. 4.2BSD introduced the 'rename' system call,
> > and as an alpha/beta tester for 4.1[abc] and 4.2BSD I can testify
> > to how long it took to get it right and how much ugly code was
> > involved.

So can anybody who had seen current 4.4BSD derivatives.  _None_ of them
got it right.  rename()/rename() race (creating a loop and detaching it
from the rest of tree) is still there.
 
> There are really only two social factors overriding here.  People
> like me have grown to expect it, unfortunate as it may be, and the
> alternative is inconsistent and open to error, besides being much
> more time and resource intensive.

> I should imagine that BSD "rename" must have been made orders of
> magnitude more complex by symbolic links.  After all, SysV 3.2 "mv"
> could rename directories into other directories in the same
> filesystem, couldn't it?  It's been a long time since my 3B2 was

Same race + metric buttload of other fun stuff.

And then there is _really_ fun stuff in userland.  Like find / mv and
rm -rf / mv races that allow any user to create a deep tree in /tmp,
wait for cron-ran script to start removing it and do something along
the lines of mv /tmp/foo/bar/baz /tmp/quux, tricking find(1) or rm(1)
into walking up into the root and proceeding from there.  Works like
charm on almost all Unices I've seen.

Sure, it's a broken userland and it needs to be fixed whenever such
bugs are found, but the point is that writing correct tree-walker
that would deal gracefully with cross-directory renames is _nasty_.



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

* Re: [9fans] mv vs cp
  2001-10-08  4:49   ` Alexander Viro
@ 2001-10-08  6:10     ` George Michaelson
  2001-10-08  6:34       ` Alexander Viro
  2001-10-08  6:54       ` Lucio De Re
  2001-10-08  9:51     ` Thomas Bushnell, BSG
  1 sibling, 2 replies; 175+ messages in thread
From: George Michaelson @ 2001-10-08  6:10 UTC (permalink / raw)
  To: 9fans


> So can anybody who had seen current 4.4BSD derivatives.  _None_ of them
> got it right.  rename()/rename() race (creating a loop and detaching it
> from the rest of tree) is still there.
>  

So can you say how often in practice that race condition is exercised? 

> > I should imagine that BSD "rename" must have been made orders of
> > magnitude more complex by symbolic links.  After all, SysV 3.2 "mv"
> > could rename directories into other directories in the same
> > filesystem, couldn't it?  It's been a long time since my 3B2 was
> 
> Same race + metric buttload of other fun stuff.

turning a strict tree into a mesh/DAG is always fun. But, its also possibly
useful for some people. Me? I liked the newcastle connection but we don't
have /.../ so I guess I lost. Namespaces might be in the same spirit.

I understand its a deeply held religion, but what IS it with runtime/use-time
reference by name which people find so offensive in the filesystem apart from
implementation complexity? We have call by name/value/reference in code, why
not in namespaces?

-George
--
George Michaelson       |  APNIC
Email: ggm@apnic.net    |  PO Box 2131 Milton QLD 4064
Phone: +61 7 3367 0490  |  Australia
  Fax: +61 7 3367 0482  |  http://www.apnic.net




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

* Re: [9fans] mv vs cp
  2001-10-08  6:10     ` George Michaelson
@ 2001-10-08  6:34       ` Alexander Viro
  2001-10-08  6:49         ` George Michaelson
  2001-10-08  6:54       ` Lucio De Re
  1 sibling, 1 reply; 175+ messages in thread
From: Alexander Viro @ 2001-10-08  6:34 UTC (permalink / raw)
  To: 9fans



On Mon, 8 Oct 2001, George Michaelson wrote:

> 
> > So can anybody who had seen current 4.4BSD derivatives.  _None_ of them
> > got it right.  rename()/rename() race (creating a loop and detaching it
> > from the rest of tree) is still there.
> >  
> 
> So can you say how often in practice that race condition is exercised? 

Any time when attacker feels like that.  System where nonprivileged users
can cause filesystem corruption is broken.  Period.



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

* Re: [9fans] mv vs cp
  2001-10-08  6:34       ` Alexander Viro
@ 2001-10-08  6:49         ` George Michaelson
  2001-10-08  7:00           ` Lucio De Re
  0 siblings, 1 reply; 175+ messages in thread
From: George Michaelson @ 2001-10-08  6:49 UTC (permalink / raw)
  To: 9fans


> Any time when attacker feels like that.  System where nonprivileged users
> can cause filesystem corruption is broken.  Period.
> 

Umm yes, but Alexander, when was the last time you *saw* one of these?

-George
--
George Michaelson       |  APNIC
Email: ggm@apnic.net    |  PO Box 2131 Milton QLD 4064
Phone: +61 7 3367 0490  |  Australia
  Fax: +61 7 3367 0482  |  http://www.apnic.net




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

* Re: [9fans] mv vs cp
  2001-10-08  6:10     ` George Michaelson
  2001-10-08  6:34       ` Alexander Viro
@ 2001-10-08  6:54       ` Lucio De Re
  2001-10-08  7:10         ` George Michaelson
  1 sibling, 1 reply; 175+ messages in thread
From: Lucio De Re @ 2001-10-08  6:54 UTC (permalink / raw)
  To: 9fans

On Mon, Oct 08, 2001 at 04:10:29PM +1000, George Michaelson wrote:
> 
> I understand its a deeply held religion, but what IS it with runtime/use-time
> reference by name which people find so offensive in the filesystem apart from
> implementation complexity? We have call by name/value/reference in code, why
> not in namespaces?
> 
I suppose the fact that some, like me, will have trouble understanding
the discussion (took me a while just to figure the Directed Acyclical
Graph reference) I suppose religious war is to be expected?

If I understand the above correctly, my take is that symbolic links
are totally unchecked filesystem GOTOs and deserve a much worse fate
than they get.  Specially as they can point to the void and often do.

As to the rules (-L) for when they are dereferenced or not, that's a
morrass of confusion.

++L


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

* Re: [9fans] mv vs cp
  2001-10-08  6:49         ` George Michaelson
@ 2001-10-08  7:00           ` Lucio De Re
  2001-10-08  7:13             ` George Michaelson
  2001-10-08  7:28             ` Alexander Viro
  0 siblings, 2 replies; 175+ messages in thread
From: Lucio De Re @ 2001-10-08  7:00 UTC (permalink / raw)
  To: 9fans

On Mon, Oct 08, 2001 at 04:49:43PM +1000, George Michaelson wrote:
> 
> > Any time when attacker feels like that.  System where nonprivileged users
> > can cause filesystem corruption is broken.  Period.
> > 
> 
> Umm yes, but Alexander, when was the last time you *saw* one of these?
> 
It only needs to happen once.  Code Red/NIMDA anyone?

++L


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

* Re: [9fans] mv vs cp
  2001-10-08  6:54       ` Lucio De Re
@ 2001-10-08  7:10         ` George Michaelson
  2001-10-08  8:28           ` Lucio De Re
  0 siblings, 1 reply; 175+ messages in thread
From: George Michaelson @ 2001-10-08  7:10 UTC (permalink / raw)
  To: 9fans


> I suppose the fact that some, like me, will have trouble understanding
> the discussion (took me a while just to figure the Directed Acyclical
> Graph reference) I suppose religious war is to be expected?
> 
> If I understand the above correctly, my take is that symbolic links
> are totally unchecked filesystem GOTOs and deserve a much worse fate
> than they get.  Specially as they can point to the void and often do.
> 

Riiight, but that was designed in. Its a goal. They wanted that behaviour.

> As to the rules (-L) for when they are dereferenced or not, that's a
> morrass of confusion.

No argument. That could have been done so much better.

But the idea of a filename, booked into the filename space which says

	"I may not resolve all the time, but if I do, I point to <x>"

Isn't so inherently evil to me. it seems to me it mimics real-world behaviours
rather well.

Pointing out M$ has .LNK isn't going to help my cause much is it :-)

cheers
	-George



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

* Re: [9fans] mv vs cp
  2001-10-08  7:00           ` Lucio De Re
@ 2001-10-08  7:13             ` George Michaelson
  2001-10-08  7:44               ` Alexander Viro
  2001-10-08  7:28             ` Alexander Viro
  1 sibling, 1 reply; 175+ messages in thread
From: George Michaelson @ 2001-10-08  7:13 UTC (permalink / raw)
  To: 9fans


> On Mon, Oct 08, 2001 at 04:49:43PM +1000, George Michaelson wrote:
> > 
> > > Any time when attacker feels like that.  System where nonprivileged use
rs
> > > can cause filesystem corruption is broken.  Period.
> > > 
> > 
> > Umm yes, but Alexander, when was the last time you *saw* one of these?
> > 
> It only needs to happen once.  Code Red/NIMDA anyone?
> 
> ++L
> 

Are you saying that this problem demonstrably exploited the race condition
between cp/mv and rename as implemented in FreeBSD?

I really do mean the question as put:

when was the last time anybody saw a successful exploit of this race condition
or an unstable filesystem they can show came from it, exploit or accident?

I have seen many problems with UFS/FFS, and Softupdates gave me the willeys
but I have also not yet seen serious corruption of the on-disk state which
lies directly with problems in the FS code itself. Side-effects of kernel
crashes during meta-state updates, sure. But this sounds to me like FUD which
in practice doesn't exist.

You could probably argue half a million potential race conditions exist in
lots of systems. The frequency they occur is different.

-George
--
George Michaelson       |  APNIC
Email: ggm@apnic.net    |  PO Box 2131 Milton QLD 4064
Phone: +61 7 3367 0490  |  Australia
  Fax: +61 7 3367 0482  |  http://www.apnic.net




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

* Re: [9fans] mv vs cp
  2001-10-08  7:00           ` Lucio De Re
  2001-10-08  7:13             ` George Michaelson
@ 2001-10-08  7:28             ` Alexander Viro
  1 sibling, 0 replies; 175+ messages in thread
From: Alexander Viro @ 2001-10-08  7:28 UTC (permalink / raw)
  To: 9fans



On Mon, 8 Oct 2001, Lucio De Re wrote:

> On Mon, Oct 08, 2001 at 04:49:43PM +1000, George Michaelson wrote:
> > 
> > > Any time when attacker feels like that.  System where nonprivileged users
> > > can cause filesystem corruption is broken.  Period.
> > 
> > Umm yes, but Alexander, when was the last time you *saw* one of these?
> > 
> It only needs to happen once.  Code Red/NIMDA anyone?

Now, now.  It's nowhere near the nastiness of remote root compromise, but
yes, "nobody will ever try to screw me" is exactly the attitude that made
them possible.

As for the original question - two weeks ago, when I had demonstrated the
effect to a guy who claimed the OpenBSD kernel was "bulletproof".  OTOH, in
case of OpenBSD it's one of the mildest problems - there being able to do
rfork(RFPROC) means being able to cause kernel panic (races between
fstat()/close(), dup2()/close(), write()/close() - you name it).



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

* Re: [9fans] mv vs cp
  2001-10-08  7:13             ` George Michaelson
@ 2001-10-08  7:44               ` Alexander Viro
  0 siblings, 0 replies; 175+ messages in thread
From: Alexander Viro @ 2001-10-08  7:44 UTC (permalink / raw)
  To: 9fans


[I suggest taking the thread off-list - further details of rename() races
in *BSD may be interesting, but they are off-topic for 9fans]

On Mon, 8 Oct 2001, George Michaelson wrote:

> Are you saying that this problem demonstrably exploited the race condition
> between cp/mv and rename as implemented in FreeBSD?

	Yes.  ufs_rename() is racy and yes, that race is wide enough to be
exploitable.  BTDT.
 
> I really do mean the question as put:
> 
> when was the last time anybody saw a successful exploit of this race condition
> or an unstable filesystem they can show came from it, exploit or accident?
> 
> I have seen many problems with UFS/FFS, and Softupdates gave me the willeys
> but I have also not yet seen serious corruption of the on-disk state which
> lies directly with problems in the FS code itself. Side-effects of kernel
> crashes during meta-state updates, sure. But this sounds to me like FUD which
> in practice doesn't exist.

	process 1:  current directory in /tmp/a/a/a/a/a, does
rename("/tmp/b/b", "a");
	process 2:  current directory in /tmp/b/b/b/b/b, does
rename("/tmp/a/a", "b");

	Normal outcome: first process to do rename() succeeds, second - fails
with ELOOP.  With the right timing _both_ succeed, creating a loop and
detaching it from the rest of filesystem.

	Notice that use of relative pathnames is critical here - otherwise
lookup in the second rename() will block on the lock acquired by the first
one.  Code in /sys/ufs/ufs/ufs_vnops.c implicitly assumes that lookups
ending in descendants of directory will have to pass through that directory.
That assumption is obviously false - namei(9) can start in a descendant of
directory in question.

	And no, it's not too narrow - window includes quite a bit of disk
IO.  Figuring out details of turning that into full-blown attack (i.e.
what should be done to widen the window) are left as an exercise to anyone
who can RTFS - it's pretty straightforward.



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

* Re: [9fans] mv vs cp
  2001-10-08  7:10         ` George Michaelson
@ 2001-10-08  8:28           ` Lucio De Re
  0 siblings, 0 replies; 175+ messages in thread
From: Lucio De Re @ 2001-10-08  8:28 UTC (permalink / raw)
  To: 9fans

On Mon, Oct 08, 2001 at 05:10:27PM +1000, George Michaelson wrote:
> 
> Pointing out M$ has .LNK isn't going to help my cause much is it :-)
> 
Well, and a registry.  In Plan 9's idiom, they could do with a few
more iterations.

One valid point is that computers are able to mimic real life more
closely, but I'm of the school that was trained on deterministic
behaviour.

Non-deterministic bahaviour is a curse and a sufficiently vast
computer system is non-deterministic.  Dijkstra had trouble with
interrupts, but I believe they could be assimilated into a
deterministic framework, modern bloat is orders of magnitude too
complex for such treatment.

There's a strange commercial strength in non-determinism, basically
getting the luser to accept failure as if it were essential.  I
suppose that was the M$ genius: don't let the user expect perfection
in anything but the _next_ generation of software.

++L


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

* Re: [9fans] mv vs cp
  2001-10-07 16:23 [9fans] mv vs cp jmk
  2001-10-08  4:28 ` Lucio De Re
@ 2001-10-08  9:42 ` Thomas Bushnell, BSG
  2001-10-08 17:43 ` [9fans] rewriting paths [was: mv vs cp] Richard Uhtenwoldt
  2 siblings, 0 replies; 175+ messages in thread
From: Thomas Bushnell, BSG @ 2001-10-08  9:42 UTC (permalink / raw)
  To: 9fans

jmk@plan9.bell-labs.com writes:

> As Dave points out, there are a lot of balls in the air during
> an atomic 'rename'. 4.2BSD introduced the 'rename' system call,
> and as an alpha/beta tester for 4.1[abc] and 4.2BSD I can testify
> to how long it took to get it right and how much ugly code was
> involved.

Color me confused, but isn't it a jillion times harder to get it right
in user space?


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

* Re: [9fans] mv vs cp
  2001-10-08  4:28 ` Lucio De Re
  2001-10-08  4:49   ` Alexander Viro
@ 2001-10-08  9:50   ` Douglas A. Gwyn
  2001-10-08 11:13     ` Lucio De Re
  1 sibling, 1 reply; 175+ messages in thread
From: Douglas A. Gwyn @ 2001-10-08  9:50 UTC (permalink / raw)
  To: 9fans

Lucio De Re wrote:
> There are really only two social factors overriding here.  People
> like me have grown to expect it, unfortunate as it may be, and the
> alternative is inconsistent and open to error, besides being much
> more time and resource intensive.

We should be careful to distinguish between a utility command,
which usually is best if it works as widely as it can to do a
simply described function (from the user point of view; it might
be complicated to implement), and a fundamental operation in the
protocol itself (I/O primitive).

I think it is reasonable for the 9P200x protocol to have a
Trename request, which of course can fail if the operation is
not possible or makes no sense for the particular object.
Then it is up to the (file) server to make it happen; the
important thing is that the file server need only use local
locks while it shuffles things around (if precached, it could
be serviced as an atomic operation).

There is the question of what permissions should be required
for a rename to succeed: write access on the directory, and/or
on the named object itself?  This may be the same question as
whether the rename ought to be for a handle in the directory
(i.e. Trename is an operation on a directory) or for a handle
on the named object.

I am inclined to think rename ought to work within a directory
but not in general between distinct path prefixes.


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

* Re: [9fans] mv vs cp
  2001-10-08  4:49   ` Alexander Viro
  2001-10-08  6:10     ` George Michaelson
@ 2001-10-08  9:51     ` Thomas Bushnell, BSG
  2001-10-08 10:30       ` Alexander Viro
  2001-10-08 10:34       ` Boyd Roberts
  1 sibling, 2 replies; 175+ messages in thread
From: Thomas Bushnell, BSG @ 2001-10-08  9:51 UTC (permalink / raw)
  To: 9fans

viro@math.psu.edu (Alexander Viro) writes:

> So can anybody who had seen current 4.4BSD derivatives.  _None_ of them
> got it right.  rename()/rename() race (creating a loop and detaching it
> from the rest of tree) is still there.

I'm pretty sure you're incorrect.  Can you describe the case in more
detail? 


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

* Re: [9fans] mv vs cp
  2001-10-08  9:51     ` Thomas Bushnell, BSG
@ 2001-10-08 10:30       ` Alexander Viro
  2001-10-09  9:03         ` Thomas Bushnell, BSG
  2001-10-08 10:34       ` Boyd Roberts
  1 sibling, 1 reply; 175+ messages in thread
From: Alexander Viro @ 2001-10-08 10:30 UTC (permalink / raw)
  To: 9fans



On Mon, 8 Oct 2001, Thomas Bushnell, BSG wrote:

> viro@math.psu.edu (Alexander Viro) writes:
> 
> > So can anybody who had seen current 4.4BSD derivatives.  _None_ of them
> > got it right.  rename()/rename() race (creating a loop and detaching it
> > from the rest of tree) is still there.
> 
> I'm pretty sure you're incorrect.  Can you describe the case in more
> detail? 

I'm pretty sure in the opposite and unfortunately *BSD source happens to
agree with me.  Consider the scenario I've described upthread (s/ELOOP/EINVAL/
- sorry about the braino) and think what happens if both renames get to
ufs_checkpath() simultaneously.  See /src/ufs/ufs/ufs_vnode.c::ufs_rename()
for details.  Notice that none of the lookups is going to come anywhere near
the vnodes affected by another rename() and ufs_checkpath() is called with
fvp unlocked and it unlocks dp (parent of fvp).



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

* Re: [9fans] mv vs cp
  2001-10-08  9:51     ` Thomas Bushnell, BSG
  2001-10-08 10:30       ` Alexander Viro
@ 2001-10-08 10:34       ` Boyd Roberts
  1 sibling, 0 replies; 175+ messages in thread
From: Boyd Roberts @ 2001-10-08 10:34 UTC (permalink / raw)
  To: 9fans

"Thomas Bushnell, BSG" wrote:
> I'm pretty sure you're incorrect.  Can you describe the case in more
> detail?

They spent quite a while in rename hell.


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

* Re: [9fans] mv vs cp
  2001-10-08  9:50   ` Douglas A. Gwyn
@ 2001-10-08 11:13     ` Lucio De Re
  0 siblings, 0 replies; 175+ messages in thread
From: Lucio De Re @ 2001-10-08 11:13 UTC (permalink / raw)
  To: 9fans

On Mon, Oct 08, 2001 at 09:50:27AM +0000, Douglas A. Gwyn wrote:
> 
> We should be careful to distinguish between a utility command,
> which usually is best if it works as widely as it can to do a
> simply described function (from the user point of view; it might
> be complicated to implement), and a fundamental operation in the
> protocol itself (I/O primitive).
> 
With the principle of least surprise applying here.  Mv copying only
one layer of files is in breach of it, in my opinion.

> I think it is reasonable for the 9P200x protocol to have a
> Trename request, which of course can fail if the operation is
> not possible or makes no sense for the particular object.
> Then it is up to the (file) server to make it happen; the
> important thing is that the file server need only use local
> locks while it shuffles things around (if precached, it could
> be serviced as an atomic operation).
> 
I think there's growing agreement on this score.  I certainly feel
it's justified.  But Jim's reservations about race conditions have to
be taken into account.  Alexander seems to think BSD did it wrong (did
Linux improve on that?) but didn't suggest it can't be done.

> There is the question of what permissions should be required
> for a rename to succeed: write access on the directory, and/or
> on the named object itself?  This may be the same question as
> whether the rename ought to be for a handle in the directory
> (i.e. Trename is an operation on a directory) or for a handle
> on the named object.
> 
These are rules, they need to be established and documented (and make
sense, of course).  But that's about it, really.

> I am inclined to think rename ought to work within a directory
> but not in general between distinct path prefixes.

My choice would be the point where copying the data becomes necessary.
Whatever operation doesn't need to relocate the actual file contents,
ought to succeed.  But I can't say I understand all the subtleties
involved.

++L


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

* [9fans] rewriting paths [was: mv vs cp]
  2001-10-07 16:23 [9fans] mv vs cp jmk
  2001-10-08  4:28 ` Lucio De Re
  2001-10-08  9:42 ` Thomas Bushnell, BSG
@ 2001-10-08 17:43 ` Richard Uhtenwoldt
  2 siblings, 0 replies; 175+ messages in thread
From: Richard Uhtenwoldt @ 2001-10-08 17:43 UTC (permalink / raw)
  To: 9fans

I was thinking about this in the bathtub just now.  One could interpose
a filesystem between the user and kfs --or wherever one's files are
really stored-- called renamefs, which rewrites paths before forwarding
them to kfs.  9P requests do not really contain paths, but you get the
idea: the new file server, renamefs, maintains a rewrite table
containing the paths specified by past move commands (2 paths per move
command to be precise).  This state is used to rewrite certain 9P
requests (eg, some walk requests) before relaying them to the 
server that really stores files.

To increase the usefulness of renamefs, we allow it to store 2 types of
records.  Specifically, a record can take the form

  D<path>

, which means that the string <path> "no longer lives here"
(ie, renamefs will act as if <path> does not exist), or it can
take the form

  A<path><path2>

, which means that <path2> will get rewritten as <path> and does not
carry the implication that <path> no longer lives here.  (Yes, yes, I
know: between <path> and <path2> you need some lexeme that does not
occur in paths.)

Then,

  Mv <path> <path2> 

can be implemented by adding two records, A<path><path2> and D<path>, and
something resembling Unix's

  Ln -s <path> <path2>

is implementable by adding one record, A<path><path2>, to the rewrite
table inside renamefs.  The main socioeconomic purpose of these features
is to make Unix users feel more at home by providing means to move
directories, means to do inter-directory moves and symlinks.  Moreover,

  Del <path>

which just adds D<path> to the rewrite table, is a delete that supports
undelete (via removal of the D record).  And resource forks can be
implemented via ... --Just kidding.

No need to modify 9P of course: just have renamefs listen on a specific
file like /foo/rename where foo might be mnt (sorry for my unfamiliarity
with Plan9 file naming conventions) and have mv write requests
(candidates already in the form of strings for entry into the rewrite
table) to /foo/rename (rather than having mv send rename or copy and
delete requests like it does now).

When everyone is sleeping, or when the user says so, renamefs can empty
the rewrite table by actually copying and deleting files in the
underlying filesystem.  Call this operation "update".

There are multiple ways I'm sure to create pathological situations with
renamefs, and I do not know enough about Plan 9 to address them, except
to point out that one way to recover from pathology --assuming the
update operation has not run yet-- is simply to delete the rewrite table
via, eg, echo clear >>/foo/rename or, if the namespace is so screwed up
that that impossible, to reboot without mounting renamefs.

Advantages of my design:

Users who do not need the functionality do not pay any cost: the code
for renamefs and it's clients (eg, the new mv command) lie dormant on
the hard drive where they cannot cause problems.  No modification
of extant code is required.

Makes Plan 9 look more like Unix for those who want want that sort
of thing, and yes I hear loud and clear that many here do not.



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

* Re: [9fans] mv vs cp
  2001-10-08 10:30       ` Alexander Viro
@ 2001-10-09  9:03         ` Thomas Bushnell, BSG
  2001-10-09  9:33           ` Alexander Viro
  0 siblings, 1 reply; 175+ messages in thread
From: Thomas Bushnell, BSG @ 2001-10-09  9:03 UTC (permalink / raw)
  To: 9fans

viro@math.psu.edu (Alexander Viro) writes:

> I'm pretty sure in the opposite and unfortunately *BSD source
> happens to agree with me.  Consider the scenario I've described
> upthread (s/ELOOP/EINVAL/ - sorry about the braino) and think what
> happens if both renames get to ufs_checkpath() simultaneously.  See
> /src/ufs/ufs/ufs_vnode.c::ufs_rename() for details.  Notice that
> none of the lookups is going to come anywhere near the vnodes
> affected by another rename() and ufs_checkpath() is called with fvp
> unlocked and it unlocks dp (parent of fvp).

It would certainly be a bug if two processes got to ufs_checkpath
simultaneously.  

My recollection is that BSD 4.3 contained code to serialize directory
renames, which solves the problem quite nicely.  I can't find an
analog in NetBSD (which of course has totally changed the organization
of the filesystem code since BSD 4.3).

It's adequate to do this on a per-filesystem basis (assuming you
prohibit cross-device renames), so the Hurd can conveniently do it in
individual servers (and does); Plan 9 could do the same I would
suspect.

Thomas


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

* Re: [9fans] mv vs cp
  2001-10-09  9:03         ` Thomas Bushnell, BSG
@ 2001-10-09  9:33           ` Alexander Viro
  2001-10-09 15:58             ` Thomas Bushnell, BSG
  0 siblings, 1 reply; 175+ messages in thread
From: Alexander Viro @ 2001-10-09  9:33 UTC (permalink / raw)
  To: 9fans



On Tue, 9 Oct 2001, Thomas Bushnell, BSG wrote:

> It's adequate to do this on a per-filesystem basis (assuming you
> prohibit cross-device renames), so the Hurd can conveniently do it in

BTDT (see fs/namei.c::vfs_rename_dir() in Linux 2.4.x).  But that's far
from the only annoying piece of shit in rename(2) semantics.  E.g. you
are getting very ugly locking rules if you want to handle the case of
rename() removing an empty directory correctly.

Again, I've really been there and done that.  It wasn't pretty and I
would be much happier if rename() couldn't change the topology.  We
couldn't do that since it would break a lot of userland stuff;  Plan 9
has a luxury of dropping annoying crap and being able to find and fix
resulting breakage in userland.  In this case crap is not there in the
first place, so introducing it would cause a lot of ugliness in the kernel
for no good reason.

> individual servers (and does); Plan 9 could do the same I would
> suspect.

I suspect that Hurd has slightly, erm, different design philosophy (and
that's about the only printable comment I can make on the thing, so let's
not go there).



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

* Re: Plan 9 annoyances (was: Re: [9fans] mv vs cp)
@ 2001-10-09 13:18 bwc
  2001-10-10  8:57 ` Douglas A. Gwyn
  0 siblings, 1 reply; 175+ messages in thread
From: bwc @ 2001-10-09 13:18 UTC (permalink / raw)
  To: 9fans

>>Inferno != Plan 9.
>>There is no web browser in Plan 9---and that's got to be a big obstacle.

I have an iMAC for that.  One OS doesn't have to do everything.

Brantley Coile


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

* Re: [9fans] mv vs cp
  2001-10-09  9:33           ` Alexander Viro
@ 2001-10-09 15:58             ` Thomas Bushnell, BSG
  2001-10-09 16:43               ` davel
                                 ` (2 more replies)
  0 siblings, 3 replies; 175+ messages in thread
From: Thomas Bushnell, BSG @ 2001-10-09 15:58 UTC (permalink / raw)
  To: 9fans

viro@math.psu.edu (Alexander Viro) writes:

> Again, I've really been there and done that.  It wasn't pretty and I
> would be much happier if rename() couldn't change the topology.  We
> couldn't do that since it would break a lot of userland stuff;  Plan 9
> has a luxury of dropping annoying crap and being able to find and fix
> resulting breakage in userland.  In this case crap is not there in the
> first place, so introducing it would cause a lot of ugliness in the kernel
> for no good reason.

I'm not expert in Plan 9, but it seems to me that it breaks it for the
user.

Is this just an example of the "New Jersey" preference for simplicity
of implementation over the "Cambridge" preference for correctness and
completeness?


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

* Re: [9fans] mv vs cp
  2001-10-09 15:58             ` Thomas Bushnell, BSG
@ 2001-10-09 16:43               ` davel
  2001-10-10  8:49                 ` Ralph Corderoy
  2001-10-10  8:49                 ` Thomas Bushnell, BSG
  2001-10-09 16:46               ` Alexander Viro
  2001-10-10  1:05               ` erik quanstrom
  2 siblings, 2 replies; 175+ messages in thread
From: davel @ 2001-10-09 16:43 UTC (permalink / raw)
  To: 9fans

On Tue, Oct 09, 2001 at 03:58:47PM +0000, Thomas Bushnell, BSG wrote:
> I'm not expert in Plan 9, but it seems to me that it breaks it for the
> user.

"The user"?
You mean there's only one?!?:-)
Most of the people who have been complaining are not typical "users".

In reality, I doubt that most users want to move large directories around.
(In my experience, most Windows users just leave files wherever
  the application drops them and then complain when they can't find them ...)

Plan9's ability to present a flexible view of the file system
probably obviates most reasons to want to shuffle directories around.

Also, to be brutal for a minute,
why *do* people want to move directories around:
why not just put them in the right place to start with?

The only time I can remember needing to move large directories
was when i needed to balance NFS servers,
i.e. relocating them from one file server or volume to another ...

> Is this just an example of the "New Jersey" preference for simplicity 
> of implementation over the "Cambridge" preference for correctness and
> completeness?

No polite comment available:-).

Cheers,
	Dave.


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

* Re: [9fans] mv vs cp
  2001-10-09 15:58             ` Thomas Bushnell, BSG
  2001-10-09 16:43               ` davel
@ 2001-10-09 16:46               ` Alexander Viro
  2001-10-10  8:50                 ` Thomas Bushnell, BSG
  2001-10-10  1:05               ` erik quanstrom
  2 siblings, 1 reply; 175+ messages in thread
From: Alexander Viro @ 2001-10-09 16:46 UTC (permalink / raw)
  To: 9fans



On Tue, 9 Oct 2001, Thomas Bushnell, BSG wrote:

> Is this just an example of the "New Jersey" preference for simplicity
> of implementation over the "Cambridge" preference for correctness and
> completeness?

Taste vs. GNU?  That too, but there's more to it.

BTW, while we are at it, check what does GNU find(1) (which is the
default on Hurd, IIRC) do when somebody moves a directory while
find is walking through its subdirectories.  And think about the
implications.  What was that about correctness and completeness, again?



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

* Re: [9fans] mv vs cp
  2001-10-09 15:58             ` Thomas Bushnell, BSG
  2001-10-09 16:43               ` davel
  2001-10-09 16:46               ` Alexander Viro
@ 2001-10-10  1:05               ` erik quanstrom
  2001-10-10  2:15                 ` david presotto
  2001-10-10  8:30                 ` davel
  2 siblings, 2 replies; 175+ messages in thread
From: erik quanstrom @ 2001-10-10  1:05 UTC (permalink / raw)
  To: 9fans

>Also, to be brutal for a minute,
>why *do* people want to move directories around:
>why not just put them in the right place to start with?

plan 9, an operating system for people who never change their minds 
or have new ideas.

erik


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

* Re: [9fans] mv vs cp
  2001-10-10  1:05               ` erik quanstrom
@ 2001-10-10  2:15                 ` david presotto
  2001-10-10  4:54                   ` Skip Tavakkolian
  2001-10-10  8:30                 ` davel
  1 sibling, 1 reply; 175+ messages in thread
From: david presotto @ 2001-10-10  2:15 UTC (permalink / raw)
  To: 9fans

Hence my domain name.  Right on!
----- Original Message ----- 
From: erik quanstrom <quanstro@speakeasy.net>
To: <9fans@cse.psu.edu>
Sent: Tuesday, October 09, 2001 9:05 PM
Subject: Re: [9fans] mv vs cp


> >Also, to be brutal for a minute,
> >why *do* people want to move directories around:
> >why not just put them in the right place to start with?
> 
> plan 9, an operating system for people who never change their minds 
> or have new ideas.
> 
> erik
> 



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

* Re: [9fans] mv vs cp
  2001-10-10  2:15                 ` david presotto
@ 2001-10-10  4:54                   ` Skip Tavakkolian
  0 siblings, 0 replies; 175+ messages in thread
From: Skip Tavakkolian @ 2001-10-10  4:54 UTC (permalink / raw)
  To: 9fans

and the minimalist home page. what? no javascript?!!!!

At 10:15 PM 10/9/2001 -0400, david presotto wrote:
>Hence my domain name.  Right on!
>----- Original Message ----- 
>From: erik quanstrom <quanstro@speakeasy.net>
>To: <9fans@cse.psu.edu>
>Sent: Tuesday, October 09, 2001 9:05 PM
>Subject: Re: [9fans] mv vs cp
>
>
>> >Also, to be brutal for a minute,
>> >why *do* people want to move directories around:
>> >why not just put them in the right place to start with?
>> 
>> plan 9, an operating system for people who never change their minds 
>> or have new ideas.
>> 
>> erik
>> 
>
>


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

* Re: [9fans] mv vs cp
  2001-10-10  1:05               ` erik quanstrom
  2001-10-10  2:15                 ` david presotto
@ 2001-10-10  8:30                 ` davel
  1 sibling, 0 replies; 175+ messages in thread
From: davel @ 2001-10-10  8:30 UTC (permalink / raw)
  To: 9fans

On Tue, Oct 09, 2001 at 09:05:08PM -0400, erik quanstrom wrote:
> plan 9, an operating system for people who never change their minds 
> or have new ideas.

(I almost ignored this as a troll)

Just to be explicit:
* The _old_ idea here is *being* able to rename directories.
* The _new_ idea here is *not being* able to rename directories.

Also, I have yet to see anyone explain *why* moving directories around
is such a big win.  All I hear is
"Well, I can do it on this other system ...".

As I said
> > Plan9's ability to present a flexible view of the file system
> > probably obviates most reasons to want to shuffle directories around. 

Cheers,
	Dave.


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

* Re: [9fans] mv vs cp
  2001-10-09 16:43               ` davel
@ 2001-10-10  8:49                 ` Ralph Corderoy
  2001-10-10  8:49                 ` Thomas Bushnell, BSG
  1 sibling, 0 replies; 175+ messages in thread
From: Ralph Corderoy @ 2001-10-10  8:49 UTC (permalink / raw)
  To: 9fans

Hi Dave,

> Also, to be brutal for a minute,
> why *do* people want to move directories around:

Typical reason is wanting to re-arrange a directory structure after a
better layout becomes clearer with use.


Ralph.


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

* Re: [9fans] mv vs cp
  2001-10-09 16:43               ` davel
  2001-10-10  8:49                 ` Ralph Corderoy
@ 2001-10-10  8:49                 ` Thomas Bushnell, BSG
  2001-10-10  9:48                   ` davel
  1 sibling, 1 reply; 175+ messages in thread
From: Thomas Bushnell, BSG @ 2001-10-10  8:49 UTC (permalink / raw)
  To: 9fans

davel@luchie-chowchows.demon.co.uk writes:

> Also, to be brutal for a minute,
> why *do* people want to move directories around:
> why not just put them in the right place to start with?

Unlike people here, apparently, I sometimes make mistakes.  


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

* Re: [9fans] mv vs cp
  2001-10-09 16:46               ` Alexander Viro
@ 2001-10-10  8:50                 ` Thomas Bushnell, BSG
  2001-10-10 10:29                   ` Alexander Viro
  0 siblings, 1 reply; 175+ messages in thread
From: Thomas Bushnell, BSG @ 2001-10-10  8:50 UTC (permalink / raw)
  To: 9fans

viro@math.psu.edu (Alexander Viro) writes:

> BTW, while we are at it, check what does GNU find(1) (which is the
> default on Hurd, IIRC) do when somebody moves a directory while
> find is walking through its subdirectories.  And think about the
> implications.  What was that about correctness and completeness, again?

find does not necessarily traverse every file on an active partition.  

But that has nothing to do with the moving of directories?  The same
thing happens with the moving of single files too.


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

* Re: Plan 9 annoyances (was: Re: [9fans] mv vs cp)
  2001-10-09 13:18 Plan 9 annoyances (was: Re: [9fans] mv vs cp) bwc
@ 2001-10-10  8:57 ` Douglas A. Gwyn
  2001-10-10 10:02   ` Browsers (was: Re: Plan 9 annoyances (was: Re: [9fans] mv vs cp)) Lucio De Re
  0 siblings, 1 reply; 175+ messages in thread
From: Douglas A. Gwyn @ 2001-10-10  8:57 UTC (permalink / raw)
  To: 9fans

bwc@borf.com wrote:
> >>There is no web browser in Plan 9---and that's got to be a big obstacle.
> I have an iMAC for that.  One OS doesn't have to do everything.

But Plan 9 has been advertised as a superior alternative to the
usual developer's interactive computing environment.  A good Web
browser is another essential tool, these days.  Why should one
be forced to buy a second computer to do something that ought to
be right up the alley of the first one?


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

* Re: [9fans] mv vs cp
  2001-10-10  8:49                 ` Thomas Bushnell, BSG
@ 2001-10-10  9:48                   ` davel
  2001-10-11  9:10                     ` Thomas Bushnell, BSG
  0 siblings, 1 reply; 175+ messages in thread
From: davel @ 2001-10-10  9:48 UTC (permalink / raw)
  To: 9fans

On Wed, Oct 10, 2001 at 08:49:41AM +0000, Thomas Bushnell, BSG wrote:
> davel@luchie-chowchows.demon.co.uk writes:
> 
> > Also, to be brutal for a minute,
> > why *do* people want to move directories around:
> > why not just put them in the right place to start with?
> 
> Unlike people here, apparently, I sometimes make mistakes.  

So do I, and I expect to suffer for them,
not have kernel hacks put in place to make them easier to bodge around.

Cheers,
	Dave.


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

* Browsers (was: Re: Plan 9 annoyances (was: Re: [9fans] mv vs cp))
  2001-10-10  8:57 ` Douglas A. Gwyn
@ 2001-10-10 10:02   ` Lucio De Re
  2001-10-10 18:38     ` Steve Kilbane
  0 siblings, 1 reply; 175+ messages in thread
From: Lucio De Re @ 2001-10-10 10:02 UTC (permalink / raw)
  To: 9fans

On Wed, Oct 10, 2001 at 08:57:21AM +0000, Douglas A. Gwyn wrote:
> 
> But Plan 9 has been advertised as a superior alternative to the
> usual developer's interactive computing environment.  A good Web
> browser is another essential tool, these days.  Why should one
> be forced to buy a second computer to do something that ought to
> be right up the alley of the first one?

Because no-one has produced a browser that matches the quality of
the operating system it runs on (well, now that I re-read what I
wrote, of course Microsoft did, indeed).  But a web browser for
Plan 9 is a tall order and no-one has the resources to produce one.
Second best is Charon and if the threat from Rog is as I understand
it, Charon for Plan 9 is not that far away at least in some guise.

The other factor is Plan 9's origin.  Bell Labs (in the broadest
sense) are determined to do what they are good at and do it well.
I don't think it is an idle claim that Plan 9 is "a superior
alternative", although that is distinctly a value judgement.  But
given Plan 9's complete environment it ought to be moderately easy
for a dedicated developer to produce the ultimate browser.  It's
just Bell Labs that understandably do not feel obliged to do it
themselves.  Perhaps mothra showed up a weakness in their skill
set, or, more likely, warned of the price they'd have to pay to
succeed.

And then there's Java, isn't that a massive obstacle?  Should that
also be released as part of Plan 9 because it is "something that
ought to be right up the alley"?

On the other hand, I would be willing to pay Opera if they ported
their browser to Plan 9, even though it's been a while since I used
it.  I'm sorry they didn't appreciate Bell Labs' overtures and I
wonder what kind of misunderstanding might be behind it.  Of course,
there's also a philosophical shift involved, much as porting Mozilla
to Plan 9 would hardly be feasible without enormous (C++) efforts.

Which reminds me.  Was it dhog that threatened to release GCC 3.0
on us?

++L


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

* Re: [9fans] mv vs cp
  2001-10-10  8:50                 ` Thomas Bushnell, BSG
@ 2001-10-10 10:29                   ` Alexander Viro
  0 siblings, 0 replies; 175+ messages in thread
From: Alexander Viro @ 2001-10-10 10:29 UTC (permalink / raw)
  To: 9fans



On Wed, 10 Oct 2001, Thomas Bushnell, BSG wrote:

> viro@math.psu.edu (Alexander Viro) writes:
> 
> > BTW, while we are at it, check what does GNU find(1) (which is the
> > default on Hurd, IIRC) do when somebody moves a directory while
> > find is walking through its subdirectories.  And think about the
> > implications.  What was that about correctness and completeness, again?
> 
> find does not necessarily traverse every file on an active partition.  
> 
> But that has nothing to do with the moving of directories?  The same
> thing happens with the moving of single files too.

GNU find traverses the tree with chdir() into subdirectories and _blind_
chdir("..") to go back.  Cwd follows directory when you do rename(2).
It does no such thing if you do mkdir() + recursive copy + recursive remove +
rmdir().  See the problem now?  "Find something under /tmp and do something
with all such objects" can be subverted into "find something under / and
do something with all such objects" by attacker that has access only to
subdirectories of /tmp.

And no, it's not only GNU.  Solaris find(1) has the same lovely property
(at least had it not too long ago - I hadn't checked the recent versions).
And it's not only find(1) - other tree-walkers are often vulnerable to
the same kind of crap.

I don't think that security implications really need to be explained.
Before you start saying that shared /tmp or all-mighty root are bad ideas,
think for a minute and see how the scenario can be modified for situations
other than one described above.

Notice that "generate pathnames and don't bother with chdir() at all" is
also not an answer.  E.g. Plan 9 rm(1) would become a glaring security
hole if ported on any recent UNIX.  Symlink attacks would make it very
interesting...  Something like dup, walk, clunk, stat and remove exported
to userland would allow to do such stuff more or less elegantly, but
without that you need fchdir() to avoid symlink attacks.

Anyway, the point is that cross-directory rename(2) leads to userland bugs
that are really nasty and, as experience shows, not obvious for a lot of
people.  Actually you've just demonstrated that.

It's not about kernel simplicity; userland code becomes much more complicated
to be able to cope with effects of having cross-directory rename(2) around.



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

* Re: Browsers (was: Re: Plan 9 annoyances (was: Re: [9fans] mv vs cp))
  2001-10-10 10:02   ` Browsers (was: Re: Plan 9 annoyances (was: Re: [9fans] mv vs cp)) Lucio De Re
@ 2001-10-10 18:38     ` Steve Kilbane
  2001-10-11  8:31       ` John Murdie
  0 siblings, 1 reply; 175+ messages in thread
From: Steve Kilbane @ 2001-10-10 18:38 UTC (permalink / raw)
  To: 9fans

>  But
> given Plan 9's complete environment it ought to be moderately easy
> for a dedicated developer to produce the ultimate browser.

Plan 9 was an opportunity to redo from scratch, properly this time.
The web, in contrast, builds kruft upon kruft at an horrendous rate.
For a browser to be usable, it has to import all that kruft back in.
While there's a sliding boundary for how much kruft is acceptable in
order to communicate with non-Plan 9 systems, I think browsers crossed
over that boundary years ago.

steve




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

* Re: Browsers (was: Re: Plan 9 annoyances (was: Re: [9fans] mv vs cp))
  2001-10-10 18:38     ` Steve Kilbane
@ 2001-10-11  8:31       ` John Murdie
  2001-10-11 17:26         ` Steve Kilbane
  2001-10-12  6:31         ` [9fans] Re: Browsers Boyd Roberts
  0 siblings, 2 replies; 175+ messages in thread
From: John Murdie @ 2001-10-11  8:31 UTC (permalink / raw)
  To: 9fans; +Cc: John Murdie

On 10 Oct, Steve Kilbane wrote:
>>  But
>> given Plan 9's complete environment it ought to be moderately easy
>> for a dedicated developer to produce the ultimate browser.
> 
> Plan 9 was an opportunity to redo from scratch, properly this time.
> The web, in contrast, builds kruft upon kruft at an horrendous rate.
> For a browser to be usable, it has to import all that kruft back in.
> While there's a sliding boundary for how much kruft is acceptable in
> order to communicate with non-Plan 9 systems, I think browsers crossed
> over that boundary years ago.
> 
> steve

Perhaps someone in the Plan 9 world has implemented a `browser' for a
`web' document description language in Plan 9 style. There's no reason
why the Plan 9 form of innovation (step back, think, redesign and
rewrite) should not be applied to the Web, is there?

Anyone?

-- 

John A. Murdie
Department of Computer Science
University of York
England



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

* Re: [9fans] mv vs cp
  2001-10-10  9:48                   ` davel
@ 2001-10-11  9:10                     ` Thomas Bushnell, BSG
  2001-10-11 10:54                       ` davel
  0 siblings, 1 reply; 175+ messages in thread
From: Thomas Bushnell, BSG @ 2001-10-11  9:10 UTC (permalink / raw)
  To: 9fans

davel@luchie-chowchows.demon.co.uk writes:

> On Wed, Oct 10, 2001 at 08:49:41AM +0000, Thomas Bushnell, BSG wrote:
> > davel@luchie-chowchows.demon.co.uk writes:
> > 
> > > Also, to be brutal for a minute,
> > > why *do* people want to move directories around:
> > > why not just put them in the right place to start with?
> > 
> > Unlike people here, apparently, I sometimes make mistakes.  
> 
> So do I, and I expect to suffer for them,
> not have kernel hacks put in place to make them easier to bodge around.

Ah!  The job of software is not to make users' lives easier.  Not to
provide them tools to be more productive.

No--the job of the computer is to administer punishments for their
errors.

Are you really serious?

There are reasons to have a feature, and reasons not to.  But "we want
to punish people for making mistakes" is never a reason not to, and it
sounds like you have run out of steam when that's all you muster.


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

* Re: [9fans] mv vs cp
  2001-10-11  9:10                     ` Thomas Bushnell, BSG
@ 2001-10-11 10:54                       ` davel
  2001-10-12  9:19                         ` Thomas Bushnell, BSG
  0 siblings, 1 reply; 175+ messages in thread
From: davel @ 2001-10-11 10:54 UTC (permalink / raw)
  To: 9fans

On Thu, Oct 11, 2001 at 09:10:20AM +0000, Thomas Bushnell, BSG wrote:

> Ah!  The job of software is not to make users' lives easier.  Not to
> provide them tools to be more productive.

What has that got to do with putting in hacks to get round mistakes?

> No--the job of the computer is to administer punishments for their
> errors.
> 
> Are you really serious?

Are YOU really serious?  Who said anything about punishment?

My point is that
a) we shouldn't be putting in hacks to ameliorate user mistakes:
   do you want undelete in there too?
b) Plan9 already has this nice-flexible FS architecture
   which gets around lots of the directory shuffling
   necessary on other OSs.

> There are reasons to have a feature, and reasons not to.  But "we want
> to punish people for making mistakes" is never a reason not to, and it
> sounds like you have run out of steam when that's all you muster.

a) It sounds like you have run out of steam if all you can do is misconstrue
   my meaning.
b) You make me sound like a sadist according to your logic,
   when in fact I'm a sado-masochist, since I'm punishing myself too!

Can we now please agree to differ?
This has gone on long enough.

Cheers,
	Dave.


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

* Re: Browsers (was: Re: Plan 9 annoyances (was: Re: [9fans] mv vs cp))
  2001-10-11  8:31       ` John Murdie
@ 2001-10-11 17:26         ` Steve Kilbane
  2001-10-12  6:31         ` [9fans] Re: Browsers Boyd Roberts
  1 sibling, 0 replies; 175+ messages in thread
From: Steve Kilbane @ 2001-10-11 17:26 UTC (permalink / raw)
  To: 9fans

John wrote:
> There's no reason
> why the Plan 9 form of innovation (step back, think, redesign and
> rewrite) should not be applied to the Web, is there?

No reason at all, although it wouldn't solve the primary complaint
about the lack of a web browser, namely that one cannot read one's
favorite site, because the sites wouldn't be compatible.

steve




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

* [9fans] Re: Browsers
  2001-10-11  8:31       ` John Murdie
  2001-10-11 17:26         ` Steve Kilbane
@ 2001-10-12  6:31         ` Boyd Roberts
  1 sibling, 0 replies; 175+ messages in thread
From: Boyd Roberts @ 2001-10-12  6:31 UTC (permalink / raw)
  To: 9fans

The problem is intractable, but not inabstraktable.


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

* Re: [9fans] mv vs cp
  2001-10-11 10:54                       ` davel
@ 2001-10-12  9:19                         ` Thomas Bushnell, BSG
  0 siblings, 0 replies; 175+ messages in thread
From: Thomas Bushnell, BSG @ 2001-10-12  9:19 UTC (permalink / raw)
  To: 9fans

davel@luchie-chowchows.demon.co.uk writes:

> My point is that
> a) we shouldn't be putting in hacks to ameliorate user mistakes:
>    do you want undelete in there too?

Plan 9 already *has* that feature.  Of course, it would be even nicer
if it had a complete version history, instead of "yesterday's
snapshot", but that's pretty good too (better than Unix!).

Yes, a good system should be making automatic backups.  And even
having convenient commands to recover files from the backup in the
event of mistakes is a good idea.


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

* Re: [9fans] Rant (was Re: Plan9 and Ada95?)
@ 2001-11-07 21:34 anothy
  2001-11-08  5:30 ` Lucio De Re
                   ` (2 more replies)
  0 siblings, 3 replies; 175+ messages in thread
From: anothy @ 2001-11-07 21:34 UTC (permalink / raw)
  To: 9fans

// ...continuous criticism... ...of everything beyond the boundaries
// of Plan 9/Inferno, no matter how justified, isn't healthy.

i'd agree with the implication but disagree with the statement.

i think constant criticism is a very good thing, provided it's done in a
productive manner, and the criticism is somewhat more concrete than
"not invented here." it is this ongoing criticism that will help all these
systems change, correct their flaws or failures of vision, and improve.

which brings me to my point of agreement. you say "everything beyond
the boundaries of Plan 9/Inferno" and i think that's a good observation.
Plan 9 and Inferno are by no means perfect. as someone noted some
time ago, the alt.sysadmin.recovery FAQ gets it right: no systems don't
suck, plan 9 simply sucks less than others. i think it's important that
_everybody_ needs to be occasionally reminded that they suck in some
fashion or other. but with that needs to come info on _how_ one sucks,
and how to suck less.

take the current compiler discussion. i would say the contention here is
not that GCC is worthless and ?c/?l are perfect, but rather that one can
be more productive improving ?c/?l than GCC. you correctly note that
the Plan 9 tools don't deal with cross-OS compiling (except in very
limited cases), whereas GCC does (to some degree, anyway). i don't
believe anyone is disputing this, nor claiming it doesn't matter. but i bet
most people here would say it'd require less overall man-hours to get
8c/8l to build Linux binaries than to get GCC to build Plan 9 ones, and
that the results would enable people on whatever platform to develop
things better and more quickly.

// Perl would open another [door], Python a third, Apache a fourth, etc.

Perl and Python i can see, for sure. they're languages, with apps
written in them, that people want to be able to use. and for good reason.
Perl and Python each have benefits one cannot get with C, rc, or Limbo.
i'd love to see them supported better on Plan 9.

Apache's a harder sell. do people want "Apache" or a web server with a
certain feature set? if the later, one has a decision to make: port (and
maybe improve) Apache, improve Plan 9's httpd, or build something
new. there's a legitamate cost/gain analysis here; the fact that we didn't
build Apache shouldn't enter into it.

i agree everyone could benefit by more active exchange between Plan 9
and other systems. but i think it's a big leap to go from there to saying
we should spend more time improving GCC or porting Apache.
ア



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

* Re: [9fans] Rant (was Re: Plan9 and Ada95?)
  2001-11-07 21:34 [9fans] Rant (was Re: Plan9 and Ada95?) anothy
@ 2001-11-08  5:30 ` Lucio De Re
  2001-11-08  5:43   ` George Michaelson
  2001-11-08  5:59   ` Andrey A Mirtchovski
  2001-11-08  7:16 ` Steve Kilbane
  2001-11-29  4:44 ` Boyd Roberts
  2 siblings, 2 replies; 175+ messages in thread
From: Lucio De Re @ 2001-11-08  5:30 UTC (permalink / raw)
  To: 9fans

On Wed, Nov 07, 2001 at 04:34:47PM -0500, anothy@cosym.net wrote:
>
> Apache's a harder sell. do people want "Apache" or a web server with a
> certain feature set? if the later, one has a decision to make: port (and
> maybe improve) Apache, improve Plan 9's httpd, or build something
> new. there's a legitamate cost/gain analysis here; the fact that we didn't
> build Apache shouldn't enter into it.
>
I was using examples that came to mind immediately, not a short
wish list.  I have never used plan 9's httpd, but from the features
list it seems very good.  Certainly can't fault it from the client's
perspective.

A better point would have been made (but I was really trying not
to fan the flames) by suggesting that Mozilla be ported to Plan 9.

It's not the product, the developers, as much as the usefulness.
My point is that there is a developers' community out there and if
only they knew about acme and ?c, they might embrace them.  But
they need attracting, which can only be done with the familiar.
In my opinion, as a NetBSD user amongst Linux developers, what
caught the imagination there was Doom/(oops, can't remember the
name now).  From the large group of game aficionados (not to call
them addicts) grew a smaller community of contributors.

I have no difficulty concurring with everyone here that quality is
not high on these developer's agenda, but bulk cannot be avoided.
Amongst all the chaff, there are a few gems, of which Apache would
certainly be one.

So, to re-iterate my point, Plan 9 is the better platform, but should
not present itself from a position of arrogance, but rather endeavour
to provide a better platform for development (which is easy) with a
more familiar environment.

> i agree everyone could benefit by more active exchange between Plan 9
> and other systems. but i think it's a big leap to go from there to saying
> we should spend more time improving GCC or porting Apache.
> ?

It's a matter of perspective, I think.  My platform needs are closer
to SQL-oriented databases, volume processing, event-oriented diary
systems.  Some of this I can find in the public domain (postgreSQL
or mySQL would be options) while the rest (ERP stuff like SAP) is
unnecessarily complex and expensive, there isn't enough fat in my
client's profit margins to afford SAP or Great Plains, nor is there
enough money to invest in the doubtful expertise of an MCSE as
server administrator.

Plan 9 has all the right attribute as the platform of choice, is
just missing the applications.  And I have little doubt that
developing the applications would be easier and for the same
complexity one may get a much richer feature set.  But it takes a
large community of developers to produce (amongst the noise) good,
solid products.

And one of Plan 9's greatest assets is what my mind has latched on
as the "Bell Labs Giants".  I find it hard to appreciate all their
contributions, though, when their attitude is unnecessarily (not
"unjustifiably", I admit) disparaging.  And I see some churn on
this list as a result, the person I believe should be in there with
the Giants but has been sadly quiet for a long time is G David
Butler, I really thought he had already added good value to Plan
9 and was going to provide more.  There are others I should recall
but it's probably best that I can't who are brushed aside because
they don't quite tow the party line.  I guess that's what I find
hard to swallow.

Not that the party line isn't good, quite the contrary, but it also
benefits from occasional divergence, while using it as a soap box to
denigrate the opposition seems to me to be very short sighted.  Which
is heavy accusation to level at the Giants, but it appears to me to be
a truthful one.

++L


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

* Re: [9fans] Rant (was Re: Plan9 and Ada95?)
  2001-11-08  5:30 ` Lucio De Re
@ 2001-11-08  5:43   ` George Michaelson
  2001-11-08  7:07     ` Jim Choate
  2001-11-08  7:40     ` Lucio De Re
  2001-11-08  5:59   ` Andrey A Mirtchovski
  1 sibling, 2 replies; 175+ messages in thread
From: George Michaelson @ 2001-11-08  5:43 UTC (permalink / raw)
  To: 9fans


God, time cycles get shorter. At least for Jerry Cornelius the loop
is the 64,000 year 'small' circuit.

As one who has never run it, but often pressed for wider deployment of Plan9,
suggesting it could be bedded in as DNS servers, or critical infrastructure,
I can only repeat the Al Haig line once again:

	In order to sell Plan 9, it was neccessary to destroy it.

Folks, its a research tool. Its not a bet-the-farm-lucent-will-rise-again
product, its not a tool for the masses, If Tom Duff can make movies on it
thats way cool, but please, don't turn it into the kind of packaged crap
its "finger-quotes" competing against.

For me, half the pleasure of reading about this thing is that its obviously
fanatically small, and reductionist. Making it any bigger will ruin it.

No irony intended.

cheers
	-George
--
George Michaelson       |  APNIC
Email: ggm@apnic.net    |  PO Box 2131 Milton QLD 4064
Phone: +61 7 3367 0490  |  Australia
  Fax: +61 7 3367 0482  |  http://www.apnic.net




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

* Re: [9fans] Rant (was Re: Plan9 and Ada95?)
  2001-11-08  5:30 ` Lucio De Re
  2001-11-08  5:43   ` George Michaelson
@ 2001-11-08  5:59   ` Andrey A Mirtchovski
  1 sibling, 0 replies; 175+ messages in thread
From: Andrey A Mirtchovski @ 2001-11-08  5:59 UTC (permalink / raw)
  To: 9fans

On Thu, 8 Nov 2001, Lucio De Re wrote:

> So, to re-iterate my point, Plan 9 is the better platform, but should
> not present itself from a position of arrogance, but rather endeavour
> to provide a better platform for development (which is easy) with a
> more familiar environment.
>

I have a different opinion, much based on what I see on this list and what I
hear from prople with attitudes similar to this:

Plan 9 developers are not arrogant, rather, they are trying to defend
themselves and their ideas from the random bunch of people who come here
and lend their advise and thoughts without being asked for, or without
really being aware of the system they discuss (it's really mostly a "you're
out of your element.." issue, to continue throwing quotes from favourite
movie :)...

I do believe that Plan 9 is _the_ OS with the clearest philosophy behind it
-- one that has the system build around it and one that can be continuously
defended without running into infinite loops (examples of the opposite would
be -- Simple OS (Linux) and Optimized for i386 (FreeBSD))... Should we break
this just to lure more people in, without making sure they appreciate P9 at
a level different than just very neatly written code?

Well, come to think of it, after a few glasses of wine, P9 might as well be
called 'the dude'... Then everyone else starts to sound like they ask 'vere
is ze money libouski' :)

This not a flame, simply musings I've wanted to share but haven't had the
guts to up until now...





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

* Re: [9fans] Rant (was Re: Plan9 and Ada95?)
  2001-11-08  5:43   ` George Michaelson
@ 2001-11-08  7:07     ` Jim Choate
  2001-11-08  7:40     ` Lucio De Re
  1 sibling, 0 replies; 175+ messages in thread
From: Jim Choate @ 2001-11-08  7:07 UTC (permalink / raw)
  To: 9fans


On Thu, 8 Nov 2001, George Michaelson wrote:

> Folks, its a research tool. Its not a bet-the-farm-lucent-will-rise-again
> product, its not a tool for the masses, If Tom Duff can make movies on it
> thats way cool, but please, don't turn it into the kind of packaged crap
> its "finger-quotes" competing against.
>
> For me, half the pleasure of reading about this thing is that its obviously
> fanatically small, and reductionist. Making it any bigger will ruin it.

Then get ready to have it 'ruined'.

http://einstein.ssz.com/hangar18


 --
    ____________________________________________________________________

             Day by day the Penguins are making me lose my mind.

                                             Bumper Sticker

       The Armadillo Group       ,::////;::-.          James Choate
       Austin, Tx               /:'///// ``::>/|/      ravage@ssz.com
       www.ssz.com            .',  ||||    `/( e\      512-451-7087
                           -====~~mm-'`-```-mm --'-
    --------------------------------------------------------------------




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

* Re: [9fans] Rant (was Re: Plan9 and Ada95?)
  2001-11-07 21:34 [9fans] Rant (was Re: Plan9 and Ada95?) anothy
  2001-11-08  5:30 ` Lucio De Re
@ 2001-11-08  7:16 ` Steve Kilbane
  2001-11-29  4:44 ` Boyd Roberts
  2 siblings, 0 replies; 175+ messages in thread
From: Steve Kilbane @ 2001-11-08  7:16 UTC (permalink / raw)
  To: 9fans

I don't see tools like Perl or Python bringing more people into Plan 9,
particularly when faced with the mass of Windows users. Plan 9 is
about doing things a different way, with the implied assumption that the
difference arises from an attempt to improve things. If potential users
need their comfy feature set to attract them, then they're the wrong user
set. Plan 9 is implicitly targeted at people who are willing to try changing
how they work.

This is also one reason why concepts from Plan 9 (which includes manner of
thought as well as software models) has less impact on the outside world:
both the *nix worlds and the Windows worlds are significantly larger user
bases that are more into evolutionary change than revolutionary change.
Windows XP has only just dropped DOS; Linux and GNU are basically copies of
30-year-old systems. Such large user bases are inherently resistant to
change.

This is also one reason why gcc is the crufty behemoth it is, and ?c
isn't: gcc had to accept and deal with problems on many systems, while
?c could assume they'd go away, by being fixed elsewhere. As forsyth says,
portable compilers aren't inherently that nasty, but gcc itself has become
a large system, dealing with many scenarios, and thus encouraging evolution
rather than revolution. That's why it's a platypus.

steve




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

* Re: [9fans] Rant (was Re: Plan9 and Ada95?)
  2001-11-08  5:43   ` George Michaelson
  2001-11-08  7:07     ` Jim Choate
@ 2001-11-08  7:40     ` Lucio De Re
  2001-11-08 10:40       ` Thomas Bushnell, BSG
  2001-11-08 20:15       ` Quinn Dunkan
  1 sibling, 2 replies; 175+ messages in thread
From: Lucio De Re @ 2001-11-08  7:40 UTC (permalink / raw)
  To: 9fans

On Thu, Nov 08, 2001 at 03:43:53PM +1000, George Michaelson wrote:
>
> Folks, its a research tool. Its not a bet-the-farm-lucent-will-rise-again
> product, its not a tool for the masses, If Tom Duff can make movies on it
> thats way cool, but please, don't turn it into the kind of packaged crap
> its "finger-quotes" competing against.
>
I'm not sure where this discussion is going.  I started by questioning
the wisdom of criticising competing products in a detrimental rather
than constructive fashion, a habit I believe detracts from the
otherwise impeccable record of the Plan 9 developers and contributors.

Naturally, I also wanted to know where the attitude originated and
whether it was conceivable that it could be better channeled.  Not
that I can express myself so well as to be understood without much
gesticulation and verbal diarrhoea.

> For me, half the pleasure of reading about this thing is that its obviously
> fanatically small, and reductionist. Making it any bigger will ruin it.
>
A lot of same criticism seems to point to a desire to see Plan 9
gain its rightful position in the operating system marketplace and
the unfairness of it having to compete with obviously inferior
products with greater market share.

I certainly can't speak for the Plan 9 developers, but in my opinion
the Plan 9 concepts, across the board, deserve much greater
acceptance.  Where I believe my opinions disagree with the Plan 9
developers' is how such broader acceptance should occur: I'm almost
Microsoftish with an "embrace and extend" philosophy, while "they"
seem to have more of an "educate and conquer" approach.

At the core, I have always believed that we can draw on the broad
developer community for further development, mainly because that
is all I can contribute to Plan 9 myself.  It is my impression,
and it must please be seen as such, that the Plan 9 developer are
fearful that the GNU/Linux/*BSD etc. developer community will
"taint" Plan 9 with their indiscriminate bloat.  Maybe such
contamination is possible (I believe it is called miscegenation in
the Old Testament) and likely, but I would argue that we have not
yet seen the results that are so greatly feared, and that we should
encourage the experimentation, not prevent it by taking a critical
approach to it.

I don't expect the Plan 9 team to agree with me, we have a very
different outlook at the "social" level, but perhaps there are
others on this mailing list who feel that the "social experiment
(Che Guevara)" is worth conducting even if the casualties could be
numerous.

Naturally, unlike Che Guevara, I don't propose to snatch the
leadership position from the Plan 9 team, quite the contrary, I
very much appreciate their continued contribution.  I would just
appreciate it even more if they were encouraging rather than critical
in those areas that apparently offend their sensibilities.

++L


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

* Re: [9fans] Rant (was Re: Plan9 and Ada95?)
  2001-11-08  7:40     ` Lucio De Re
@ 2001-11-08 10:40       ` Thomas Bushnell, BSG
  2001-11-08 20:15       ` Quinn Dunkan
  1 sibling, 0 replies; 175+ messages in thread
From: Thomas Bushnell, BSG @ 2001-11-08 10:40 UTC (permalink / raw)
  To: 9fans

lucio@proxima.alt.za (Lucio De Re) writes:

> A lot of same criticism seems to point to a desire to see Plan 9
> gain its rightful position in the operating system marketplace and
> the unfairness of it having to compete with obviously inferior
> products with greater market share.

I can't speak for the evils of Redmond.  But a clear reason that Plan
9 is beaten out by GNU/Linux is that the latter is a free operating
system, and always has been, and Plan 9 isn't and never was.

> At the core, I have always believed that we can draw on the broad
> developer community for further development, mainly because that
> is all I can contribute to Plan 9 myself.

The broad developer community you can hope to draw from is, more or
less, committed to free software.  I would turn around tomorrow and
run Plan 9 nearly exclusively if it were free software, and I'd spend
effort making it as good as possible.

But it's not free software, so I won't.  And there are *many* people
who share the same ideals.  Those people contribute to systems like
the GNU/Linux distributions and the various *BSD systems.

Thomas


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

* Re: [9fans] Rant (was Re: Plan9 and Ada95?)
  2001-11-08  7:40     ` Lucio De Re
  2001-11-08 10:40       ` Thomas Bushnell, BSG
@ 2001-11-08 20:15       ` Quinn Dunkan
  1 sibling, 0 replies; 175+ messages in thread
From: Quinn Dunkan @ 2001-11-08 20:15 UTC (permalink / raw)
  To: 9fans


> is all I can contribute to Plan 9 myself.  It is my impression,
> and it must please be seen as such, that the Plan 9 developer are
> fearful that the GNU/Linux/*BSD etc. developer community will
> "taint" Plan 9 with their indiscriminate bloat.  Maybe such
> contamination is possible (I believe it is called miscegenation in

I think it's a much more practical matter.  gcc is not ported because no one
has ported it.  No one has ported it because no one has the time, which means
that no one wants it enough to set aside the time.  Hey, maybe dhog will
finish whatever he's doing with it, and then everyone who wants gcc can go get
it.

Sure, 9fans is often critical of things like gcc.  But if all it takes to
scare you out of porting something is a few disparaging comments from a
mailing list, you'd never have the stomach to do the port in the first place.

Plan9 was obviously designed, and designed by people who have clear and strong
ideas about what good design is.  But if you port or create something that
violates the design ideas of some other people, they're not going to come to
your house and shoot you.  Maybe someday someone will finish and release a gcc
port.  Then maybe someone will port mozilla.  I wouldn't expect those to go
into the standard distribution, but we do have a wiki, and it's dirt simple to
put up a page and a link.

Plan9 is also plenty free enough for me, and I suspect it is for most other
people as well (naturally you only hear from the vocal dissenters, though).
comp.os.plan9 has its share of silly time wasting arguments, but it would
hardly be Usenet without them.

> I don't expect the Plan 9 team to agree with me, we have a very
> different outlook at the "social" level, but perhaps there are
> others on this mailing list who feel that the "social experiment
> (Che Guevara)" is worth conducting even if the casualties could be
> numerous.

If you were waiting for *my* approval, go ahead and conduct it, whatever that
means.  Do whatever you want, as long as it doesn't involve shooting people.

> Naturally, unlike Che Guevara, I don't propose to snatch the
> leadership position from the Plan 9 team, quite the contrary, I
> very much appreciate their continued contribution.  I would just
> appreciate it even more if they were encouraging rather than critical
> in those areas that apparently offend their sensibilities.

I think they're very encouraging.  When technical questions are raised, they
give helpful and clear answers, even when those questions are answered in the
documentation.  When "philosophical" questions are raised, they actually try
to understand what the question is (which is often most of the work, see the
"link" debate), and then give their honest opinions.  What more do you want, a
lollipop?  Since when does anyone need a unanimous vote of acceptance from
9fans to do anything?


On the subject of "what makes plan9 unique", for me, plan9 completely changed
my views on the mouse.  Forget the networking stuff, I just have a 14.4K
modem, the UI is more fun than anything else.  Once, not long ago, I honestly
believed that if I wanted to replace a word I had typed it was easier and
faster to type "^]2bWcWfoo^]A" than to click on the word and type "foo", and
therefore, it was a necessary evil to embed GNU readline into everything that
read from the terminal.


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

* Re: [9fans] Rant (was Re: Plan9 and Ada95?)
  2001-11-07 21:34 [9fans] Rant (was Re: Plan9 and Ada95?) anothy
  2001-11-08  5:30 ` Lucio De Re
  2001-11-08  7:16 ` Steve Kilbane
@ 2001-11-29  4:44 ` Boyd Roberts
  2 siblings, 0 replies; 175+ messages in thread
From: Boyd Roberts @ 2001-11-29  4:44 UTC (permalink / raw)
  To: 9fans

    Perl and Python i can see, for sure.

There are many things I like and dislike about Python, but it's as close to
limbo as I'm likely to get, at the moment.




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

* [9fans] samuel
@ 2002-03-10 23:59 Alex Danilo
  2002-03-11  0:07 ` Alexander Viro
  2002-03-11  0:45 ` Andrew Simmons
  0 siblings, 2 replies; 175+ messages in thread
From: Alex Danilo @ 2002-03-10 23:59 UTC (permalink / raw)
  To: 9fans

>If you just prefer GUIs to composition of commands, just say so.

I don't prefer GUIs.  What does sam itself do - provide a GUI
where grep, find, ed, and sed would have worked just fine:-)

Rob states:

>make grandiose philosophical statements about it.  Well, I have tried
>samuel and I didn't like it, partly because it didn't seem to help all
>that much (because grep could do a lot of the work for you just fine);
>partly because added a set of special-purpose features rather than a
>general-purpose approach; partly because it cluttered up the menus to
>have that extra functionality, making it less useful as an editor; and
>partly because it just wasn't very well done.

The last point is the correct one.  It was badly done, but it was an
experiment.  I quote myself:

>The whole point of samuel was an experiment in application development
>environments.  Nothing more.

Rob:
>You won't get me to say I don't like tools and don't want to add to
>the the toolkit.  I will say, however, that I demand the tools be good
>and that they should increase the set of problems to be solved or
>significantly increase the ease with which they can be solved.

True - most of samuel was junk - the interpreter didn't work, the
advisor was ill-advised.  But the browser (one whole extra menu entry,
gee) added a wonderful code navigation tool.  'grep' can't parse and
so arguing that layout is a substitute for the language aware cscope
is _really_ misguided.  Heck, what are most of you coding in anyway?
Limbo and C probably.  Not much has changed since the 70's huh!

The point of my post is that as supposedly intelligent beings we should
apply that to make everyones job easier.  If you can get "90% of the
functionality with grep" and you're happy with that - then fine.

But, if you insist on building systems which require an IQ of more
than 100 to operate, then by definition you are excluding more
than 1/2 of the world's population from using the system.

>Samuel didn't make the grade.  If it had, I think it would still be
>around.

Well it is, you just have to know where.

Alex



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

* Re: [9fans] samuel
  2002-03-10 23:59 [9fans] samuel Alex Danilo
@ 2002-03-11  0:07 ` Alexander Viro
  2002-03-11  7:44   ` Steve Kilbane
  2002-03-11  0:45 ` Andrew Simmons
  1 sibling, 1 reply; 175+ messages in thread
From: Alexander Viro @ 2002-03-11  0:07 UTC (permalink / raw)
  To: 9fans



On Mon, 11 Mar 2002, Alex Danilo wrote:

> True - most of samuel was junk - the interpreter didn't work, the
> advisor was ill-advised.  But the browser (one whole extra menu entry,
> gee) added a wonderful code navigation tool.  'grep' can't parse and
> so arguing that layout is a substitute for the language aware cscope
> is _really_ misguided.  Heck, what are most of you coding in anyway?
> Limbo and C probably.  Not much has changed since the 70's huh!

I have to deal with pretty large codebase regulary (Linux kernel) and
compared to intelligent use of grep cscope _sucks_.  For a lot of
reasons, starting with the fact that in most of the cases what you
are looking for is not just an identifier.  And that's aside of such
details as existence of cpp(1)...



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

* Re: [9fans] samuel
  2002-03-10 23:59 [9fans] samuel Alex Danilo
  2002-03-11  0:07 ` Alexander Viro
@ 2002-03-11  0:45 ` Andrew Simmons
  2002-03-11 10:10   ` Thomas Bushnell, BSG
  1 sibling, 1 reply; 175+ messages in thread
From: Andrew Simmons @ 2002-03-11  0:45 UTC (permalink / raw)
  To: 9fans

>But, if you insist on building systems which require an IQ of more
>than 100 to operate, then by definition you are excluding more
>than 1/2 of the world's population from using the system.
>
Well, I don't see how that could be true by definition, but surely the
point is that the discussion concerns an environment for programmers,
rather than the world's population in general, and one would hope that the
average programmer has an IQ greater than 100. Programmers may be happy to
put in the time to learn a system that is difficult to use at first glance,
in exchange for increased productivity down the track. Having said that,
I'm with you on the usefulness of syntax-aware tools. The problem is that
they are often done badly (Visual C++), or appallingly badly (Visual
Basic). I do however like the Codewarrior IDE on the Mac, which provides a
drop down list of functions. Others here would hate it. Live and let live.




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

* Re: [9fans] samuel
  2002-03-11  0:07 ` Alexander Viro
@ 2002-03-11  7:44   ` Steve Kilbane
  0 siblings, 0 replies; 175+ messages in thread
From: Steve Kilbane @ 2002-03-11  7:44 UTC (permalink / raw)
  To: 9fans; +Cc: steve

Alexander Viro wrote:
>  And that's aside of such
> details as existence of cpp(1)...

Yeah, well. Determined application of cpp pretty much defeats any source
browsing method. :-)

steve




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

* Re: [9fans] samuel
  2002-03-11  0:45 ` Andrew Simmons
@ 2002-03-11 10:10   ` Thomas Bushnell, BSG
  0 siblings, 0 replies; 175+ messages in thread
From: Thomas Bushnell, BSG @ 2002-03-11 10:10 UTC (permalink / raw)
  To: 9fans

andrew@mbmnz.co.nz (Andrew Simmons) writes:

> >But, if you insist on building systems which require an IQ of more
> >than 100 to operate, then by definition you are excluding more
> >than 1/2 of the world's population from using the system.
> >
> Well, I don't see how that could be true by definition [...]

Well, strictly it's not.  IQ is (supposedly) normed with the average
at 100.  Alex Danilo's statement was I guess taking it that the median
was 100.  The point is still pretty much the same; if IQ follows a
normal distribution, then they are identical criteria.

Most people think they are above average, but it just ain't so.  The
average person is really, well, average.

Thomas


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

* [9fans] sam and ssh
@ 2002-03-27 18:14 ` Lucio De Re
  2002-03-27 19:08   ` Scott Schwartz
  2002-03-28  1:28   ` Micah Stetson
  0 siblings, 2 replies; 175+ messages in thread
From: Lucio De Re @ 2002-03-27 18:14 UTC (permalink / raw)
  To: 9fans mailing list

Something in an early 3ed discussion gave me the impression that sam
can be run to a remote host over an ssh session.  I haven't quite
managed to get my mind around this, but I assume it means that sam can
originate an ssh session and request the remote ssh daemon to tunnel
the traffic.  Another possibility would be to use ssh tunneling, but
that's a pain at best.

Anyone would like to explain how it ought to be done, if I understood
the idea properly?  I seem to remember that the feature is available
in the Win version of sam too.  I can't find any details in the sam
man pages, but I'm notorious for not seeing the obvious :-(

++L


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

* Re: [9fans] sam and ssh
  2002-03-27 18:14 ` [9fans] sam and ssh Lucio De Re
@ 2002-03-27 19:08   ` Scott Schwartz
  2002-03-28  1:28   ` Micah Stetson
  1 sibling, 0 replies; 175+ messages in thread
From: Scott Schwartz @ 2002-03-27 19:08 UTC (permalink / raw)
  To: 9fans mailing list

| Something in an early 3ed discussion gave me the impression that sam
| can be run to a remote host over an ssh session.

Sam always runs as two processes, and "sam -r" uses rx to launch the
backend on a remote system.  To use ssh instead, bind /bin/ssh on top
of /bin/rx.



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

* Re: [9fans] sam and ssh
@ 2002-03-27 20:12 Geoff Collyer
  2002-03-27 20:18 ` Lucio De Re
  0 siblings, 1 reply; 175+ messages in thread
From: Geoff Collyer @ 2002-03-27 20:12 UTC (permalink / raw)
  To: 9fans

Sorry, I thought Lucio was talking about Unix sam.


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

* Re: [9fans] sam and ssh
  2002-03-28  1:28   ` Micah Stetson
@ 2002-03-27 20:15     ` Lucio De Re
  2002-03-27 20:22       ` Lucio De Re
  0 siblings, 1 reply; 175+ messages in thread
From: Lucio De Re @ 2002-03-27 20:15 UTC (permalink / raw)
  To: 9fans

On Wed, Mar 27, 2002 at 05:28:56PM -0800, Micah Stetson wrote:
> 
> Only in the new Windows version from the Plan 9 updates
> page.  Running sam -r some_host from a Windows 98 box works
> great, but it fails on Win95 and I haven't been able to
> get sam to work at all on XP.  I haven't tried WinME.
> 
Tempting, but I won't install WinME just to check :-(  I'll keep it in
mind if I get near a WinME installation, additional motivation, as it
were...

> On Windows sam uses srx which will pop up a window for
> you to enter a username/password for the ssh connection.

Not on WinNT: I get a "panic: can't connect yet".

> I don't understand the behaviour on Win95: if I run srx
> from a DOS window, it works fine and I can run any command
> on the remote host.  If I run it from within a 9term window

Where do you get 9term?!

> I get 'fatal error: could not dial: some_host: socket:
> error 10106'.  I get the sam message from sam -r if I run

Hm, I suppose one can consult the MS KB for that error number.  The IP
stack under Win isn't wonderful and the error messages are an absolute
treat :-(

> it from within 9term.  If I run sam -r in a DOS window,
> it fails, but prints no message.
> 
Not even a very fast "not for console mode"?  Then again, I can't find
rsx either, I must be looking in totally the wrong place.

++L


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

* Re: [9fans] sam and ssh
  2002-03-27 20:12 [9fans] sam and ssh Geoff Collyer
@ 2002-03-27 20:18 ` Lucio De Re
  2002-03-27 20:31   ` Scott Schwartz
  0 siblings, 1 reply; 175+ messages in thread
From: Lucio De Re @ 2002-03-27 20:18 UTC (permalink / raw)
  To: 9fans

On Wed, Mar 27, 2002 at 12:12:31PM -0800, Geoff Collyer wrote:
> 
> Sorry, I thought Lucio was talking about Unix sam.

I didn't specify.  I prefer the 3ed version, I have to confess, but
I just wanted to edit a remote file over a slow Internet link that
only allows me convenient access over SSH.   I have Unix, Plan 9 and
Windows versions of SAM, I don't mind which one I use.

I presume the above means that you second Scott's approach?

++L


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

* Re: [9fans] sam and ssh
  2002-03-27 20:15     ` Lucio De Re
@ 2002-03-27 20:22       ` Lucio De Re
  2002-03-27 20:36         ` Lucio De Re
  0 siblings, 1 reply; 175+ messages in thread
From: Lucio De Re @ 2002-03-27 20:22 UTC (permalink / raw)
  To: 9fans

On Wed, Mar 27, 2002 at 10:15:19PM +0200, Lucio De Re wrote:
> 
> Where do you get 9term?!
> 
I found it, why did I only find it now?

> Not even a very fast "not for console mode"?  Then again, I can't find
> rsx either, I must be looking in totally the wrong place.
> 
Yep, I was.  Nice new, unused tools :-)  Yum!

For the record, under NT, SAM doesn't seem to care to connect
remotely, much.

++L


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

* Re: [9fans] sam and ssh
  2002-03-27 20:18 ` Lucio De Re
@ 2002-03-27 20:31   ` Scott Schwartz
  0 siblings, 0 replies; 175+ messages in thread
From: Scott Schwartz @ 2002-03-27 20:31 UTC (permalink / raw)
  To: 9fans

> I presume the above means that you second Scott's approach?

On unix, I recompiled sam to exec ssh, so I second Geoff's approach.  :)



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

* Re: [9fans] sam and ssh
  2002-03-27 20:22       ` Lucio De Re
@ 2002-03-27 20:36         ` Lucio De Re
  2002-03-27 20:41           ` Lucio De Re
  2002-04-08 12:47           ` peter huang
  0 siblings, 2 replies; 175+ messages in thread
From: Lucio De Re @ 2002-03-27 20:36 UTC (permalink / raw)
  To: 9fans

On Wed, Mar 27, 2002 at 10:22:53PM +0200, Lucio De Re wrote:
> 
> For the record, under NT, SAM doesn't seem to care to connect
> remotely, much.
> 
Seems like I need a Win refresher course :-(

Sam under NT exhibits the same behaviour as suggested for 98, it
doesn't prompt for authentication if spawned from a 9term.

Nice tools, definitely.  I'm glad I asked the question, now.

++L


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

* Re: [9fans] sam and ssh
  2002-03-27 20:36         ` Lucio De Re
@ 2002-03-27 20:41           ` Lucio De Re
  2002-04-08 12:47           ` peter huang
  1 sibling, 0 replies; 175+ messages in thread
From: Lucio De Re @ 2002-03-27 20:41 UTC (permalink / raw)
  To: 9fans

On Wed, Mar 27, 2002 at 10:36:42PM +0200, Lucio De Re wrote:
> 
> Sam under NT exhibits the same behaviour as suggested for 98, it
> doesn't prompt for authentication if spawned from a 9term.
> 
I'm an unreliable witl^Hness :-(

I'm going to shut up now.  Under NT, sam works both off a DOS
command line and 9term.  Seems to take a while to get going, that's
all, and the prompt window needs to rise to the surface, not stay
buried under all the other garbage.

++L


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

* Re: [9fans] sam and ssh
  2002-03-27 18:14 ` [9fans] sam and ssh Lucio De Re
  2002-03-27 19:08   ` Scott Schwartz
@ 2002-03-28  1:28   ` Micah Stetson
  2002-03-27 20:15     ` Lucio De Re
  1 sibling, 1 reply; 175+ messages in thread
From: Micah Stetson @ 2002-03-28  1:28 UTC (permalink / raw)
  To: 9fans

> the idea properly?  I seem to remember that the feature is available
> in the Win version of sam too.  I can't find any details in the sam
> man pages, but I'm notorious for not seeing the obvious :-(

Only in the new Windows version from the Plan 9 updates
page.  Running sam -r some_host from a Windows 98 box works
great, but it fails on Win95 and I haven't been able to
get sam to work at all on XP.  I haven't tried WinME.

On Windows sam uses srx which will pop up a window for
you to enter a username/password for the ssh connection.
I don't understand the behaviour on Win95: if I run srx
from a DOS window, it works fine and I can run any command
on the remote host.  If I run it from within a 9term window
I get 'fatal error: could not dial: some_host: socket:
error 10106'.  I get the sam message from sam -r if I run
it from within 9term.  If I run sam -r in a DOS window,
it fails, but prints no message.

Micah



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

* Re: [9fans] sam and ssh
  2002-03-27 20:36         ` Lucio De Re
  2002-03-27 20:41           ` Lucio De Re
@ 2002-04-08 12:47           ` peter huang
  1 sibling, 0 replies; 175+ messages in thread
From: peter huang @ 2002-04-08 12:47 UTC (permalink / raw)
  To: 9fans

I was able to copy plink.exe (from putty) over srx.exe.   I was able to edit
files from unix environment (this is under win2k).  the srx.exe works but I
want have better control of my ssh environment (such ssh2 and public key
support with openssh).

-peter

"Lucio De Re" <lucio@proxima.alt.za> wrote in message
news:20020327223641.M25951@cackle.proxima.alt.za...
> On Wed, Mar 27, 2002 at 10:22:53PM +0200, Lucio De Re wrote:
> >
> > For the record, under NT, SAM doesn't seem to care to connect
> > remotely, much.
> >
> Seems like I need a Win refresher course :-(
>
> Sam under NT exhibits the same behaviour as suggested for 98, it
> doesn't prompt for authentication if spawned from a 9term.
>
> Nice tools, definitely.  I'm glad I asked the question, now.
>
> ++L
Followup-To:
Distribution:
Organization: University of Bath Computing Services, UK
Keywords:
Cc:


--
Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK
D.H.Davis@bath.ac.uk


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

* [9fans] 9 in the news
@ 2002-09-21  2:01 matt
  2002-09-21 11:16 ` Lucio De Re
                   ` (2 more replies)
  0 siblings, 3 replies; 175+ messages in thread
From: matt @ 2002-09-21  2:01 UTC (permalink / raw)
  To: 9fans

 How Apache & Plan 9 will defeat Microsoft's Passport

http://www.linuxworld.com/site-stories/2002/0918.plan9.html

http://slashdot.org/article.pl?sid=02/09/20/1532208&mode=nested&tid=156


---
Outgoing mail is certified as idiotic.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.384 / Virus Database: 216 - Release Date: 21/08/2002



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

* Re: [9fans] 9 in the news
  2002-09-21  2:01 [9fans] 9 in the news matt
@ 2002-09-21 11:16 ` Lucio De Re
  2002-09-21 15:21   ` Arnaud SAHUGUET
                     ` (3 more replies)
  2002-10-01 12:45 ` matt
  2002-10-03  1:47 ` [9fans] did a replica/pull, now "mk 'CONF='pc" fails? Eric Dorman
  2 siblings, 4 replies; 175+ messages in thread
From: Lucio De Re @ 2002-09-21 11:16 UTC (permalink / raw)
  To: 9fans

On Sat, Sep 21, 2002 at 03:01:09AM +0100, matt wrote:
>
> http://slashdot.org/article.pl?sid=02/09/20/1532208&mode=nested&tid=156
>
Is it just me, or were the responses surprisingly uninformed?

++L


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

* Re: [9fans] 9 in the news
  2002-09-21 11:16 ` Lucio De Re
@ 2002-09-21 15:21   ` Arnaud SAHUGUET
  2002-09-21 15:57   ` Jack Johnson
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 175+ messages in thread
From: Arnaud SAHUGUET @ 2002-09-21 15:21 UTC (permalink / raw)
  To: 9fans

The original article from LinuxWorld is a real mess.
They mix together so many different things and the title is really
misleading.

The /. comments are the usual stuff.
A lot of noise especially when the thread gets "hijacked" on a totally
different track.

But it is good PR for Plan9, putting it back on the radar screen of some
people.
This is called mindshare.

regards,

Arnaud

----- Original Message -----
From: "Lucio De Re" <lucio@proxima.alt.za>
To: <9fans@cse.psu.edu>
Sent: Saturday, September 21, 2002 7:16 AM
Subject: Re: [9fans] 9 in the news


> On Sat, Sep 21, 2002 at 03:01:09AM +0100, matt wrote:
> >
> > http://slashdot.org/article.pl?sid=02/09/20/1532208&mode=nested&tid=156
> >
> Is it just me, or were the responses surprisingly uninformed?
>
> ++L
>



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

* Re: [9fans] 9 in the news
  2002-09-21 11:16 ` Lucio De Re
  2002-09-21 15:21   ` Arnaud SAHUGUET
@ 2002-09-21 15:57   ` Jack Johnson
  2002-09-21 16:01   ` Ronald G Minnich
  2002-09-21 21:55   ` Steve Kilbane
  3 siblings, 0 replies; 175+ messages in thread
From: Jack Johnson @ 2002-09-21 15:57 UTC (permalink / raw)
  To: 9fans

Lucio De Re wrote:
> On Sat, Sep 21, 2002 at 03:01:09AM +0100, matt wrote:
>>http://slashdot.org/article.pl?sid=02/09/20/1532208&mode=nested&tid=156
>>
> Is it just me, or were the responses surprisingly uninformed?

I'm less informed than I should be, and I felt the same way.

I was unimpressed by the LinuxWorld article in general, but yes,
Slashdot isn't what it used to be.

-Jack



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

* Re: [9fans] 9 in the news
  2002-09-21 11:16 ` Lucio De Re
  2002-09-21 15:21   ` Arnaud SAHUGUET
  2002-09-21 15:57   ` Jack Johnson
@ 2002-09-21 16:01   ` Ronald G Minnich
  2002-09-21 21:55   ` Steve Kilbane
  3 siblings, 0 replies; 175+ messages in thread
From: Ronald G Minnich @ 2002-09-21 16:01 UTC (permalink / raw)
  To: 9fans

On Sat, 21 Sep 2002, Lucio De Re wrote:

> Is it just me, or were the responses surprisingly uninformed?

It's slashdot. What else do you need to know?

ron



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

* Re: [9fans] 9 in the news
  2002-09-21 11:16 ` Lucio De Re
                     ` (2 preceding siblings ...)
  2002-09-21 16:01   ` Ronald G Minnich
@ 2002-09-21 21:55   ` Steve Kilbane
  3 siblings, 0 replies; 175+ messages in thread
From: Steve Kilbane @ 2002-09-21 21:55 UTC (permalink / raw)
  To: 9fans

> Is it just me, or were the responses surprisingly uninformed?

I'm surprised anybody bothers to read them in the first place.
Life's too short.

steve




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

* Re: [9fans] 9 in the news
  2002-09-21  2:01 [9fans] 9 in the news matt
  2002-09-21 11:16 ` Lucio De Re
@ 2002-10-01 12:45 ` matt
  2002-10-03  1:47 ` [9fans] did a replica/pull, now "mk 'CONF='pc" fails? Eric Dorman
  2 siblings, 0 replies; 175+ messages in thread
From: matt @ 2002-10-01 12:45 UTC (permalink / raw)
  To: 9fans

er, looks like ntl's relay has decided to play a game

Received: from mta05-svc.ntlworld.com [62.253.162.45]
 by mail.cse.psu.edu (CSE Mail Server) with ESMTP id C741F19A68
 for <9fans@cse.psu.edu>; Tue,  1 Oct 2002 04:59:17 -0400 (EDT)

Received: from KIKE ([80.4.204.18]) by mta02-svc.ntlworld.com
          for <9fans@cse.psu.edu>; Sat, 21 Sep 2002 03:00:31 +0100


---
Outgoing mail is certified as idiotic.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.384 / Virus Database: 216 - Release Date: 22/08/2002



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

* [9fans] did a replica/pull, now "mk 'CONF='pc" fails?
  2002-09-21  2:01 [9fans] 9 in the news matt
  2002-09-21 11:16 ` Lucio De Re
  2002-10-01 12:45 ` matt
@ 2002-10-03  1:47 ` Eric Dorman
  2 siblings, 0 replies; 175+ messages in thread
From: Eric Dorman @ 2002-10-03  1:47 UTC (permalink / raw)
  To: 9fans

I did a pull last night; after making the world I went to rebuild 9pc and
got 'name not declared: E_data_mismatch_recover' compiling
sd53c8xx.c .. it seems sd53c8xx.c was updated, with the last time
stamp of (presumably) 1033135288. from /dist/replica/client/plan9.log.

I can recover it from yesterday(1) but I'm worried it's broken on
sources.bell-labs..
maybe I just need to rebuild from scratch?

--eric





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

* [9fans] E attribute in libsec/port/x509.c
@ 2003-03-10 13:13 Claude BONFANTI
  2003-03-11 17:41 ` Eric Grosse
  0 siblings, 1 reply; 175+ messages in thread
From: Claude BONFANTI @ 2003-03-10 13:13 UTC (permalink / raw)
  To: 9fans

Various attributes could be specified this way.

% diff .../new.x509.c x509.c
2222c2222
< 	int		data[7];
---
> 	int		data[4];
2226,2232c2226,2231
< 	{4, 2, 5, 4, 6, 0, 0, 0, "C="},
< 	{4, 2, 5, 4, 8, 0, 0, 0, "ST="},
< 	{4, 2, 5, 4, 7, 0, 0, 0, "L="},
< 	{4, 2, 5, 4, 10, 0, 0, 0, "O="},
< 	{4, 2, 5, 4, 11, 0, 0, 0, "OU="},
< 	{7, 1,2,840,113549,1,9,1, "E="},
< 	{4, 2, 5, 4, 3, 0, 0, 0, "CN="},
---
> 	{4, 2, 5, 4, 6,  "C="},
> 	{4, 2, 5, 4, 8,  "ST="},
> 	{4, 2, 5, 4, 7,  "L="},
> 	{4, 2, 5, 4, 10, "O="},
> 	{4, 2, 5, 4, 11, "OU="},
> 	{4, 2, 5, 4, 3,  "CN="},
%


% aux/X509gen -p your_key.secret 'C=FR O=''-'' OU=''-'' E=''guess@nowere.fr'' CN=''Your_NAME'' ' >your_x509certificate.der



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

* Re: [9fans] E attribute in libsec/port/x509.c
  2003-03-10 13:13 [9fans] E attribute in libsec/port/x509.c Claude BONFANTI
@ 2003-03-11 17:41 ` Eric Grosse
  2003-03-12  9:33   ` [9fans] hardware support for the fs kernel Conor Williams
  0 siblings, 1 reply; 175+ messages in thread
From: Eric Grosse @ 2003-03-11 17:41 UTC (permalink / raw)
  To: 9fans

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

Done.

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

From: Claude BONFANTI <guess@nowere.fr>
To: 9fans@cse.psu.edu
Subject: [9fans] E attribute in libsec/port/x509.c
Date: Mon, 10 Mar 2003 13:13:35 0000
Message-ID: <802c9b0626bc30fd37f13ebc4f729d01@domik.fr>

Various attributes could be specified this way.

% diff .../new.x509.c x509.c
2222c2222
< 	int		data[7];
---
> 	int		data[4];
2226,2232c2226,2231
< 	{4, 2, 5, 4, 6, 0, 0, 0, "C="},
< 	{4, 2, 5, 4, 8, 0, 0, 0, "ST="},
< 	{4, 2, 5, 4, 7, 0, 0, 0, "L="},
< 	{4, 2, 5, 4, 10, 0, 0, 0, "O="},
< 	{4, 2, 5, 4, 11, 0, 0, 0, "OU="},
< 	{7, 1,2,840,113549,1,9,1, "E="},
< 	{4, 2, 5, 4, 3, 0, 0, 0, "CN="},
---
> 	{4, 2, 5, 4, 6,  "C="},
> 	{4, 2, 5, 4, 8,  "ST="},
> 	{4, 2, 5, 4, 7,  "L="},
> 	{4, 2, 5, 4, 10, "O="},
> 	{4, 2, 5, 4, 11, "OU="},
> 	{4, 2, 5, 4, 3,  "CN="},
%


% aux/X509gen -p your_key.secret 'C=FR O=''-'' OU=''-'' E=''guess@nowere.fr'' CN=''Your_NAME'' ' >your_x509certificate.der

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

* [9fans] hardware support for the fs kernel
  2003-03-11 17:41 ` Eric Grosse
@ 2003-03-12  9:33   ` Conor Williams
  2003-03-12  9:52     ` Geoff Collyer
  2003-03-12 10:01     ` Lucio De Re
  0 siblings, 2 replies; 175+ messages in thread
From: Conor Williams @ 2003-03-12  9:33 UTC (permalink / raw)
  To: 9fans

hi
What graphics and network hardware is supported for the fs kernel.
I went through the emelie mkfile and all I could find was:
ether2114x
ether82557
Will my ne2000 card and S3 card work with this kernel?
tx
will551



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

* Re: [9fans] hardware support for the fs kernel
  2003-03-12  9:33   ` [9fans] hardware support for the fs kernel Conor Williams
@ 2003-03-12  9:52     ` Geoff Collyer
  2003-03-12 10:01     ` Lucio De Re
  1 sibling, 0 replies; 175+ messages in thread
From: Geoff Collyer @ 2003-03-12  9:52 UTC (permalink / raw)
  To: 9fans

Graphics card is almost irrelevant; any VGA card will do.

: cpu; ls /sys/src/fs/pc/ether*.c
/sys/src/fs/pc/ether2114x.c
/sys/src/fs/pc/ether8139.c
/sys/src/fs/pc/ether82557.c
/sys/src/fs/pc/ether83815.c
/sys/src/fs/pc/etherdp83820.c
/sys/src/fs/pc/etherelnk3.c
/sys/src/fs/pc/etherga620.c

In particular, ether8139 drives the low-end RealTek 8139 chip that
everybody seems to selling now.  ether82557.c runs the Intel 8255[789]
cards, which should be easy to find.  ether83815.c drives the FA31[12]
cards, also pretty easy to find and cheap.  etherelink3.c will run
most any 3com card.



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

* Re: [9fans] hardware support for the fs kernel
  2003-03-12  9:33   ` [9fans] hardware support for the fs kernel Conor Williams
  2003-03-12  9:52     ` Geoff Collyer
@ 2003-03-12 10:01     ` Lucio De Re
  2003-03-12 10:12       ` Geoff Collyer
  1 sibling, 1 reply; 175+ messages in thread
From: Lucio De Re @ 2003-03-12 10:01 UTC (permalink / raw)
  To: 9fans

On Wed, Mar 12, 2003 at 09:33:18AM -0000, Conor Williams wrote:
> 
> What graphics and network hardware is supported for the fs kernel.
> I went through the emelie mkfile and all I could find was:
> ether2114x
> ether82557
> Will my ne2000 card and S3 card work with this kernel?

I think you're out of luck on the ne2000 side.  Maybe a bit of
effort in porting either an old ne2000 driver (I know I had been
using one on my 2ed server and replaced it with a 3Com when I
upgraded to 3.5ed :-) or even the driver from the workstation/cpu
code, I'm not sure which would be easier, will get you there.  But
ne2000s are pretty scrappy cards and performance won't be what it
could.

As for video, anything including an old digital monochrome or colour
monitor adapter ought to work.  The FS has no graphics requirements.
I'd keep the S3 for graphics work, use one of the _unsupported_ video
card on the file server.

++L

PS: I know why I haven't migrated to Fossil/Venti yet, but if you're
setting up a new server, why are you considering the obsolete file
server?  Or, better, are you aware that the server you're considering
is obsolete?


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

* Re: [9fans] hardware support for the fs kernel
  2003-03-12 10:01     ` Lucio De Re
@ 2003-03-12 10:12       ` Geoff Collyer
  2003-03-12 10:28         ` Lucio De Re
  2003-03-12 10:52         ` James A. Robinson
  0 siblings, 2 replies; 175+ messages in thread
From: Geoff Collyer @ 2003-03-12 10:12 UTC (permalink / raw)
  To: 9fans

The pre-fossil file server isn't entirely obsolete yet.  If one wants
automated, unattended dumps to optical storage, the old file server is
still a good choice, and that's why I'm using it.

I'm considering what it would take to make the jukebox code and
possibly the cached-worm code, in some form, fit sensibly into a cpu
server with venti and fossil on it.  Possibly an ordinary big disk in
front of the jukebox using a mirror device would be enough to supplant
the cached-worm code.



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

* Re: [9fans] hardware support for the fs kernel
  2003-03-12 10:12       ` Geoff Collyer
@ 2003-03-12 10:28         ` Lucio De Re
  2003-03-12 17:15           ` Russ Cox
  2003-03-12 10:52         ` James A. Robinson
  1 sibling, 1 reply; 175+ messages in thread
From: Lucio De Re @ 2003-03-12 10:28 UTC (permalink / raw)
  To: 9fans

On Wed, Mar 12, 2003 at 02:12:55AM -0800, Geoff Collyer wrote:
> 
> The pre-fossil file server isn't entirely obsolete yet.  If one wants
> automated, unattended dumps to optical storage, the old file server is
> still a good choice, and that's why I'm using it.
> 
Fossil/Venti won't serve my 2ed and 3ed museums :-)  I like the 3.5ed
server, pity longnames are incompatible with the disk structures.
Maybe my question should have used "obsolescent" rather than
"obsolete".

> I'm considering what it would take to make the jukebox code and
> possibly the cached-worm code, in some form, fit sensibly into a cpu
> server with venti and fossil on it.  Possibly an ordinary big disk in
> front of the jukebox using a mirror device would be enough to supplant
> the cached-worm code.

The whole idea of "removable" media needs a re-think, it seems to me.
It is too convenient to disregard, but fits badly into existing
paradigms.  Mind you, decent cacheing, effectively replication, would
solve a lot of problems.  There's something about Venti that hints at
clever replication, but I can't quite fathom what, I like to think
that the key really lies there.

++L


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

* Re: [9fans] hardware support for the fs kernel
  2003-03-12 10:12       ` Geoff Collyer
  2003-03-12 10:28         ` Lucio De Re
@ 2003-03-12 10:52         ` James A. Robinson
  2003-03-12 11:11           ` Lucio De Re
  1 sibling, 1 reply; 175+ messages in thread
From: James A. Robinson @ 2003-03-12 10:52 UTC (permalink / raw)
  To: 9fans


> The whole idea of "removable" media needs a re-think, it seems to me.
> It is too convenient to disregard, but fits badly into existing
> paradigms.  Mind you, decent cacheing, effectively replication, would
> solve a lot of problems.  There's something about Venti that hints at
> clever replication, but I can't quite fathom what, I like to think
> that the key really lies there.

Someone was pointing out the Nexsan ATABeast product, which advertises
13.4TB of disk starting at $40K (one assumes the 10.4TB they also
advertise would be cheaper).  It may not be blazingly fast disk,
but it's probably faster than optical, and is fairly cheap.  Just in
the context of an ordinary IT operation, it does seem like this kind
of hardware would replace optical jukeboxes, and next to it you would
have an ordinary tape box for absolute disaster recovery (or you have
an off-site mirror of the disk array).


Jim


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

* Re: [9fans] hardware support for the fs kernel
  2003-03-12 10:52         ` James A. Robinson
@ 2003-03-12 11:11           ` Lucio De Re
  2003-03-12 22:59             ` Geoff Collyer
  0 siblings, 1 reply; 175+ messages in thread
From: Lucio De Re @ 2003-03-12 11:11 UTC (permalink / raw)
  To: 9fans

On Wed, Mar 12, 2003 at 02:52:48AM -0800, James A. Robinson wrote:
> 
> Someone was pointing out the Nexsan ATABeast product, which advertises
> 13.4TB of disk starting at $40K (one assumes the 10.4TB they also
> advertise would be cheaper).  It may not be blazingly fast disk,
> but it's probably faster than optical, and is fairly cheap.  Just in
> the context of an ordinary IT operation, it does seem like this kind
> of hardware would replace optical jukeboxes, and next to it you would
> have an ordinary tape box for absolute disaster recovery (or you have
> an off-site mirror of the disk array).
> 
That covers Geoff's needs, in a fashion (and at a price, seeing as
you need two of them :-)

But it doesn't solve the problem of replication, which in fact
arises even in the scenario above.  In addition, replication is
multi-directional, although Geoff may not be interested in this
aspect.

++L


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

* Re: [9fans] hardware support for the fs kernel
  2003-03-12 10:28         ` Lucio De Re
@ 2003-03-12 17:15           ` Russ Cox
  2003-03-13  7:59             ` Lucio De Re
  0 siblings, 1 reply; 175+ messages in thread
From: Russ Cox @ 2003-03-12 17:15 UTC (permalink / raw)
  To: 9fans

> Fossil/Venti won't serve my 2ed and 3ed museums :-)  I like the 3.5ed
> server, pity longnames are incompatible with the disk structures.
> Maybe my question should have used "obsolescent" rather than
> "obsolete".

It would be utterly trivial -- maybe 100 lines of code -- to
write a srvold9p to do the translation.  Kfs and u9fs have
this built into them.  We dropped it from fossil because it
is time to move on, but it would be easy to make it a separate
user program.  There's literally no state needed.  There's
an easy embedding from old to new requests and then new to 
old responses.

(Our current program called srvold9p is really mountold9p.)

Russ


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

* Re: [9fans] hardware support for the fs kernel
  2003-03-12 11:11           ` Lucio De Re
@ 2003-03-12 22:59             ` Geoff Collyer
  2003-03-12 23:20               ` Jack Johnson
  0 siblings, 1 reply; 175+ messages in thread
From: Geoff Collyer @ 2003-03-12 22:59 UTC (permalink / raw)
  To: 9fans

Actually Jim Robinson's suggestion doesn't meet my needs (or desires,
anyway).  Magnetic media don't provide the permanence of optical
media.  Mirrors aren't a substitute for backups.

I've personally had enough of magnetic tape for one lifetime.  Mag
tapes aren't archival storage and are somewhat dubious as backups.
Plus mag tape gets you back into the business of manual backups and
restores.  I don't think anybody is going to want to dump 13 TB, which
will take quite a while and use a lot of tapes, so it probably won't
get done often enough.  If there is ever a need to restore from all
those tapes, it's likely to take even longer than the dumps took.

To top it off, the ATABeast new, at $40k, is two orders of magnitude
more than I've paid for my optical jukeboxes.

I'm waiting to see if holographic storage appears next year, as
promised.



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

* Re: [9fans] hardware support for the fs kernel
  2003-03-12 22:59             ` Geoff Collyer
@ 2003-03-12 23:20               ` Jack Johnson
  0 siblings, 0 replies; 175+ messages in thread
From: Jack Johnson @ 2003-03-12 23:20 UTC (permalink / raw)
  To: 9fans

Geoff Collyer wrote:
> Actually Jim Robinson's suggestion doesn't meet my needs (or desires,
> anyway).  Magnetic media don't provide the permanence of optical
> media.  Mirrors aren't a substitute for backups.

I really like the idea from the wiki (I believe) of creating CD-sized 
Venti arenas so you can make semi-permanent backups of the arenas and 
leave the archive alone (assuming you can maintain enough space).  Plus, 
because a full arena never changes, you only have to burn it to CD once. 
  It's like the perfect incremental backup.

I suppose it would be trivial to automate the process.  Hmm....

-Jack



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

* Re: [9fans] hardware support for the fs kernel
  2003-03-12 17:15           ` Russ Cox
@ 2003-03-13  7:59             ` Lucio De Re
  2003-03-13 15:45               ` Russ Cox
  0 siblings, 1 reply; 175+ messages in thread
From: Lucio De Re @ 2003-03-13  7:59 UTC (permalink / raw)
  To: 9fans

On Wed, Mar 12, 2003 at 12:15:41PM -0500, Russ Cox wrote:
> 
> > Fossil/Venti won't serve my 2ed and 3ed museums :-)  I like the 3.5ed
> > server, pity longnames are incompatible with the disk structures.
> > Maybe my question should have used "obsolescent" rather than
> > "obsolete".
> 
> It would be utterly trivial -- maybe 100 lines of code -- to
> write a srvold9p to do the translation.  Kfs and u9fs have
> this built into them.  We dropped it from fossil because it
> is time to move on, but it would be easy to make it a separate
> user program.  There's literally no state needed.  There's
> an easy embedding from old to new requests and then new to 
> old responses.
> 
Yes, that's an excellent idea and I will look into it.  I would
certainly consider running a single fossil file server for all
conceivable purposes.  Right now, I'm sticking to the 3.5ed file
server because I have too much on my plate and too little is actually
getting done as a result.

Unless my reading of the Fossil documentation deceives me, fossil
gets its own namespace to serve, in which case it could also
assimilate duplicates into the namespace (the maps, fonts, astronomical
data) before serving the single copy to different requesters.  That
would be quite convenient.  Fortunately, one doesn't need to
continually update these information libraries, but consolidating
them into a single image would certainly be beneficial.

Another benefit would be the ability to serve arbitrary media: the
old fileserver, in my particular case, could not serve the contents
of the two CD-ROM changers, fossil will be better geared to do so.
I never considered that I would be wooed over by the new file server
being just another application, I always believed that it ought to
stand alone.  I guess one never stops learning :-)

> (Our current program called srvold9p is really mountold9p.)
> 
Good point, wouldn't be hard to rename it "mntold9p", although
renaming "srv" to "mnt" is right out of the question.  I find having
to resort to "-u none" all the time (am I misunderstanding the
documentation?) a little restrictive and irritating.  It probably
ought to have been the default.

++L


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

* Re: [9fans] hardware support for the fs kernel
  2003-03-13  7:59             ` Lucio De Re
@ 2003-03-13 15:45               ` Russ Cox
  2003-03-14  5:06                 ` Lucio De Re
  0 siblings, 1 reply; 175+ messages in thread
From: Russ Cox @ 2003-03-13 15:45 UTC (permalink / raw)
  To: 9fans

> Unless my reading of the Fossil documentation deceives me, fossil
> gets its own namespace to serve, in which case it could also

I don't know what you mean by this, but I think you're confused.
As far as file service is concerned, fossil is conceptually 
identical to the worm fs but with long file names.

> Another benefit would be the ability to serve arbitrary media: the
> old fileserver, in my particular case, could not serve the contents
> of the two CD-ROM changers, fossil will be better geared to do so.

No.  See above.  Fossil is just a file server.

> Good point, wouldn't be hard to rename it "mntold9p", although
> renaming "srv" to "mnt" is right out of the question.  I find having
> to resort to "-u none" all the time (am I misunderstanding the
> documentation?) a little restrictive and irritating.  It probably
> ought to have been the default.

It's a throwaway program, meaning I can't wait to throw it away.

Russ


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

* Re: [9fans] hardware support for the fs kernel
  2003-03-13 15:45               ` Russ Cox
@ 2003-03-14  5:06                 ` Lucio De Re
  0 siblings, 0 replies; 175+ messages in thread
From: Lucio De Re @ 2003-03-14  5:06 UTC (permalink / raw)
  To: 9fans

On Thu, Mar 13, 2003 at 10:45:49AM -0500, Russ Cox wrote:
> 
> > Unless my reading of the Fossil documentation deceives me, fossil
> > gets its own namespace to serve, in which case it could also
> 
> I don't know what you mean by this, but I think you're confused.
> As far as file service is concerned, fossil is conceptually 
> identical to the worm fs but with long file names.
> 
I'm confused.  I'll take a closer look before making a bigger fool of
myself.

> 
> It's a throwaway program, meaning I can't wait to throw it away.
> 
_I_ won't be needing srvold9p anymore.  I had three fileservers,
2ed, 3ed and 3.5ed.  Now I have two, both 3.5ed, serving 2ed, 3ed
and 4ed on two hosts.  I can recommend others do the same if they
have the same type of need, but it may be still early days.

++L


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

* Re: [9fans] sam question
  2008-07-18 10:01     ` roger peppe
@ 2008-07-18 13:22       ` Russ Cox
  0 siblings, 0 replies; 175+ messages in thread
From: Russ Cox @ 2008-07-18 13:22 UTC (permalink / raw)
  To: 9fans

> interestingly this only works in some versions of acme and sam.
> it seems to work ok under plan 9, and in inferno's acme,
> but not in p9p or acme sac.

There are two different issues here.  One is getting
an actual \r to the program in question (acme, sam, etc.)
and the second is how that program interprets it.

The first issue is getting a \r to the program.
On most systems, you type \r.  On Windows,
Enter sends \r so the keyboard handler swaps \r and \n,
so you type Ctl-J to get \r.  (If anyone cared, I think
you could check for Ctl in the input handler and not
swap in that case.)  This applies to drawterm, inferno,
and 9pm, which all share the same gui code (I think 9pm
is the progenitor).

The second issue is what the program thinks \r is.
There's a long, boring history of Plan 9 coming to
grips with the many extra keys on the PC keyboard,
but the short version is that for a long time the End key's
only use was to generate \r.  That era ended in
December 2003, around the time rio, sam, and acme
started using Home, End, PgUp, and PgDown for
scrolling.  Unfortunately, the p9p keyboard.h didn't
get the memo, and it was still using \r as End.
This meant that when you typed Ctl-M acme or sam
saw End (and probably didn't scroll because you were
in a window with little text).  I just fixed this in p9p
cvs and hg.  (I had always chalked it up to an X11 input
issue similar to the Windows one, or I'd have gone
looking for it years ago.)

I can't explain why acme sac doesn't handle \r right,
but now you know where to look.

Russ



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

* Re: [9fans] sam question
  2008-07-18  0:45   ` Pietro Gagliardi
@ 2008-07-18 10:01     ` roger peppe
  2008-07-18 13:22       ` Russ Cox
  0 siblings, 1 reply; 175+ messages in thread
From: roger peppe @ 2008-07-18 10:01 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Fri, Jul 18, 2008 at 1:45 AM, Pietro Gagliardi <pietro10@mac.com> wrote:
> On Jul 17, 2008, at 8:28 PM, erik quanstrom wrote:
>> i suppose you could also type
>
> ctl+m

interestingly this only works in some versions of acme and sam.
it seems to work ok under plan 9, and in inferno's acme,
but not in p9p or acme sac.



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

* Re: [9fans] sam question
  2008-07-18  0:28 ` erik quanstrom
@ 2008-07-18  0:45   ` Pietro Gagliardi
  2008-07-18 10:01     ` roger peppe
  0 siblings, 1 reply; 175+ messages in thread
From: Pietro Gagliardi @ 2008-07-18  0:45 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Jul 17, 2008, at 8:28 PM, erik quanstrom wrote:
> i suppose you could also type
ctl+m




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

* Re: [9fans] sam question
  2008-07-17 22:56 [9fans] sam question Skip Tavakkolian
@ 2008-07-18  0:28 ` erik quanstrom
  2008-07-18  0:45   ` Pietro Gagliardi
  0 siblings, 1 reply; 175+ messages in thread
From: erik quanstrom @ 2008-07-18  0:28 UTC (permalink / raw)
  To: 9fans

> related to the earlier discussion, for stripping the \r at the end of
> lines in windows files, i use:
>
> 	,x/<CR>$/ c//
>
> where <CR> is a cut&pasted return char (yes, i could use '.' instead,
> but i'm paranoid.) x doesn't seem to recognize \r as a escape
> sequence.  true?

no they don't: sam/regexp.c and acme/regx.c both have a lex function
that starts basically like this (from acme)

int
lex(void){
	int c;

	c = *exprp++;
	switch(c){
	case '\\':
		if(*exprp)
			if((c= *exprp++)=='n')
				c='\n';

i suppose you could also type <compose>000d.

- erik



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

* [9fans] sam question
@ 2008-07-17 22:56 Skip Tavakkolian
  2008-07-18  0:28 ` erik quanstrom
  0 siblings, 1 reply; 175+ messages in thread
From: Skip Tavakkolian @ 2008-07-17 22:56 UTC (permalink / raw)
  To: 9fans

related to the earlier discussion, for stripping the \r at the end of
lines in windows files, i use:

	,x/<CR>$/ c//

where <CR> is a cut&pasted return char (yes, i could use '.' instead,
but i'm paranoid.) x doesn't seem to recognize \r as a escape
sequence.  true?




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

* Re: [9fans] Sam question
  2001-08-21  9:31                   ` Boyd Roberts
@ 2001-08-22  2:52                     ` Donald Brownlee
  0 siblings, 0 replies; 175+ messages in thread
From: Donald Brownlee @ 2001-08-22  2:52 UTC (permalink / raw)
  To: 9fans


> 
> > history of ALTO reduced to a sound byte?
> 
> well, i wouldn't want to fill up /n/dump, but i can
> see my copy of _fumbling the future_ from here.

Too bad fumbling-the-future can't be patented.


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

* Re: [9fans] Sam question
  2001-08-21  8:37                 ` Ozan Yigit
@ 2001-08-21  9:31                   ` Boyd Roberts
  2001-08-22  2:52                     ` Donald Brownlee
  0 siblings, 1 reply; 175+ messages in thread
From: Boyd Roberts @ 2001-08-21  9:31 UTC (permalink / raw)
  To: 9fans

> history of ALTO reduced to a sound byte?

well, i wouldn't want to fill up /n/dump, but i can
see my copy of _fumbling the future_ from here.




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

* Re: [9fans] Sam question
  2001-08-20 15:11               ` Boyd Roberts
@ 2001-08-21  8:37                 ` Ozan Yigit
  2001-08-21  9:31                   ` Boyd Roberts
  0 siblings, 1 reply; 175+ messages in thread
From: Ozan Yigit @ 2001-08-21  8:37 UTC (permalink / raw)
  To: 9fans

boyd@fr.inter.net (Boyd Roberts) writes:

> it was great.  it came out of PARC and the 'office people'
> loved it.  pity that xerox didn't.

history of ALTO reduced to a sound byte?


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

* Re: [9fans] Sam question
  2001-08-20  8:56           ` Douglas A. Gwyn
  2001-08-20 11:11             ` Boyd Roberts
@ 2001-08-20 16:25             ` Sam Ducksworth
  2001-08-20 15:11               ` Boyd Roberts
  1 sibling, 1 reply; 175+ messages in thread
From: Sam Ducksworth @ 2001-08-20 16:25 UTC (permalink / raw)
  To: 9fans

you guys bitch and moan about tab keys and the like. just
think about the poor guy that said, "hey i got an idea a
lets find a way to interface one of our typewriters to this
thing. it will be great! the office people will love it." ;-)

--sam



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

* Re: [9fans] Sam question
  2001-08-20 16:25             ` Sam Ducksworth
@ 2001-08-20 15:11               ` Boyd Roberts
  2001-08-21  8:37                 ` Ozan Yigit
  0 siblings, 1 reply; 175+ messages in thread
From: Boyd Roberts @ 2001-08-20 15:11 UTC (permalink / raw)
  To: 9fans

> it will be great! the office people will love it." ;-)

it was great.  it came out of PARC and the 'office people'
loved it.  pity that xerox didn't.




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

* Re: [9fans] Sam question
@ 2001-08-20 12:06 bwc
  0 siblings, 0 replies; 175+ messages in thread
From: bwc @ 2001-08-20 12:06 UTC (permalink / raw)
  To: 9fans

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

Ooops.  Last time I respond in a hurry!

I meant to type Ken, Dennis and friends didi NOT suffer from `goto phobia.'

Oh well.

  Brantley

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

From: bwc@borf.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Sam question
Date: Sun, 19 Aug 2001 11:05:27 -0400
Message-ID: <20010819150437.A9C4F199E8@mail.cse.psu.edu>

> I believe "goto" was retained in C for the benefit of code
> generators.

Then you never read any of Ken Thompson's code.  Goto is i C
because is was used!  I suspect Ken, Dennis and friends did
suffer from `goto phobia'.

Besides, every statement has an implied `goto' to the 
next statement :)

Does anyone have the Knuth reference on this subject?

  Brantley

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

* Re: [9fans] Sam question
  2001-08-20  8:56           ` Douglas A. Gwyn
@ 2001-08-20 11:11             ` Boyd Roberts
  2001-08-20 16:25             ` Sam Ducksworth
  1 sibling, 0 replies; 175+ messages in thread
From: Boyd Roberts @ 2001-08-20 11:11 UTC (permalink / raw)
  To: 9fans

> I'm not saying the Windows GUI is very good, just that if you
> have to deal with it, it must be on its own terms..

don't i know it -- <gag>.




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

* Re: [9fans] Sam question
  2001-08-17 14:15 rob pike
  2001-08-17 16:58 ` Boyd Roberts
@ 2001-08-20  8:56 ` Douglas A. Gwyn
  1 sibling, 0 replies; 175+ messages in thread
From: Douglas A. Gwyn @ 2001-08-20  8:56 UTC (permalink / raw)
  To: 9fans

rob pike wrote:
> People spend too much time fussing about how wide (read:
> how many characters) a tab should be.  This "retab" program
> is a perfect example of that old-think.

I agree that it's "old-think", but that's appropriate
since retab's main use is to present a display of an
"old" document in the manner intended/assumed by the
document's creator.  (The four main environments I've
encountered have been: every 8th column, every 5th
column, every 4th column, and no tab support at all.)

Obviously, the need for such a tool suggests that the
original environmental assumptions were a bad idea.


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

* Re: [9fans] Sam question
  2001-08-17 12:14         ` Boyd Roberts
@ 2001-08-20  8:56           ` Douglas A. Gwyn
  2001-08-20 11:11             ` Boyd Roberts
  2001-08-20 16:25             ` Sam Ducksworth
  0 siblings, 2 replies; 175+ messages in thread
From: Douglas A. Gwyn @ 2001-08-20  8:56 UTC (permalink / raw)
  To: 9fans

Boyd Roberts wrote:
> i was hinting at the fact that tabs on windows are _special_.
> ie. they move you from one field to the next.  a real bugger
>     when you _want_ to type a tab in a dialog box.

Ah, okay.  But when you're filling in a form under the Windows
default model, you're not supposed to be entering tab characters
into text, any more than you're supposed to be entering arrow-key
characters.  It's just an unsuitable model for your application.

I'm not saying the Windows GUI is very good, just that if you
have to deal with it, it must be on its own terms..


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

* Re: [9fans] Sam question
@ 2001-08-19 18:06 rob pike
  0 siblings, 0 replies; 175+ messages in thread
From: rob pike @ 2001-08-19 18:06 UTC (permalink / raw)
  To: 9fans

I think the goto issue has been discussed enough, don't you?

-rob



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

* Re: [9fans] Sam question
  2001-08-19 15:05 bwc
@ 2001-08-19 15:59 ` Boyd Roberts
  0 siblings, 0 replies; 175+ messages in thread
From: Boyd Roberts @ 2001-08-19 15:59 UTC (permalink / raw)
  To: 9fans

From: <bwc@borf.com>
> Then you never read any of Ken Thompson's code.  Goto is i C
> because is was used!  I suspect Ken, Dennis and friends did
> suffer from `goto phobia'.

have you ever read the code to namei()?

goto is there because it was/is needed.




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

* Re: [9fans] Sam question
@ 2001-08-19 15:05 bwc
  2001-08-19 15:59 ` Boyd Roberts
  0 siblings, 1 reply; 175+ messages in thread
From: bwc @ 2001-08-19 15:05 UTC (permalink / raw)
  To: 9fans

> I believe "goto" was retained in C for the benefit of code
> generators.

Then you never read any of Ken Thompson's code.  Goto is i C
because is was used!  I suspect Ken, Dennis and friends did
suffer from `goto phobia'.

Besides, every statement has an implied `goto' to the 
next statement :)

Does anyone have the Knuth reference on this subject?

  Brantley


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

* Re: [9fans] Sam question
@ 2001-08-19 12:44 rob pike
  0 siblings, 0 replies; 175+ messages in thread
From: rob pike @ 2001-08-19 12:44 UTC (permalink / raw)
  To: 9fans

> I believe "goto" was retained in C for the benefit of code
> generators.

False.

-rob



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

* Re: [9fans] Sam question
  2001-08-18  1:36   ` Boyd Roberts
@ 2001-08-19  6:31     ` Lucio De Re
  0 siblings, 0 replies; 175+ messages in thread
From: Lucio De Re @ 2001-08-19  6:31 UTC (permalink / raw)
  To: 9fans

On Sat, Aug 18, 2001 at 03:36:44AM +0200, Boyd Roberts wrote:
> 
> From: "Steve Kilbane" <steve@whitecrow.demon.co.uk>
> > It's the non-whitespace
> > bits that count, and they're usually in far greater need of
> > correction.
> 
> if you can't read it it's gonna be hard to fix it.
> 
If "indent" could do its job properly, this entire discussion
would be totally moot.

++L


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

* Re: [9fans] Sam question
  2001-08-17 22:35 David Gordon Hogan
  2001-08-18  4:47 ` Rick Hohensee
@ 2001-08-19  6:29 ` Lucio De Re
  1 sibling, 0 replies; 175+ messages in thread
From: Lucio De Re @ 2001-08-19  6:29 UTC (permalink / raw)
  To: 9fans

On Fri, Aug 17, 2001 at 06:35:27PM -0400, David Gordon Hogan wrote:
> 
> Another common reason is that people don't know how to use continue.
> Eg, instead of writing:
> 
In my opinion, "continue" is a marginally restrained "goto", but
then that makes the "switch" statement a veritable abortion,
requiring the even worse "break" everywhere, so perhaps I'd better
not whine about it, at least not in _this_ forum.

++L


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

* Re: [9fans] Sam question
  2001-08-17 22:35 David Gordon Hogan
@ 2001-08-18  4:47 ` Rick Hohensee
  2001-08-19  6:29 ` Lucio De Re
  1 sibling, 0 replies; 175+ messages in thread
From: Rick Hohensee @ 2001-08-18  4:47 UTC (permalink / raw)
  To: 9fans

> 
> > I hear this argument from Gnuers and the like.  If it's a problem,
> > your identifiers are too long or your functions are too long (thus
> > your block nesting is too deep).  In the case of Gnu code, both are
> > true.
> 
> Another common reason is that people don't know how to use continue.
> Eg, instead of writing:
> 
> 	for(p = example; p != nil; p = p->next) {
> 		q = p->fish;
> 		if(q->foo > 4 && q->bar < 3) {
> 			r = q->blarg;
> 			if(r->foo == 7) {
> 				dosomething(r);
> 				r->done++;
> 			}
> 		}
> 	}
> 
> it is stylistically preferable to write
> 
> 	for(p = example; p != nil; p = p->next) {
> 		q = p->fish;
> 		if(q->foo <= 4 || q->bar >= 3)
> 			continue;
> 		r = q->blarg;
> 		if(r->foo != 7)
> 			continue;
> 		dosomething(r);
> 		r->done++;
> 	}
> 
> Notice the difference this makes in the indentation.
> I think it's also slightly more readable, but YMMV.
> 

Very interesting, since I don't use continue myself that I can recall. The
above technique is limited to "trailing ifs" though isn't it? i.e. it
won't work with...


	for  (p = example; p != nil; p = p->next) {
		q = p->fish;
		if(q->foo > 4 && q->bar < 3) {
			r = q->blarg;
		}
		r->done++;
	}

i.e. where the if to continuefy is not the last thing in the enclosing
block? 

Rick Hohensee
							www.clienux.com


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

* Re: [9fans] Sam question
  2001-08-17 17:04 ` Steve Kilbane
@ 2001-08-18  1:36   ` Boyd Roberts
  2001-08-19  6:31     ` Lucio De Re
  0 siblings, 1 reply; 175+ messages in thread
From: Boyd Roberts @ 2001-08-18  1:36 UTC (permalink / raw)
  To: 9fans

From: "Steve Kilbane" <steve@whitecrow.demon.co.uk>
> It's the non-whitespace
> bits that count, and they're usually in far greater need of
> correction.

if you can't read it it's gonna be hard to fix it.




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

* Re: [9fans] Sam question
@ 2001-08-17 22:35 David Gordon Hogan
  2001-08-18  4:47 ` Rick Hohensee
  2001-08-19  6:29 ` Lucio De Re
  0 siblings, 2 replies; 175+ messages in thread
From: David Gordon Hogan @ 2001-08-17 22:35 UTC (permalink / raw)
  To: 9fans

> I hear this argument from Gnuers and the like.  If it's a problem,
> your identifiers are too long or your functions are too long (thus
> your block nesting is too deep).  In the case of Gnu code, both are
> true.

Another common reason is that people don't know how to use continue.
Eg, instead of writing:

	for(p = example; p != nil; p = p->next) {
		q = p->fish;
		if(q->foo > 4 && q->bar < 3) {
			r = q->blarg;
			if(r->foo == 7) {
				dosomething(r);
				r->done++;
			}
		}
	}

it is stylistically preferable to write

	for(p = example; p != nil; p = p->next) {
		q = p->fish;
		if(q->foo <= 4 || q->bar >= 3)
			continue;
		r = q->blarg;
		if(r->foo != 7)
			continue;
		dosomething(r);
		r->done++;
	}

Notice the difference this makes in the indentation.
I think it's also slightly more readable, but YMMV.


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

* Re: [9fans] Sam question
@ 2001-08-17 22:22 geoff
  0 siblings, 0 replies; 175+ messages in thread
From: geoff @ 2001-08-17 22:22 UTC (permalink / raw)
  To: 9fans

> And indenting by eight zero-wide characters gets you wrapping around
> eighty zero-wide columns pretty quickly.

I hear this argument from Gnuers and the like.  If it's a problem,
your identifiers are too long or your functions are too long (thus
your block nesting is too deep).  In the case of Gnu code, both are
true.



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

* Re: [9fans] Sam question
  2001-08-17 17:28   ` Louis Beleos
@ 2001-08-17 17:45     ` Lucio De Re
  0 siblings, 0 replies; 175+ messages in thread
From: Lucio De Re @ 2001-08-17 17:45 UTC (permalink / raw)
  To: 9fans

On Fri, Aug 17, 2001 at 10:28:39AM -0700, Louis Beleos wrote:
> 
> Lucio De Re wrote:
> >  [...]
> > I still find it hard to deal with editors that do not allow me
> > to specify the size of a TAB expansion (SAM?!).  [...]
> > 
> > ++L
> 
> Have you tried setting /env/tabstop to your preferred value?
> 
As Rob points out, I'm one of old-thinker, ... or whiner.  I have
no doubt even used the facility, but I mostly, wrongly, think that
SAM doesn't do tabs properly.  Senility, maybe.

Or having used too many editors, from the editor built into
GW-Basic, the one in Wang's Basic-2, EDLIN and the DOS command
line, MS-DOS's EDIT, and the saga continues to this day, with
the syntax highlighting tools like the editor supplied with the
second edition Inferno (ED4W).

To be perfectly honest, my romantic notions are that nothing
beats the second release of Brief, although I now don't
remember if it had C or Lisp-like programming syntax.  Of
course, that was in the days of typescripts only, at least on
the computers I had access to.

I imagine editors are very much subjective tools and at best we
can compare notes, not evangelise.

++L


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

* Re: [9fans] Sam question
  2001-08-17 16:55 ` Lucio De Re
  2001-08-17 17:08   ` Boyd Roberts
@ 2001-08-17 17:28   ` Louis Beleos
  2001-08-17 17:45     ` Lucio De Re
  1 sibling, 1 reply; 175+ messages in thread
From: Louis Beleos @ 2001-08-17 17:28 UTC (permalink / raw)
  To: 9fans


Lucio De Re wrote:
>  [...]
> I still find it hard to deal with editors that do not allow me
> to specify the size of a TAB expansion (SAM?!).  [...]
> 
> ++L

Have you tried setting /env/tabstop to your preferred value?

--Louis


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

* Re: [9fans] Sam question
  2001-08-17 16:55 ` Lucio De Re
@ 2001-08-17 17:08   ` Boyd Roberts
  2001-08-17 17:28   ` Louis Beleos
  1 sibling, 0 replies; 175+ messages in thread
From: Boyd Roberts @ 2001-08-17 17:08 UTC (permalink / raw)
  To: 9fans

> For me, the worst is not being able to tell whether a character
> is a space or a tab when it may matter (like inside quotes).

it _must_ be a \t, but i've seen all sorts of broken code that
uses raw tab characters -- therein lies madness.




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

* Re: [9fans] Sam question
  2001-08-17 16:32 David Gordon Hogan
  2001-08-17 16:55 ` Lucio De Re
  2001-08-17 17:04 ` Boyd Roberts
@ 2001-08-17 17:04 ` Steve Kilbane
  2001-08-18  1:36   ` Boyd Roberts
  2 siblings, 1 reply; 175+ messages in thread
From: Steve Kilbane @ 2001-08-17 17:04 UTC (permalink / raw)
  To: 9fans

dhog wrote:
> I am SO sick of C programs that are indented using spaces,

...whereas I'm fairly bored with people being obsessed with
indentation, bracing style, whatever. It's the non-whitespace
bits that count, and they're usually in far greater need of
correction.

steve




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

* Re: [9fans] Sam question
  2001-08-17 16:32 David Gordon Hogan
  2001-08-17 16:55 ` Lucio De Re
@ 2001-08-17 17:04 ` Boyd Roberts
  2001-08-17 17:04 ` Steve Kilbane
  2 siblings, 0 replies; 175+ messages in thread
From: Boyd Roberts @ 2001-08-17 17:04 UTC (permalink / raw)
  To: 9fans

> Real programmers indent with tabs.

yup




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

* Re: [9fans] Sam question
@ 2001-08-17 17:00 rob pike
  0 siblings, 0 replies; 175+ messages in thread
From: rob pike @ 2001-08-17 17:00 UTC (permalink / raw)
  To: 9fans

Documented feature for old-thinkers, throwbacks, and whiners:
	tabstop=4 sam

-rob



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

* Re: [9fans] Sam question
  2001-08-17 14:15 rob pike
@ 2001-08-17 16:58 ` Boyd Roberts
  2001-08-20  8:56 ` Douglas A. Gwyn
  1 sibling, 0 replies; 175+ messages in thread
From: Boyd Roberts @ 2001-08-17 16:58 UTC (permalink / raw)
  To: 9fans

> Someone needs to figure out how to make tab 
> stops become true places on the screen, rather than just
> an approximation simulated using the width of spaces
> or numbers, without breaking the model of simple text
> we've come to know and love.  It's a tough problem.

sure is.




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

* Re: [9fans] Sam question
  2001-08-17 16:32 David Gordon Hogan
@ 2001-08-17 16:55 ` Lucio De Re
  2001-08-17 17:08   ` Boyd Roberts
  2001-08-17 17:28   ` Louis Beleos
  2001-08-17 17:04 ` Boyd Roberts
  2001-08-17 17:04 ` Steve Kilbane
  2 siblings, 2 replies; 175+ messages in thread
From: Lucio De Re @ 2001-08-17 16:55 UTC (permalink / raw)
  To: 9fans

On Fri, Aug 17, 2001 at 12:32:11PM -0400, David Gordon Hogan wrote:
> 
> I am SO sick of C programs that are indented using spaces,
> eg the GNU code which seems to have standardized on 2
> space indent.  In the variable width font that I use, 2 spaces
> is not a lot of indent, and the code is totally unreadable (as
> opposed to being mostly unreadable, as it would be if it were
> at least formatted correctly).
> 
Good grief!  We're a long way from my FORTRAN days of being
allowed only capital letters!

I still find it hard to deal with editors that do not allow me
to specify the size of a TAB expansion (SAM?!).  And indenting
by eight zero-wide characters gets you wrapping around eighty
zero-wide columns pretty quickly.  So I fear I'm one of those
who make you sick, I resort to converting all tabs to spaces as
soon as I inherit a different style and I have to use SAM on
it.

> Real programmers indent with tabs.
> 
My "trim" utility will convert spaces to tabs and viceversa (I
wrote it to remove trailing spaces left by an evil DOS editor that
confused the RM-COBOL compiler) and understands variable spacing
tabs, as applicable to the same COBOL, as a variation from fixed
tab sizes.

For a long time, it annoyed me that it preferred a single tab to
a single space, but since I inverted that I'm not sure it wasn't
the right choice.

> Maybe the C preprocessor should reject any line that
> starts with a space :-)

For me, the worst is not being able to tell whether a character
is a space or a tab when it may matter (like inside quotes).

++L


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

* Re: [9fans] Sam question
@ 2001-08-17 16:32 David Gordon Hogan
  2001-08-17 16:55 ` Lucio De Re
                   ` (2 more replies)
  0 siblings, 3 replies; 175+ messages in thread
From: David Gordon Hogan @ 2001-08-17 16:32 UTC (permalink / raw)
  To: 9fans

> I carry around a utility I originally developed at Geotronics
> (early 1980s) called "retab" that transforms from one set of
> tabs stops to another in one pass; it can turn all tabs to an
> appropriate number of spaces by specifying -o +1.  The manual
> page could be improved, but here it is:

I am SO sick of C programs that are indented using spaces,
eg the GNU code which seems to have standardized on 2
space indent.  In the variable width font that I use, 2 spaces
is not a lot of indent, and the code is totally unreadable (as
opposed to being mostly unreadable, as it would be if it were
at least formatted correctly).

Real programmers indent with tabs.

Maybe the C preprocessor should reject any line that
starts with a space :-)



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

* Re: [9fans] Sam question
@ 2001-08-17 14:22 rob pike
  0 siblings, 0 replies; 175+ messages in thread
From: rob pike @ 2001-08-17 14:22 UTC (permalink / raw)
  To: 9fans

> ie. they move you from one field to the next.  a real bugger
>    when you _want_ to type a tab in a dialog box.

Again, old-think about tabs.

-rob



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

* Re: [9fans] Sam question
@ 2001-08-17 14:15 rob pike
  2001-08-17 16:58 ` Boyd Roberts
  2001-08-20  8:56 ` Douglas A. Gwyn
  0 siblings, 2 replies; 175+ messages in thread
From: rob pike @ 2001-08-17 14:15 UTC (permalink / raw)
  To: 9fans

People spend too much time fussing about how wide (read:
how many characters) a tab should be.  This "retab" program
is a perfect example of that old-think.

Tab stops, as computing uses them, become much less
meaningful in the world of variable-pitch fonts, the world
of today.  Someone needs to figure out how to make tab 
stops become true places on the screen, rather than just
an approximation simulated using the width of spaces
or numbers, without breaking the model of simple text
we've come to know and love.  It's a tough problem.

Meanwhile, the output from ls -l and ps is suffering, people.

-rob



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

* Re: [9fans] Sam question
  2001-08-17  8:50       ` Douglas A. Gwyn
@ 2001-08-17 12:14         ` Boyd Roberts
  2001-08-20  8:56           ` Douglas A. Gwyn
  0 siblings, 1 reply; 175+ messages in thread
From: Boyd Roberts @ 2001-08-17 12:14 UTC (permalink / raw)
  To: 9fans

From: "Douglas A. Gwyn" <DAGwyn@null.net>
> Boyd Roberts wrote:
> > anyone like to blow away tabs on any given windows app?
> 
> I carry around a utility I originally developed at Geotronics
> (early 1980s) called "retab" that transforms ...

i was hinting at the fact that tabs on windows are _special_.

ie. they move you from one field to the next.  a real bugger
    when you _want_ to type a tab in a dialog box.




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

* Re: [9fans] Sam question
  2001-08-16 21:07     ` Boyd Roberts
@ 2001-08-17  8:50       ` Douglas A. Gwyn
  2001-08-17 12:14         ` Boyd Roberts
  0 siblings, 1 reply; 175+ messages in thread
From: Douglas A. Gwyn @ 2001-08-17  8:50 UTC (permalink / raw)
  To: 9fans

Boyd Roberts wrote:
> anyone like to blow away tabs on any given windows app?

I carry around a utility I originally developed at Geotronics
(early 1980s) called "retab" that transforms from one set of
tabs stops to another in one pass; it can turn all tabs to an
appropriate number of spaces by specifying -o +1.  The manual
page could be improved, but here it is:

NAME
     retab - detab|entab utility

SYNOPSIS
     retab [ [ -io ] global_options ] [ -i input_options ]  [  -o
     output_options ]

DESCRIPTION
     Retab reformats text containing combinations of  spaces  and
     tabs  in accordance with user-specified input and output tab
     stops; trailing spaces and tabs are removed.  Retab is suit-
     able for use as a filter or as a stand-alone utility.

     Options following -i apply to the input text; those  follow-
     ing -o apply to the output text; all others, including those
     following -io, apply to both input and output.  Options  may
     consist  of  a filename (standard input or output used if no
     file specified) and/or tab stop specifications.   Tab  stops
     are  specified  as  a  list  of column numbers (the leftmost
     print position is column # 1)  optionally  followed  by  the
     increment  of  a  regularly-spaced  series of stops past the
     last explicitly given column number; the increment is speci-
     fied  in the form +n.  Unspecified input or output tab stops
     are assumed to be UNIX standard (equivalent to specifying  9
     +8).

EXAMPLE
          $ retab -i foo -o +5
     interprets the tab settings in file ``foo'' according to the
     standard  eight-column  spacing while printing on a terminal
     having hardware stops set in every fifth column.

SEE ALSO
     newform(1).

DIAGNOSTICS
     In case of malfunction, retab terminates with an error  mes-
     sage and returns non-zero exit status.

AUTHOR
     Douglas A. Gwyn, BRL/VLD-VMB


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

* Re: [9fans] Sam question
  2001-08-14  9:44   ` Douglas A. Gwyn
@ 2001-08-16 21:07     ` Boyd Roberts
  2001-08-17  8:50       ` Douglas A. Gwyn
  0 siblings, 1 reply; 175+ messages in thread
From: Boyd Roberts @ 2001-08-16 21:07 UTC (permalink / raw)
  To: 9fans

From: "Douglas A. Gwyn" <DAGwyn@null.net>
> > I can snarf a backspace from the target file and do it that way, but I assume
> > there must be a better way?
> 
> Not so far as I know.

yup, that's how i do it.  same deal with blowing away cr's.

anyone like to blow away tabs on any given windows app?




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

* Re: [9fans] Sam question
@ 2001-08-14 12:41 rob pike
  0 siblings, 0 replies; 175+ messages in thread
From: rob pike @ 2001-08-14 12:41 UTC (permalink / raw)
  To: 9fans

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

Try
	!unicode 8


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

From: "Douglas A. Gwyn" <DAGwyn@null.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Sam question
Date: Tue, 14 Aug 2001 09:44:23 GMT
Message-ID: <3B73F61E.F60C9811@null.net>

gene garbutt wrote:
> I haven't figured out how to get the backspace character in sam command. I
> can snarf a backspace from the target file and do it that way, but I assume
> there must be a better way?

Not so far as I know.

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

* Re: [9fans] Sam question
  2001-08-08 17:08 ` [9fans] Sam question gene garbutt
@ 2001-08-14  9:44   ` Douglas A. Gwyn
  2001-08-16 21:07     ` Boyd Roberts
  0 siblings, 1 reply; 175+ messages in thread
From: Douglas A. Gwyn @ 2001-08-14  9:44 UTC (permalink / raw)
  To: 9fans

gene garbutt wrote:
> I haven't figured out how to get the backspace character in sam command. I
> can snarf a backspace from the target file and do it that way, but I assume
> there must be a better way?

Not so far as I know.


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

* [9fans] Sam question
  2001-08-08 10:45 [9fans] ls -R rog
@ 2001-08-08 17:08 ` gene garbutt
  2001-08-14  9:44   ` Douglas A. Gwyn
  0 siblings, 1 reply; 175+ messages in thread
From: gene garbutt @ 2001-08-08 17:08 UTC (permalink / raw)
  To: 9fans

I am a sam newbie and have a quick question for the experts...

How would I remove backspaces from a file? Or search for a backspace in a
file?

I haven't figured out how to get the backspace character in sam command. I
can snarf a backspace from the target file and do it that way, but I assume
there must be a better way?

Thanks,
Gene Garbutt
ggarbutt@earthlink.net




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

end of thread, other threads:[~2008-07-18 13:22 UTC | newest]

Thread overview: 175+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-18  7:38 [9fans] Sam question nigel
2001-08-18  8:31 ` Steve Kilbane
2001-08-20  8:57   ` Luis Fernandes
2001-08-20 11:10     ` Boyd Roberts
2001-08-18 11:06 ` Boyd Roberts
2001-08-19  6:57 ` Lucio De Re
2001-08-19 10:54   ` Boyd Roberts
2001-08-19 11:13     ` Lucio De Re
2001-08-19 12:02       ` Boyd Roberts
2001-08-19 12:23         ` Lucio De Re
2001-08-19 16:17           ` Steve Kilbane
2001-08-19 20:57 ` Dan Cross
  -- strict thread matches above, loose matches on Subject: below --
2008-07-17 22:56 [9fans] sam question Skip Tavakkolian
2008-07-18  0:28 ` erik quanstrom
2008-07-18  0:45   ` Pietro Gagliardi
2008-07-18 10:01     ` roger peppe
2008-07-18 13:22       ` Russ Cox
2003-03-10 13:13 [9fans] E attribute in libsec/port/x509.c Claude BONFANTI
2003-03-11 17:41 ` Eric Grosse
2003-03-12  9:33   ` [9fans] hardware support for the fs kernel Conor Williams
2003-03-12  9:52     ` Geoff Collyer
2003-03-12 10:01     ` Lucio De Re
2003-03-12 10:12       ` Geoff Collyer
2003-03-12 10:28         ` Lucio De Re
2003-03-12 17:15           ` Russ Cox
2003-03-13  7:59             ` Lucio De Re
2003-03-13 15:45               ` Russ Cox
2003-03-14  5:06                 ` Lucio De Re
2003-03-12 10:52         ` James A. Robinson
2003-03-12 11:11           ` Lucio De Re
2003-03-12 22:59             ` Geoff Collyer
2003-03-12 23:20               ` Jack Johnson
2002-09-21  2:01 [9fans] 9 in the news matt
2002-09-21 11:16 ` Lucio De Re
2002-09-21 15:21   ` Arnaud SAHUGUET
2002-09-21 15:57   ` Jack Johnson
2002-09-21 16:01   ` Ronald G Minnich
2002-09-21 21:55   ` Steve Kilbane
2002-10-01 12:45 ` matt
2002-10-03  1:47 ` [9fans] did a replica/pull, now "mk 'CONF='pc" fails? Eric Dorman
2002-03-27 20:12 [9fans] sam and ssh Geoff Collyer
2002-03-27 20:18 ` Lucio De Re
2002-03-27 20:31   ` Scott Schwartz
     [not found] <lucio@proxima.alt.za>
2001-04-23  5:53 ` [9fans] PGP Lucio De Re
2001-04-23  6:01   ` Scott Schwartz
2001-04-23 16:13     ` Dan Cross
2002-03-27 18:14 ` [9fans] sam and ssh Lucio De Re
2002-03-27 19:08   ` Scott Schwartz
2002-03-28  1:28   ` Micah Stetson
2002-03-27 20:15     ` Lucio De Re
2002-03-27 20:22       ` Lucio De Re
2002-03-27 20:36         ` Lucio De Re
2002-03-27 20:41           ` Lucio De Re
2002-04-08 12:47           ` peter huang
2002-03-10 23:59 [9fans] samuel Alex Danilo
2002-03-11  0:07 ` Alexander Viro
2002-03-11  7:44   ` Steve Kilbane
2002-03-11  0:45 ` Andrew Simmons
2002-03-11 10:10   ` Thomas Bushnell, BSG
2001-11-07 21:34 [9fans] Rant (was Re: Plan9 and Ada95?) anothy
2001-11-08  5:30 ` Lucio De Re
2001-11-08  5:43   ` George Michaelson
2001-11-08  7:07     ` Jim Choate
2001-11-08  7:40     ` Lucio De Re
2001-11-08 10:40       ` Thomas Bushnell, BSG
2001-11-08 20:15       ` Quinn Dunkan
2001-11-08  5:59   ` Andrey A Mirtchovski
2001-11-08  7:16 ` Steve Kilbane
2001-11-29  4:44 ` Boyd Roberts
2001-10-09 13:18 Plan 9 annoyances (was: Re: [9fans] mv vs cp) bwc
2001-10-10  8:57 ` Douglas A. Gwyn
2001-10-10 10:02   ` Browsers (was: Re: Plan 9 annoyances (was: Re: [9fans] mv vs cp)) Lucio De Re
2001-10-10 18:38     ` Steve Kilbane
2001-10-11  8:31       ` John Murdie
2001-10-11 17:26         ` Steve Kilbane
2001-10-12  6:31         ` [9fans] Re: Browsers Boyd Roberts
2001-10-07 16:23 [9fans] mv vs cp jmk
2001-10-08  4:28 ` Lucio De Re
2001-10-08  4:49   ` Alexander Viro
2001-10-08  6:10     ` George Michaelson
2001-10-08  6:34       ` Alexander Viro
2001-10-08  6:49         ` George Michaelson
2001-10-08  7:00           ` Lucio De Re
2001-10-08  7:13             ` George Michaelson
2001-10-08  7:44               ` Alexander Viro
2001-10-08  7:28             ` Alexander Viro
2001-10-08  6:54       ` Lucio De Re
2001-10-08  7:10         ` George Michaelson
2001-10-08  8:28           ` Lucio De Re
2001-10-08  9:51     ` Thomas Bushnell, BSG
2001-10-08 10:30       ` Alexander Viro
2001-10-09  9:03         ` Thomas Bushnell, BSG
2001-10-09  9:33           ` Alexander Viro
2001-10-09 15:58             ` Thomas Bushnell, BSG
2001-10-09 16:43               ` davel
2001-10-10  8:49                 ` Ralph Corderoy
2001-10-10  8:49                 ` Thomas Bushnell, BSG
2001-10-10  9:48                   ` davel
2001-10-11  9:10                     ` Thomas Bushnell, BSG
2001-10-11 10:54                       ` davel
2001-10-12  9:19                         ` Thomas Bushnell, BSG
2001-10-09 16:46               ` Alexander Viro
2001-10-10  8:50                 ` Thomas Bushnell, BSG
2001-10-10 10:29                   ` Alexander Viro
2001-10-10  1:05               ` erik quanstrom
2001-10-10  2:15                 ` david presotto
2001-10-10  4:54                   ` Skip Tavakkolian
2001-10-10  8:30                 ` davel
2001-10-08 10:34       ` Boyd Roberts
2001-10-08  9:50   ` Douglas A. Gwyn
2001-10-08 11:13     ` Lucio De Re
2001-10-08  9:42 ` Thomas Bushnell, BSG
2001-10-08 17:43 ` [9fans] rewriting paths [was: mv vs cp] Richard Uhtenwoldt
2001-08-20 12:06 [9fans] Sam question bwc
2001-08-19 18:06 rob pike
2001-08-19 15:05 bwc
2001-08-19 15:59 ` Boyd Roberts
2001-08-19 12:44 rob pike
2001-08-17 22:35 David Gordon Hogan
2001-08-18  4:47 ` Rick Hohensee
2001-08-19  6:29 ` Lucio De Re
2001-08-17 22:22 geoff
2001-08-17 17:00 rob pike
2001-08-17 16:32 David Gordon Hogan
2001-08-17 16:55 ` Lucio De Re
2001-08-17 17:08   ` Boyd Roberts
2001-08-17 17:28   ` Louis Beleos
2001-08-17 17:45     ` Lucio De Re
2001-08-17 17:04 ` Boyd Roberts
2001-08-17 17:04 ` Steve Kilbane
2001-08-18  1:36   ` Boyd Roberts
2001-08-19  6:31     ` Lucio De Re
2001-08-17 14:22 rob pike
2001-08-17 14:15 rob pike
2001-08-17 16:58 ` Boyd Roberts
2001-08-20  8:56 ` Douglas A. Gwyn
2001-08-14 12:41 rob pike
2001-08-08 10:45 [9fans] ls -R rog
2001-08-08 17:08 ` [9fans] Sam question gene garbutt
2001-08-14  9:44   ` Douglas A. Gwyn
2001-08-16 21:07     ` Boyd Roberts
2001-08-17  8:50       ` Douglas A. Gwyn
2001-08-17 12:14         ` Boyd Roberts
2001-08-20  8:56           ` Douglas A. Gwyn
2001-08-20 11:11             ` Boyd Roberts
2001-08-20 16:25             ` Sam Ducksworth
2001-08-20 15:11               ` Boyd Roberts
2001-08-21  8:37                 ` Ozan Yigit
2001-08-21  9:31                   ` Boyd Roberts
2001-08-22  2:52                     ` Donald Brownlee
2000-11-13 20:19 [9fans] AFS-client for Plan9 - ? anothy
2000-11-14  9:58 ` Wladimir Mutel
     [not found]   ` <mwg@alkar.net>
2000-11-14 22:33     ` Tom Duff
2000-11-14 22:41       ` Boyd Roberts
2000-11-14 22:41       ` Alexander Viro
2000-11-14 22:51         ` Boyd Roberts
     [not found]           ` <boyd@planete.net>
2000-11-14 23:02             ` Tom Duff
2000-11-20 10:55           ` Chris Locke
2000-11-20 10:56           ` Douglas A. Gwyn
2000-11-20 13:24             ` Boyd Roberts
     [not found]         ` <viro@math.psu.edu>
2000-11-14 23:00           ` Tom Duff
2000-11-14 23:15             ` Alexander Viro
2000-11-14 23:54           ` Tom Duff
2000-11-15  0:31             ` Alexander Viro
2000-11-15  0:38               ` Boyd Roberts
2000-11-01 20:47 [9fans] /n/smtp Russ Cox
2000-11-01 21:48 ` Boyd Roberts
2000-11-01 22:02   ` Boyd Roberts
2000-11-01 22:10     ` Scott Schwartz
2000-11-01 22:23       ` Boyd Roberts
2000-07-12  9:04 [9fans] file server problems ianb
2000-07-13  1:33 ` Eric Dorman
2000-07-13  2:28   ` Eric Dorman
2000-07-13  4:15     ` Lucio De Re
2000-07-13  4:33       ` Scott Schwartz
2000-07-13 12:19         ` Lucio De Re

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