home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / os2 / misc / 37211 < prev    next >
Encoding:
Internet Message Format  |  1992-11-20  |  3.6 KB

  1. Path: sparky!uunet!olivea!sgigate!rutgers!njitgw.njit.edu!hertz.njit.edu!dic5340
  2. From: dic5340@hertz.njit.edu (David Charlap)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: tell me i'm wrong (braindead design in os2)
  5. Message-ID: <1992Nov20.214215.21670@njitgw.njit.edu>
  6. Date: 20 Nov 92 21:42:15 GMT
  7. References: <1egn4dINNklu@agate.berkeley.edu>
  8. Sender: news@njit.edu
  9. Organization: New Jersey Institute of Technology, Newark, N.J.
  10. Lines: 66
  11. Nntp-Posting-Host: hertz.njit.edu
  12.  
  13. In article <1egn4dINNklu@agate.berkeley.edu> jp1ek@sunc.shef.ac.uk writes:
  14. >i have just started reading about os2 and have bought a copy to play
  15. >with.  so far i've noticed three things that bother me:
  16.  
  17. You're upset that OS/2 has a file system which is compatible with
  18. MS-DOS.  Sorry, I like it this way.
  19.  
  20. >a) file names are always shown in upper case.  is os2 case insensitive?
  21. >is upper case required?  do ibm programmers have six fingers (one for
  22. >the shift key)?  are they still thinking in terms of the o26/o29
  23. >keypunches and bcd coding?  reading os2 takes me back to my first
  24. >programming experiences in the early 1960s.  i thought os2 was a modern
  25. >system oriented to the future....
  26.  
  27. You can type lower-case filenames if you want.  If you use the FAT
  28. file system, you can place a "/l" option in your DIRCMD variable to
  29. make them show up as lowercase.  HPFS will store lowercase filenames.
  30. Case isn't sensitive, so you can type lowercase when uppercase is on
  31. the disk.  This is not Unix.
  32.  
  33. With either file system, the WPS will allow longer filenames, and will
  34. store the case properly.
  35.  
  36. >b) path separation is always shown with the back(assward) slash (\).  is
  37. >this hard wired or can it be switched (as in drdos, early msdos)?  do
  38. >system calls accept both / and \ as in dos or is one stuck with this
  39. >braindead convention?  if nothing else it makes programming in c that
  40. >much more troublesome?
  41.  
  42. No, it can't be switched, although some applications (like the GNU
  43. utilities and other things written in GCC) will accept both slashes.
  44. This is done because most DOS apps (and many OS/2 apps) use "/" as a
  45. delimiter for command switches.
  46.  
  47. Again, it's necessary for MS-DOS sessions to be compatible with DOS
  48. apps.  And I really don't want to require one convention for OS/2 apps
  49. and another one for DOS apps on the same machine.
  50.  
  51. In case you didn't know, drdos and early ms-dos did allow you to
  52. change the directory separator, but it caused more problems than it
  53. solved, because applications often had the default (MS-DOS) convention
  54. hard-coded into them.
  55.  
  56. >c) os2 uses the braindead and redundant CR/LF convention from msdos.  do
  57. >os2 utilities work the text files that have only line feeds or must one
  58. >run unix files through a filter?  programming utilities to work with
  59. >either convention is trivial, but for some reason (ideological?) it is
  60. >not done (cpp in Borland c and c++ is a classic example of user-hostile
  61. >programming).
  62.  
  63. Hostile?  Why do you even care?  If you open a file as text, it gets
  64. translated for you anyway.  Unix uses LF, the Mac uses CR, DOS and
  65. OS/2 use CR-LF.  I fail to see why any one is more braindead than any
  66. other.  Why not provide an index to line lengths and have no
  67. delimiters (like IBM mainframes) if you wish?  Different systems are
  68. going to have different conventions and if you can't handle it, then
  69. you have a serious problem with your attitude.
  70.  
  71. The entire world is not Unix.  As a matter of fact, only a small
  72. percentage of it is.  And most of it doesn't care that they're
  73. different.  Surprise.
  74. -- 
  75.   |)  David Charlap          | .signature confiscated by FBI due to
  76.  /|_  dic5340@hertz.njit.edu | an ongoing investigation into the
  77. ((|,)                        | source of these .signature virusses
  78.  ~|~
  79.