home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / misc / 16562 < prev    next >
Encoding:
Internet Message Format  |  1992-09-15  |  3.3 KB

  1. Xref: sparky comp.sys.mac.misc:16562 comp.sys.mac.wanted:8460 comp.sys.mac.programmer:15516 comp.editors:2240
  2. Path: sparky!uunet!sun-barr!news2me.ebay.sun.com!exodus.Eng.Sun.COM!appserv.Eng.Sun.COM!concertina.Eng.Sun.COM!fiddler
  3. From: fiddler@concertina.Eng.Sun.COM (steve hix)
  4. Newsgroups: comp.sys.mac.misc,comp.sys.mac.wanted,comp.sys.mac.programmer,comp.editors
  5. Subject: Re: good vi editor for the mac
  6. Date: 15 Sep 1992 20:39:47 GMT
  7. Organization: Sun Microsystems, Mt. View, Ca.
  8. Lines: 71
  9. Distribution: inet
  10. Message-ID: <lbcigjINNio9@appserv.Eng.Sun.COM>
  11. References: <D88-JWA.92Sep8123551@black.nada.kth.se> <65734@cup.portal.com> <23284@hacgate.SCG.HAC.COM> <1955qnINN24o@oak4.doc.ic.ac.uk>
  12. NNTP-Posting-Host: concertina
  13.  
  14. In article <1955qnINN24o@oak4.doc.ic.ac.uk> ntc@doc.ic.ac.uk (N T Cheung) writes:
  15. >In article <23284@hacgate.SCG.HAC.COM> root@lyra.hac.com (Dave Fisher) writes:
  16. >
  17. >>Let me illustrate a couple of vi examples for the benefit of the non-Unix 
  18. >>literate:
  19. >>
  20. >>1. I'm editing a file on machine X.  I need a line of text from another
  21. >>   ... "rsh machine-y grep keyword filename"
  22. >>
  23. >>2. Someone gives me a file which contains a list of 1000 birdnames, as well
  24. >>   ...grep birdname birdfile
  25. >>   ..."!}sh" at the top of this "paragraph".  Each line will now
  26. >>   be replaced by the corresponding description.
  27. >>
  28. >>3. I wish to sort from line 500 to line 1000, using the 3rd word in each
  29. >>   line as the sorting key.  I type 500G!500+sort +3.  Done.
  30. >>
  31. >These are great examples of exactly why GUIs were invented.  
  32.  
  33. Right.  And why GUI's aren't enough in themselves...
  34.  
  35. >How many people in the world could do the things you mentioned above?  
  36.  
  37. All the time, not many.  Once in a while, a whole bunch.
  38.  
  39. >How often would most computer users ever want to do these things?  
  40.  
  41. Not very often, but when you need to do it, the (GUI) alternative
  42. is really unpleasant.
  43.  
  44. >I have been hacking
  45. >around computers for quite a while now, and using UNIX for the last few months,
  46. >but I would have had no idea how to construct those commands.
  47.  
  48. A bit of reading of the appropriate manpages or manuals or books...
  49.  
  50. >VI and CLIs may be great for the computer literate elite, but the majority
  51. >of people do not want to spend the time and effort to master these arcane
  52. >interfaces.
  53.  
  54. Which is why GUIs, even bad ones, sell so well.
  55.  
  56. >>Vi is also quick to use, once learned well, because your hands don't have
  57. >
  58. >There it is:  "once learned well".  How long does it take to learn VI well?
  59.  
  60. A week?
  61.  
  62. >Is it possible to learn VI simply by using it a lot?  No!  You have to read
  63. >some sort of manual, and then practice a lot as well.
  64. `
  65. To get most of most useful features in hand, a quick reference card or diagram
  66. does just fine.
  67.  
  68. >To get back to the track of this thread:
  69. >
  70. >Why do people always denigrate the MPW editor?  I think it is a very powerful
  71. >editor indeed.  What is wrong with it?
  72.  
  73. 1. It doesn't come with all systems.
  74.  
  75. 2. It costs a non-trivial amount of money.
  76.  
  77. Either vi or emacs or both typically come bundled with various flavors of U*ix.
  78. It could be construed as a feature of such systems.
  79.  
  80. --
  81. -----------------------------------------------------------------------
  82. Of making many books there is no end...  |  What's wrong with chasing 
  83.                        -- Eccl. 12:12    |  nebulae till 3 am?  |-(
  84. -----------------------------------------------------------------------
  85.