home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / os2 / misc / 37174 < prev    next >
Encoding:
Text File  |  1992-11-20  |  3.6 KB  |  72 lines

  1. Newsgroups: comp.os.os2.misc
  2. Path: sparky!uunet!wupost!usc!rpi!batcomputer!lynx@msc.cornell.edu!tommy
  3. From: tommy@lynx.msc.cornell.edu.UUCP (Mike Thompson,332,54714,2734927)
  4. Subject: Re: tell me i'm wrong (braindead design in os2)
  5. Message-ID: <1992Nov20.155901.717@msc.cornell.edu>
  6. Originator: tommy@snoopy.msc.cornell.edu
  7. Sender: news@msc.cornell.edu
  8. Organization: Cornell-Materials-Science-Center
  9. References: <1egn4dINNklu@agate.berkeley.edu>
  10. Date: Fri, 20 Nov 1992 15:59:01 GMT
  11. Lines: 59
  12.  
  13. From article <1egn4dINNklu@agate.berkeley.edu>, by ucbked@athena (Earl H. Kinmonth):
  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. > a) file names are always shown in upper case.  is os2 case insensitive?
  17. > is upper case required?  do ibm programmers have six fingers (one for
  18. > the shift key)?  are they still thinking in terms of the o26/o29
  19. > keypunches and bcd coding?  reading os2 takes me back to my first
  20. > programming experiences in the early 1960s.  i thought os2 was a modern
  21. > system oriented to the future....
  22.  
  23. First, OS/2 is bright enough to be case retentative, but not case sensitive.
  24. Numerous utilities will give you upper or lower case output.  If you want
  25. a modern OS, at least dump the FAT system from DOS and use HPFS.  Then you
  26. get upper/lower without the $#&%##$ confusion of foo, FOO, Foo, FoO that
  27. accompanies UNIX.
  28.  
  29. > b) path separation is always shown with the back(assward) slash (\).  is
  30. > this hard wired or can it be switched (as in drdos, early msdos)?  do
  31. > system calls accept both / and \ as in dos or is one stuck with this
  32. > braindead convention?  if nothing else it makes programming in c that
  33. > much more troublesome?
  34.  
  35. System calls (programming) happily take either forward or backslash.  The
  36. only thing limiting it in the kernal is the leftover convention of allowing
  37. the forward / as an option deliminator.  I also would love to see a kernal
  38. patch that forced use of - for options, but allow \ or / for path separators.
  39. All of the utilities I write require - options so filenames can be either.
  40. Have written a command line editor (trivial on top of cmd) which translates
  41. / to \ before passing it to cmd.exe.  Solves problem for moment.  But hopefully
  42. IBM is listening and will give us the \/ option soon.
  43.  
  44. > c) os2 uses the braindead and redundant CR/LF convention from msdos.  do
  45. > os2 utilities work the text files that have only line feeds or must one
  46. > run unix files through a filter?  programming utilities to work with
  47. > either convention is trivial, but for some reason (ideological?) it is
  48. > not done (cpp in Borland c and c++ is a classic example of user-hostile
  49. > programming).
  50.  
  51. Amazingly, most OS/2 utilities tolerate the absence of the LF from files (type
  52. is a notable exception).  Compilers and anything using standard C read calls
  53. happily take files unconverted from our UNIX system.  UNIX has more of a
  54. problem in that is DISPLAYS the stupid CR rather than transparently deleting
  55. it from the stream.  Who's breaddead, UNIX or OS/2 - you can make your own
  56. call.  For me, I like the old PRIME system that dumped CR's from the stream
  57. during reading.  You could have them or not and never care.
  58.  
  59. UNIX carries as much "compatibility" baggage as OS/2.  It's really where you
  60. are coming from as to who is brain dead.
  61.  
  62. ---------------------
  63.   ____ ___   ___    ___        Michael O. Thompson
  64.    /  /  / / / /  / / / \ /    Materials Science & Engineering
  65.   /  /__/ / / /  / / /  /      329 Bard Hall -- Cornell University
  66.                                Ithaca, NY  14853
  67. tommy@msc.cornell.edu          Ph: (607) 255-4714
  68.  
  69. OS/2:  For the few, the proud, the devoted!
  70.  
  71.