Slashdot Mirror


Should "B" be the Same as "b"?

joshua42 asks: "Although having used Linux and FreeBSD for many years, I have yet to come across anyone seriously questioning the traditional UNIX style file system name paradigm. With an Amiga background (It should be the same for people growing up with Windows, or those growing up with no computer at all (God forbid!).) it took me quite a while to get used to 'A' and 'a' being treated as different characters. This is of course fairly easy to accept and to understand if you have a technical background. I do however have a hard time to see how aunt Ginny will ever be able to distinguish between her 'Letter.txt', 'LETTER.TXT' and 'letter.txt' files. In real life, upper and lower case letters represents almost identical information to most people. Has any thoughts been spent on this issue, now that our favorite OS is becoming increasingly mainstream? Does it need to be addressed? Have any attempts been done? What are the implications to parts outside the file systems?" This is an interesting point. As Unix grows more and more popular, the simple things we've taken for granted about the filesystem may stand in the way of general users adopting it. What ways can you think of that will mitigate this problem for new Linux users without actually affecting too much? Special shells for novice users, that can simplify much of the complexity may be the way to go, here.

330 comments

  1. Well, it's not like the OS chooses case for you.. by dmorin · · Score: 4, Funny
    Correct me if I'm wrong, but doesn't Aunt Ginnie have to actually hold the Shift key, or press Caps Lock, in order to get anything beyond "letter.txt"? Therefore, can't it be assumed in the case of Letter.txt that she did it on purpose? Sure, I'll agree that the case of LETTER.TXT is probably a user who put capslock on and forgot about it. But why deny her the ability to express herself the way she intended, if that's what she intended?

    My solution is for the OS to ignore the caps lock key. Not only would it solve the case problem, but it would shut up a whole lot of AOL users.

    :-D

  2. Flame-baitey topic by SN74S181 · · Score: 3, Insightful

    This is a flamebait topic.

    Why don't we ask: "Should the convention for tapping threads in metal be switched to left hand threads by default?"

    Nothing will change as a result of the discussion, and nothing should change. It's the 'simplify UNIX and destroy it in the process' arguement all over again.

    Good grief.

    1. Re:Flame-baitey topic by Anonymous Coward · · Score: 0

      fuck you you elitist who cant respond to change. we're talking about making UNIX usable to the massess, something even the leetists want. who knows, it's probably a simple fix in ext2/3 to make filenames not case sensitive.

    2. Re:Flame-baitey topic by ivan256 · · Score: 2

      Fuck you you ignorant shit!

      Sorry, I just wanted to ack like you for a second to see what it was like.

      It's not a simple fix in the filesystem code to handle all the conflicts in existing filesystems and code. This is definatly a flamebait topic. The solution is in the interface, not the filesystem. If you want case insensitivity in the open dialog box of your word processor application, then implement your graphics toolkit's common dialog's appropriatly. Don't water down your core codebase in total disregard of the non-desktop users to solve an interface problem.

    3. Re:Flame-baitey topic by God_Retired · · Score: 1

      Perfect. I was trying to think of a reply to this, then I saw this reply and it fits exactly what I was thinking. Thanks.

    4. Re:Flame-baitey topic by ivan256 · · Score: 1

      Let the grammer police strike! Damn, I should have proofread that!

    5. Re:Flame-baitey topic by Anonymous Coward · · Score: 0

      there's another post in here that discusses that idea, and also the problems it causes. another post mentioned that other OS's have had case-insentitivity for years and have gotten by just fine without naming conflicts (Windows among them).

    6. Re:Flame-baitey topic by waylander · · Score: 1

      Uh, no, it is not a flamebait topic.

      There is no practical reason for switching directions of threads. The reason for changing case sensitivity in UNIX is for user convenience.

      --
      John Kramer
      God may be my co-pilot, but the devil is my backseat driver.
    7. Re:Flame-baitey topic by Cliff · · Score: 2
      Blockquote-eth the parent poster.
      This is a flamebait topic.

      Why don't we ask: "Should the convention for tapping threads in metal be switched to left hand threads by default?"

      Nothing will change as a result of the discussion, and nothing should change. It's the 'simplify UNIX and destroy it in the process' arguement all over again.

      Good grief.

      I'm sorry you feel that way. That was not the intent when I posted the question and I feel that I need to be a bit defensive here. Whether you agree with me after this...well, that is up to you.

      My point is that getting Unix (and it's variants) adopted by more users may require a change in how data is presented to them. We don't need to lose case sensitivity in the file system, and in many cases we shouldn't. When I posted this question I didn't even mean to imply that such a change should be made at such a low level. I implied a shell change. Nothing more.

      Your analogy above regarding thread tapping is highly misleading and incorrect. There is nothing stopping someome from correcting this problem, and it's need not be as complex as changing ext2/3 or any filesystem for that matter, but the actual piece of software that interracts with the user!

      For files like "LETTER.TXT", "Letter.Txt" and "letter.txt", what's stopping a "basic shell" from presenting these as "Letter.Txt(1)", "Letter.Txt(2)", and "Letter.Txt(3)". Note that we follow a standard case template for all files displayed and just add a counter which is easier for people to distinguish rather than differing case? These are all interface issues. The shell itself could disallow for creation of a filename that is a mixed-case version of something is already on the system (meaning that the display above need only occur if such files exist on the underlying file system).

      This allows for Granny to have her own portion of the hard drive, while you can continue to use bash and it's ilk without effect. That's the trick here, trying to accomodate others without affecting anyone else, and hence the reason why I posted it.

      I figure anything we can do to make Unix more appealing and intersting to use for the masses (without affecting ourselves) we should do. Please don't assume that a question is "stupid" or "impossible" solely because you don't see a workable solution. There are many heads here. Let's put them together and see if we can come up with something agreeable for everyone.

      This is the purpose of Ask Slashdot in a nutshell.

      I also disagree that change can't occur due to discussion. I instead posit that discussion is an essential trigger for change, and I respectfully challenge you to prove me wrong on that point.

    8. Re:Flame-baitey topic by rtaylor · · Score: 3, Insightful

      End result, having l == L isn't right either. You're just going to piss off people in a non-en locale.

      What you really want are unicode enable file naming with colation patterns applied appropriately per locale the users locale.

      --
      Rod Taylor
    9. Re:Flame-baitey topic by CarrionBird · · Score: 1

      And here we have the "If you simplify UNIX then non-l337 people will be able to use it, therefore it will be destroyed." argument. I'm sure removing case sensitivty in this late hour would be a pain, but is there any good reason for it having been there in the first place?

      --
      Free Mac Mini Yeah, it's
    10. Re:Flame-baitey topic by Anonymous Coward · · Score: 0
      Why don't we ask: "Should the convention for tapping threads in metal be switched to left hand threads by default?"

      Oh, right. Good point.

      From what you have said I know one of two things to be true. You either are so geeky and out of touch with the outside world that you don't realize that your example makes no sense to 95% of people, or you are such an elitist fuckhead that you had to use this example to appear intellectual or learned.
    11. Re:Flame-baitey topic by n9hmg · · Score: 1
      Sure. It's not a stupid question in itself. However, if "Aunt Ginny" would have trouble with cases, she also probably wouldn't be in a commandline shell in the first place, but instead, using a gui and applications.
      There's no reason the applications can't handle case rules for her, kind of like you suggested with the alternate shell.
      1. Opening a file by typing a name with other case matches causes a selection dialog, showing each file, as it is on the filesystem, with size and date.
      2. Trying to save a file with a casetransposition conflict would bring up a confirmation dialog, explaining that it may cause confusion.
      3. Sorting of filenames in listings would be case-insensitive but case-preserving.
        1. I saw one guy suggesting converting all case mixes to a standard case template and appending numbers. Now
        2. that was a stupid idea.
    12. Re:Flame-baitey topic by willpost · · Score: 1

      "Should the convention for tapping threads in metal be switched to left hand threads by default?"

      Since almost everyone is right handed, I would think that hand would be stronger for turning a tool to tighten the fastener, and most fasteners are intended to stay tightened.

      One of my favorites is: How was the first lathe with a lead screw built?

      While many people may criticize or dismiss a topic as pointless, many others are working on it to get the job done.

    13. Re:Flame-baitey topic by Stary · · Score: 2
      I'm sure removing case sensitivty in this late hour would be a pain

      Really? Can you honestly say you know of something that depends on the fact that there can be files somestuff, SomeStuff and SOMESTUFF in the same directory or on the same path?

      In general, people know that if I make a README, a ReadMe and a readme file, not even the most techie person is going to remember witch one contains what, so you don't do it.

      I consider this worth doing - in fact, I consider even deeper changes to the way *nix handles it's files (see my journal on that) worth doing.

      The actual problem is not that it would be hard, but that all the idiot l33ts would flame a full volcano about it "ruining linux". And then there are always the people who think that it should be done in the UI instead of in the system itself - which of course never worked and never will work (especially not in the OSS world) because alot of programmers say "screw you" to the guides and "my way of doing it is much better".

      The biggest difference would probably be that you'd get one less error once in a while from doing the wrong capsation (is that a word?) of a filename.

      --
      Tomorrow will be cancelled due to lack of interest
    14. Re:Flame-baitey topic by CarrionBird · · Score: 1

      The main issues that I was thinking of were hard coded paths to config files. But if the filesystem was truely case insensitive, it wouldn't matter. At any rate, I think it would be a worthwile effort that will probably never happen due to the 1337 purists.

      --
      Free Mac Mini Yeah, it's
    15. Re:Flame-baitey topic by ActiveSX · · Score: 1

      capsation

      I believe you were looking for "capitalization".

    16. Re:Flame-baitey topic by King+of+the+World · · Score: 1
      It is a fix required in the filesystem because they can't allow lEtter.txt and letter.txt in the same directory.

      It's also a fix required at the application level because if you search for "lEtter.txt" you need to also be able to handle results from "letter.txt"

    17. Re:Flame-baitey topic by ivan256 · · Score: 1

      What I mean is that you can't JUST change the filesystem. It's much less simple then that when you have existing files to deal with and you suddenly change the rules.

    18. Re:Flame-baitey topic by ivan256 · · Score: 1

      They have gotten along fine without conflicts because they've always been that way. If you suddenly change to case-insensitivity after years of working the other way, you have a whole slew of migration issues.

    19. Re:Flame-baitey topic by Paul+Jakma · · Score: 4, Informative

      yes there is a good reason. and it is not about "removing" case-sensitivity, it's about adding it.

      The basic issue is that Unix filesystems at the kernel level do not interpret filesystems in /any/ way what so ever. The only restrictions on Unix filesystem names is that no byte within a name may equal '\0' or '/'. You can put whatever characters or bits you want in a filename as long no byte equals ASCII \0 or /.

      This means no "tolower()" or case comparison overhead in the kernel. No complicated (and perhaps non-obvious) policy in the kernel.

      It also means filename schemes are easily extensible in userspace. Eg, Unix filesystems support Unicode, UTF-8, ISO8559-[0-9][0-9], and whatever other encoding system you want provided you respect '\0' and '/'. In fact Unix supported Unicode, UTF-8, etc.. almost from day one (ie 1970), literally /before/ these 'beyond ASCII' schemes were even invented. Unix filesystems also support many many other future encoding schemes that have not been invented yet. :)

      Basically, tolower() / case comparison can be easily done in userspace - hence that is the best place for it. Now, of course, userspace might not always agree on policy or how to implement it, but that is not a kernel problem.

      Case sensitivity is a matter of taste, and as such it's best not done in the kernel (where it will be set in stone forever). That's actually a general Unix design principle "policy should be implemented in userspace" - and it's actually a very good design principle..

      now let's see how many slashdotters fail to realise it..

      --
      I use Friend/Foe + mod-point modifiers as a karma/reputation system.
    20. Re:Flame-baitey topic by spongman · · Score: 2

      eh? what about all the unicode chars with '\0' or '/' in them (excluding L'\0' and L'/', of course)? how are they supported?

    21. Re:Flame-baitey topic by walt-sjc · · Score: 2

      Poor Granny's fingers get tired too. Better limit us to 8.3 filenames like DOS.

      Granny also has trouble with her password. Sometimes she has the capslock key on and can't login. Better make all passwords case insensitive

      Where do you stop? Granny shouldn't use the shell. Granny should use a GUI. Would you suggest that granny use a "command prompt" in Windows instead of Windows Explorer?

      This is a flamebait topic, sorry. If granny is a fucking idiot, she will have trouble with certain features / behaviors in ANY type of computer / OS. If she is NOT a fucking idiot, she can learn that filenames, like passwords, are case sensitive. It's just not that hard of a concept to grasp. You seem to think it is for some reason. I've taught a number of not-very-bright people that filenames are case sensitive on UNIX. They never needed to be taught twice. The response was usually "Oh, OK. Now I know!"

      I'll give you one VERY good reason why you shouldn't do "LETTER.TXT", "Letter.Txt" and "letter.txt", as "Letter.Txt(1)", "Letter.Txt(2)", and "Letter.Txt(3)" in a "basic shell". NO OTHER PROGRAM WILL KNOW WHAT "Letter.Txt(3)" IS. You are going to make Granny MUCH more confused than she already is. She will wonder what happened to her files as the names are "changed" out from under her. Sorry, changing things on the user behind the scenes is NOT userfriendly. Trying to explain to the user why filenames get changed and how is MUCH more difficult than just saying "Filenames in UNIX are case sensitive which means that letter.txt is different than Letter.txt.

      There are MANY usability issues in Linux that need to be addressed. Filename case isn't one of them. You are attempting to make a "big deal" out of a TRIVIAL educational issue.

      There is an old medical saying that applies: The cure is often worse than the disease (usually heard refering to side effects of drugs, some of which are nasty.)

    22. Re:Flame-baitey topic by King+of+the+World · · Score: 1
      Aye, dat be true.

      I think part of the argument against is the programmer within... who wants to squeeze every bit of resolution out of the filesystem ;)

    23. Re:Flame-baitey topic by Paul+Jakma · · Score: 2

      no idea. you have examples of those unicode chars?

      anyway - it's not the kernel's problem, that's the precise point. the encoding is a userspace problem.

      also, those chars can not be used in URIs either. So i suspect one answer is to deal with them in the same way as for URIs.

      --paulj

      --
      I use Friend/Foe + mod-point modifiers as a karma/reputation system.
    24. Re:Flame-baitey topic by spongman · · Score: 2

      sure, the unicode char L'A' (0x0041) has a '\0' in it. most kernel API's take 8-bit, zero terminated strings. they are not unicode compatible.

    25. Re:Flame-baitey topic by MaxVlast · · Score: 1

      I'm not flaming you, I'm actually curious, so please don't take the following question the wrong way (and I'm only asking it because you you commented on your own grammar.)

      When you wrote "implement your graphics toolkit's common dialog's appropriatly," what made you insert an apostrophe after 'dialog' while you didn't insert one after 'conflicts' or 'filesystems in the sentence: "all the conflicts in existing filesystems" where those two words rest in roughly the same logical position?

      Again, not trying to be annoying or a jerk, just trying to learn. :)

      --
      There should be a moratorium on the use of the apostrophe.
      Max V.
      NeXTMail/MIME Mail welcome
    26. Re:Flame-baitey topic by MaxVlast · · Score: 2

      Re: 3--

      Boy -- that is a dumb idea.

      I like the way Mac OS X does it, if it has to be done at all (I'm not entirely convinced.) It's case-insensitive (except for the shell, of course) but it's case-preserving. So in a open/save dialog I can enter 'File.txt' and 'file.txt' but when I use tcsh, I have to distinguish between the filenames. It's just the right way to go about it, if you're going to go about it in the first place.

      --
      There should be a moratorium on the use of the apostrophe.
      Max V.
      NeXTMail/MIME Mail welcome
    27. Re:Flame-baitey topic by ivan256 · · Score: 1

      Well, I was an idiot. I saw it after I hit submit and felt dumb. I hoped nobody would notice, but, well..

      Obviously "toolkit's" was the only correct place for the apostrophe because there it indicates the posessive, but my fingers were flying on autopilot.

      Out of curiosity, why are you curious? Is english not your first language? If not, you're damn good.

    28. Re:Flame-baitey topic by Paul+Jakma · · Score: 2

      hmm, well it's not that "pure" unicode is incompatible with unix kernel APIs, it's more that pure unicode is incompatible with the vast majority of C APIs that handle strings (of which parts of the kernel API might be fall under).

      however, guess what, "they" thought of this problem and solved it. Hence (eventually) UTF-8 - which encodes the unicode character set to ASCII compatible bytes, hence it can be used with kernel APIs such as filenames.

      man ascii
      man unicode
      man utf-8

      so again, unix has supported unicode since before it was even invented. :)

      and again, if in the future some new, more expansive character set and encoding standards are brought in, unix will support those too, as long the encoding makes sure to escape any byte bounded 0x00's and 0x2f's that might occur in the character set.

      PS: what's an 8-bit zero terminated string exactly? :) (just kidding - know what you mean, but it's perhaps a strange way of putting it).

      --
      I use Friend/Foe + mod-point modifiers as a karma/reputation system.
    29. Re:Flame-baitey topic by MaxVlast · · Score: 1

      Haha -- No, English is my first language (and I made a typo myself, too. I forgot a closing single quote in one of the two words that I pulled out.) Unlike most Americans, though, I have a great affinity toward the language and find endless delight in its mechanics, both those in the grammar books and in what shows up in everyday use. That's why I wanted to know -- what's most fascinating for me are the little curlicues of usage that fall in the gaps between purely colloquial speech and purely literary writing. Besides, if I wasn't a native speaker of English, I'd know all the proper terms for the grammatical concepts that I typically approximate with my own jargon.

      But that's just me :)

      Regarding your response: Indeed, "toolkit's" is the only proper place to put an apostrophe (which we both know.) What I'd like to know is what quirk of thought compelled you to put one where you did. I ask partially because I do it at times, and misplaced apostrophes are my biggest pet peeve; consequently I mystify myself when I do it. If I can figure out why someone who also has a good handle on proper usage makes the same mistake, I might gain some insight into the murky morass of my own mind.

      Anyhow, it's late, I'm sure you're bored and I'm sure we both want to go to bed.

      --
      There should be a moratorium on the use of the apostrophe.
      Max V.
      NeXTMail/MIME Mail welcome
    30. Re:Flame-baitey topic by Anonymous Coward · · Score: 0

      Ah, for mod points; this should go up to 5.

    31. Re:Flame-baitey topic by Alien+Being · · Score: 1

      This seems to be the best thread to throw in my two cents.

      Aunt Ginny could use vfat for /home/ginny. It would be case insensitive, but there would be no preservation of the case as everything would be mapped to lower.

      It's a filesystem issue. There's a function for ext2 filesystems called ext2_match() which is used to lookup existing files. Making it case insensitive would be trivial. Voila, ginnyfs.

      0.3% of the files on my system would clash if the fs were case-insensitive. It would screw up a lot of stuff if used for all filesystems.

    32. Re:Flame-baitey topic by nathanh · · Score: 2
      sure, the unicode char L'A' (0x0041) has a '\0' in it. most kernel API's take 8-bit, zero terminated strings. they are not unicode compatible.

      That's what UTF-8 is for.

    33. Re:Flame-baitey topic by CarrionBird · · Score: 1
      Good explanation.

      OK, so the kernel level may not be the best way to fix it. But how about this, we already have support for filesystems that are case insensitive (fat32), so it can be implemented without doing heavy kernel reworking. So why not either modify an existing Linux filesystem for case insensitivty (insensitiveFS3), or bring in support for a competant filesystem that already is insensitive (HFS+).

      Then have the option for distros that cater to novice users to use that as their primary FS. That way we don't have to change things for the old hands that like case sensitivty (or don't care either way), and those who want to can have a filesystem more like what they're used to in win/mac/whatever.

      OSX makes a good case for how it can work with a few wrinkles to work out.

      --
      Free Mac Mini Yeah, it's
    34. Re:Flame-baitey topic by skotte · · Score: 2

      hey! someone who gets it! cool!

      like, i saw the story topic and was like "cool! about damn time someone mentioned this!" it's the one most annoying thing about unix. i swear, i can install a program, and hen spend ten minutes trying to get the right command to run the dumb thing!

      Xconfigurator is the worst! (see? i probably go it wrong there... what the hell is that command?)

      you know, and it's not like theres ever any actual things which get the same name with different caps. like "StarOffice" and "staroffice" or something.

      c'mon linus! please, heed my pleas!

    35. Re:Flame-baitey topic by skotte · · Score: 2

      such as?

      i'm no guru, but i dont know of any real issues which would need to be resolved. please give examples.

    36. Re:Flame-baitey topic by Anonymous Coward · · Score: 0

      Parent = +4 brilliant

    37. Re:Flame-baitey topic by Paul+Jakma · · Score: 2

      sigh.. you didnt get the point did you? :)

      the point is that case insensitivity can be done just as well by user applications as by the kernel. (with the benefits to the kernel in overhead and not getting involved in policy that i detailed before). Hence it should not be done by the kernel.

      Eg: the GNOME file dialogue - that could easily do case sensitivity checks. Nautilus could be made case insensitive. The only time the novice user you speak of will notice, on this as yet non-existant case insensitive distro, that the underlying filesystem treats filenames as byte arrays and no more is if the novice user opens up a terminal and uses regular unix commands.

      Also, OS X: i'm not 100% sure, but i suspect OS X is the perfect example of what i'm talking about. Ie a traditional unix filesystem, with case insensivity, etc. done by user applications. AFAIK (and i could be wrong) if you open a terminal on OS X you will find the underlying FS is a traditional case-sensitive unix fs.

      Ie - it's all done by application code.. not kernel code. (least it should be).

      --
      I use Friend/Foe + mod-point modifiers as a karma/reputation system.
    38. Re:Flame-baitey topic by ivan256 · · Score: 1

      People already have filesystems with files that would suddenly overlap because they were made when there was case sensitivity. There are probably programs out there that are written to take advantage of a case sensitive filesystem, and would fail if that feature were removed. Imagine a program that names files *.file, but when you are editing the file stores an auto-backup in *.FILE. I'm not saying it's smart, but the feature was there for years, so there are almost certainly programs that take advantage of it.

      Making a filesystem case-insensitive after it has been case-sensitive for years is removing functionality. There would be something the system used to do that it is not able to any more. You don't have the same probelm going the other way because adding case-sensitivity would be increasing the functionality.

    39. Re:Flame-baitey topic by CarrionBird · · Score: 1

      I guess I didn't, I don't think you got mine either. :) (at least I'm learning more about the kernel via this exchange) What I'm saying is, to a degree, this is already being done at the filesystem level. For example, installs that can run on DOS filesystems, like Zipslack. The kernel isn't specially modified in order to do that (AFAIK), but the kernel component dealing with that specfic filesystem handles the limitations and abstracts the fs from the rest of the kernel. Application code could handle it, though. It's just a lot of places to change and you would want to be consistent. I suppose there are larger UI issues to worry about, I was mainly wanting to counter the "silly newbies, Linux is for real hax0rs" chorus. Thanks for comming up with a real answer Oh, and AFAIK: By default OSX uses HFS+ which is the same filesystem as OS9 and before. It also supports UFS(?), a filesystem from Apple's A/UX, which is a traditional unix fs.

      --
      Free Mac Mini Yeah, it's
    40. Re:Flame-baitey topic by Paul+Jakma · · Score: 2

      I guess I didn't, I don't think you got mine either. :)

      quite possible. but we're getting there. :)

      however, i think you gave the perfect example to illustrate my point: OS X. iiac in OS X the underlying fs is a normal case sensitive unix fs, and applications handle issues like case insensitivity. (iiac)

      What I'm saying is, to a degree, this is already being done at the filesystem level.

      no, what you're saying is it /can/ be. that doesnt mean it's a good idea, or that there are no better ideas.

      For example, installs that can run on DOS filesystems, like Zipslack. The kernel isn't specially modified in order to do that (AFAIK), but the kernel component dealing with that specfic filesystem handles the limitations and abstracts the fs from the rest of the kernel.

      indeed. DOS is case insensitive by specification. what the actual detail is i dont know. it could be that filenames are all ways tolower()'ed before comparison and before writing to disk. doesnt matter. however, go read the man page and look at all the options for the msdos filesystem relating to filename lookups and charset issues. (eg code pages, 8 bit chars, etc..)

      once you go start down this road, where do you stop? eg, what exactly does "case sensitive" mean? you are assuming western alphabets. what about asian characters? what about pure symbols? you end up having to put intimate knowledge of, eg, unicode (which tries to cover most of the character sets of the world) into the filesystem.

      also, once that knowledge is put in the kernel, the expression of that knowledge by the kernel to applications, eg through behaviour of case handling, becomes almost set in stone.

      also, your filesystem is now probably limited to character set and encoding you chose to use. What if something better comes along? you cant use it without fundamentally changing one of the building blocks of your computer. and any programming errors in kernel code can crash your machine, even trash all the data on your disks, so you really want your kernel to be as simple as possible, and you really want to keep as much complexity as possible (eg how to interpret arrays of bytes into the symbols that humans use) out of the kernel and in userspace where potential to affect reliability/integrity is lower.

      like i said, a unix fs by default supports UTF-8, and any future char set + encoding that may be invented. (as long it takes care to mind its '\0's and '/'s).

      Application code could handle it, though.

      exactly :)

      It's just a lot of places to change and you would want to be consistent.

      well, consistency of applications is by definition just not a kernel problem. And isnt OS X consistent?

      I suppose there are larger UI issues to worry about, I was mainly wanting to counter the "silly newbies, Linux is for real hax0rs" chorus.

      urg.. give me open-minded unix newbies over those any day. :)

      Thanks for comming up with a real answer Oh, and AFAIK: By default OSX uses HFS+ which is the same filesystem as OS9 and before. It also supports UFS(?), a filesystem from Apple's A/UX, which is a traditional unix fs.

      indeed.

      so what is the default filesystem on an OS X install? and if UFS is used, are the user applications case sensitive or not? i'd be very curious to find out as to how OS X deals with this.

      --
      I use Friend/Foe + mod-point modifiers as a karma/reputation system.
    41. Re:Flame-baitey topic by Cliff · · Score: 2
      My example was just that, an example. It may not work in practice, but my point was trying to find a way to absolve confusion. Your elitist attitudes aside, I firmly believe that usability issues are crucial in getting Unix accepted by a wider market.

      Dispite what you feel, I don't believe a person's inability to deal with case sensitivity makes them "an idiot". Computers can be difficult to use, even for Ph.D's. It's these little details that will catch people, and if they are going to think about Unix (Linux, specifically) it's these little things that will serve as a barrier for use.

      What I'm saying is that this issue deserves some thought. Can this issue be solved without expecting the user to "learn his environment"? Let me clue you in: if the interface isn't intuitive then people won't use it. If people don't expect case sensitivity based on what they've used before, or how they think it should work, then they won't use it. It's this kind of thinking that keeps people going back to Microsoft, and believe it or not, Microsoft is where it is because they do pay attention to issues like this.

      If you do think they are stupid and aren't worth your time, then fine. Ignore this issue, and go about whatever it is you do and let the people who do want to talk about it discuss things in pease. You may be surprised at what they come up with.

      Flame-bait or not, this topic has received over 300 comments in less than a day, and this issue wasn't even posted to the main page! I think it sounds like the majority of Slashdot does want to discuss this. I'm sorry if this disappoints you, I can't please everyone with my article selection, but that's the way the system works.

    42. Re:Flame-baitey topic by tomhudson · · Score: 2
      Take a look at gcc -
      • files ending in .c are compiled as c
      • files ending in .C are compiled as c++

      There's always been meta-information in the way we type things - example: IF I TYPE THIS IN ALL_CAPS, then I'm shouting.


      Also, musicians such as k.d.lange (all lowercase) express their individuality by using lowercase initials.

    43. Re:Flame-baitey topic by keller · · Score: 1

      You can put whatever characters or bits you want in a filename as long no byte equals ASCII \0 or /.



      Wow /. in a single byte, guess it would significantly decrease the strain on /. servers!

      --

      Enig? Det alt for hot det smor!

  3. Apple.... by jeffy124 · · Score: 4, Informative

    Apple OSX is already case-insensitive in terms of filenames, probably for the reason mentioned. MS Windows/DOS have probably all done that for the exact same reason as well.

    Of course, in OSX this did cause a security hole in Apache, but it was small, required a specific setup, and was easily fixed.

    --
    The One Rule Of Chess You'll Ever Need: Don't play someone who carries a kit in their bookbag.
    1. Re:Apple.... by medcalf · · Score: 5, Informative

      Actually, OS X per se is not this way. The HFS+ filesystem used by OS X is this way. Using UFS on OS X (built-in and easily used if you want to) uses a case-sensitive, rather than simply case-preserving, filesystem.)

      --
      -- Two men say they're Jesus. One of them must be wrong. - Dire Straits
    2. Re:Apple.... by jeffy124 · · Score: 1

      ah! i forgot about that. It's been a while since I've touched OSX. Which is the one installed by default?

      --
      The One Rule Of Chess You'll Ever Need: Don't play someone who carries a kit in their bookbag.
    3. Re:Apple.... by norwoodites · · Score: 2

      There is even a paper about the problems of integrating the UNIX and Mac OS Environments:
      http://www.mit.edu/people/wsanchez/ papers/USENIX_2 000/, it talks about more than just case sensitive but there were a few more problems than that going from UFS to HFS+. Also it takes about how to go from a single user system to a multiple user system and back.

    4. Re:Apple.... by medcalf · · Score: 2

      For OS X server, I think it default to UFS.

      For the desktop, it installs on whatever the disk was formatted as already, if you are not reformatting. If you reformat, it's a pop-up selection, and I think that the default is HFS+.

      (It's been a while since I formatted a disk under OS X - since I installed it the first time, in fact - so I am not positive about the defaults.)

      --
      -- Two men say they're Jesus. One of them must be wrong. - Dire Straits
    5. Re:Apple.... by Van+Halen · · Score: 3, Insightful
      Yes, the default in OS X is HFS+. Apparently UFS is much slower, and many Carbon applications have problems running from a UFS partition (I use HFS+ but have read this in many user reports). I'm not sure why - OS X handles resource forks on NFS filesystems by creating a ._File.Name file to hold the resource fork. I would assume it does the same for UFS, but I don't know. Or maybe some applications expected to be able to write to the same file using different capitalization. Don't know why they would be so sloppy, though.

      Back to the main topic, I agree with Apple's position on this. I used to wonder why they would put in such a ridiculous limitation when it would be so easy to "fix," but then I thought about it. There is absolutely no reason to have files named "readme.txt" and "Readme.txt" in the same directory. If they are truly different files, then name them differently - ie, "ReadmeFirst.txt" and "ReadmeLast.txt." Capitalization is mostly arbitrary and conveys no information in this context. It can only lead to confusion when a human has to interact with such files. Sort of like George Foreman's house, where his kids are named george, GEORGE, GeorgE, georgE, GeOrGe, etc. What a mess!

      If you're still not convinced, think of all the chaos and confusion that would happen if domain names were case sensitive.

    6. Re:Apple.... by self+assembled+struc · · Score: 2

      acutally, it is semi-case senstive. iu'm using an HFS+ partition with my own compiled version of bash, and in the shell its case sensitive, but otherwise not.

    7. Re:Apple.... by dmfallis · · Score: 1

      Actually, OSX is NOT case-insensitive. It remembers the case, but DOESN'T always *ignore* it. I have some files on a SMB share mounted using the "Connect to Server" command as /Volumes/sharename. When I first login, and attempt to access those files with the application, the OS nicely re-connects the share, but mounts it as /Volumes/SHARENAME, and then the applications fails to find the files. BROKEN.

      I think the problem is actually the application, not the OS. If I create a file named "foo" and try to open() "FOO", the call succeeds with a valid file descriptor. However, a badly written application does a directory listing of "/Volumes", looks for "sharename", doesn't see it, and bombs.

      Now, I realize this is a programmer problem, but I think that it is a symptom of a design flaw that the onus is on the programmer rather than the operating system to enforce the "case-insensitive, but case-preserving" behavior. I've seen this behavior on Windows with some cygwin-compiled programs as well.

      Simply put, Case-Insensitive is ok, but Case-Preserving is BAD, IMHO.

      --
      -- Fnord.
    8. Re:Apple.... by Anonymous Coward · · Score: 0

      tihnk of All the confuzion^H^h%H&h*h funn if enlish wuznt spelin-Sesntiv n case-sentives n grammir-sentivies 2! back in teh midevil ages evrybodi spelt tihngs thier own weigh. we shood due taht aggin!

      i dun get all thees "cumand not founde" airors tho.

      weshoodalsogetridoftehspasebarbecuzittakezup2muc hs paseontehkeeborde.

      os@ os. us. eu. org

    9. Re:Apple.... by Anonymous Coward · · Score: 0

      man. i'm bent. that all made perfect sense to me. theres something terribly wrong with me!!

      2 MU(|-| 71M3 R34D1|\|(- H4QR 5P3X3 1 (-U355.

  4. Application implementation by rickms · · Score: 1

    Well chaning the linux or BSD file systems to accomplish ease of use has never been the mentality of the community. I think a task like this should be the responsibility of the application.

    If you ask for letters.txt, and the app can't find it, it's not to hard to see if there is a similar named file in different case.

    Rick

    --
    Making something out of nothing : MD5 ("") = d41d8cd98f00b204e9800998ecf8427e
    1. Re:Application implementation by jeffy124 · · Score: 0

      think about the complexity of that. If "letter.txt" was not found, that means searching for Letter.txt, lEtter.txt, LEtter.txt, leTter.txt, and so forth. Imagine being handed a very long filename. This also bloats every app on the face of the globe, eating away disk space and processor time just for each file.

      Trust me, it's far easier to imlement such an idea in the filesystem.

      --
      The One Rule Of Chess You'll Ever Need: Don't play someone who carries a kit in their bookbag.
    2. Re:Application implementation by God_Retired · · Score: 1

      Bloat? It's like a one liner shell script. And even with my meagre C skills, I could do it in 5 lines. If people really want an app to support people who don't know the difference between upper and lower case, it would be trivial to implement.

    3. Re:Application implementation by jeffy124 · · Score: 0, Troll

      ok, you're probably right about the code size required. but what about how fast it executes? If someone asks for letters.txt, and it isnt found, it means checking for Letters.txt, and so on. Each iteration takes TIME. Worst case scenario is that letters.txt does not exist in any form of capitilization, and the end result is that the file is then not found.

      As an example -- If Apache were to implement case-insensitive filenames, one could easily DoS a box by sending it LONG filenames (on the order of thousands of letters) that dont exist. The DoS comes into play because the httpd process spends a rediculous amount of time figuring out where a requested file is, only to return a 404 in the end. If someone were to take this and make a DDoS out of it, no one would be able to use the machine because of all the CPU time would be dedicated to resolving those bogus filenames. This would be where implementing it in the filesystem makes life much easier.

      There are probably some faster algorithms, like seeing if any files start with "L" or "l", then second letter "E" or "e," but again, it adds unnecessary code to numerous apps.

      --
      The One Rule Of Chess You'll Ever Need: Don't play someone who carries a kit in their bookbag.
    4. Re:Application implementation by rickms · · Score: 1

      This is where efficent coding comes in, and thinking outside the box, while i'm not a professional C programmer, it would be hard to get a directory listing of files the same length and do a case insensitive match on it. Alot more efficient than testing each case, and I'm sure there is a better way to do it than this.

      I'm not disputing that it'll bloat slow it down slightly, but that's what you get if you want ease of use.

      --
      Making something out of nothing : MD5 ("") = d41d8cd98f00b204e9800998ecf8427e
    5. Re:Application implementation by God_Retired · · Score: 1

      OK, I'll bite. I'm thinking user apps here. How I'd implement it, is look for the file as input. If not found, make a hash of files in the directory, translating every character in each file name to lower case (or upper, doesn't matter), change the inputted name to the same, then compare. This wouldn't be processor intensive at all. Even is the user had several hundred files in the directory, and was running an old pentium, this would be quick.

      In other words, you don't compare every possible mix of upper and lower. You change the cases of the files (in the hash, not actually change the name) and the query name, then compare. Like I said, pretty trivial.

      On a personal level, I have no wish to see this.

    6. Re:Application implementation by Mawbid · · Score: 1
      That's going to take 2^filename.length checks for file existance. Filesystems are smart enough not to have to read from disk every time, but what if it's an NFS/SMB mount? It isn't even possible to pipeline the network queries, since the app would wait to find out that letter.txt doesn't exist before checking for letter.txT.

      But the real problem is this: You have letter.txt and Letter.txt. The user asks for Letter.TXT. Which file does the application choose?

      A real case-preserving filesystem is needed to make sure letter.txt and Letter.txt don't exist at the same time.

      --
      Fuck the system? Nah, you might catch something.
    7. Re:Application implementation by SN74S181 · · Score: 1

      Whoops. You just killed a bunch of systems that have a few thousand files in the directory.

      That Hash sounds pretty bloaty to me. Are all these hashes going to be redundant and supplied by each application in userspace?

    8. Re:Application implementation by jeffy124 · · Score: 1

      apache could be considered a user-level program. most people wont know they're using it. if you offer space to regular people on a linux or other unix box for static webpages (ie, the ~username/public_html directory), then apache becomes user level, and the user doesnt know it's being used.

      Having case-insensitive filenames becomes a serious thing to consider, as you dont want tech support flooded with people who uploaded a file from their windows-based ftp clients and then cant find it in a browser because they werent using proper capitilization. Windows (by default) displays filenames as "Letter" with notepad icon, whether it be LETTER.TXT, Letter.TXT, letter.txt, etc.

      Hence, such a system would be FAR better off having the case insensitivity be implemented at filesystem level.

      as for taking a list of filenames and then making them all the same case, then comparing, what if a network mount were in use? Or there were thousands of files (many real-world production systems have that many) in a directory? Or both? Is it really worth searching through all that and/or have all that bandwidth get sucked up when the filesystem can do it all for you?

      You may wish to know that Mac OSX has case insensitive filenames in the default filesystem, for the purpose of making things easier for the masses.

      --
      The One Rule Of Chess You'll Ever Need: Don't play someone who carries a kit in their bookbag.
    9. Re:Application implementation by hubie · · Score: 2

      The kind of search you are talking is way overkill. Your search program simply reads each filename and converts the name to all upper or all lower case before it compares to the simarly-converted requested file. See for instance these C library functions. Your program is only a few lines, and it only need pass through the directory once.

    10. Re:Application implementation by God_Retired · · Score: 1

      Bud, if you saw my original quote, I did mention my spotty at best skills. Or shoddy. Whatever. I thought that the discussion was about a user app, like a word processor, looking for a file name with possible mixing of upper/lower case. And sure, scratch the hash and do it on a file by file basis. Same thing. I can grep a pattern from a several thousand long file with no noticeably delay. In psuedo, do this

      For each file in ./*
      if (lowercase($guessed_name) == lowercase($file))
      return $file;

      It this brings your system to a grinding halt, you must be running a palm or something. I've seen a lot of stupid shit in my days doing tech support, but I have yet to see a user with even one thousand files in a directory. Even if I did, I don't think that would be even noticeable on the computer. And if it was, it's on the users. If they are so stupid to have multiple thousands of files in a directory AND they can't remember the names that they save things under, fuck 'em.

    11. Re:Application implementation by jeffy124 · · Score: 1

      yeah, i know. i mentioned in another post one that, for filename "letter.txt", you could look for "L" or "l", then "E" or "e", and so on. For cases where the directory contains a LOT of files (think large real-world production systems), that would actually be much faster and take less computation than having the OS generate a list and then convert them all to a common case.

      This all still leaves one problem -- person asks for letter.txt. Does the program load up Letter.txt, or LETTER.TXT?? Two ways to solve that - (1) ask user, or (2) make case-insensitive filenames a mandatory part of the filesystem.

      I personally opt for #2, as there will be people out there who wont understand #1.

      --
      The One Rule Of Chess You'll Ever Need: Don't play someone who carries a kit in their bookbag.
    12. Re:Application implementation by God_Retired · · Score: 1

      Ah see, there you go. Just blowing my arguments out of the water. I'll have to take your word for it, 'cause I don't have the experience to question it.

      Back in the day before I ran my own server, it seems like there were always BIG notices about case sensitivity whenever I went to upload. Besides which the listing of a couple thousand files would amount to only a couple 100K at most, I'd think. Yeah, I know that doesn't scale real well, but I'm just thinking of Aunt Polly trying to edit a file that she saved before.

      Still, as I said before, I like case sensitivity. If I want to name one file Afile.blah and another AFile.blah, I should be able to.

    13. Re:Application implementation by hubie · · Score: 2
      that would actually be much faster and take less computation than having the OS generate a list and then convert them all to a common case.
      Actually, there isn't a need to read in and build a list of file names, convert them all into another list, then search through that. You just do the conversions on the fly. It doesn't take any longer because you are going to look at all the filenames anyway.

      Anyway, I think I understand your point, but I guess I just fundamentally disagree. I hate it when programs like Windows keep making assumptions about what I want to do. The only useful thing I have found is when I mistype "the" as "teh" in Word and it corrects it for me. However, when I want to create a folder called "QNX" so that I can put in QNX-related software, I don't want it insisting that it should be named "Qnx." Do as I say, not as what you think I want!!! As someone who programs, I also find it useful to tell the difference between the files foo.c and foo.C (and my compiler finds it useful too).

      In the case that you mention, I just don't see the problem. If I'm looking for a file letter.txt and my search routine comes back with Letter.txt, letter.txt, and Letter.Txt, then I (and Aunt Ginny) should know what file we want opened. If not, then we should open all three to see which one we want. If Aunt Ginny started a file letter.txt and later "Save As" it to Letter.txt, then that is a problem she has to work out. It is the same as if she later saved her file as lettre.txt. At some point she'll have to reconcile her errors.

      I never had a PC until about 8 years ago. I cut my computer teeth on a VAX system and got used to case-insensitive filenames. When I moved to Unix/Linux systems, it was just a minor difference to get used to. A lot of people make the argument that Linux will only be popular if the UI is exactly like Windows, but I disagree. Anyone should expect a learning curve when moving from one OS to another (even Aunt Ginny). Move Ginny from Windows to a Mac and you'll have to explain to her how some of the things she wants to do are different. Look at the differences between the various Windowses, but people have had little problem moving from 3.11 to Win95 to WinXP, etc. Microsoft just has the genius (and $$) to market the idea that it is a revolutionary and great step and people accept it and learn it. Remember when Win95 came out? The Mac users were annoyed to no end because Microsoft was touting their new point-and-click-and-drag GUI as incredibly revolutionary and the greatest breakthrough in computer history.

      I think that it is the idea of moving to a different OS and not some silly minor UI differences that keep people from actually doing it.

    14. Re:Application implementation by jeffy124 · · Score: 1

      my personal opinions just changed a little, though it's a somewhat easy fix. Seems there's no standard filename extention to C++ source files. Another post says that one extension is ".C" (some more are cc, CC, cxx, cpp, and probably many others). C source files, OTOH, just use ".c". So unfortunately for me, if I had any .C files lying around, I'd be screwed because gcc uses extensions to identify what's about to be compiled.

      If there were to be a case insensitive fs developed, then gcc would have to be modified to recognize .c files as .C and vice/versa, and all the .C files would have to be converted to something else.

      IMO, I think things would be easier for the masses if the idea were put in place, but converting to it is certainly without it's glitches. It's making me wonder how Apple's doing it in OSX, as there most likely are .C files in the code somewhere.

      --
      The One Rule Of Chess You'll Ever Need: Don't play someone who carries a kit in their bookbag.
    15. Re:Application implementation by TheCrackRat · · Score: 1

      What if you converted the requested filename to lowercase, and then tried to match it with the lowercase version of the files in the directory? I know that this would be fairly easy to implement in BASIC (That's the only programming language I know, but I'll be learning C/C++ soon, I hope.)if there are multiple matches, then you could give a selection dialog.

      --
      Ignorance is not linguistic drift.
    16. Re:Application implementation by jeffy124 · · Score: 1

      that's perfectly fine, but trouble comes into play if there are say thousands of files in a directory, and/or a network mount is in use. The problem becomes one of performance. A better trick would be something like, for the file "letter.txt", look for files with "L" and/or "l" as the first char, then "E" and/or "e" as the second, and so on and construct a list. Then present a dialog like you mention if necessary.

      I suspect you're about to start college, given your anticipation of learning C/C++. Your BASIC experience will be VERY advantageous to you. While others struggle with the concept of a variable or a for loop, you'll (hopefully) be smooth sailing to an easy A :-)

      --
      The One Rule Of Chess You'll Ever Need: Don't play someone who carries a kit in their bookbag.
    17. Re:Application implementation by joto · · Score: 2
      As you say, there is no convention. And that means that people using .C instead of .cpp, .cxx, .cc or anything else can easily change. It doesn't matter. Renaming all the files in a 1e6k-loc project will take you about 7 minutes (including writing a script to recursively find Makefile's, and sed your way through them).

      The only reason for not having case-unsensitivity in the kernel, is to not complicate the kernel, and keep policy out of the kernel. This, on the other hand, is a good reason.

    18. Re:Application implementation by chriso11 · · Score: 1

      Well, unless you do a shell command to create the file (e.g. touch BlAh.tXt), another user level application created that file. It would then state that you will be overwriting a file if you save LETTER.TXT into a directory with letter.txt.

      --
      No, I don't trust in god. He'll have to pay up front, like everybody else.
    19. Re:Application implementation by Anonymous Coward · · Score: 0

      > The kind of search you are talking is way overkill. Your search program simply reads each filename and converts the name to all upper or all lower case before it compares to the simarly-converted requested file.

      Internationalization / Localization issues may complicate this simple, ASCII-based idea.

  5. Will someone with coding skills... by The_Guv'na · · Score: 1

    Please write a little prog to dig through the filesystem and rename all/certain files to lowercase names, and prompt the user when there are conflicts. It could also integrate into the shell/kernel (??) to suggest alternatives when "letter.TXT" is referred to in a command but does not exist, but something similar (e.g. "Letter.txt") does. A user having to ls just to find the correct casing for a filename is nothing serious, but its still an annoyance, which could put people off.

    While we're at it, what about a "manfd" command? You know, Man For Dumbasses!

    Ali

    1. Re:Will someone with coding skills... by dar · · Score: 1

      Please write a little prog to dig through the filesystem and rename all/certain files to lowercase names, and prompt the user when there are conflicts.

      Ooh. I don't think that's a good idea. I suspect that renaming XF86Config to xf86config will have a very bad affect on XFree.

      --
      My other Slashdot ID is much lower.
    2. Re:Will someone with coding skills... by SN74S181 · · Score: 1

      and prompt the user when there are conflicts

      Okay. Now, let's remember that sometimes 'the user' is a process known as Init. Init doesn't like to stop for prompt dialogues.

    3. Re:Will someone with coding skills... by The_Guv'na · · Score: 1

      Exactly my thoughts when I added the "certain" bit. I was thinking along the lines of user created files, or downloaded stuff like (copyright free ;-) MP3's whose capitalisation can be all over the shop. Basically, it would be just a tool. You can break stuff with it if you're careless, or make life easier if you use it properly.

      Ali

    4. Re:Will someone with coding skills... by The_Guv'na · · Score: 1

      And there's no way of telling wether a command has come from a user or a process?

      Ali

    5. Re:Will someone with coding skills... by Stary · · Score: 2
      Ooh. I don't think that's a good idea. I suspect that renaming XF86Config to xf86config will have a very bad affect on XFree.

      Not if something is done to the system to let XFree open the file with the name XF86Config...

      --
      Tomorrow will be cancelled due to lack of interest
    6. Re:Will someone with coding skills... by joto · · Score: 2
      And there's no way of telling wether a command has come from a user or a process?

      Correct.

    7. Re:Will someone with coding skills... by geekoid · · Score: 2

      Incorrect.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    8. Re:Will someone with coding skills... by Anonymous Coward · · Score: 0

      >>> And there's no way of telling wether a command has come from a user or a process?
      >> Correct.
      > Incorrect.

      OK, how would this be done? Given piped processes, how does one program X in a pipeline tell what kind of program X-1 was that generated X's input?

  6. Sort order by myawn · · Score: 3, Insightful
    'A' is different than 'a'. This isn't unique to computer filenames; we all learned this in the first grade. If there is any confusion, it is probably caused by those other computers that blurred a distinction we were all quite comfortable with.

    What is confusing is that "A" and "a" don't sort next to each other -- so, letter.txt doesn't end up following Letter.txt, but instead is down somewhere past Zebra.jpg. That defies reason; if something is to be fixed, let it be that.

    --
    Subscribers can see articles in the future? So what? Everyone gets to see them in the future.
    1. Re:Sort order by Papineau · · Score: 4, Informative

      That behavior depends on your locale.

      Let's say I have a file with the following (meaningless) unsorted content:
      asklhf
      Adjgd
      zaskd
      Zaoifh


      If I sort it with LC_ALL=posix sort myfile, here's what I get:
      Adjgd
      Zaoifh
      asklhf
      zaskd


      Now, that is exactly the kind of behavior that you dislike.
      Try this (LC_ALL=en_US sort myfile) now:
      Adjgd
      asklhf
      Zaoifh
      zaskd


      Much like you wanted it to be, right? The C locale seems to give the same results as posix, and fr_CA gives the same thing as en_US. I'll leave it to somebody else to explain it by looking in a specific standard, or in the source code.

      So in short, check that your locale is correctly specified, and sort should do what you want it to do. Or, you could just use the --ignore-case of sort.

      Or were you talking about something system-wide, for ls, file selection boxes, etc.? Then it depends on where the sorting is done, and might be more difficult to fix (since you'll always miss one place).

    2. Re:Sort order by Lost+Nookie+Parlance · · Score: 0, Troll

      You're snorting Coke, dude. What's the difference between 'Anything' and 'anything'? There is none. No one except Unix/Linux geeks expects there to be.

    3. Re:Sort order by Narchie+Troll · · Score: 4, Funny

      Oh? Well, as a result of a single capitalized "C" in your above post, you just accused another poster of snorting a soft drink. Capitalization does matter. *chuckles*

    4. Re:Sort order by Quay42 · · Score: 1
      "What is confusing is that "A" and "a" don't sort next to each other -- so, letter.txt doesn't end up following Letter.txt, but instead is down somewhere past Zebra.jpg. That defies reason; if something is to be fixed, let it be that."

      I think that's the whole point the poster was trying to make. Of course they're _different_, but in terms of sorting they're not (assuming case sensitivity, which just means the ASCII code is used). I'd hope nobody would claim that we should all do the MS-DOS all caps listings. If I recall correctly Windows does the "proper" sorting of maintaing the capitalization but sorts 'a' next to 'A'.

      --
      "Has anything you've done made your life better?" - American History X
    5. Re:Sort order by Anonymous Coward · · Score: 0

      Touche! Beautiful retort that I would have missed myself.

    6. Re:Sort order by frantzdb · · Score: 2

      That's really cool. Now why isn't that the default?

      Personally, I think it should be smarter and sort the way library books are sorted, sorting strings of numbers in numerical order such that:

      0121020

      and

      Aa

      --Ben

    7. Re:Sort order by frantzdb · · Score: 2

      Make that 0<1<2<10<20

  7. Re:Well, it's not like the OS chooses case for you by secret_squirrel_99 · · Score: 2, Insightful

    What are the odds that your Aunt Ginny or any equally technically inept person is actually using *nix for something so mundane as typing a letter. She is almost certainly using some Flavor of Windows, or perhaps a Mac. OS X is already case insensitive, and lets face it, Aunt Ginny is never going to open a term window anyway. As long as she can point and click she can find and open her letter regardless of how its named. In the really unlikely event that she is in fact using *nix do you really think she's using vi to send those letters home? or is it more likely she is using KDE or Gnome as a windows substitute and is still quite fine as long as her mouse finger holds out? I'd say this is really a non issue. .

    --
    If privacy had a tombstone it would read "We did it for your own good" . -- John Twelve Hawks
  8. No by Mad+Quacker · · Score: 2, Insightful

    Novice users will always use file selection dialogues and icon-based file managers. Thus the only time they type a filename is at initial creation. Beyond that it does not matter. If they are going into a shell, they are not novice users anymore (I doubt you will see aunt Ginny do this)

    --
    "I don't know that atheists should be considered citizens, nor should they be considered patriots." George HW Bush
    1. Re:No by 'The+'.$L3mm1ng · · Score: 1

      Novice is relative. I'm kind of new to Linux, but not new to computers. Therefore I use the shell under Linux as well. And whenever I do, I dislike that it is case-sensitive, because I name my files carefully, caring for case. But it just does not make sense to have "letter.txt" and "Letter.txt", there's no way for a human being to distinguish them, for example, when you say the name. And names are for human beings, computers would be fine with numbers only. Yet I do not want to type "L" instead of "l", because I'm lazy in this regard.
      So Windows and with the right file system Mac OS too react in a way I like: save the file name caring for the case and ignore it when you have to type it.
      The problem with Explorer displaying "FILE.TXT" as "File.txt" is a result of FAT 16 storing file names all uppercase. Try "FILE 1.TXT" or "FILEWITHLONGNAME.TXT", this will be displayed like it is stored, because Explorer knows that such these names are not possible with FAT 16 (the former contains a space, the latter is longer than 8.3).

      So:
      - Store "Letter.txt"
      - Accept "letter.txt", "LETTER.TXT" for this file as well

      Can somebody give me an example of where case-sensitiveness really makes sense?

  9. Re:Flame-baitey POST by The_Guv'na · · Score: 1

    simplify UNIX and destroy it in the process

    Well for all their faults, the Windowses, DOS, and others, have never been hindered by a lack of case-sensitivity in their filesystems. Unless you have some evidence to the contrary?

    Ali

  10. 'A' is not 'a' by mmynsted · · Score: 3, Interesting

    >Although having used Linux and FreeBSD for many years, I have yet to
    >come across anyone seriously questioning the traditional UNIX style
    >file system name paradigm.

    >With an Amiga background (It should be the same for people growing up
    >with Windows, or those growing up with no computer at all (God
    >forbid!).) it took me quite a while to get used to 'A' and 'a' being
    >treated as different characters. This is of course fairly easy to
    >accept and to understand if you have a technical background.
    >I do however have a hard time to see how aunt Ginny will
    >ever be able to distinguish between her 'Letter.txt', 'LETTER.TXT' and
    >'letter.txt' files.

    Just like how aunt Ginny was likely somehow able to grasp that her
    name is written aunt Ginny and not aunt gInNy, aunt gINNy, or other
    combination. Give her a little credit. Simply explain that the case
    is part of the file name. Your example Letter.txt file names would be
    a perfect way to show her the difference. Just make each contain
    different information, and open each one to show her they are
    different.

    File systems should be case sensitive. An upper case 'A' is a different
    character than a lower case 'a'. We should not confuse people by
    tricking them when the create file names.

    >In real life, upper and lower case letters represents almost identical
    >information to most people.

    Almost, but not identical.

    >Has any thoughts been spent on this issue, now that our favorite OS is
    >becoming increasingly mainstream?
    >
    >Does it need to be addressed?

    No.

    >Have any attempts been done?

    I hope not. Mount a case insensitive file system if you want one.
    Leave existing file systems alone.

    >What are the implications to parts
    >outside the file systems?" This is an interesting point.

    >As Unix
    >grows more and more popular, the simple things we've taken for granted
    >about the filesystem may stand in the way of general users adopting
    >it.

    The sooner people accept that 'Ginny' and 'gInNy' are not the same the
    sooner they will understand how to interact with a computer.

    >What ways can you think of that will mitigate this problem for new
    >Linux users without actually affecting too much? Special shells for
    >novice users, that can simplify much of the complexity may be the way
    >to go, here.

    How about a mouse-click'n GUI like GNOME, KDE, etc.

    1. Re:'A' is not 'a' by mmarlett · · Score: 1
      mmynsted said:
      Just like how aunt Ginny was likely somehow able to grasp that her name is written aunt Ginny and not aunt gInNy, aunt gINNy, or other combination. Give her a little credit. Simply explain that the case is part of the file name.
      The difference is that when you type "aunt gInNy" or "aunt gINNy" she -- and we -- understand that you mean her, the same person. The name identifies the same thing no matter how you capitalize it. It's better to give her credit for not being confused by a shift in case.
    2. Re:'A' is not 'a' by Dephex+Twin · · Score: 2
      The sooner people accept that 'Ginny' and 'gInNy' are not the same the
      sooner they will understand how to interact with a computer.

      The sooner UNIX-based computers learn that when a person is looking in a directory for "letter.txt" that "Letter.txt" is probably what they mean, the sooner they (the computers) will understand how to interact with people.

      And shouldn't that be the point of it? Not the other way around.

      "Hello" and "heLLo" and "HELLO" are slightly different things. This is noticed by anyone. Yet, I am betting that if someone wrote you one of these variations, you would not tell them they were speaking nonsense. You could, but you'd be the moron, not them.

      Preserving cases is good, so if I name my file "Hello.txt", the cases should be preserved. But then if I look for "hello.txt" in that very folder, or I don't remember the capitalization exactly later, the OS shouldn't act like these are two totally unrelated strings.

      Having it the anal way in the system, and user friendly in the GUI or in a special shell is definitely a step in the right direction, although if the user ever ends up having to interact with the anal system, that inconsistency would be quite confusing.

      mark
      --

      If you want to make an apple pie from scratch, you must first create the universe. -- Carl Sagan
    3. Re:'A' is not 'a' by mmynsted · · Score: 2, Insightful

      There are often situations where the case is important
      in order to better identify a file.

      Example:

      A file regarding a person named Bart may be called 'Bart.txt'.

      A file regarding the Bay Area Rapid Transit system may be called
      'BART.txt'.

      Just by looking at the file names, one can have a good idea about
      their contents. The names are short, direct, and clear.

    4. Re:'A' is not 'a' by Anonymous Coward · · Score: 0

      Exactly, 'cause although "aunt gIIny" is obviously wrong the differences between "aunt ginny" and "Aunt Ginny" aren't so clear or memorable.

    5. Re:'A' is not 'a' by CharlieG · · Score: 2

      ...snip...
      >The sooner people accept that 'Ginny' >and 'gInNy' are not the same the
      >sooner they will understand how to interact >with a computer. ...snip...

      One of the big questions - should the end user learn to interact with the computer, or should the computer learn to interact with the person?

      Most "real" folks (aka, not us geeks) want the computer to do the work - the ultimate computer would have ONE command - DO WHAT I WANT

      Charlie

      --
      -- 73 de KG2V For the Children - RKBA! "You are what you do when it counts" - the Masso
  11. case insensitive sorting in apps by Splork · · Score: 2

    any application or standard dialog that lists filenames but does not sort them in a case insensitive manner should be trashed. its useless. i don't care if the filesystem itself is case sensitive or not but the high level application user should not present them to the user in a messed up order putting apple after Orange.

    1. Re:case insensitive sorting in apps by swright · · Score: 2

      Wasnt the original reason for this that files that were especially important were capitalised (README, INSTALL, etc) specifically so they'd head up the list in ls.

      Sounds like a good idea to me - but a real pain in the butt when dealing with files created on Windows.

    2. Re:case insensitive sorting in apps by rtaylor · · Score: 2

      End result, any dialog that lists filenames in the manner you propose is also useless.

      Use the proper collation, sorting, etc. based on the users locale. You'll notice sort does what you want if you're in the 'en-US' locale, but also does what I want in my locale.

      --
      Rod Taylor
    3. Re:case insensitive sorting in apps by sigwinch · · Score: 2
      Wasnt the original reason for this that files that were especially important were capitalised (README, INSTALL, etc) specifically so they'd head up the list in ls.
      You can prepend 0 (numeral zero) to the few files that need it to force them to sort to the top, then do case-insensitive sorting. This convention is already in use. E.g., Documentation/00-INDEX in the Linux kernel sources.
      --

      --
      Kuro5hin.org: where the good times never end. ;-)

  12. Do what Winblowz does... by BalkanBoy · · Score: 1

    Show filenames in the case they were created in (e.g. if you created a file 'Letter.txt', it would be shows in Explorer as 'Letter.txt'), however, for usage purposes, you can eliminate the uppercase/lowercase nomenclature of the file (e.g. 'Letter.txt' = 'letter.txt' = 'LETTER.txt' etc.). At least M$ is smart about something ;).

    --
    'A lie if repeated often enough, becomes the truth.' - Goebbels
    1. Re:Do what Winblowz does... by ivan256 · · Score: 2

      In windows if you name something "LETTER.txt" I nicely changes the name to "Letter.txt" for you.

      Do what they say, not what they do.

      Oh, by the way...

    2. Re:Do what Winblowz does... by JHelgie · · Score: 1

      I just tried it, yes, it does change it, on FOLDERS, but it does not on, say, a text file. Also, the folder ONLY change it if it's ALL in caps, it changes "QWERTY" to "Qwerty" but "QWERTy" stays the same. It just assumes if its all in caps, you accidently have caps lock on.

    3. Re:Do what Winblowz does... by ivan256 · · Score: 1

      What version of windows are you using? I think the behavior might be differnet in Windows 2000+ then in 98. I don't have 98 handy at work, but I thought that if you didn't have extensions displayed it did this same thing for files too.... Anyway, that's not the point, the point is that it doesn't work exactly how the initial poster (was it you?) described, and the way it was described makes more sense then how it actually works.

    4. Re:Do what Winblowz does... by joto · · Score: 2
      The reason it behaves this way, is because FAT only used uppercase names, while VFAT allows more reasonable filenames. So files in all uppercase are automatically converted to lowercase since it is likely that it is the result of having travelled on a FAT (not VFAT) medium. And only uppercase is usually annoying.

      There is no difference between directories and files. It's just that usually, you don't use file extensions on directories, but if you call you directory QWERTY.txt, case will be preserved.

      And, like most annoying behaviour in Windows, there's a way to turn it off: Tools->Options->View->Allow all upppercase filenames. Given the alternatives, I think windows actually did the right thing here. Mainly since the filesystem doesn't care about case anyway, and manually renaming 200 files with uppercase names is annoying. I'd much rather have the system take a guess at something more readable, and have an option to turn it off, if I really want my ALL_CAPS filenames.

      Next week, come back to Ask Slashdot: Should filenames be 3117-zP34k-4vv4R3

    5. Re:Do what Winblowz does... by ivan256 · · Score: 1

      I didn't realize there was an option to turn it off. That's the same place that the "Hide file extensions" option is, so I know I've been in there, but I may have missed it. Do you know what version they introduced that in?

      I understand what you're trying to say about the FAT/VFAT thing, but it's just not true. If I'm typing a filename in on a VFAT based windows file system, that name has never been anywhere but where I'm typing it. The decision to disallow renaming a file in all caps was either arbitrary or asthetic, not technical. (Or if it was technical, it was poor design. If that was their intention they should check for the conversion only once, and only where apropriate. When you copy a file form a FAT16 volume, check. When you display a FAT16 Filesystem in a window, check. When you don't need to do it, don't check. That's 3 more lines of code then what they did, but I bet it would speed up opening directory windows. No wonder the windows GUI is so damn slow without outrageous hardware.)

  13. They Don't Look the Same by 4of12 · · Score: 2

    If "B" and "b" were meant to be the same, they'd look the same.

    In many languages, English and German to take two examples, capital letters have had a specific usage for a much longer time than computers, or eve for a much longer time than typewriter keyboards. They are different letters and, more importantly, people believe they're different letters.

    Why regress to that era 20 years ago when in some strange computer-based subculture of reality the two letters were indistinguishable?

    --
    "Provided by the management for your protection."
    1. Re:They Don't Look the Same by Anonymous Coward · · Score: 0

      Case preservation and case sensitivity are two different beasts. It is very error prone and confusing to have two different entities with names only differring in identifier case.

  14. Apple's solution is just about ideal. by voisine · · Score: 2, Insightful

    OS X remebers case, but ignores it. This way your
    file is named just the way you typed it, caps and
    all, but if you reference it with different
    capitilazation, it still matches. If you try to make
    a second file with the same letters but different
    capitalization, it won't let you. The best of both
    worlds. No multiple files with the same name, yet
    case is preserved for looks and correct grammar.

    1. Re:Apple's solution is just about ideal. by jeffy124 · · Score: 1

      that's actually what Windows does, though Windows can lose track of capitilization if a file gets copied to floppy and back, etc...

      --
      The One Rule Of Chess You'll Ever Need: Don't play someone who carries a kit in their bookbag.
    2. Re:Apple's solution is just about ideal. by spencerogden · · Score: 1

      Although it does refuse to display a filename in all lowercase, its always First letter uppercase, and the rest lower...

    3. Re:Apple's solution is just about ideal. by 'The+'.$L3mm1ng · · Score: 1

      That's not Windows, that's Explorer. And you can switch it off. Or use Windows Commander. There you can switch it on and off as well.

  15. some rules of English by nwanua · · Score: 3, Informative

    Yes, I know this is English-specific, but perhaps other languages have similar distinctions:

    what's the difference between:

    "I went to school."
    and
    "I went to School." ?

    In the first sentence, school is being used as a regular noun: which school? Who cares? On the other hand, in the second sentence, School is being used as proper name - there can be only one School.

    In other words, if English speakers can understand the nuance between school and School, then said English speaker (please avoid dissing the US publik skool edukashion sistem) can reasonably be expected to distinguish between letter.txt and Letter.txt (ie. "letter? Which one?" vs. "Letter? ahh yes, THE Letter").

    Anyhoo, an example of a totally confused implementation: Mac OS X: some things understand the difference, some don't:

    ie: /home/Dock and /home/dock go to the same place. Yet do a pwd or try tab completion and it's all confused. (the location in finder is /home/Dock, for clarity). My take on the issue is "I will remember how you named it; just kindly tell me the file you want, exactly how I told you it's called".

    Nwanua.

    ps. if the above is true ONLY for English, all you have to do is politely state that fact, and we'll all be better informed...

    1. Re:some rules of English by topham · · Score: 2

      Actually, according to what you've said files should be enforced to begin with a capital.

      There is only 1 "Letter.txt". letter.txt would be generic, and not a noun, and therefor would have to be a folder.

      oh god...

    2. Re:some rules of English by Ster · · Score: 1
      I use this in tcsh on my HFS+ formatted OS X boxen:

      set complete=enhance

      I tells tcsh to ignore the case of wat you started typing if it doesn't match.

      EX:

      [is-sa:~] rpokala% ls
      TheFindByContentFolder
      Desktop
      Library
      TheV olumeSettingsFolder

      ...

      [is-sa:~] rpokala% cd the^[ESC]^[ESC]
      TheFindByContentFolder/ TheVolumeSettingsFolder/
      [is-sa:~] rpokala% cd thev^[ESC]^[ESC]
      [is-sa:~] rpokala% cd TheVolumeSettingsFolder/

      Suffice it to say, that line is at the very top of my .tcshrc. :-)

      -Ster

    3. Re:some rules of English by mshiltonj · · Score: 2


      "I went to school."
      and
      "I went to School." ?

      In the first sentence, school is being used as a regular noun: which school? Who cares? On the other hand, in the second sentence, School is being used as proper name - there can be only one School.

      In other words, if English speakers can understand the nuance between school and School, then said English speaker (please avoid dissing the US publik skool edukashion sistem) can reasonably be expected to distinguish between letter.txt and Letter.txt (ie. "letter? Which one?" vs. "Letter? ahh yes, THE Letter").


      I think this is a bad example. The difference between "school" and "School" is very different beween the difference between "letter.txt" and "Letter.txt".

      Grammatically, we know the difference between "School" and "school".

      But a computer doesn't really know the diffrence better letter.txt and Letter.txt any more than between "letter.txt" and "lEtTeR.TxT", or for that matter, between "letter.txt" and "abcefg.hij". More specifically, it doesn't know the relationship between "letter.txt" and "Letter.txt".

      Some applications can understand insensitivity (like "grep -i letter *")

      I'm not sure where I stand on this. Should people act more like computers, or should computers act more like people? *shrug*

      I tend to like a suggestion made by another use on this thread: Mount a case-insensitive file system if you need it.

    4. Re:some rules of English by tunah · · Score: 2

      This is probably irrelevant, but the sentence is grammatically correct. "school" needs an article, for example:
      "I went to my school".
      "I went to School" is probably okay.

      --
      Free Java games for your phone: Tontie, Sokoban
    5. Re:some rules of English by NevDull · · Score: 1

      Don't forget that polish and Polish are entirely different things. :)

    6. Re:some rules of English by FunkyChild · · Score: 2

      The problem with that example is that filenames are all proper nouns, and they all need to be referred to in the definite article (I think that's the correct grammatical term?). The disctinction between 'any' school and 'the' School doesn't translate to filenames, because you're always referring to a file in particular, not a collection of files (which would perhaps be a directory, or a find query or something).

  16. Unix has it right by photon317 · · Score: 3, Interesting


    The problem is more complicated than the question makes it out to be. An Ideal filesystem should allow any random binary bits to make up a filename, such that the filenames can be Unicode, so that Chinese people can name files in Chinese, Math professors can use the unicode for a math formula as the name of a document describing how to solve it. When you think in this bigger sense - it becomes a lot harder.

    Ideally the encoding method (Unicode in this example) should provide some way of seeing the equivalency of certain characters (two different representations of the equal sign, two different cases of the letter A, etc..), and the application should be able to make use of this during a regex search, or maybe even during a library wrapped "open() or readdir()" call, where the application is "Windows Explorer", "bash", or anything else.

    Ultimately this has to be resolved in userland tools and the libraries that support them - the best answer for the filesystem layer is to support all possible characters literally and meaningfully in filenames, so as not to restrict the schemes layered on top of it.

    --
    11*43+456^2
  17. Preserve Case but don't make it case sensitive by topham · · Score: 5, Insightful

    The only reason why Unix is case sensitive is because it was easier, and faster to implement it as such in the early days.

    It is not quite efficient to Preserve Case, and not make it case-sensitive.

    I used a file system like this (HPFS) for many years and much prefer it over the case-sensitive alternatives.

    It is also a security concern. If I have 2 files, which are identical except for case it is possible I could run the wrong one. Why? Point and Click interfaces barely show a difference between o and O, etc.

    There is also no need for 2 files with the same name, and different case when it comes to SOURCE CODE. I have seen more than 1 program implemented like this and it is downright confusing and stupid. " No no, not "ubergeek.c", "Ubergeek.c"... etc.

    Garbage. Crap. Total waste of resources.

    I've been working in a database language that is case-insensitive for a number of years as well. It is damn nice to not have to worry about somebody typing something in differently than expected. It isn't a problem. And I don't have to call UPPER every time I do something!

    case-sensitive is a pain in the ass.

    1. Re:Preserve Case but don't make it case sensitive by bill_mcgonigle · · Score: 2

      It is not quite efficient to Preserve Case, and not make it case-sensitive. I used a file system like this (HPFS) for many years and much prefer it over the case-sensitive alternatives.

      You might enjoy HFS+. It does what you describe. Lots of folks who appreciated OS/2 are coming to appreciate OS X.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    2. Re:Preserve Case but don't make it case sensitive by SN74S181 · · Score: 1

      Actually, in the old days UNIX could be case-insensitive. If you log on with cap-locks on it decides that you are using a caps-only terminal (i.e. a Teletype ASR-33) and the shell switches to a caps-only mode. I don't know if this is true in this day and age, but I know it was in some earlier versions of UNIX. It might be a termcap thing more than a shell thing.

    3. Re:Preserve Case but don't make it case sensitive by sigwinch · · Score: 4, Informative
      The only reason why Unix is case sensitive is because it was easier, and faster to implement it as such in the early days.
      No, it's because case sensitivity is the Right Thing.
      It is also a security concern. If I have 2 files, which are identical except for case it is possible I could run the wrong one. Why? Point and Click interfaces barely show a difference between o and O, etc.
      If by "Point and Click" you mean "the egregiously bad fonts chosen for Windows", I agree. They have other problems, such as "1Il" (one capital-eye lowercase-ell) and "O0" (oh zero). (Will the real Bruce Perens please stand up? ;-)
      There is also no need for 2 files with the same name, and different case when it comes to SOURCE CODE. I have seen more than 1 program implemented like this and it is downright confusing and stupid. " No no, not "ubergeek.c", "Ubergeek.c"... etc.
      On the other hand, it is arguably useful to distinguish between file.c and file.C.
      I've been working in a database language that is case-insensitive for a number of years as well. It is damn nice to not have to worry about somebody typing something in differently than expected. It isn't a problem. And I don't have to call UPPER every time I do something!
      All computers are not Vaxes. All text is not 7-bit ASCII. For a general purpose Unicode-compatible system, **THERE IS NO WAY TO BE CASE INSENSITIVE**. Period. End of story. No further discussion. How do you handle "Â" versus "â"? Or "" versus ""? (Capital thorn versus small thorn.) Or "Æ" versus "aE"? Or similar things for terrorist languages like Arabic and Klingon? Or the Russian letter whose name escapes me that looks exactly like a capital "O" but *isn't*. (That one's good for all sorts of fun.) The answer is that you don't even try. Anything you do is going to break badly, and a system that is randomly broken is less useful than a system that is consistent.
      --

      --
      Kuro5hin.org: where the good times never end. ;-)

    4. Re:Preserve Case but don't make it case sensitive by Anonymous Coward · · Score: 0

      "No, it's because case sensitivity is the Right Thing. "

      No it's because it's easier, and faster. You can do a strcmp() without doing some sort of case conversion. This would have slightly complicated the algorithm and hurt performance on the much slower machines that were in use at the time.

      Most early operating systems saved everything in all upper case for this reason. Mainframes, VMS, etc.

      Even today most database systems I have worked on usually store names in the database in two forms... the display form, and the search form. The search form being all upper case. This way you can perform a search by doing one case conversion on the client side, and it results in a much faster SQL query.

      You are really just saying "It's the way it's always been done."

    5. Re:Preserve Case but don't make it case sensitive by gorilla · · Score: 2

      It's even worse in some languages. You have a single letter for one case, and more than one letter for another case. German is a good example here, The sharp S character is ß (ß) in lower case, but SS in upper case.

    6. Re:Preserve Case but don't make it case sensitive by topham · · Score: 2

      It was definitly true on HP/UX version 9, probably 10 as well.

      I ran into that problem more than once when users logged in with CAPS on...

    7. Re:Preserve Case but don't make it case sensitive by topham · · Score: 2

      I'm not here to debate the issues related to other languages.

      I'm saying that: For English usage differentiating between file.c and file.C is stupid.

      case sensitivity isn't 'The Right thing.' it is an artifact of the times. Nothing more. I have absolutly no reason to believe it was an 'active' decision made the first time to be 'correct'. Rather it was 'it happened to work this way when we finished', or, 'well, it was faster than converting everything to uppercase for comparisons because we only had 2K of storage anyway.'.

      I believe that case-sensitivity in a filesystem is nothing but a problem waiting to happen.

      On the other hand, I used to program in C a lot and never had a major complaint about it being case sensitive. Of course I don't expect just anyone to be playing with C source code either.

    8. Re:Preserve Case but don't make it case sensitive by topham · · Score: 2

      If I could run OS X on my current hardware I probably would.

      Oh well... I liked BeOS too so what the hell do I know?

    9. Re:Preserve Case but don't make it case sensitive by Anonymous Coward · · Score: 0

      There is no upper case . As long as there are library functions like Java's String.toUpperCase() and String.toLowerCase(), implementing case insensitivity is as easy as using these functions. is the same as , only upper case, but is a different character from a. See www.unicode.org for more information.

    10. Re:Preserve Case but don't make it case sensitive by Anonymous Coward · · Score: 0

      Ok, slashcode ate the character entities. Here we go again:

      There is no upper case ß. As long as there are library functions like Java's String.toUpperCase() and String.toLowerCase(), implementing case insensitivity is as easy as using these functions. "Ä" is the same as "ä", only upper case, but "ä" is not related to "a". See www.unicode.org for more information.

    11. Re:Preserve Case but don't make it case sensitive by PD · · Score: 2

      I just tried it on my Debian box. With CAPS lock on, it also switches to all caps mode. Weird, but it works.

    12. Re:Preserve Case but don't make it case sensitive by joto · · Score: 2

      Well, of course it should be Æ vs æ. There are some languages that actually use that as a letter and not a ligature you know. But I agree that it is a problem...

    13. Re:Preserve Case but don't make it case sensitive by nathanm · · Score: 2
      Or similar things for terrorist languages like Arabic and Klingon?
      That's a troll if I ever saw one, but I'll bite.

      Arabic characters have no case at all. However, most of them are written slightly different depending if they're at the beginning, middle, or end of a word; written by themself; or follow a non-connecting character. When typing though, this is done with no extra effort to you. The computer changes the characters based on the next character typed, if needed.

      As for Klingon, I don't know and I don't care. It's an entirely useless waste of time.
    14. Re:Preserve Case but don't make it case sensitive by Anonymous Coward · · Score: 0

      so the bottom line is your lazy, and can't code within a common methodology?

      you state "There is also no need for 2 files with the same name"

      First Ubergeek.c is NOT the same as ubergeek.c. It is NOT the same name. don't belive me? look at the ascii code.

      If you can't find a use, go get your self an imagination and figure out how they can ease your programming tasks.

      You feel that since you have no use, nobody does.
      and finally, please become a plumber, this industry does not need another lazy, hubris programmer, regardless of what Larry Wall says.

    15. Re:Preserve Case but don't make it case sensitive by Anonymous Coward · · Score: 0

      > I'm not here to debate the issues related to other languages. I'm saying that: For English usage differentiating between file.c and file.C is stupid.

      Too bad English isn't the only language of Unix users, isn't it?..

    16. Re:Preserve Case but don't make it case sensitive by gorilla · · Score: 2

      library functions can only be part of the answer. Two different languages can have the same accented characters, but different rules about case conversion. You need to know if it's fr_CA or fr_FR.

    17. Re:Preserve Case but don't make it case sensitive by bill_mcgonigle · · Score: 2

      If you have an IBM PC compatible, you can probably run the x86 port of darwin with X. Should get you HFS+. (haven't tried myself)

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  18. Think about it a second by PD · · Score: 4, Interesting

    iF yOU wROTE a lETTER tO yOUR aUNT gINNY lIKE tHIS wOULD sHE nOTICE sOMETHING wRONG wITH iT?

    If you think she would, then she can grasp the concept that case makes a difference. Give her a little credit.

    1. Re:Think about it a second by Planesdragon · · Score: 1

      iF yOU wROTE a lETTER tO yOUR aUNT gINNY lIKE tHIS wOULD sHE nOTICE sOMETHING wRONG wITH iT?

      Of course she would; you're not displaying the letters correctly.

      Who, wHo, WHO, who, and WhO are just about identical in standalone meaning (wHo, WHO, and WhO might be abbreviations), but used in context they're identical.

      Let me add this to "reasons I won't use Linux." Maybe I should start a journal...

    2. Re:Think about it a second by Anonymous Coward · · Score: 0

      I'm starting to think the only thing that annoys me as much as those who whine that everyone else should use Linux, are people who go feel this overwhelming need to proclaim to the world why they don't use Linux. Use whatever you want, but don't think your reasons for using or nor using something will apply to everyone else.

    3. Re:Think about it a second by Simon · · Score: 1

      The point is not whether she can learn the concept. The point is that case sensitivity is a ROYAL PAIN IN THE BUTT WITH NO BENIFITS WHAT SO EVER.

      Clear?
      why learn case sensitivity then?

      --
      Simon

    4. Re:Think about it a second by PD · · Score: 2

      Case sensitivity is something that must be applied if you want to support Unicode and language independence. That benefit overrides all else. As other threads pointed out, it's not possible to be consistent about Unicode and support case independence.

  19. The Problem by baldass_newbie · · Score: 1

    Is ASCII. It seems like you usually hit this in sorting. If 'A' and 'a' would be right next to each other, it woudldn't bet that big of a problem.

    --
    The opposite of progress is congress
  20. In the meantime... by dar · · Score: 5, Informative

    For bash users: Add the following to the .inputrc in your home dir.

    set completion-ignore-case on

    Then when hitting tab to complete a filename, it will fix the case for you. i.e. typing "vi xf8" and pressing tab will get you "vi XF86Config" etc.

    --
    My other Slashdot ID is much lower.
    1. Re:In the meantime... by Trilaka · · Score: 1

      This is the first post that actually touches on the obvious that everyone else seems to be missing. There is absolutely no need (in this case, at least) for the system to be altered in order to change the interface. Who cares if the filesystem itself allows Letter.txt and letter.txt to be unique. If the file save dialog will not save files with only differences in case, and if searches by filename are by default case-insensitive, etc, then Aunt Granny never needs to worry about whether the filesystem cares about file system case, because her interface doesn't.

    2. Re:In the meantime... by Anonymous Coward · · Score: 0

      If you're going to eliminate case sensitivity from the user experience, you might just as well do it right and fix it in one place instead of tweaking countless applications. Either way you'll run into inconsistencies when some programs rely on file.txt and File.txt being different files, but changing it on the filesystem level is a whole lot less work.

  21. Linux file system is OBSOLETE by Jouni · · Score: 5, Interesting

    ... and now that I got your attention, let me specify that all other file systems as well are obsolete in the context of the USER INTERFACE.

    Frankly, aunt Ginny should *never* have to deal with files and file names. She should not need to know what a file is, nor choose to "save" or "discard" her work after she has written the letter to her friend Margaret. She does not know her HD from her RAM, and all for the better. She would worry to death over having her letter spun around on a magnetic disc, it would get all jumbled up for sure!

    File system is an internal, abstract and archaic database that is familiar to programmers and geeks, but a lousy way to represent data for the general user. There are few things worse than navigating a blind hierarchy of unknown folders with no contextual guide to help.

    The system should remember the letter when it is written, keep tabs on when it was written, put the subject in a "recent letters" list and generally manage the internal filing transparent to the user. The storage capacity of a modern computer can last aunt Ginny for years, the real trouble is in FINDING her data, the file names alone do little good for that.

    For a wonderful example of how well you could do without a filesystem, look at the operation of the Palm OS devices. Anyone could learn to use them. No files in sight! It's only recently that the clever engineers at Palm jumped off the deep end by adding a file system for the flash carts. Anyone who has ever used those knows what a nightmare managing them is.

    Aunt Ginny knows fsck all about file systems. Lets keep it that way.

    (Oh, and the answer in the context of user interfaces? Go for the most HUMAN representation. People are not very sensitive at all to upper/lowercase letters. We should not punish them for this.)

    Jouni

    --
    Jouni Mannonen | Game Designer, Consultant
    1. Re:Linux file system is OBSOLETE by heikkile · · Score: 2
      File system is an internal, abstract and archaic database that is familiar to programmers and geeks, but a lousy way to represent data for the general user.

      Just like democracy - it is a bad system likely to go even worse. Its only defence is that all the alternatives seem to much worse...

      --

      In Murphy We Turst

    2. Re:Linux file system is OBSOLETE by joto · · Score: 2
      For a wonderful example of how well you could do without a filesystem, look at the operation of the Palm OS devices.

      I disagree. I think the missing file-system on Palm devices reduces its usability a lot.

    3. Re:Linux file system is OBSOLETE by Kidbro · · Score: 3, Insightful

      People are not very sensitive at all to upper/lowercase letters.

      lEt ME asK yOu OnE thiNG jOUNI, arE yOu aBSoLuTElY SURe abOuT thAt?

      I know for sure that I am sensitive about it, and it really gets on my nerves when they're not used properly. Of course, people are different, but most [non 1337 script kiddies] people do care...

    4. Re:Linux file system is OBSOLETE by Jouni · · Score: 1

      Maybe I should have said that "Human understanding and perception is not very sensitive at all to upper and lowercase letters".

      After reading your sentence, no memory of which letter was upper case and which lower case remains. Your play with the shift key was nothing but noise in your message.

      Even though I can read your message, I am sensitive to the noise as well. The point here was more to indicate that the upper/lower case change itself is rarely used to convey important signals. Capital letters in the real world (1337-speak excluded) are used as cues for the beginnings of sentences and hints as to whether a word is a name or not. Rarely they break a sentence.

      However, if the use of capital letters (or lack thereof) stands between aunt Ginny finding her letter or not, the user interface design has taken a wrong turn and driven off the proverbial cliff.

      Jouni

      --
      Jouni Mannonen | Game Designer, Consultant
    5. Re:Linux file system is OBSOLETE by CvD · · Score: 1

      I am really curious what you are thinking of in terms of a replacement for a hierarchical representation with files and folders. You mention 'Recent Letters'... so when is a letter no longer recent? Where does it go then? And what is Aunt Ginny's OS gonna name those recent letters so that Aunt Ginny can differentiate between two letters that are in that folder?

      I totally agree with you, though, that if she can't find it because of upper/lower case that there is something wrong.

    6. Re:Linux file system is OBSOLETE by AlecC · · Score: 1

      Amen to this. Or, not so much obsolete as a bit of enginering infrastructure, like drivers and assembler, the then user doesn't want to, and shouldn't have to, see.

      Name is probably the last sort field that people want. I have difficulty remembering the names I gave to ad-hoc files such as WP documents. This contrasts with my use as a Java programmer, where I have to use precise and definite file names. The two uses are completely different - even for a geek. And as for Auntie, she wants to see her documents by date, by addressee, by sender, by free-format constext search... By anything other than the arbitrary name she (or the sender) gave it and forgot.

      Yes, the tools we have for indexing by all those fields are not as good as they could be. But that is no excuse for not trying to improve them.

      --
      Consciousness is an illusion caused by an excess of self consciousness.
    7. Re:Linux file system is OBSOLETE by Jouni · · Score: 1

      AlecC gave some pretty good examples below.

      Basically anything that can tie the letter to a human context is good. Since we live (and die) by the clock, even simple journaling can make finding documents easier. The system forcing you to invent an arbitary name for your creation at the point when you are closing the books is just plain silly. It's no wonder we end up with names like "letter.txt" or "foobar.txt", both equally weak in hooks for the memory.

      It's amazing we live in 2002 and most email clients still don't properly thread our discussions!

      A big help would be if computer interfaced turned from tool-oriented to task-oriented use; you wouldn't be starting up a program to open a file, but rather choosing the task you were working on and the rest would be implicitly remembered by the system. Completed tasks would be archived (and indexed by context for easy searching) while active tasks would always give you the shortlist of _links_ to what you are/were doing. The programs you use will look more like web pages, and the tasks become like favorite links into the program. The software would always resume the state you left it in when doing your task.

      In fact, aunt Ginny would never have to understand she was launching different programs either. What's a program, anyway? A set of instructions for the *computer* on what it should do to enable people do their tasks. Why should aunt Ginny know? Why should she care?

      The web has beautifully hidden a lot of this complexity away; the programs (server applications) and clients (browsers) are completely abstracted from each other. When discussing in this forum I do not need to spend thoughts on the SlashCode running on the server. The server lives a life of its own and remembers me when I come back.

      The file system is really just a big binary database, there's little need for anyone besides programmers and the occasional geeky admin to access things on this level. I do wish that the system did even some basic auditing on A) what type the files were and B) which components they associate with (so they can be appropriately abstracted away) when things are loaded on to the system. The system should know what's there, and why. The interface should make use of this information to better serve the people.

      Right now we are constructing giant binary junkyards instead of binding the data into any sensible shape or form. Google help us.

      Jouni

      --
      Jouni Mannonen | Game Designer, Consultant
    8. Re:Linux file system is OBSOLETE by El · · Score: 2

      Exactly which Linux file system are you refering to? Last time I check, Linux supported at least a dozen different file systems, including ones that mimic the silly behaviours of OS/2, Windows, and Macs...

      --

      "Freedom means freedom for everybody" -- Dick Cheney

  22. Simple (should be) by waylander · · Score: 1

    Develop/modify reiserfs or ext2/ext3 or whatever filesystem to be case in-sensitive. You could have it preserve the case, but check both case possibilities when looking up & creating files. Make it an option in the filesystem module.

    As for the people who keep saying "it's unix we shouldn't change it", well, just keep running your filesystem and you don't have to worry about it. Don't support the development of the extras. Don't whine when the PHB says "you gotta use what everyone else uses so here's your Windows CD".

    --
    John Kramer
    God may be my co-pilot, but the devil is my backseat driver.
  23. how stupid. by BigChigger · · Score: 0

    If this is the most intellectual "should Linux..." question out there...may God help us.

    A a

    How hard is that?

    BC

  24. But English isn't actually used that way... by hackwrench · · Score: 1

    Nobody names a school, "School". A school is names "Riley Public School" or "Claypool Public School" If I see just School, I consider that it is likely that the person just made a mistake...which happens more frequently than some people seem to realize.

    1. Re:But English isn't actually used that way... by tommck · · Score: 2
      OK, replace the word...

      Some people call wisened leaders Elders. As a title, the word is capitalized. So, "elder Tom" means the older of two Toms and "Elder Tom" means the Elder named Tom.

      The church" on the corner is a building...
      The Church is the organization/establishment (i.e. "The Catholic Church").

      T

      --
      ---- It puts the lotion on its skin or else it gets the hose again. It does this whenever it's told.
    2. Re:But English isn't actually used that way... by Dimes · · Score: 1

      Ok, not School....bad example...some better ones:

      red == a color
      Red == a person(name)

      He went to the john. (bathroom)
      There goes John. (person)

      general
      General

      Fucker
      fucker

      Lots of differences.....but if you are still in favor...then maybe we should start internally coding the century as a 2 digit number...cuase hell, these computers are gonna be gone by the time is the next century and such a complicated thing for users to deal with.

      dimes

  25. Not a troll.. by TheTomcat · · Score: 2

    I'm actually a bit nervous posting in this thread, because the whole thing reeks of flamebait, but:

    What about a common toolkit (common-dialogue) system that automagically lower-cases all filenames when entered in the common dialogue?

    ie, if KDE/QT or GIMP/GTK+ automatically lowercased any filenames saved or loaded through its common file-loading dialogues.

    This would have to be easily turned off, but would solve the problem for most non-power users, while other users could turn it off, and never have to deal with it again.

    Just an idea.

    OTOH, people are probably already somewhat used to this. If I go to http://slashdot.org/CoMMenTs.pL, I get a 404.

    S

    1. Re:Not a troll.. by Stary · · Score: 2
      OTOH, people are probably already somewhat used to this. If I go to http://slashdot.org/CoMMenTs.pL [slashdot.org], I get a 404.

      yes, but not if I go to http://sLaShDoT.OrG. And really, how often do "people" (as in average users) type in something more complicated than www.cnn.com?

      --
      Tomorrow will be cancelled due to lack of interest
  26. Big question... by inkfox · · Score: 2
    My big question is - when have case-sensitive filenames ever worked to your advantage?

    I like the system "correctness" of different ASCII values being treated differently. But the practical value escapes me.

    That said, a large number of systems would break if the scheme changed. Given that most users use GUIs and rarely actually type names, is there a good reason to switch at this point? The few places where I see a true advantage (Windows compatibility, for example) have already handled this at the application layer.

    --
    Says the RIAA: When you EQ, you're stealing bass!
    1. Re:Big question... by Anonymous Coward · · Score: 0

      How about different locales? Different locales consider different letters the same.

      => ÖÄö and ÖÄÖ could be distinct names with some locale and same with other => if you open archive with those files you could be left with only one file when the second one overwrites the first.

    2. Re:Big question... by Anonymous Coward · · Score: 0

      Can you give an example for two locales behaving that way? AFAIK unicode handles case information independent of locale information.

  27. .inputrc by ntr0py · · Score: 2, Informative
    Special shells for novice users, that can simplify much of the complexity may be the way to go, here.


    Just put this:
    set completion-ignore-case On
    in your ~/.inputrc. Tab-completion will then ignore case.
    1. Re:.inputrc by Anonymous Coward · · Score: 0
      Are you sure you don't mean:
      set completion-ignores-case on
      This is why case-sensitivity is bad. Yeah, they look different, but "On" and "on" are the same.
  28. Re:Well, it's not like the OS chooses case for you by Dephex+Twin · · Score: 1, Troll
    Correct me if I'm wrong, but doesn't Aunt Ginnie have to actually hold the Shift key, or press Caps Lock, in order to get anything beyond "letter.txt"? Therefore, can't it be assumed in the case of Letter.txt that she did it on purpose? Sure, I'll agree that the case of LETTER.TXT is probably a user who put capslock on and forgot about it. But why deny her the ability to express herself the way she intended, if that's what she intended?

    Who is stopping her from expressing herself the way she intended? On my Mac, if I type "Letter.txt" or "lETTEr.TxT", it is preserved and displayed in this manner. But if I want to find this file and I look for "letter.txt", the computer isn't going to tell me there isn't any. Or if I try to name one file "letter.txt" and another "letter.TXT", it won't let me put them in the same directory. So while you can try to make the argument that "grannie should be able to express herself" (ignoring that she can still name the file how she wants), I don't see how 9999/10000 grannies getting confused by "letter.txt" and "Letter.txt" being considered different is the most important thing to preserve.
    My solution is for the OS to ignore the caps lock key. Not only would it solve the case problem, but it would shut up a whole lot of AOL users.

    This would not help. I think you are talking about your own pet peeve about people writing in all caps in chats and emails. The subject at hand is the file system.
    mark
    --

    If you want to make an apple pie from scratch, you must first create the universe. -- Carl Sagan
  29. Aunt Ginney won't care! by zulux · · Score: 3, Insightful

    It's not like your aunt is going to use Emacs - she'll just point and click with whatever graphical software she is using.

    Leave case sensitivity alone - it's the right thing to do, just hide any ease-of-use problems it may introduce with a GUI.

    That keeps the smart people happy, and the dumb people happy. We're all happy!

    --

    Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

    1. Re:Aunt Ginney won't care! by ceejayoz · · Score: 2

      It's not like your aunt is going to use Emacs - she'll just point and click with whatever graphical software she is using.

      What about when she saves a file as "Letter.txt" when there's already "letter.TXT" in the directory? It'll let her do that, but the fancy GUI isn't going to tell her which one is which when she goes to open them later.

    2. Re:Aunt Ginney won't care! by zulux · · Score: 2

      What about when she saves a file as "Letter.txt" when there's already "letter.TXT" in the directory?

      The Gui should politly as her for a diferent name.

      All OS level tools and services expect diferent names to be, well..., diferent. This is correct behaviour. If a particular application has users that can't handle this behaviour, then the application itself should deal with it.

      And, thats assuming that people are too suupid to make the disctinction that "Letter.txt" is diferent than "lETTER.TXT" - I don't make that assumption about my users and they are happy. Maby, I've just gotten lucky to have useres with an IQ greater than a worm.

      I've always deplored the way GUI designers attempt to hide difficult aspects of computing with gloss - "My Documents" and "My Network Places" get in the way of undrestanding and mastery. They look good in theory, because the GUI concepts help a new user - but the cause all sorts of brain damage down the road. The poor user starts to think that there are two places where their documents are stored - c:\documents and crap\users\some hidious directory\user #2\my documents" and "My Documents".

      Evil.

      My useres are happy to know that their documents are "/home/user/" Bing. Done. End of story. Takes ten seconds to explain, and dosen't cause a headache.

      --

      Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

    3. Re:Aunt Ginney won't care! by Kredal · · Score: 2

      woah woah woah... aren't my documents also in the "~" directory?

      I coulda sworn I saw them there. (:

      --
      Whoever stated that signature sizes should be limited to one hundred and twenty characters can just go ahead and kiss my
  30. I vote vor consistency by linuxwrangler · · Score: 2, Insightful
    And probably, reluctantly even after years of *nix use, for case insensitivity.

    As Donald Norman has commented, if lots of people use something incorrectly there is probably a problem with the design, not the people. I will admit to having on more than one occassion typed "less readme" instead of "less README" or scrolled through a file listing and overlooked a file that was sorted elsewhere due to capitalization.

    Even worse is the fact that subparts of an item follow different rules. For example:
    http://slashdot.org/index.html == http://SlashDot.ORG/index.html
    due to required case-insensitivity of domains,
    http://slashdot.org/index.html != http://slashdot.org/Index.html
    unless the underlying OS/web/app-server chooses to interpret them as equivalent.

    As some have commented, everyone sees a difference between joe doe, Joe Doe, JOE DOE and jOe doE but they all know that in every case we are referring to the same person. In fact many places standardize on all-caps for the family name in forms and documents to reduce errors.

    To those who say that the problem should be solved on the application level: consistency is good - a user should not have to remember the quirks of each application. Even if one is a slave to point-and-click GUIs there are problems created by sorting and the possibility of multiple files with the "same" name.

    Windoze is also brain dead. Although it is case insensitive, it also changes the case of file names in one of its many misguided attempts to "help" the user.

    My preference would be to have the OS keep the filename in whatever form of caps/lowercase that I choose but to treat files in a case-insensitive manner.

    --

    ~~~~~~~
    "You are not remembered for doing what is expected of you." - Atul Chitnis
    1. Re:I vote vor consistency by Ster · · Score: 2, Informative

      [QUOTE]
      My preference would be to have the OS keep the filename in whatever form of caps/lowercase that I choose but to treat files in a case-insensitive manner.
      [/QUOTE]

      HFS, the file system used for all versions of Mac OS, does this. I think this is generally referred to as "case perserving but insensitive". Mac OS versions from 8.6 on also support HFS+, which adds support for longer filenames and other stuff. Mac OS X can also use UFS, which is fully case-sensitive.

      -Ster

    2. Re:I vote vor consistency by JHelgie · · Score: 1

      "Windoze is also brain dead. Although it is case insensitive, it also changes the case of file names in one of its many misguided attempts to "help" the user."

      in win98, it only changes FOLDERS that are typed completely in caps, it doesn't EVER change the names of files. Also, even if it does change folder "ABC" to "Abc", doing a search for "ABC" still works(even though "find" actually changes this to "abc".

    3. Re:I vote vor consistency by geekoid · · Score: 2

      Say I need to file a name Joe Doe, and an anacrynym
      Jave Object Enterprise Dept. Of Energy. they both need to be in the same directory, Joe Doe being the tech lead, now what do I do?

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  31. Captialization DOES matter by Anonymous Coward · · Score: 0

    If you don't believe me, pronounce these 2 words:

    polish Polish

    See?

  32. Snappy answers to stupid questions by Anonymous Coward · · Score: 0
    Q: Should "B" be the Same as "b"?


    A: No. Next question.

  33. You're trying to protect people from themselves by twoflower · · Score: 2

    This boils down to you're trying to protect people from themselves -- and it won't work, because it can't.

    Why assume people are idiots? Why not assume they'll be able to tell the difference between upper and lower case letters? The only reason case equivalency is intuitive is because it's what the system they currently use does it that way.

    --


    --
    Twoflower
    1. Re:You're trying to protect people from themselves by night_flyer · · Score: 2

      Why assume people are idiots?

      Outlook viruses... need I say more?

      --


      Thanks to file sharing, I purchase more CDs
      Thanks to the RIAA, I buy them used...
    2. Re:You're trying to protect people from themselves by unDiWahn · · Score: 1

      A lot of people that linux is _attempting_ to target are previous win32 users?

      So we could be making it easier for them to jump onto the bandwagon.

      Alternatively, it really does make things easier. Looking through LETTER.TXT and Letter.txt and so forth can make it harder to figure out which one it is your really want. (I know, just don't name them that in the first place). Consider you go to re-save an old document, but accidentally capitalize the first letter this time -- now you have two copies that are very similar in name, and might end up using the old version by accident.

      Case sensitivity, in a purist sense, is good.
      Case sensitivity, in a realistic sense, can be a hinderance.

    3. Re:You're trying to protect people from themselves by xTMFWahoo · · Score: 1

      But that is the point- most people are, sad to say, not that observant and will just get frustrated with case-sensitivity. I have a hard enough time trying to get my grandmother to even use a mouse. She still can't comprehend the whole "I need to click to put the focus on a textbox".
      Granted I think our generation is able to pick up computers a bit easier.

      --
      "Patriotism is supporting your country all the time, and your government when it deserves it." Mark Twain.
    4. Re:You're trying to protect people from themselves by ceejayoz · · Score: 2

      Why assume people are idiots?

      You haven't worked tech support, have you?

  34. Bad Idea... by Anonymous Coward · · Score: 0

    The only shell feature I miss from my Amiga days is being able to type the name of a directory to change to said directory.

    Otherwise, your suggestion is nothing more than dumbing-down the filesystem in order to cater to the mental laziness which is dangerously prevalent in the world today.

    "Rather than educating people, let us rather cater to their ignorance."

    Rather like increasing age limits on drinking and such, rather than encouraging people to grow the fuck up sooner rather than later.

    Yes, by all means...let's be as stupid as we can be. Let's all piss in the gene pool.

    1. Re:Bad Idea... by 1015 · · Score: 1

      > The only shell feature I miss from my Amiga days is being able to type the name of a directory to change to said directory.

      The first thing I miss is the ASSIGN command. That was one heck of a good feature!

      Assign, for those that don't (know|remember), assigns a name to a set of arbitrary directories. Like, say "ls bin:" lists (and locates files in) both /bin, /usr/bin, /usr/local/bin etc. etc transparently to all applications.

      [Also nice, but way offtopic: a resetsafe ramdisk - something I haven't seen on PCs for ages.]

      Besides, the case-sensitivity thing should not be something religious but something you can choose if so you desire. After all, having Linux is about having a choice for the OS - so why not have a choice for the FS, too?

    2. Re:Bad Idea... by Anonymous Coward · · Score: 0

      You say this and then you walk outside in sweatpants and an Akira T-shirt and don't see why "trendy" people should look down on you for dressing that way. What, is it so hard to educate yourself on trends? Or maybe you just don't want to waste your time and money because you don't really care about it, you just want clothes to cover your body.

      Get this... some people don't give a shit about computers, and educating themselves on pointless syntactical bullshit would be considered a waste of time!

      Can you even comprehend that?

  35. Can I have such a grandma by too_bad · · Score: 1

    who can use emacs and worries about case! ;)

    --
    DO NOT PANIC
  36. Ayn Rand said it best by Anonymous Coward · · Score: 0
    "A" is "A"

    Just like how "less is more". less is not more. If it were more, it would be called "more".

    Must be a slow news day.

    1. Re:Ayn Rand said it best by Anonymous Coward · · Score: 0
      Ayn Rand said it best (Score:0)
      by Anonymous Coward on Mon Aug 12, '02 02:11 PM (#4056055)
      Just like how "less is more". less is not more. If it were more, it would be called "more".

      That illustrates the trouble you have with understanding the capitalization question. Instead of understanding what is meant by that statement, you get caught up in semantics.
    2. Re:Ayn Rand said it best by Anonymous Coward · · Score: 0

      Woooosh

  37. That's beside the point.. by hackwrench · · Score: 1

    besides if someone wanted to market a "Polish Polish" the first letter of both words would be capitalized.

  38. Passwords by Bastian · · Score: 2

    Correct me if I'm wrong here, but that would mean that passwords should be case-insensitive, too. This problem is even worse on passwords, where one isn't given a list to choose from and actually has to memorize the case of characters.

    Personally, though, I think that's a bad idea. The little piece of BOFH in me says any user who can't remember letter case has a lot of learning to go through before they should be allowed to use an expensive piece of equipment such as a computer, and the case-sensitivity of passwords is an excellent automated way to ensure that this is in fact what happens.

    1. Re:Passwords by Stary · · Score: 1
      Correct me if I'm wrong here, but that would mean that passwords should be case-insensitive, too.

      So every piece of the system is supposed to equal password-level? Okay, so every filename must also be at least 8 characters long, have caps, non-caps, digits and some other characters in it.

      [user@host]$ ls
      ReaD-Me67
      coNF%#iGu26re
      MaKe+558FiLE
      ...

      And while we're at it, let's make sure that applies to all the menu items in MozIL%&$A347 and Gn_:66oMe#@*.

      I don't store my passwords as filenames (that'd kinda defeat the purpouse of it, wouldnt it?), so there's no reason that passwords need to be case insensitive just because files do - in fact, passwords should be hard to guess; filenames should be easy to guess. Notice any difference?

      --
      Tomorrow will be cancelled due to lack of interest
    2. Re:Passwords by Bastian · · Score: 2

      Please forgive me, maybe I made too large of a logical jump for some people.

      The implication wasn't that any rules that apply to filenames should apply to passwords, too. I was saying that, if people have a difficult time with the fact that 'foo' 'FOO' and 'Foo' are three different words in a filesystem context, it would seem that they would have similar problems with passwords.

      Only they don't.

    3. Re:Passwords by topham · · Score: 2

      Actually, people do have similar problems: when they give other people their passwords.

      Generally, passwords are a secret retained by the individual in limited quantities. It is not difficult for someone to remember wether or not they used upper case characters in their password. Typing passwords is partly about remember the letters in the password and partly about the motoskills to type the password. How many times have you realized you weren't sure of what letters were in your password, but knew if you had a keyboard in front of you you could type it.

      The moment you start exchanging information with someone the issue of case sensitivity rears its ugly head. The moment you access a file you created 4 years ago the issue of case sensitivity rears its ugly head.

      It isn't the file you accessed yesterday. Its the file you haven't accessed for 2 months. It's the file Joe own the hall sent you. Etc.

    4. Re:Passwords by Stary · · Score: 2

      My point was that there's actually a reason for passwords being a point of difficulty, while there's no reason whatsoever for keeping the filesystem difficult. In fact, there's no reason to think that a user would connect passwords to files - an average user would almost never type the name of an existing file - only new files.

      --
      Tomorrow will be cancelled due to lack of interest
    5. Re:Passwords by walt-sjc · · Score: 2

      There is still an assertion here that case sensitive file names is hard. This is just FUD. Bull crap. Horse hockey. I have NEVER EVER met anyone that can't handle the concept. My 80 year old dad can handle it, my 8 year old nephew can handle it, Every Single person I worked with can handle it (even people I consider too stupid to pour a glass of water.)

      IT'S NOT A PROBLEM.

      Can someone please point the /. community to the research which shows that people are unable to handle the concept of case sensitivity? Oh. There ISN'T ANY? Hmm.

  39. Hypocrisy by Dephex+Twin · · Score: 1
    iF yOU wROTE a lETTER tO yOUR aUNT gINNY lIKE tHIS wOULD sHE nOTICE sOMETHING wRONG wITH iT?

    What? You are speaking gibberish. Those aren't English words. But we CAN read it, can't we? Yes, we can notice the difference AND understand what it is supposed to say without weird text.

    I bet you spend half the time being rude like this when Aunt Ginny doesn't distinguish "letter.txt" and "Letter.txt". Then, when she asks "Is your email address pd@computer.net or PD@computer.net?" or "do I got to www.CNN.com or www.cnn.com?" you say, "Jeez, it's the same thing, get with it!"

    You're the one insulting people's intelligence if you think the problem is that they don't grasp the ability to even distinguish upper- and lowercase.

    mark
    --

    If you want to make an apple pie from scratch, you must first create the universe. -- Carl Sagan
    1. Re:Hypocrisy by PD · · Score: 2

      You're the one insulting people's intelligence if you think the problem is that they don't grasp the ability to even distinguish upper- and lowercase.

      You wouldn't know what an insult to intelligence was. By definition, it can't happen to you.

      My comment was in fact stating the very opposite of what you think it stated.

    2. Re:Hypocrisy by Dephex+Twin · · Score: 1
      You wouldn't know what an insult to intelligence was. By definition, it can't happen to you.

      Yes, I have an IQ of less than 1. I have no frontal lobe. Good point.

      Oh I'm sorry, I thought there was a discussion of ideas going on here. God forbid you should respond to the points I made.

      mark
      --

      If you want to make an apple pie from scratch, you must first create the universe. -- Carl Sagan
    3. Re:Hypocrisy by PD · · Score: 2

      God forbid you should respond to the points I made.

      That applies to you. Your first message in the thread was an obvious misunderstanding of the point I made. Why not make another attempt at a coherent reply to the actual point I was making?

    4. Re:Hypocrisy by Dephex+Twin · · Score: 1

      I would clarify if I felt like you were really interested in what I had to say about it. Oh, fine, I'll explain anyway.

      You seemed to make the point of "sHE kNOWS wHAT iS wRONG wITH tHIS", therefore, she should be able to tell the difference between different capitalizations in the file system, and we shouldn't assume they are dumb.

      My point was that even though the caps is all wrong, a person can still read what that sentence is trying to say. You know that "hELLO" is not technically a word, but that it means "hello". But, when a user is interacting with unix, and they type "Letter.txt" instead of "letter.txt", unix acts as though "Letter.txt" is absolutely non-existent (which is technically true), and ignores the fact that there is a "letter.txt" in that directory already, and that might be what they mean.

      Why should the user remember that capitalization does matter there? It doesn't matter for email addresses and (most) URLs.

      It's frustrating enough to try to remind an inexperienced computer user that they don't need to double-click web links and things like that. A lot of people are going to be confused by things like in unix like the file system, fair or not.

      And maybe that's fine... maybe you don't want to encourage the mainstream users to use unix. Because then you do have to deal with stuff like that.

      mark

      --

      If you want to make an apple pie from scratch, you must first create the universe. -- Carl Sagan
    5. Re:Hypocrisy by toast0 · · Score: 2

      domain names are case insensitive, however, usernames are often case sensitive.

      Also, in going with cnn as the example...
      http://robots.cnn.com/ALLPOLITICS/ shows all the political news... however http://robots.cnn.com/ALLPOLITICs/ shows 'not found'

      most portions of the url other than the domain name are in fact case sensitive, although this depends on the server running the resource.

      (slash may murder those links, but you should get the point)

    6. Re:Hypocrisy by PD · · Score: 2

      First of all, my rudeness to you is a response to your rude post. You seem to dish it out just fine, but when I throw that shit back in your face you cry foul. Who's the hypocrite?

      You seemed to make the point of "sHE kNOWS wHAT iS wRONG wITH tHIS", therefore, she should be able to tell the difference between different capitalizations in the file system, and we shouldn't assume they are dumb.

      There, you have correctly stated my point. You get a cookie.

      It doesn't matter for email addresses and (most) URLs.

      That's right, and they are broken. We've got to fix that problem right away. I'm serious.

      And maybe that's fine... maybe you don't want to encourage the mainstream users to use unix. Because then you do have to deal with stuff like that.

      Maybe you like to pull hypotheses out of your ass? Maybe you like straw men? Maybe that really IS a monster under my bed? Or maybe I never said that, I never implied it, and you just made it up.

      Don't join the Army. You'll have a very hard time if you try to interpret the Sarge's orders as loosely as you interpret what I write.

    7. Re:Hypocrisy by Dephex+Twin · · Score: 1

      That's kind of my point. It's pretty inconsistent overall. Basically it is "capitalization has to be exact. Except when it doesn't." I know one thing is the file system and the other is the Internet. But to the average user, it is all the computer.

      I just think if requiring consistent capitalization is really that intuitive or useful, why doesn't it bother unix-inclined folk that a good portion of the web is not case-sensitive? Or maybe it does.

      All I know is, I've had a number of friends try to do some basics with unix at school, and they try to type something, and I explain that what they are trying to do isn't working because the case is wrong, and the first thing they say is "why?" or "that's dumb." Deserved or not, I feel like it gets them started off on the wrong foot. Like "Welcome to unix. Prepare to be frustrated."

      Just my feeling on it, not everyone is like this of course.

      mark

      --

      If you want to make an apple pie from scratch, you must first create the universe. -- Carl Sagan
    8. Re:Hypocrisy by Dephex+Twin · · Score: 1
      You seem to dish it out just fine, but when I throw that shit back in your face you cry foul. Who's the hypocrite?

      Even if you disliked the tone of my original comment, there was a distinct difference between that and what you wrote in response. That difference was that my post attempted to say something in response to your idea. Your reply was just a cliché insult and a statement that I was wrong, and didn't mention a thing I wrote.
      Maybe you like to pull hypotheses out of your ass? Maybe you like straw men? Maybe that really IS a monster under my bed? Or maybe I never said that, I never implied it, and you just made it up.

      No, I wasn't trying to make a comment to shoot down. I really meant it as a possibility. Maybe you don't want mainstream people using unix. Maybe one doesn't, how about. There would be nothing wrong with feeling that way. There would be a lot of annoying things to deal with. I'm not sure how I would feel about it, really.
      Don't join the Army. You'll have a very hard time if you try to interpret the Sarge's orders as loosely as you interpret what I write.

      Well, since I consider the entire concept of the army to be very screwed up, and probably the last place I'd want to be, I'll take that as a compliment.

      We're obviously not really doing so well in the way of debate so let's just forget it. Neither of us is going to convince the other of ANYTHING at this point, I think we can agree on that.

      I didn't mean to sound originally so personally insulting.

      mark
      --

      If you want to make an apple pie from scratch, you must first create the universe. -- Carl Sagan
    9. Re:Hypocrisy by PD · · Score: 1

      Even if you disliked the tone of my original comment, there was a distinct difference between that and what you wrote in response. That difference was that my post attempted to say something in response to your idea. Your reply was just a cliché insult and a statement that I was wrong, and didn't mention a thing I wrote.

      Waaaaah! Mommy he yelled back at me!

      I didn't mean to sound originally so personally insulting.

      I think you did. Calling hypocracy is just about as bad as walking into a feminist convention and yelling out "Cu** and Bi***". It's not something that is done by accident.

    10. Re:Hypocrisy by Dephex+Twin · · Score: 1
      Waaaaah! Mommy he yelled back at me!

      What?
      I think you did. Calling hypocracy is just about as bad as walking into a feminist convention and yelling out "Cu** and Bi***". It's not something that is done by accident.

      Are you serious? Maybe it would be that bad if I were talking about your religion or something--

      OH! Wait, I get it.

      mark
      --

      If you want to make an apple pie from scratch, you must first create the universe. -- Carl Sagan
    11. Re:Hypocrisy by PD · · Score: 1

      At this point I am content to leave you in ignorance.

  40. Unix has it (almost) right by alispguru · · Score: 2
    In theory, you can give a Unix file a name of any arbitrary string of charcters. In reality, there are several characters that won't work, or will work at the raw file system level but be unreliable or plain broken above that. In rough order of obviousness, they are:

    \000 - Putting a zero byte in a filename will break any program written in C.

    '/' - A filename with an embedded slash will be unusable except by programs that walk directory contents very carefully.

    white space - Filenames with embedded white space work with most basic system commands, but will break shell scripts that aren't prepared for them (which means most shell scripts).

    --

    To a Lisp hacker, XML is S-expressions in drag.
    1. Re:Unix has it (almost) right by photon317 · · Score: 2


      Yeah most current software doesn't deal well with these as well as other control characters - but it's conceivable to make them work, by using wide characters and unicode-aware stuff in your C code, and maybe revamping a bash-variant to do the same. I'm pretty sure glibc has the right functions in there, just most people don't use them - they prefer to live in an ascii dreamland.

      --
      11*43+456^2
    2. Re:Unix has it (almost) right by Tux2000 · · Score: 1

      • \000 - Putting a zero byte in a filename will break any program written in C.
      • '/' - A filename with an embedded slash will be unusable except by programs that walk directory contents very carefully.

      Are you sure you can do this ? I'm nearly sure you can't, at least not without manipulating deep within the filesystem (hex editor). The libc and kernel APIs won't let you do this (at least, they shouldn't let you do this).

      • white space - Filenames with embedded white space work with most basic system commands, but will break shell scripts that aren't prepared for them (which means most shell scripts).

      Agreed. White space not only breaks shell scripts, but sometimes even applications. I remember rewriting large parts of midnight commander's config files because it could not handle white space. Those guys writing the mc simply forgot to use quotes in most external commands. I don't know if it's already fixed, I haven't updated my Linux for a long time.

      Tux2000

      --
      Denken hilft.
    3. Re:Unix has it (almost) right by gehrehmee · · Score: 3, Insightful
      white space - Filenames with embedded white space work with most basic system commands, but will break shell scripts that aren't prepared for them (which means most shell scripts).
      Unfortunately, any such script will break on alot more then just whitespace. Failing to catch this sort of thing is a bug in the script or application, not a shortcoming of the OS or filesystem.
      --
      "You know, Hobbes, some days even my lucky rocketship underpants don't help" -- Calvin
    4. Re:Unix has it (almost) right by pthisis · · Score: 2
      In theory, you can give a Unix file a name of any arbitrary string of charcters

      Umm, no.

      • \000 - Putting a zero byte in a filename will break any program written in C.
      • '/' - A filename with an embedded slash will be unusable except by programs that walk directory contents very carefully.


      These won't work at all. The filesystem forbids them.

      The comp.unix FAQ does address the case of an old, buggy NFS daemon that could be coerced to create a filename with a '/' in it, but Linux has never had such a thing at it was definitely a bug and not intended behavior.

      Sumner
      --
      rage, rage against the dying of the light
  41. What do Polish polish? by crosbie · · Score: 1

    Polish is one of the few words whose pronunciation can depend on the case of the initial letter... :-)

    Dunno, might be relevant?

    1. Re:What do Polish polish? by dutky · · Score: 2
      Nonesense, capitalization has nothing to do with it, only context is important. Consider the following sentence:
      Polish you shoes or there will be hell to pay.
      I'm sure you understood that perfectly well. It's all about context, not the case of the letters involved. Similarly, you can perfectly easily undertand the following:
      POLISH OFF YOUR POLISH SAUSAGE BEFORE YOU GET SECONDS.
      Again, caplitalization is meaningless, the context tells you which word is intended.

      All that said, capitalization or other letter-forms can carry more information in other languages than in English. Diacritics can completely change the meaning of a character (English speakers don't have this, but it is important in most other European langauges and vital in some asian languages).

      The question, really, is language specific, and is a real pain in the butt if you want to properly sort and compare strings for international usage. A related issue has to do with ligatures and glyph transformation in some middle-eastern languages: the same word can be spelled differently depending on it's position in a sentence or relative to other words.

      There is, unfortunately, no simple solution to these problems.

    2. Re:What do Polish polish? by crosbie · · Score: 1

      Ok smarty pants...

      How about these:

      "I think you'll find that product is polish/Polish"

      "Indeed, you'll find the polish/Polish quite difficult to work with in the winter"

      "These foreign cobblers are excellent salesmen despite their overuse of polish/Polish"

    3. Re:What do Polish polish? by dutky · · Score: 2
      Yeah, yeah, and "We sent our daughter to a pretty yough girls school." So you've shown that you can construct pathological cases of English sentences that demand more than one sentence of context in order to be fully understood. My point, however, stands: The word "POLISH" does not depend for it's meaning on the capitalization of the first letter (or any other letter, for that matter), otherwise, you couldn't use it, meaningfully, as the first word of a sentence. Capitalization, in English, bears very little relation to word meaning.

      That said, however, the conceit that capitalization is either vital or useless for word meaning is an entirely parochial prejudice. Rules that work well in English may be entirely wrong for another language. If we are going to talk, usefully, about how to manager the sorting and comparisson of file names, we need to consider more than just English usage.

    4. Re:What do Polish polish? by crosbie · · Score: 1

      Nevertheless, the capitalisation of the 'p' in these cases provides such an indispensable cue for the pronunciation of the word that to say it doesn't, and that it is only context that affects pronunciation, is like saying that vowels are redundant, e.g. 'Slshdt - Nws fr Nrds. Stff tht mttrs'.

      Many languages have strength from their redundancy, and errors can thus be corrected from context. Removing or discounting an aspect on the justification that it's redundant impairs or insults the language. Even programming languages have redundancy, e.g. let x=5. vs x=5.

      You try reading legal contracts where all capitalisation and punctuation has been removed! The perverse argument is that this removes ambiguity or confusion.

      There's always a tendency for techies to make life easier for themselves and exploit the redundancy of the information they process. But that doesn't make it valid to do so. In an ideal world filenames should have been handled properly, i.e. unicode, locale based sorting and matching, punctuation, case retention, etc. Just as dates should always have been recognised as not limited to 2 digit years.

      One of the oldest examples of techies cutting corners was probably the authors/scribes of the Bible deciding to take advantage of the vowel-free, shorthand version of their written language (Aramaic?). Still causes arguments about interpretation even today...

    5. Re:What do Polish polish? by AlecC · · Score: 1

      Capitalisation, like punctuation, is simply an aide to reading. Shakespeare wrote all his play using only one punctuation element: the full stop. We find it useful to add extra forms of punctiation to give cues to the reader as to how the sentence should be read. Capitalisation does the same thing. Maybe you could regard it as an amplifier for they (small and easily overlooked) full stop.

      Because capitalisation is only really a hinting system, we could do without it. But we could do without a lot of things that make life easier. Why use elevators when you have to have stairs? Why total you checks with a calculator when you can use pen-and-paper? Because it makes life easier - for humans.

      But capitalisation, like punctuation, does nothing for computers. Therefore I think elements, like filenames, entended to be understood by computers rather than just carried around, shoudl be case independent.

      --
      Consciousness is an illusion caused by an excess of self consciousness.
  42. Re:Well, it's not like the OS chooses case for you by Yottabyte84 · · Score: 1

    I remap my Caps Lock key as an extre Control key.

  43. Windows doesnt care. by BenTheDewpendent · · Score: 2

    Windows doesnt care what the case is 'B' is the same as 'b'. your aunt shouldnt be using unix.

  44. I think it should be changed by madcoder · · Score: 1

    Why should Info.txt and info.txt be treated as different files.

    What would be the point of creating two files with same name but with a different case.

    --
    A good sig is hard to find - me
    1. Re:I think it should be changed by jbolden · · Score: 1

      I'll give you a great example on Unix that actually effects me. .txt is used by Dos convention to mean a human readable ascii text file. .txt is used by the Xerox OS to mean the text data file which makes callouts to the style sheets).

      You want files organized so that the names stay the same: XYZ.dat, XYZ.txt, XYZ.sty, XYZ.ps, XYZ.afp, XYZ.pdf, etc... so what you need to do is something like XYZ.txt = output file (ascii version of XYZ.ps) and XYZ.TXT = input to the composition system.

      When an end user clicks on the wrong file they can tell pretty quickly which is which:

      ____
      XYZ.txt:

      Dear Mr. Jones,
      We received your check for $230.47 however.....

      ____

      XYZ.TXT

    2. Re:I think it should be changed by jbolden · · Score: 1

      The end got cut

      I'll give you a great example on Unix that actually effects me. .txt is used by Dos convention to mean a human readable ascii text file. .txt is used by the Xerox OS to mean the text data file which makes callouts to the style sheets).

      You want files organized so that the names stay the same: XYZ.dat, XYZ.txt, XYZ.sty, XYZ.ps, XYZ.afp, XYZ.pdf, etc... so what you need to do is something like XYZ.txt = output file (ascii version of XYZ.ps) and XYZ.TXT = input to the composition system.

      When an end user clicks on the wrong file they can tell pretty quickly which is which:

      ____
      XYZ.txt:

      Dear Mr. Jones,
      We received your check for $230.47 however.....

      ____

      XYZ.TXT

      <#TITLE=Mr>
      <#LNAME=Jones>
      <#LTYPE=bounced>
      < #AMOUNT=230.47>

  45. Re:Flame-baitey POST by fingal · · Score: 1
    It's things like this that make writing supposedly cross-platform java code a nightmare. The number of times that people introduce subtle bugs that are a nightmare for people to debug by assuming that filenames are case insensitive or that the path seperator is the "\" character...

    actually I'll rephrase that, its folk making assumptions like this (or just having a lazy day) that make maintaining cross-platform code on a different platform to one that the developers had access to a nightmare...

    --

    The only Good System is a Sound System

  46. interesting sig by Anonymous Coward · · Score: 0

    But Google only finds it on one site on the web and theirs contains the same misspelling of 'atheists' as yours. Can you give a reference as to its origin?

    1. Re:interesting sig by Anonymous Coward · · Score: 0

      Just Google it with proper spelling and links will abound. George Sr said it once in an interview with a reporter. Intolerant bastard. :)

    2. Re:interesting sig by Anonymous Coward · · Score: 0

      hah :) I had memorized it and made a typo.. thanks..

      posting as anon because it's off topic..

  47. Re:Well, it's not like the OS chooses case for you by splume · · Score: 1

    You are correct, she isn't going to open up a shell window, but consider this: What if she is using KDE, and had worked on a document in the past called cookbook.txt, then later comes back to work on it again and goes to save as (Because she is confused about the difference between save and save as, because at least with save as she gets a box to type in the name) and she types Cookbook.txt accidentally because that is what she thought the file was called? Well, then later when she goes to open it up again, she becomes confused and doesn't know which one is which, and we all know that will lead to a telephone call to first) the family geek, and second) tech support.

    --

    Who is John Galt?
  48. Distinguishing 'Letter.txt' and 'LETTER.TXT' by Anonymous Coward · · Score: 0

    I do however have a hard time to see how aunt Ginny will ever be able to distinguish between her 'Letter.txt', 'LETTER.TXT' and 'letter.txt' files.

    Perhaps in a similar way to how she distinguishes 'Letter.txt' and 'Letter .txt'? If she has to name her letters that way, it will require something more sophisticated than just case insensitivity to completely avoid mistakes.

  49. Cygwin by newton34 · · Score: 0

    Cygwin handles filenames in a uppercase method.

    --
    look my sig changes!!! nrrt mf oci jdabi.o!!! z..a ir kot gh-ntbk{{{
    1. Re:Cygwin by Kredal · · Score: 2

      What's the end of your sig say? Read my sig to see my feelings on the subject. (:

      --
      Whoever stated that signature sizes should be limited to one hundred and twenty characters can just go ahead and kiss my
  50. Linux isn't case sensitive... by Captain+Pedantic · · Score: 1


    but filesystems are.

    If you make Aunt Ginny's home directory on a FAT formatted partition she wouldn't have these problems. Of course, she would have others but that is a different ask /.

    Now, case sensitivity is generally only an issue at the shell. Surely she is using a GUI, and if so has its file manager been set up to list files case insensitively? It should.

    --

    None are more hopelessly enslaved than those who falsely believe they are free. Johann Wolfgang von Goethe.
  51. Don't Dumb Down by nuggz · · Score: 2

    I agree, why would we want to dumb it down?
    It would be less functional not more.

    Also notice it is "make it like what I used to have" rather then just suggesting making it case insensitive, seems like it is laziness, not a well thought out reason.

  52. News for nerds, stuff that matters by bafreer · · Score: 0
    News: no
    Stuff that matters: no
    Massive Discussion: you know it!

    Sometimes the most cut-and-dry questions lead to the best discussions

  53. Re:Well, it's not like the OS chooses case for you by macdaddy357 · · Score: 1

    Just get Aunt Ginny a Web TV. She has no business using a real computer. Computers are for the techno-elite, not the masses. Unix should remain confusing and complicated, so those who can use it will continue to appear to be performing magic. ;b

    --
    How ya like dat?
  54. Re:Well, it's not like the OS chooses case for you by Cy+Guy · · Score: 2

    On my Mac, if I type "Letter.txt" or "lETTEr.TxT", it is preserved and displayed in this manner. But if I want to find this file and I look for "letter.txt", the computer isn't going to tell me there isn't any.
    In this circumstance the OS doesn't have to enter into the equation. Since what you are referring to is the search program, which is distinct from the OS. A search program could easily be programmed to default to being case insensitive (as the search in Windows is) and only discriminate on case when selected by the user.

    Or if I try to name one file "letter.txt" and another "letter.TXT", it won't let me put them in the same directory.

    Again, this could be addressed in the interface rather than the OS. Remember that with 32 bit Windows systems all files have three names, their long file name, their case sensitive long file name and the DOS (8.3) file name. As far as the OS is concerned you could get by with just one of these, the rest are just interface enhancements (I think that the OS in fact does this ignoring two of the name forms and using the third as the basis for locating files on the physical drive - the actual work of the OS.)

    So really the question is could a *nix SHELL be created that is case insensitive, and could *nix file utilities be set to be case insensitive by default. And the answer to both of these questions is YES and YES, and the source code is out there should there be someone with sufficient interest and skill. You wouldn't the OS itself (i.e. the kernel) to be case insensitive as it would only remove capabilities and slow it down.

  55. I bet... by Anonymous Coward · · Score: 0

    ...that all you ubergeeks who think that only a foolish mortal would ignore the difference between "Foo.txt" and "foo.txt" didn't notice that you are ignoring that there should be a "ü" instead of a "u" when you write "Übergeek". And that really DOES change the meaning and pronuncation of a word. I bet you also like to use words that make you sound smart like "schadenfreude" and "weltanschauung", but ignore the fact that these words are supposed to be capitalized, as they are German words and are nouns! This is how German works.

    Oh, but those things aren't important to you, because you aren't anal language freaks.

    Well guess what, some people aren't-- and don't even want to be-- computer freaks!

  56. Re:Well, it's not like the OS chooses case for you by Anonymous Coward · · Score: 0

    "As long as she can point and click she can find and open her letter regardless of how its named"

    Only if the program be used opens the same directory that it always saves to (ie My Documents or whatever). Otherwise, "I saved it, where did it go?"

    Using any kind of search function is too much for too many :-(

  57. Also Democrat and democrat by NetWurkGuy · · Score: 1

    and Republican and republican.

    Besides, the greater problem are those folks who type "o", (oh), for zero and "l", (ell), for one.

    It would be best to firmly establish consistently in all cases that distinguishable characters are indeed different and not interchangeable.

    --
    "Obtuse Anger is that which is greater than Right Anger" - Lewis Carroll
  58. ASCII Centric by Detritus · · Score: 2

    What about non-English languages? What about accented characters? It seems to me that an internationalized version of case-insensitivity could be very complicated and inconsistent.

    --
    Mea navis aericumbens anguillis abundat
    1. Re:ASCII Centric by Anonymous Coward · · Score: 0
    2. Re:ASCII Centric by ccwf · · Score: 1

      The situation is actually even more complicated than that report indicates. The report does cover the problem of ß/ss both being captilized as "SS". (An oft-cited problematical example is "Maße" and "Masse", which are distinct words with different meanings, but which are both usually uppercased as "MASSE".) However, it doesn't cover the fact that "Maße" is sometimes uppercased as "MASZE" (depends upon dialect and formality), and I have also seen a few Austrian documents with "Masze" uppercased as "MASSE". What happens if these words are used in filenames under Windows? Arguably erroneously, Windows will allow a file "MASSE" to co-exist in the same directory with "Maße" even though it differs only in case (and it will even allow a file named "Masze" to exist that directory, too).

  59. Re:Well, it's not like the OS chooses case for you by Dephex+Twin · · Score: 2

    But when it is represented inconsistently, people will get confused IMO. You're right about how the search program could be case insensitive. But what if someone writes a file and names it "letter.txt", intending to overwrite the original file, which they happened to have named "Letter.txt" before. The file is saved, and now there is "letter.txt" as well as "Letter.txt" in that directory. Maybe the application accounts for this as well. But every single hole to the "real" UNIX filesystem has to be patched up, and the user has to be shielded from ever finding it.

    Not a horrible situation (as you said, DOS+Windows works that way), but IMO not the best situation. I think a case-preserving (only) system would be the best, because it is much easier to use for the normal person, and it would mean this case-issue would be consistent system-wide.

    And what is lost? It may be difficult to convert everything over, which is not to be ignored. But just talking theoretically, how is this a worse filesystem (eg what is the advantage to having "Aaa.txt" exist in the same directory as "AAA.txt")?

    mark

    --

    If you want to make an apple pie from scratch, you must first create the universe. -- Carl Sagan
  60. The big issue by willpost · · Score: 1

    This is part of the big debate about UNIX/Linux empowering the programmers and confusing the others.

    The following is a simplified answer:

    From what I can tell most users desire only to fit within the computer community and learn one way of getting things done. Debates on subjects that they have no time or patience for will only confuse and anger them. They need to be led. Apple and Microsoft have done well at fulfilling this need. Apple does it in style on premium hardware configurations, and Microsoft approaches that level using cheaper hardware for the masses. Both organizations even have a specific leader with their own vision.

    UNIX and Linux are different. They're for individuals who have the time and patience to examine all the ways of getting something done on a computer and decide for themselves. They prefer to pave the way towards their own goals and visions. This also explains why they tend to question and debate methods and sometimes rebuild things from scratch.

    While there are exceptions within each case, it can also be stated that one can only focus on specific things in life and not every thing. Who could deny that the scarcity of time is the major cause for ignorance.

    1. Re:The big issue by Anonymous Coward · · Score: 0

      > From what I can tell most users desire only to fit within the computer community and learn one way of getting things done.

      You're half right.

      Most users have *no* desire to "fit within the community"; what they desire is to learn the easiest way to get their work done. Once that's done, that's the preferred way.

  61. What about the Aunt Ginnies? by Vuarnet · · Score: 1

    Please! Wont someone think of the Aunt Ginnies???

    --
    Tongue-tied and twisted, just an earth-bound misfit, I
    Learning to fly, Pink Floyd.
  62. Case insensitive by Anonymous Coward · · Score: 0

    People have been sorting text alphabetically since WAY before computers, and sorting it case-insensitively. The only reason "A" and "a" don't sort as the same letter is because when ASCII was designed someone arbitrarily decided to put "A-Z" and "a-z" as they are rather than "interlaced". It makes neither type of sorting "right" or "wrong" but there is a strong precedent for case-insensitive sorting in the "real world". Techies who complain that people should just get used to the way computers do things forget that computers are supposed to be tools to help us do things easier.

  63. This post is incompatible with reason. by Tom7 · · Score: 2

    I think Ayn Rand would disagree .

    1. Re:This post is incompatible with reason. by Anonymous Coward · · Score: 0
      I think Ayn Rand would disagree
      ayn rand is an idiot
  64. To rephrase the question.... by Dannon · · Score: 2

    Two 'b's, or not two 'b's?

    --
    Good judgment comes from experience.
    Experience comes from bad judgment.
  65. Absolutly by vidnet · · Score: 1

    "B" should be treated the same as "b". It's confusing to the newbies. It's hard to understand that "Letter.txt" and "letter.txt" are two different files, this issue should be taken care of.

    Also, if you're a slashdotter like me, you spell pourly. To me, it's really hard to figure out why "leter.txt" doesn't open the file I want, resulting in four hour debuggings. There should be built in spell checking!

    And what's with ".txt"? All the letters I write are text, so I'll drop the extention or use something I can understand. Like "to mom". Hmm. Better make that "to mom about new laundry detergents" so I remember what it's about. Argh. Now it's too long. And I certainly can't spell it. Fortunatly, our spell checker will sort it out using intelligent substitutions.

    Me: "ram for slashdotted server"
    Bash: "rm -fr / ..."

  66. The way to implement this by heikkile · · Score: 2
    In my humble opinion, if this is the way to go, we should do the following:
    1) keep the file system as it is.
    2) Create a new system call fiopen (*) that would open a file in a consistent way, mathing actual case first, and if that failed, various alternatives, probably depending on the locale, and a number of other things. The details to be sorted out in a horrible flame war ;-)
    3) Use this call in standard GUI components. Applications will follow naturally.

    The important thing is to figure out the one right way to handle the case insensitivity correctly and consistently, and possibly leave the old stubborn user a way not to be forced to use it if he (**) so prefers.

    Notes:
    (*) As in stricmp, etc
    (**) Since the English language requires me to choose a gender for an unknown person, I have here chosen the male, as is often common. Normally I consider users female, to remind me to go out of my way to be nice to them. Chauvinist or gentleman - your choice.

    --

    In Murphy We Turst

  67. One word: NO! by dh003i · · Score: 2

    NO!

    B != b

    There is a very good reason why UNIX is case-sensitive, or at least I can think of a very good reason to keep it case-sensitive.

    In biology, writing out a protein name in all uppercase letters indicates the wild-type GENE (i.e., VAC8), while writing it in lowercase letters indicates a mutant of the wild-type gene (i.e., vac8). This is just a specific example. In other words, there are many instances where case matters.

    VAC8 is not the same as vac8 (one refers to the wild-type gene, the other to a mutant).

    Federal is not the same as federal (one, I believe, refers to specific federal entities, the other to the idea there-of).

    Bush is not the same as bush (one is the President, the other is a plant).

    Banks is not the same as banks (one is a last name, the other is a financial institution).

    Come on. Its not that difficult for people to grasp the concept that a file named dave is not the same as one named DAVE. If certain users really don't like that, then they should disable cap-sensitivity (I'm sure there are options to do such).

    There is a lot of talk about making Linux easier to use for the average person. Just as easy -- and an effort which would not require programming skills -- would be to make the average user more Linux-savvy. This is what a large part of the Linux community (known as gurus) does. It means you don't say rtfm to every question, though it is good to try to help people figure things out for themselves, rather than telling them the answer.

  68. Re:Well, it's not like the OS chooses case for you by Cy+Guy · · Score: 3, Informative

    what is the advantage to having "Aaa.txt" exist in the same directory as "AAA.txt"

    Because the file name Aaa.txt is "0x41 0x61 0x61 0x2e 0x74 0x78 0x74" in hexadecimal which is not the same as "0x41 0x41 0x41 0x2e 0x74 0x78 0x74" the hexadecimal equivalent of "AAA.txt".

    When you get down to the core operation of the kernel, it shouldn't be burdened with having to do conversions of 0x41 to 0x61. If some one writing an application wants to make that distinction, that's fine (and could easily be incorporated into programming libraries), but it shouldn't be the job of the OS.

  69. Well... by joto · · Score: 2
    I've never ever seen a beginner having a problem with case-sensitiveness. Any sane, rational, thinking person will see that there are both advantages and disadvantages to both approaches. And once you tell the end-user how your system work (s)he will accept that, and don't worry about it.

    The only people who care about minor, but unimportant differences like this are techies, because they are already accustomed to a certain style, and because it is a religious issue they can discuss till the end of time, like vi/emacs, windows/mac/linux/, gnome/kde, etc...

    More importantly, I don't care about how user-friendly the command-line is for someone getting confused about case-sensitivity. Users like that should be strapped to their idiot-interface which we can create on top of Unix as well as on Windows. One good example of such an interface is called Bob.

    Even todays computer interfaces (which isn't exactly completely suitable for complete morons (noticed the amount of courses for beginning windows users?)) doesn't require you to type a file-name more than once (at first "save"). After that, it's point and click.

    My mother can't even use a mouse, or remember the difference between backspace and delete from each time she uses the computer. But I assure you, case-sensitivity is not an issue. There are many things that are confusing her, but understanding that you should use the same name in the same case is not one of them.

  70. Re:Well, it's not like the OS chooses case for you by Anonymous Coward · · Score: 0

    That's not kernel code in the more specialized sense of the word "kernel". Some filesystems implement case insensitive filenames, so it can't be that hard. Case insensitive applications/libraries on top of a case sensitive filesystem means asking for trouble. There would be perfectly valid filesystem states which could only be treated as error condition by the application.

  71. Re:Well, it's not like the OS chooses case for you by Dephex+Twin · · Score: 1

    I understand your point about having to convert characters all the time.

    But file names are such a critical part of the OS and applications, that it seems dangerous to leave it up to every application to mask it well and consistently with other applications.

    Would there be more converting upper and lowercase characters? Yes. But, I think it would be worth it. It seems like nowadays the difference would be negligible, as other OSes which have the less picky filesystem seem to get along just fine.

    I think of it like other space- and speed-saving techniques that were extremely valuable years ago, that just aren't worth the inconvenience now.

    But I don't claim to be a UNIX expert. It could be more significant in this case.

    mark

    --

    If you want to make an apple pie from scratch, you must first create the universe. -- Carl Sagan
  72. Fuzzieness by anonimbus · · Score: 1

    This is not much of a dogmatic question. The use of case-sensitivity needs some kind of sensual approach according to its use. In fact I highly appreciate case sensitivity a lot. 'B' simply does not equal 'b'. Then again, most of the times I wish all thoses parsing algorithms would be more generous on detecting the meaning of what I typed, not only ingnoring the inproper use of majuscles, but also interpreting my typos. While programming its not that hard to implement some simple greps now and then to add a little fuzziness to the interpretation of human input. Of course this could end in a new source of misunderstandings on the interface side, but it surely would make communication a lot easier in most of the times. (And a lot funnier, too)

  73. The Real World by WallyHartshorn · · Score: 2, Insightful

    Wow. Nearly every reply in this thread is an example of how techies are not like normal people -- and yet don't realize it. Despite your wishes, the non-techie world is not going to accept that "Letter.txt" and "LETTER.TXT" don't refer to the same file. If I received a check made out to "WALLY HARTSHORN", would you say that I cannot cash that check because my name is "Wally Hartshorn"? Would you say that "Ford" is a different company than "FORD"?

    Like the original poster, I am a former Amiga user, so I am quite familiar with the experience of a file system that allows mixed-case filenames, but recognizes that they are equivalent. It was far, Far, FAR nice than having to remember whether I named the file "Letter.txt", "LETTER.txt", "LETTER.TXT", or "letter.txt". Like nearly everyone else, I remember words much more readily than I do specific capitalizations.

  74. typing by battjt · · Score: 2

    The sooner UNIX-based computers learn that when a person is looking in a directory for "letter.txt" that "Letter.txt" is probably what they mean, the sooner they (the computers) will understand how to interact with people.

    And shouldn't that be the point of it? Not the other way around.


    right.... How many GUIs have you designed. Users are not logical at all. After we remove case, they'll ask that 1==l==i==t, then a==e==o==0==D==c==Q, then d==b==p==q then s==z then j==i, then g==q==j, then R==K==h and P==R and E==F and b==S and m==n and u==w==v and w==m. Now we are down to two letters x and the other stuff.

    Why screw up a working system and not fix the root cause. The root is that the user is incapable of specifying the file by typing. Duh, use a search panel that handles the rules and presents a big button [IS THIS YOUR FILE STUPID?].

    Joe

    --
    Joe Batt Solid Design
    1. Re:typing by Dephex+Twin · · Score: 1
      The root is that the user is incapable of specifying the file by typing

      A user has to type names of files sometimes. They just do.
      Duh, use a search panel that handles the rules and presents a big button [IS THIS YOUR FILE STUPID?].

      I hope you don't design any GUIs.

      mark
      --

      If you want to make an apple pie from scratch, you must first create the universe. -- Carl Sagan
    2. Re:typing by battjt · · Score: 2

      A user has to type names of files sometimes. They just do.

      Give me an example. Even in Unix I hardly ever type a filename. I use simple search routines like in bash or more complex regex patterns.

      I use shells like emacs, Mozilla or Explorer to select files most of the time.

      Joe

      --
      Joe Batt Solid Design
    3. Re:typing by Dephex+Twin · · Score: 1

      You have to name the file. If you don't know where the file is, you also can't select it. If it never came up, nobody would even be discussing this.

      mark

      --

      If you want to make an apple pie from scratch, you must first create the universe. -- Carl Sagan
    4. Re:typing by battjt · · Score: 2

      huh? If I am creating a file, then why does case matter?

      I'm suggesting that you don't need to type files. I think that GUIs that require typing a filename are broken.

      I use emacs, gimp, ant, the JDK, bash, WinNT, Linux, mozilla, Konqueror, gv, outlook, etc. I hardly ever type a file name (except when creating a file, but that isn't typing the name of an existing file); I use tools that allow me to bypass the typing. Why not fix your (or who ever's) toolset so that no filename typing is required?

      I open my invoices with soffice ~, then click invoices, then the particular invoice. I do the same to open images in Konqueuor or java files in emacs.

      Joe

      --
      Joe Batt Solid Design
  75. Re:One word: NO! by TFloore · · Score: 2

    Banks lend money to Mr. Banks.


    Hmm... Banks and Banks are different too. Oh my. That can't be good.


    Banks lend money to other banks.


    Even worse. Banks and banks *are* the same here. That can't be good either.

    Would you like to re-design the English language?

    A lot of information in language comes from context. In a filesystem, context is, unfortunately, usually lacking. Rather, context is usually provided by the directory/path and the file extension. That is insufficient information to tell the difference between /usr/home/letter.txt and /usr/home/Letter.txt.

    This discussion isn't properly about capitalization... it is about context (i.e., metadata) for files.
    --
    This is my sig. There are many like it but this one is... Oops. Frank, I've got your sig again! Where's mine?
  76. Programming by droyad · · Score: 1

    print and Print in a programming language are not the same thing. This is a good thing as it forces the use of camel case by lazy programmers.

    I think this is a mute point as "ordinary" users don't use the command line. They point and click. If they point and click the meaning between Letter.txt and letter.txt becomes meaningless.

  77. tcsh == bash++ by Danny+Rathjens · · Score: 1

    Tab completion rocks for us lousy typists, 8^)
    set complete=enhance
    If set to `enhance', completion 1) ignores case and 2) considers periods, hyphens and underscores (`.', `-' and `_') to be word separators and hyphens and underscores to be equivalent.

    % ls
    somefile-1.ext somefile-2.ext somefile-2.ext.bak
    % less s-1
    less somefile-1.ext
    % less s..
    somefile-2.bak

    And then there is context sensitive tab completion.
    % rpm -qi xf-4
    rpm -qi XFree86-4.2.0-8

  78. Re:Well, it's not like the OS chooses case for you by theCoder · · Score: 2

    What about "Aaa.java" vs. "AAA.java"? Java classes are case sensitive, meaning the files must be also. I know I've run into problems before with distinct Java classes that work fine on a UNIX platform (with case sensitive filenames) being brought onto a Windows platform where the two classes can no longer coexist. Sure, Java could be changed, but why should it? For some people who can't understand that "Aaa.java" and "AAA.java" are TWO different file names? I've never run into a person who couldn't understand that, once they've been told.

    Just like most of UNIX/Linux's "user unfriendliness", it's mearly a difference from what (most) people are used to in the Windows World(TM). Personally, I know I've had more problems with case insensitivity (because I wanted to have two different files with just different cases) than with case sensitive systems. YMMV.

    --
    "Save the whales, feed the hungry, free the mallocs" -- author unknown
  79. Maybe... by Anonymous Coward · · Score: 0

    ... we should assume Aunt Ginnie isn't going to be using the fscking prompt?

  80. one case to rule them all by solferino · · Score: 2

    simple solution - only ever use lower case in filenames

    why have a complete mirroring of th alphabet in another case? th ancient greeks and th romans got along very nicely with just one case - th russians still do today (and perhaps still th greeks?)

    i read somewhere that th terms 'upper case' and 'lower case' are printing terms and correspond directly to th cases in which th metal type letters were kept - hence it seems to be an invention of th printing press age or perhaps goes back to th monastic penchant for illuminating certain letters to give them added emphasis

    capital letters always have this feel for me - a kind of victorian sensibility of 'This Is A Very Special Word Which You Must Respect And Hold Dear In Your Heart' - a some words are more equal than others kind of approach - very like that irritating practice of capitalising him and he when referring to Certain August Fictionalities in th bible

    and yes, to forestall yr reply of capitals increase legibility - i am aware of that argument, however i think th present model of capitalisation at th beginning of a sentence is tired and could do with some creative alternatives

    1. Re:one case to rule them all by oojah · · Score: 1

      Er, maybe I've misunderstood what you meant, but having learnt some russian a few years back and also having visited Russia I'm fairly certain that there are both upper case and lower case letters. In many circumstances both upper and lower case are similar, especially in printed form (see http://www.friends-partners.org/oldfriends/languag e/russian-alphabet.html ). You will see few differences between the two cases show there, but I know that their letter for a T sound is often hand written as an m with a line over it (as in a boolean "not m"). There are other similar examples, such as a "d" being written either as "g" or a upside down g.

      Likewise, Greek also appears to have two cases. See http://www.ibiblio.org/koine/greek/lessons/alphabe t.html
      I'm sure that anyone with any sort of science background will have come across both cases of numerous Greek letters.

      As to why we have different cases, I would just say that it conveys meaning. I guess ultimately this is just saying it does improve legibility (even though I was trying to avoid saying that as you requested) because after all we don't use capitals in speech. I would contest that removing capitals from everyday printing would be of any benefit. In filenames I don't really think that it matters. Restricting everyone to using lower case is not the thing to do though - I want to be able to use capital letters in my filenames on occasion! Perhaps not being case sensitive is the way to go.

      Also, don't forget that capital letters may have more significance in non-english languages.

      Regards,

      Roger

      --
      Do you have any better hostages?
    2. Re:one case to rule them all by solferino · · Score: 2

      thank you for yr reply - it made me think a little more about th subject than i had before

      yes you are right that there are two versions of all th greek letters - i felt foolish when i read yr reply as i had forgotten this fact - however i am not sure if they were used as we use our 'upper case' and 'lower case'

      before writing more on th subject extemporaneously i want to do some further searching on th internet and thinking - my thought processes at th moment are running along the lines of an initial script designed with high legibility of each letter - evolving into a second more cursive script which is less 'blocky' and easier to write and which increases legibility of whole words rather than th individual letters - and later these two scripts being combinded according to certain rules which vary from language to language when printing was industrialised

      one interesting source on this topic i have found so far is here

      let me know if you want to continue this discussion further - cheers

  81. only one ? by 1lus10n · · Score: 0

    am i the only person who is sick of people trying to make everything "stupid" so everyone can get_it ?
    i mean REALLY (or Really , really, ReAlLy , r3a11y etc....) if someone is so damn dense that they cant type ls and find what the are looking for (or god forbid use a file browser : konqueror.) then maybe just maybe they should stay the hell away from our favorite OS ? and keep themselves in the stupid pool (AKA windows land) ?

    and really im not sure who is worse the person who thinks that everything should be dumbed down, or the one it needs to be dumbed down for. in all reality most people will get_it they just need a small walkthrough just like they did when they first started using windows.

    --
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." --Albert Einstein
  82. Re:One word: NO! by geekoid · · Score: 2

    please explain the difference in context of your example. /usr/home/letter.txt and /usr/home/Letter.txt.

    For ease of use, only 2 things are needed, programs that remember a history, and the ability to search your HD with an case insensitve search.

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  83. Dear USians by Sam+Lowry · · Score: 1

    I hear lots of praising on slashdot about moving Linux towards unicode. Unfortunately, unicode and case-insensitivity of any kind dont work together well. How would you preserve the case of arabic letter, or how do you choose what chinese ideographs are accounted as the same letter? Case-insensitivity is a concept coming from indoeuropean languages, butit is not universal.

  84. Case insensitivity requires globbing in the kernel by tlambert · · Score: 2

    Case insensitivity required globbing in the kernel. UNIX has historically done all globbing in user space, and passed only literal values to the kernel.

    Case folding on storage is realtively easy (Just Do It(tm)), but case folding on lookup for system calls that take explicit names (open, stat, creat, rename, unlink, etc.) requires that the literal value passed match multiple potential values as soted in a directory.

    Doing globbing in the kernel is actually more efficient in a lot of ways (consider that when doing an "ls -c", rather than pushing the whole directory contents over the user/kernel boundary via the getdirentries/getdents system calls, you would push only names which matched the expression, drastically reducing the protection domain crossing overhead).

    However, POSIX practically *demands* that you not do your globbing in the kernel.

    Apple gets around this by force-folding. Basically, it is case sensitive on storage, and case insensitive on lookup (Windows outside the legacy 8.3 namespace is the same). The problem with this, as you would know, if you had ever written internationalized FS code on Windows to be installe dunder the IFSMgr, is that there is a requirement for "active character set case folding tables", and these are locale specific (e.g. what do you do with the Schlossen if you are in Germany vs. France, and how do you handle Hangul, Kanji, etc.).

    Basically, without destorying certain standards mandated behaviour, it's not possible. Most likely, you will not find a programmer willing to give up POSIX compliance or internationalization in order to change this behaviour.

    -- Terry

  85. Old routines by Matthias+Wiesmann · · Score: 1

    The reason many carbon applications have trouble with non HFS file-systems is probably that they use Resource Manager functions that have been deprecated. The system emulates the resource forks, but its internal are very different.

  86. Importance of capitalization by da_weaz · · Score: 1

    As stated before, capitalization is important for proper language form. For example, not to get into religious debates, but the difference between god and God ;)

  87. There's an easy option. by alexpage · · Score: 1

    Since when will your Aunt Ginny be using a command-line interface? Keep her in a nice GUI where she belongs, and when she opens her documents there'll be a nice list of them that she can click on to get the right one. Likewise when she saves she'll just use "File->Save" and it'll preserve the name.

  88. Re:Well, it's not like the OS chooses case for you by darkwhite · · Score: 2

    Two words: Unicode and upcase

    --

    [an error occurred while processing this directive]
  89. Bits and Bytes by Anonymous Coward · · Score: 0

    B - Bytes
    b - Bits

    So, yes they should be different.

  90. Re:Well, it's not like the OS chooses case for you by skotte · · Score: 2

    When you get down to the core operation of the kernel, it shouldn't be burdened with having to do conversions

    hm. i argue it should. actually, not the OS, perhaps just the shell. i'm not sure where this should happen. but i doubt it's at all hard, eh.

  91. Yes! I'm ignorant. by Dephex+Twin · · Score: 1

    Now do you feel cooler or like you "won" the conversation?

    --

    If you want to make an apple pie from scratch, you must first create the universe. -- Carl Sagan
  92. Re:Yes! I'm ignorant. by PD · · Score: 1

    I feel like I won because I won. You lost when you typed out the first capital 'H' in the word Hypocracy. The rest was just yelling about it. Think of it as a corollary to Godwin's law.

  93. Re:Yes! I'm ignorant. by Dephex+Twin · · Score: 1

    What I was trying to say by putting "win" in quotes was that there is no winning or losing in a conversation.

    --

    If you want to make an apple pie from scratch, you must first create the universe. -- Carl Sagan
  94. Re:Yes! I'm ignorant. by PD · · Score: 1

    Loser in competion: "Winning isn't everything"

  95. Re:Well, it's not like the OS chooses case for you by catwh0re · · Score: 1
    valid point, i usually tell users to write all file names in lower-case, however things like geocities have taught users about the differences in upper and lower case.

    People have the knowledge to understand it. I also pass it off "it's just like a password" your password BLUEBIRD23 isn't the same as your bluebird23. It's not beyond common users to understand case.

    Additionally you can just display the files in a view, and they will quickly learn that case matters.

    Any one used Mac OS X recently? I think linux should borrow some apple solutions, as apple tend to know how to make things for the common user, while the linux crowd seems to have proved the opposite. Everyone would like linux to replace windows, but everyone wants to make it bigger and better, and not actually come back down to earth and solve the basic issues.

  96. russian "o" by Anonymous Coward · · Score: 0

    really pretty much is an english-"o" in sound if it is accented, more like an english-"a" if not. i don't remember the formal name, it's been about five years since i had russian in college...

  97. No. by El · · Score: 2

    Is el nino the same as El Nino? Is the internet the same as the Internet. You're assumption is false -- the case really DOES convey essential information in most languages.

    --

    "Freedom means freedom for everybody" -- Dick Cheney

  98. Aunt Ginny? by camelrider · · Score: 1

    Aunt Ginny, having had a proper education that stressed correct spelling and clear written expression, will probably have much less of a problem with upper/lower case usage than do many American kids who attended public schools that have lowered their standards so anyone can pass, whether or not they have learned anything!

  99. Sigh... by Millennium · · Score: 2

    More people who think it's actually acceptable to have "python" and "PYTHON" subdirectories in the same dir.

    Two words which differ only in case are pronounced exactly the same way, at least in English (but also in most other language which have a concept of letter case). That's the only real determining factor. Grammar is meaningless when dealing with filenames, so capital vs. lowercase loses any real value. Thus, case-insensitive should be taken to rule the day, bec ause it more accurately reflects the way people think about filenames.

    Or, to put it another way, what is the difference between "Mary had a little lamb" and "mary had a little lamb"? Most people would say there is none, and indeed, given the massive number of people who don't use capitals in their e-mails anymore, there's some credence to that claim. If people don't care about whether things are capital or lowercase on a computer, then why should the computer itself care either?

  100. Re:One word: NO! by Anonymous Coward · · Score: 0
    A person shouldn't have to "think like a computer" to use one.

    Just because whoever developed ASCII may not have thought about how it would affect sort order, does not mean we have to stick to straight ASCII sorting in all cases.

    This does not necessarily mean shells should be changed. If you want a "human-friendly" sort, just "ls -l | sort -df". But, I think it's a good idea for graphical file browsers to have the option to sort different ways.

  101. Internationalization by yerricde · · Score: 2

    Some filesystems implement case insensitive filenames, so it can't be that hard.

    Quick! You write efficient filesystem-level code to handle upcasing Unicode filenames for collation on non-Latin writing systems. It'd be easy to map [A-Z] to [a-z], but what about German, where a lowercase ß (1 char) becomes uppercase SS (2 chars)? What about Turkish, where dotted i upcases to dotted I, and dotless I downcases to dotless i? What about Greek, Cyrillic, Armenian, Georgian, and other writing systems that have upper- and lowercase letters? Can you really handle localized Unicode processing in the kernel?

    --
    Will I retire or break 10K?
  102. strcmp() vs strcasecmp() by jc42 · · Score: 2

    This has been handled for ages in the standard C library. If you want a comparison to be case sensitive, you call strcmp(). If you want case insensitivity, you call strcasecmp().

    Similar things exist in most higher-level programming languages. For example, with perl pattern matches, you add 'i' to the list of flags, and a case-insensitive compare is done. This works with locales in all recent versions of perl. And so on for other languages.

    This is an open invitation to implementers. It's very easy to to case-insensitive compares. If you are aiming your software at a user population that can't handle case distinctions, the tools are there and you have no excuse.

    Unix and its clones don't impose any policy at all on user-level software, and they supply the tools to handle case sensitivity. Use them and stop complaining.

    --
    Those who do study history are doomed to stand helplessly by while everyone else repeats it.
  103. Zero termination by yerricde · · Score: 1

    what's an 8-bit zero terminated string exactly?

    For the record, an 8-bit NUL-terminated string is a sequence of octets, containing a 0x00 as the final octet and no other instance of 0x00.

    A 16-bit NUL-terminated string is a sequence of 16-bit integers, containing a 0x0000 as the final entry and no other instance of 0x0000.

    A 32-bit NUL-terminated string is a sequence of 32-bit integers, containing a 0x00000000 as the final entry and no other instance of 0x00000000.

    --
    Will I retire or break 10K?
  104. Tab completion and caps lock by yerricde · · Score: 1

    Poor Granny's fingers get tired too. Better limit us to 8.3 filenames

    That's why a good GUI should include tab completion or something similar in its file picker control.

    Granny also has trouble with her password. Sometimes she has the capslock key on and can't login. Better make all passwords case insensitive

    No, better have the password dialog box wait for caps lock to be turned off.

    --
    Will I retire or break 10K?
  105. To B or not to b by oldstrat · · Score: 2

    I'm not going to waste a lot of time on the reply.

    What, what and WhAt are all different, it's that simple. I.T. is different from it.

    It's a Simple matter of education.

    Unfortunately there is only a certain level that things can be dumbed down to... or maybe only a certain level that they should be dumbed down to.

    Capitalization punctuation and spelling, are the kinds of things that cannot be dumb'ed out of existance beyond the use of GUI's.

    1. Re:To B or not to b by DEBEDb · · Score: 1

      What does punctuation or grammar have to
      do with the damn file names???

      --

      Considered harmful.
    2. Re:To B or not to b by oldstrat · · Score: 2

      There's something called syntax.

      Of course if you have no idea of how your 'puter works, you wouldn't be expected to know about it.

      But that doesn't stop your computer from knowing about it.

    3. Re:To B or not to b by DEBEDb · · Score: 1

      Ok, what does the damn syntax of a human language
      (and, for that matter, of a computer language)
      have to do with whether I name my file
      Letter.doc, LETTER.DOC, or letter.DOC?

      --

      Considered harmful.
    4. Re:To B or not to b by oldstrat · · Score: 2

      Ok, I'll say it again. Letter.doc, LETTER.DOC and letter.DOC are not the same.
      File names are parsed by the OS file system.
      Texas Instruments attempted an 'intelligent' parser in the TI Professional, years and years ago. It just wasn't useful enough to spread beyond specialized fields.
      Computers are absolute literalists, and syntax (computer grammer) is more critical.
      The grammer on an advanced OS is -more- critical than on Commodore 64 generation OS.
      Of course the grownup OS has the ability to pattern match and so a "something like" when you search.

    5. Re:To B or not to b by DEBEDb · · Score: 1

      What do you mean "are not the same"? What the hell do I, Aunt Ginny, care about internal representation?

      --

      Considered harmful.
    6. Re:To B or not to b by oldstrat · · Score: 2

      Look, what the hell do I care about the internal function of a lawn mower?
      I just want it to cut the grass.
      The problem is that for it to cut the grass, it has to have a blade.
      If I put my foot in close proximity to the blade, it's going perform in an manner quite contradictory to my desires.
      It is as I said earlier a simple matter of education. Modify human (mis)behaviour.
      In the case of the mower, I watch my feet.
      In the case of the computer, for You, or Aunt Ginny it's less drastic, just remember that B and b are not the same.

      B and b are not the same, inside the computer, or outside the computer (again postulating a modern OS)... The fact that you and some others may mistakenly view them as equivalent, does not make them the same.
      Some things just are, unless we are willing to damage the function of the device, or ourselves.

    7. Re:To B or not to b by DEBEDb · · Score: 1
      Regarding your statement that "some things just
      are", I am tempted to argue that, but...


      A lawnmower can have a guard near the blade so
      I cannot put my foot near it accidentally.
      But that's not even an argument either.


      An OS CAN say that 'a' is the same as 'A' when
      it comes to filenames. It can do that while,
      perhaps, sacrificing some (infinitesimal) performance. But it is not a PHYSICAL REQUIREMENT (or something that passes for one) that an OS (notice, I said "an OS", not "Unix" in
      particular, for which the change would, I agree,
      not be worth it) MUST for some reason distinguish
      cases. Please...

      --

      Considered harmful.
    8. Re:To B or not to b by oldstrat · · Score: 2

      Well then, lets reduce the character set to just one letter, pick the first one A, uppercase, and try and force the computer to magically know what we intended.

      The fact that there is a mower guard does not eliminate the need for caution, and modification of behavior.

      Remind me to run like hell if your ever near a fire and the only available liquid is a can of gasoline, I'm not sure you would see the difference between it, and water.

      Levels of complexity have limitations. It is apparent that you -just don't get it-, and you may be right Aunt Ginny might not get it either.

      That's OK, my Grandmother never learned to drive a car and she 'got by'.

    9. Re:To B or not to b by DEBEDb · · Score: 1
      I have yet to see a real proof that THIS
      exact level of complexity has THIS
      very real limitation that cannot be gotten
      around. For chrissakes, case-sensitivity,
      once again, IS NOT inherently a must-have
      for filenames. It's just not. I am open
      to a proof, please provide one. Please provide
      one to me, now, who is not Aunt Ginny, but
      to an MIT-educated programmer with 6-years
      experience.


      Reducing charset to one letter is a ridiculous example. We are not asking a computer to "guess" what we meant; we are talking about a specific
      case where we announce that WHEN IT COMES
      TO FILENAMES "x" and "X" are equivalent. And yes,
      if you reduce the character set to one letter, then there will then be just one file/directory per directory.


      If it's apparent to you that I just don't get it,
      it's apparent to me that you're part of the knee-jerk computer orthodoxy who is proud to know many things, but never stops to think that they can be changed, and that "this is just the way it is" is not an argument that proves that "this is the way it must be".


      A good lawnmower analogy may be that since it is
      used to cut things, it may be used to cut your foot off, if you're not careful. So if you want a capability to overwrite files, if you do so, you may overwrite the file important to you, if you're not careful. But let's stop with the gasoline and mower analogies, they lead nowhere.
      Provide a good explanation of your reasoning in terms of software and OS development, please.

      --

      Considered harmful.
    10. Re:To B or not to b by oldstrat · · Score: 2

      If you have taken this long to reach the point of suggesting that there be an OPTION that users only be able to save in one case,
      or that the system only recognise users input for filenames as a single case... Why didn't you do it sooner?
      That IS an option in some systems, the idea of ever making it a requirement for all users would be insane.

      Make the change to Aunt Ginny's Nix machine yourself,
      after all you are an MIT educated programmer with 6 years of experiance.


      The issue as mis-stated seems not to be an OS issue, but a UI issue.
      All things given, I'd rather see myself, of my Aunt Mary allowed the OPTION of have b not equal B.
      Because once again, for the last time... They are not the same (only mistakenly percieved as almost the same), inside a computer, outside a computer, as nuke warhead component number, or in the exiration date of a deli item.

    11. Re:To B or not to b by DEBEDb · · Score: 1

      If you have taken this long to reach the point of suggesting that there be an OPTION that users only be able to save in one case,
      or that the system only recognise users input for filenames as a single case... Why didn't you do it sooner?

      Chalk it up to a misunderstanding. But see, it's just your personal preference. We don't enter
      numbers in binary, even though "that's the way they are in the computer".

      That IS an option in some systems, the idea of ever making it a requirement for all users would be insane.

      Why would it, again? Why does it bother you so much? What about, oh, I don't know, DOS/Windows?

      See, "insane" without explanation is, again, unconvincing.

      B and b are not the same in an English sentence.
      Most of the time. Some of the time, in a quickly written or typed note, nobody cares if it's
      b or B, neither the writer nor the reader. A label that is a filename is just such a scribbled note.

      I have nothing against your preference for keeping it case-sensitive, it's just as valid as the preference for keeping it insensitive. Don't make up technical limitations as a reason to support your preferences, though.

      --

      Considered harmful.
    12. Re:To B or not to b by oldstrat · · Score: 2

      I have nothing against your preference for keeping it case-sensitive, it's just as valid as the preference for keeping it insensitive.
      Don't make up technical limitations as a reason to support your preferences, though.

      I never did, make up technical limitations for preferences.
      Filenames SHOULD NOT be case fixed, end user files however could be, and could be enforced by the user file manager parser, GUI, or application, there's no reason to criple an entire OS file system for the sake of a limited set of simple minded users.

      The original message said - ", I have yet to come across anyone seriously questioning the traditional UNIX style file system name paradigm"
      Notice, it says file system name paradigm.
      You know enough about *Nix to know that the OS file system _has_ to care about case.
      I'll stand pat on my assertions about the internal issues, and I'll keep the lawnmower analogies when it comes to non-application user generated filenames, God help the *Nix programmer, or wannabe programmer that finds themselves on the system you propose, core parts of make and other common conventions in the internals would simply fail. .c and .C are very different.

      B and b, are not the same, no matter what the context is.

    13. Re:To B or not to b by DEBEDb · · Score: 2

      Damn, I just saw the "No Score + 1 Bonus"
      box for the first time, clicked on it, and
      lost my lengthy reply...

      I will go cry in the corner and try to
      reply later :(

      --

      Considered harmful.
    14. Re:To B or not to b by oldstrat · · Score: 2

      "I will go cry in the corner and try to reply later :("
      Don't bother. This has gone on way too long and has reached way past tedium, into moronisty.
      What do you say we both just drop it, and move on to something intelligent. ;)

  106. Store locale with folder by yerricde · · Score: 2

    Two different languages can have the same accented characters, but different rules about case conversion.

    And conceivably, changing the locale can cause files whose names had not clashed before to begin to clash. Thus, the locale for files in a particular folder must be stored as an attribute of that folder.

    --
    Will I retire or break 10K?
  107. ext2, ext3, reiser by yerricde · · Score: 1

    Exactly which Linux file system are you refering to?

    Grandparent referred to ext2fs, ext3fs, and reiserfs, which are thought of the "Linux filesystems" because most GNU/Linux distributions default to creating one of those filesystems for / during installation.

    --
    Will I retire or break 10K?
  108. Unix is international, slashdot isn't (much) by kwerle · · Score: 2

    It is my understanding that case makes a huge difference for other character sets. I'm afraid that I have no evidence to point at, but I've been told this by several people, so it MUST be true.

  109. Re:Well, it's not like the OS chooses case for you by lewp · · Score: 1

    If you depend on case to differentiate your class names, I hope I never have to maintain your code. If there's a good reason to *ever* do this, please enlighten me.

    --
    Game... blouses.
  110. perl vs. Perl by Webmoth · · Score: 2

    perl refers to the executable, while Perl refers to the religion^H^H^H^H^H^H^H^H programming language, which in this case, is a proper noun.

    By the same token, it is proper to write "He speaks the english language because he is English." Yes, case makes a difference.

    The question should be restated: does anyone care?

    --
    Give me my freedom, and I'll take care of my own security, thank you.
    1. Re:perl vs. Perl by Anonymous Coward · · Score: 0

      No, your example is WRONG.

      You must capitalize the word "English"
      in BOTH cases and glean the difference
      from CONTEXT.

      Wrong, wrong, WRONG!
      Notice how all three words mean the same,
      differences in case notwithstanding.

  111. What's funny is... by FurryFeet · · Score: 2

    ...when I read these comments, the quote at the bottom of the page was:

    "All of a sudden, I want to THROW OVER my promising ACTING CAREER, grow a LONG BLACK BEARD and wear a BASEBALL HAT!! ... Although I don't know WHY!!"

  112. What about non-translatable characters? by askwar · · Score: 1

    Okay, translating "r" to "R" might not be that big of a task - but how would you translate un-translatable characters? Like the German "ß"? There isn't a (real) upper-case representation; "upper-case" "ß" might be represented as "SS", but you lose information in that process, because not every incarnation of "SS" in a word can be translated back to "ß".

    How to treat this?

    --
    Alexander Skwar -- Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die
  113. Amiga file system was case sensitive! by Anonymous Coward · · Score: 0

    Funny you should mention the Amiga. It's file system WAS cas sensitive in "kernel space" (not really a valid idea on the Amiga, seeing as kernel and user space were one and the same) - the AmigaDOS drivers were all case-sensitive. However, only programmers usually encountered this (try opening a shared library on the amiga - you have to get the case right!) - all the (notionally) userspace tools used case-insensitive matching by default (some filesystems could be toggled to case-sensitive userpsace, if you were masochistic/interoperating with UNIX)

  114. AMIGA was case sensitive! by Anonymous Coward · · Score: 0

    It's just the shell tools weren't. At its core, the AmigaDOS was case-sensitive, with a translation layer to case-insenstive. That's how the amiga was "case-preserving case-insensitive" - if you saved a file as "fOObAR.tXT", it's name was "fOObAR.tXT", though you could get it as "foobar.txt". Note that this is similar to "modern" (shudder) Windows (though the Amiga was muich less kludgy about it - you could pass a flag to (Amiga) Mount to toggle case-sensitivity on/off on a per-filesystem basis!)