🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by Moderator, John Quarterman Mon, 03 Nov 1986 20:10
Re: Case sensitive file names
#381
Author: Moderator, John Quarterman
Date: Mon, 03 Nov 1986 20:10
45 lines
2787 bytes
From: @SUMEX-AIM.ARPA:MRC@PANDA (Mark Crispin)
Date: Sun 2 Nov 86 10:54:35-PST
Postal-Address: 1802 Hackett Ave.; Mountain View, CA  94043-4431
Phone: +1 (415) 968-1052

Jacob Hallen -

     You missed the point, I think.  Very few if any of us in the
case-independence camp are arguing that case should be coerced into
all upper (e.g. TOPS-20) or all lower (e.g. what you have to do with
a Unix file server in a case-independent network environment).  You
should be allowed to create a file called ReadMe.

     What we are asking for is that if you try to access the ReadMe
file by specifying "readme" or "Readme" or "README" or even "rEADmE"
you should get the ReadMe file instead of a file not found error.
Furthermore, if you open "readme", "Readme", etc. for write, it should
supercede the ReadMe file and the resulting file should have the
original case of ReadMe.

     In other words, finding a file for read will match any case.
Finding a file for write will match any case, supercede any such older
file, and will preserve the case of that older file.  The only way to
change the case would be with rename; the source name would be case
independent but the destination case would be preserved.  Of course,
you could also change the case by deleting ReadMe and then opening
README for write...

     This gives you all the directory advantages of a case-dependent
filesystem.  The only "feature" you lose is the ability to create a
separate Readme, ReadMe, readme, and README set of files.  I personally
believe that anybody who creates files which differ from case deserves
to be shot or at least have his employment terminated with extreme
prejudice.  [ I suggest readers interpret that last sentence as a
hypothetical statement applying to none of them.  -mod ]

     There are filesystems that behave in this manner, and they are
quite pleasant to use.  Please, if you support case-dependence, don't
give the "mixed case filesystems" class of arguments.  The only two
arguments you really have are (1) it is a "feature" (however dubious)
that you can create Makefile and makefile as separate files in the
same directory, and (2) Unix does it this way.
-------

Volume-Number: Volume 8, Number 25
Re: Case sensitive file names
#389
Author: Moderator, John Quarterman
Date: Tue, 04 Nov 1986 19:17
59 lines
3720 bytes
From: campbell%maynard.UUCP@harvisr.harvard.edu (Larry Campbell)
Date: Tue, 4 Nov 86 10:19:11 EST
Organization: The Boston Software Works, Inc.

>From: @SUMEX-AIM.ARPA:MRC@PANDA (Mark Crispin)

>     What we are asking for is that if you try to access the ReadMe
>file by specifying "readme" or "Readme" or "README" or even "rEADmE"
>you should get the ReadMe file instead of a file not found error.
>Furthermore, if you open "readme", "Readme", etc. for write, it should
>supercede [sic] the ReadMe file and the resulting file should have the
>original case of ReadMe.
>
>     In other words, finding a file for read will match any case.
>Finding a file for write will match any case, supercede [sic] any such older
>file, and will preserve the case of that older file.  The only way to
>change the case would be with rename; the source name would be case
>independent but the destination case would be preserved.  Of course,
>you could also change the case by deleting ReadMe and then opening
>README for write...

>     There are filesystems that behave in this manner, and they are
>quite pleasant to use.  Please, if you support case-dependence, don't
>give the "mixed case filesystems" class of arguments.  The only two
>arguments you really have are (1) it is a "feature" (however dubious)
>that you can create Makefile and makefile as separate files in the
>same directory, and (2) Unix does it this way.

Sorry to keep beating this dead horse, but some people just haven't
yet caught on to one of the principle design fundamentals of UNIX.

	"Keep it small and simple."

As has already been pointed out, the system (I'm deliberately avoiding
the term "kernel") treats filenames as uninterpreted strings of bytes.
Adding case folding to the system adds complexity to the system that
provides only a tiny benefit (is it really that hard to type the correct
filename?).

I think everyone agrees that creating "Makefile" and "makefile" in the
same directory is braindamaged.  What I disagree with is the notion
that the system should be in the business of preventing this.  Should
the C compiler enforce a certain Hamming distance between identifiers?

Note also that case folding is only "simple" in some languages.  As has
already been pointed out, there are languages (like German) where case
folding is decidedly complex.  And in an international environment, the
case folding algorithm may need to be different for each user.

I wish I could remember who said this, but someone once pointed out
that "One of the reasons Dennis Ritchie is a genius is that whenever
someone says `Wouldn't it be nice if UNIX had feature X?', instead
of saying `Wow, yeah, I'll go hack that in', he says, `Yep, sure would.'"
-- 
Larry Campbell       MCI: LCAMPBELL          The Boston Software Works, Inc.
UUCP: {alliant,wjh12}!maynard!campbell      120 Fulton Street, Boston MA 02109
ARPA: campbell%maynard.uucp@harvisr.harvard.edu     (617) 367-6846

Volume-Number: Volume 8, Number 35
Re: Case sensitive file names
#410
Author: Guest Moderator, John B. Chamber...
Date: Fri, 21 Nov 1986 21:08
32 lines
2094 bytes
>From uw-beaver!uw-vlsi!mprvaxa!ubc-vision!utai!utcsri!mcgill-vision!mouse@nike.UUCP Wed Nov 19 04:57:50 1986
Date: Sun, 16 Nov 86 02:46:16 EST
From: der Mouse  <uw-beaver!ubc-vision!mcgill-vision!mouse@nike.UUCP>

> Please, if you support case-dependence, don't give the "mixed case
> filesystems" class of arguments.  The only two arguments you really
> have are (1) it is a "feature" (however dubious) that you can create
> Makefile and makefile as separate files in the same directory, and
> (2) Unix does it this way.

I think everyone arguing over case sensitivity is missing something.
Why treat letters specially?  For example, UNIX treats a and A
differently just as it treats = and % differently.  I see no reason to
restrict filenames to [a-zA-Z0-9] and a few special characters like .
and -; and given that uniformity case folding makes as much (or as
little) sense as folding 0123456789 onto !"#$%&'()* (to pick a
particularly silly example).

I would say that (1) is not particularly useful, but it can be nice to
be able to create files named D.mcgill-X04T2 and D.mcgill-X04t2 in the
same directory.  This is less of an issue, though; it's just as easy to
make a program use base-36 as base-62 or base-126.

					der Mouse

USA: {ihnp4,decvax,akgua,utzoo,etc}!utcsri!mcgill-vision!mouse
     think!mosart!mcgill-vision!mouse
Europe: mcvax!decvax!utcsri!mcgill-vision!mouse
ARPAnet: think!mosart!mcgill-vision!mouse@harvard.harvard.edu


Volume-Number: Volume 8, Number 57
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads