Hi,<br><br><div class="gmail_quote">2012/2/25 Graeme Geldenhuys <span dir="ltr"><<a href="mailto:graemeg.lists@gmail.com">graemeg.lists@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 24 February 2012 16:13, Henry Vermaak wrote:<br>
><br>
> Because case sensitive systems don't create as much confusion....<br></div>
Then lets look at it from an average user's point of view. Must they<br>
really be confronted with multiple files in a single folder named:<br>
<br>
   test.txt<br>
   Test.txt<br>
   Test.Txt<br>
   TEST.TXT<br>
   test.TXT<br>
   ....<br>
<br>
All the user wants to do, is open a "test dot t x t" file. Under Linux<br>
they could be confronted with multiple versions? Very confusing.<br>
<br>
I like to CamelCase my file names - it makes them easier to read in a<br>
file listing. But when I reference them in say a search dialog, I'll<br>
probably type them in all lowercase for speed reason. I would still<br>
like Linux to find that file though - but it wouldn't.<br>
<br></blockquote><div><br></div><div>However, most users just click on the file.  And most users who would type the filename know enough to type the proper case.  (And the GUI file selector could search-as-you-type, in a case sensitive or insensitive way).</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
As I, and it seems many others on the Internet, have found - there<br>
really isn't a good reason why Linux must still use case sensitive<br>
file systems. </blockquote><div><br></div><div>Probably the main reason is because C does.  Also, while users don't care, tech people tend to prefer definite accuracy over possible ease.  However, while I am strongly for case insensitivity in programming languages (It's too easy to have different cases in different parts of the code), I don't think many people would have a huge preference in file systems.  Unlike C, where many programmers make use of the case sensitivity, I don't see otherwise duplicate files often in Linux (someone correct me if you have a good example).  Yet very few have complained (in a valid way) about the way Linux does it, so it's unlikely to change any time soon.  Also, as mentioned before, to do things *properly* for case insensitivity with non-ASCII would require a very large amounts of code.  This is the same reason why SQLite doesn't even try.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Windows supports multiple locales and has 95% of the<br>
computer market - </blockquote><div><br></div><div>Not really: <a href="http://en.wikipedia.org/wiki/Usage_share_of_operating_systems">http://en.wikipedia.org/wiki/Usage_share_of_operating_systems</a> </div><div><br></div>
<div>Anyway, if we did everything the way Microsoft suggested, we would give up real sym links and litter the filesystem with .lnk files, too.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
it doesn't have case sensitive file systems. Mac OS<br>
X by default doesn't either (though they are nice enough to give you<br>
the choice). I think Linux should give you the choice too.<br>
<br></blockquote><div>Linux does give you the choice, in a sense.  You can format many of the filesystems as case insensitive, and I am fairly sure Linux will still boot fine.  I use the case sensitive option on Mac OS X, btw.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Anyway, hopefully my newly formatted JFS partitions will sort this out.<br>
<div class="im"><br>
>  At the end of the day, a computer thinks that "a" is 97 and "A" is 65, but<br>
> what humans perceive is more complicated.<br>
<br>
</div>And a computer should serve a human, not the other way round.  Read<br>
the excellent book "About Face 3".<br>
<div class="im HOEnZb"><br></div></blockquote><div>Perhaps, but that that means is up to interpretation.  I interpret is as "do what I say and don't second-guess me".  If you really want to give the user what they want, then you have to let them use any file names and identifier names they want, with any characters, and do full Unicode case collapsing and normalization.</div>
<div><br></div><div>At any rate, this is probably not the domain to deal with in FPC, all we can do is support the OS policy.</div><div><br></div><div>more info:</div><div><a href="http://en.wikipedia.org/wiki/Filename#Case:_upper.2C_lower.2C_preservation">http://en.wikipedia.org/wiki/Filename#Case:_upper.2C_lower.2C_preservation</a></div>
<div>  </div><div>As any rate, to bring this back to a Pascal related discussion:</div><div>1. FPC works with case sensitive and case insensitive filesystems quite well.  </div><div>2. FPC tries to mangle the case to come common cases in order to handle legacy code on </div>
</div>