home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / question / 13362 < prev    next >
Encoding:
Text File  |  1992-11-13  |  9.8 KB  |  213 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!cs.utexas.edu!milano!cactus.org!wixer!rhodesia
  3. From: rhodesia@wixer.cactus.org (Felix S. Gallo)
  4. Subject: Re: IS UNIX DEAD? (very long)
  5. Message-ID: <1992Nov13.033923.872@wixer.cactus.org>
  6. Followup-To: comp.unix.questions
  7. Sender: rhodesia@wixer.cactus.org (Felix S. Gallo)
  8. Organization: Real/Time Communications
  9. References: <BxGu2H.A62@undergrad.math.waterloo.edu> <1992Nov10.055311.14872@wixer.cactus.org> <BxKM0t.1xH@undergrad.math.waterloo.edu>
  10. Date: Fri, 13 Nov 92 03:39:23 GMT
  11. Lines: 200
  12.  
  13. papresco@napier.uwaterloo.ca (Paul Prescod) writes:
  14. >>Hey, why doesn't my toaster ask me for confirmation if I press the little
  15. >>bar without inserting any bread?
  16. >
  17. >Try it, it will usually pop up after a few seconds.
  18.  
  19. Mine popped up after 45 seconds (cheap Korean brand).  In the same
  20. vein, my microwave doesn't ask for confirmation, my light switches
  21. don't ask for confirmation, and my toilet definitely does not ask
  22. "are you sure? (y/n)".
  23.  
  24. >>>Why is it, in VI that there is no way (I know of) to get help, or exit,
  25. >>>without knowing the exit key?  What doesn't "h" in command mode present
  26. >>>ANY kind of help?
  27. >>
  28. >>Why doesn't my hard drive realize that I didn't really want to delete
  29. >>that data?  Why don't I have a team of ergonomics specialists sitting
  30. >>at my desk doing all my typing by dictation?
  31. >
  32. >Two different things.  Asking for a help key is really not as 
  33. >"pampered" as you would make it out.  As far as the hard drive:
  34. >OS/2 and DOS both have reasonably good undelete procedures.  OS/2 just
  35. >copies the file to a temporary directory in the background.
  36.  
  37. Asking for a help key under Unix is usually very pampered: the standard
  38. Unix suite of tools are a bunch of non-interactive programs that execute
  39. very simple procedures.  Asking for help under vi is not an issue, as
  40. there are implementations of vi that do provide help and a perfectly fine
  41. man page that supplies pointers on every Unix I've ever seen.
  42.  
  43. My pick-axe does not have a pop up help window.  My laundry basket does
  44. not have a key I can press to get more information.  If I want to learn
  45. how to use real life tools like those, I eye them critically, attempt
  46. sample inputs, view the sample outputs, and if stumped proceed to the
  47. library to research the topic.  More succinctly, the 'help key' for 
  48. most Unix programs is 'man Unix_program'.  
  49.  
  50. >>Again, vi is not a drop-in replacement for Microsoft Write.  It's
  51. >>an extremely powerful editor of text files.  If you want to whine,
  52. >>consider asking Microsoft why they don't have a command line in
  53. >>their editors.
  54. >
  55. >Microsoft has a  *PROGRAMMING LANGUAGE* built into word.  I can't
  56. >imagine why someone would prefer a command line to keystrokes
  57. >and requester windows.     
  58.  
  59. Hear me now and believe me later when I tell you that the ability to
  60. type and keep typing is extremely important for people who want to get
  61. work done.  Do I want pop up windows obscuring my text?  Do I want the
  62. overhead of cheesy graphics?  No, thanks.  I'd rather have the ability
  63. to make mass regexp changes quickly and efficiently and to pipe my text
  64. through formatters, compilers and translators.
  65.  
  66. But then, we're arguing apples and oranges, as I said before.  You can't
  67. do anything useful with a Microsoft Write file except print it, as far
  68. as I can tell, and I haven't printed anything out in about a month.
  69.  
  70. >>>Why don't Unix "tools" have a convention about help and exit keys AT THE
  71. >>>VERY LEAST.  
  72. >>
  73. >>Control-C works for me.  That, or Control-Z kill %1.
  74. >
  75. >And assembly is a high level language..right.  And your programming language
  76. >of choice is binary.
  77.  
  78. No, assembly is a low level language, C is my favorite programming language,
  79. and control-c is the de facto standard for process interruption on Unix
  80. systems.  The bit about kill %1 was facetious, but everyone who intends to
  81. use Unix seriously should have control-c pretty firmly imbedded in their
  82. minds.
  83.  
  84. >>Your lack of attentiveness is simply not our problem.  The bottom of
  85. >>every man page I've seen about 'vi' contains a pointer to the actual
  86. >>vi manual.
  87. >
  88. >Would you like me to mail you our man pages or will you take my word for it
  89. >that it says nothing about other man pages.
  90.  
  91. I'd like you to mail me your man page as well as the version and vendor
  92. of Unix you're talking about.  I am quite confident that the 'see also'
  93. section lists the actual vi manual itself -- which is not necessarily
  94. a man page, since it's involved, large, and complicated.
  95.  
  96. >
  97. >>>Why do I have 12 function keys on my keyboard that seem to do absolutely
  98. >>>nothing?
  99. >>
  100. >>dumb question is this?  Are you blaming your keyboard manufacturer's
  101. >>ills on Unix, or are you incoherently expecting that Unix assign some
  102. >>sort of meaning to every key assignable?
  103. >
  104. >No it's not a dumb question.  There is no standard for help in the Unix
  105. >world.  The f keys are seldom used in unix programs.  Most terminals
  106. >have f keys.  It would seem this would be a good time to start convincing
  107. >people to use F1 for help, n'est ce pas?
  108.  
  109. Definitely not.  My keyboard doesn't have an F1 key.  If it did, there
  110. would be no guarantee that it would produce what your F1 key does.
  111. There are good reasons why nobody uses F-keys -- their original purpose
  112. was to be bindable to whatever the user felt appropriate.
  113.  
  114. > >>>Why doesn't VI use the jkl; keys for cursor movement, since your fingers
  115. >>>are already on them.  Or why not use keys somewhere far from them.  A
  116. >>>person can easily get confused.
  117. >>
  118. >>Whose fingers are already on them?  Not mine.  If you're having a hard
  119. >>time moving your fingers one key away, might I recommend not using
  120. >>a computer?  These things are dangerous.
  121. >
  122. >It's got nothing to do with difficulty.  It has to do with intelligence.
  123. >With 95% of all keyboards having little bumps on the "home" key it makes
  124. >absolutely NO SENSE to use keys one character right of the home keys
  125. >as cursor keys.  None whatsoever.  Espeicially when h could be a help
  126. >key, instead of wasted on the right arrow, when J should be the right
  127. >arrow.
  128.  
  129. You mean one character left, but you're still terminally unconscious.
  130. Little bumps on the keyboard don't mandate any sort of cursor control
  131. arrangement whatsoever.  It makes perfect sense to not use ; for a
  132. control key -- it's not right of l on all keyboards, for one thing.
  133. It does NOT make perfect sense to have an unshifted help key in the
  134. middle of the goddamn keyboard in an editor people are supposed to use.
  135. Why don't you take some courses on human-computer interaction and
  136. ergonomics and try to get back to Unix later?
  137.  
  138. >>>Why does VI default to beeping at you when you try to type as opposed to
  139. >>>editing?
  140. >>
  141. >>Because you're Making a Mistake, and vi appropriately tells you so.
  142. >
  143. >Why is typing text into a text editor "a mistake."  VI should default
  144. >to typing mode.  It would 100% or more user friendly, as well as compatible
  145. >with the other 1000 programs out there that claim to be editors. 
  146.  
  147. Typing text into a text editor is a mistake if you type it while in
  148. movement mode.  Similarly, typing text into Microsoft Windows Word is
  149. a mistake if you type it into a dialogue box or onto the desktop.  So?
  150.  
  151. I'd like to know where you're going to put me into 'typing mode' when
  152. I go to edit a file of code I'm writing.  At the beginning?  How nice.
  153. At the end?  I don't want to see the end of the file.  Where I left off?
  154. Sorry, that's not stored in ascii files.
  155.  
  156. >>Again, you're confused.  My vi, and every vi I have used, has dealt with
  157. >>too-long lines in a rational manner.  All my vis also have word-wrap,
  158. >>which you would discover if you took the time to read the man page and
  159. >>read the manual listed at the end of the man page.
  160. >
  161. >Sigh.  See above.
  162.  
  163. If you think vi should default into word-wrap, you're beyond all hope.
  164. People don't just use vi for the reasons you use vi.  That is why it
  165. is minimally configured when you get your fine Unix system.  You configure
  166. it to your own needs by creating a file called '.exrc' in your home
  167. directory and putting appropriate lines in it.  Read the man page for
  168. more information.
  169.  
  170. Your cries of agony are nonsensical when you admit to not having even
  171. read the man page closely enough.
  172.  
  173. >>>Is there a wordwrap mode in VI?  And if so, why doesn't it kick in when I
  174. >>>use VI from RN?
  175. >>
  176. >>a) yes.  b) because your .exrc file is not set up correctly.
  177. >
  178. >How often does someone want to edit news without word wrap?  Wouldn't that
  179. >make it logical to put word wrap in the standard .exrc file?
  180.  
  181. Editting news is not all vi is used for, to let you in on the Big Secret.
  182.  
  183. >If you launch an editor from VI, that editor should be a wordprocessor.  If
  184. >it is vi, vi should be in wordprocess mode.  If it doesn't, that is a flaw.
  185.  
  186. I assume that you meant "if you launch an editor from RN."  Pray tell,
  187. how does vi figure out from where it was launched, and whether or not
  188. that program would necessarily need word-wrap on?  Please go on to
  189. inform me how you've determined that I want word-wrap when I write news --
  190. I don't -- and how you've managed to instantiate artificial intelligence
  191. on any other competing system that you're now comparing with Unix?
  192.  
  193. >If help does nothing at the command prompt.  That is a flaw.
  194.  
  195. For you, it's a flaw.  For enough other people, it's not.  Your systems
  196. administrator has decided not to add a file that does something at the
  197. prompt.  Contact him for further information.
  198.  
  199. >If the cursor keys are illogical that is a flaw.
  200.  
  201. If they were, then it would be.
  202.  
  203. >Anything can be improved if we discuss the flaws and discuss ways to improve
  204. >them.  If we treat those that notice flaws as blasphemers, we all end up
  205. >using 1970s text editors in 1992, and unix dies.
  206.  
  207. Programs do not decay.  vi is unchallenged as a small, powerful text editor;
  208. that it was originally written years ago is just not important.
  209. -- 
  210. ----------------------------------------------------------------------------
  211. Felix Sebastian Gallo                              rhodesia@wixer.cactus.org
  212. ----------------------------------------------------------------------------
  213.