From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb0e,cdca3dc8d6167cd4 X-Google-Attributes: gidfdb0e,public X-Google-Thread: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-Thread: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-ArrivalTime: 2002-01-03 17:40:06 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.u.washington.edu!140.142.17.34.MISMATCH!news.u.washington.edu!Tomobiki-Cho.CAC.Washington.EDU!mrc From: Mark Crispin Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: historical evidence of what went wrong at DEC Date: Thu, 3 Jan 2002 17:28:02 -0800 Organization: Networks & Distributed Computing Message-ID: References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> <3C338089.1C12E6FA@trailing-edge.com> NNTP-Posting-Host: tomobiki-cho.cac.washington.edu Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: nntp6.u.washington.edu 1010107685 46592 (None) 140.142.17.37 X-Complaints-To: help@cac.washington.edu NNTP-Posting-User: metka In-Reply-To: Xref: archiver1.google.com comp.os.vms:58202 alt.sys.pdp10:9058 comp.sys.dec:10919 On 4 Jan 2002, Peter da Silva wrote: > So how often have you needed to rename ALL your ".somethingelse" files > to ".c"? Ever? On TOPS-10, TOPS-20, VMS, and DOS, frequently. > When was the last time that you needed to rename a whole > directory of files and the translation was as simple as one extension to > another? The last time was when I was just starting to use UNIX and didn't know any better. > This specific example is very popular with VMS users, but in practice > when have you ever needed to do this on UNIX? I don't think I've ever > got a reasonable response to this question. You need it if you're a baby UNIX user coming from another OS where that is the way that you do it. But most baby UNIX users grow up. > Now when you have highly structured file names with name transitions out > of the control of the user, as on VMS with version numbers, I can see how > it might be handy to do a mass rename after a purge. I haven't ever felt > the urge, because I liked to have a visual reminder of what files I'd been > changing a lot. But I can see the attraction of having everything that > you haven't touched recently being ";1". The other reason is that traversing directories is a PITA on most of the older operating systems. UNIX and Multics are the only systems which got it right. The ability to do complex relative traversals is a HUGE win. Another important difference is on the old systems, the string after the ".", the file name extension, really is an "extension". That is, it is really only useful for the file type. You can have FOO.C, FOO.MAC, FOO.FOR, FOO.CBL, etc. but the interface makes it unpleasant enough that you generally do not have multiple source files with the same filename and different extension. When you have multiple files with the same filename and different extension, typically it is the source file, the compiled object file, and the executable (lunk) binary. UNIX is different that way. You routinely have file names that differ only in the part after the "."; e.g. foo.h and foo.c. Generally, you don't want to rename *.c to *.d; you want to move *.c to another directory or perhaps rename so as to add a ".old" to the file names. > But on UNIX, well, I don't think it's an important issue... again, I bring > up the plethora of VMS-style rename tools that get installed and never used. What happens is that the baby UNIX user complains and gets the tool installed, but the wizard who does it decides to teach the baby user the right thing. The baby user quickly discovers that the right thing is so much better that he never bothers using the tool. Thus, the familiar situation where the tool gets installed and it's never used. -- Mark -- http://staff.washington.edu/mrc Science does not emerge from voting, party politics, or public debate.