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

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!rpi!scott.skidmore.edu!psinntp!psinntp!avernus!mgfrank
  3. From: mgfrank@avernus.com (Marc G. Frank)
  4. Subject: Re: IS UNIX DEAD?
  5. References: <992Nov6.24.648@global.hacktic.nl> <sherman.7229094@foster> <BxGu2H.A62@undergrad.math.waterloo.edu>
  6. Organization: Maryland Appreciation Society
  7. Date: Tue, 10 Nov 1992 21:20:13 GMT
  8. Message-ID: <1992Nov10.212013.6590@avernus.com>
  9. Lines: 89
  10.  
  11. In article <BxGu2H.A62@undergrad.math.waterloo.edu> papresco@napier.uwaterloo.ca (Paul Prescod) writes:
  12. >Why is it, in VI if I try to save a file without a name it doesn't prompt
  13. >me for a name?  Instead it kicks me back to vi.  Or if I try to quit without
  14. >saving.  Why doesn't it ask me "Save y/n."  There is no reason VI couldn't
  15. >have an "expert" mode that got rid of messages for those that don't want
  16. >them.
  17.  
  18. Because that's not how vi works.  But if you don't like it, get elvis
  19. and *change* it.  That's what the source is for.  How come I can't quit
  20. WordPerfect without it asking me if I'm really really really really sure
  21. I want to quit, even though I clearly typed the quit key?  How come I
  22. can't supress that behavior?  Where can I get the WP source so I can fix
  23. it?
  24.  
  25. >Why is it, in VI that there is no way (I know of) to get help, or exit,
  26. >without knowing the exit key?  What doesn't "h" in command mode present
  27. >ANY kind of help?
  28.  
  29. Why can't I quit QEdit or MS-DOS 5 edit or WordPerfect or Windows
  30. without knowing the exit key?  How come I can't get the computer to work
  31. if I don't turn it on?  What the hell am I supposed to do if I can't
  32. find the switch?  I could call tech support, but I don't know how to
  33. dial a phone!
  34.  
  35. >Why is it, in RN that when I hit 'h' to ask about how to find a command,
  36. >it doesn't give me a menu "message read commands","post commands" "misc
  37. >commands."  Instead it makes me read two pages of (mostly useless) commands.
  38.  
  39. Because that way you don't have to waste keystrokes going through
  40. useless menus when all the available options can be displayed on a
  41. couple of pages, which you can abort as soon as you find the key you're
  42. looking for.
  43.  
  44. >Why don't Unix "tools" have a convention about help and exit keys AT THE
  45. >VERY LEAST.  
  46.  
  47. UNIX "tools" aren't even supposed to be interactive.
  48.  
  49. >Where am I supposd to get help about VI?  The man pages tell me nothing
  50. >except how to load it.
  51.  
  52. Well, if you're the bookish sort you could get Linda Lamb's excellent
  53. book *Learning the vi Editor*, a Nutshell Handbook published by O'Reilly
  54. & Associates.
  55.  
  56. If you're not, you could always ask someone.
  57.  
  58. >Why do I have 12 function keys on my keyboard that seem to do absolutely
  59. >nothing?
  60.  
  61. Because you haven't bothered to program them yet?
  62.  
  63. >Why doesn't help do anything in SH (and others).
  64.  
  65. Answer 1: Because that's what "man" is for.
  66. Answer 2: In bash:
  67.  
  68. 11:51:32 mgfrank [1/2048] ~ $help if
  69. if: if COMMANDS; then COMMANDS; [else COMMANDS;] fi
  70.     `if' executes the `then' COMMANDS only if the final command in the
  71.     `if' COMMANDS has an exit status of zero.
  72. 11:51:39 mgfrank [2/2049] ~ $
  73.  
  74. >Why doesn't help do anything in VI?
  75.  
  76. For the same reason that :q! doesn't exit the file without saving in
  77. Microsoft Word.
  78.  
  79. >Why does VI default to beeping at you when you try to type as opposed to
  80. >editing?
  81.  
  82. For the same reason that WordPerfect inserts characters when I try to
  83. move the cursor back with h.
  84.  
  85. HINT: Because they aren't the same program.
  86.  
  87.  
  88. >Why is it that if I want to WordProcess in VI I have to remember to hit return at the end of the line otherwise bizarre things happen.  Why not just wrap, beep, or slide over (i.e. let the line go long). 
  89.  
  90. Because you didn't turn wordwrap on?
  91.  
  92. >Is there a wordwrap mode in VI?  And if so, why doesn't it kick in when I
  93. >use VI from RN?
  94.  
  95. Because you didn't bother putting "set wrapmargin=8" in your .exrc?
  96.  
  97. --
  98. Marc G. Frank                          Gee, Canada's sure looking good right
  99. mgfrank@avernus.com                    about now, isn't it?
  100.