home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / unix / question / 15908 < prev    next >
Encoding:
Text File  |  1993-01-24  |  3.2 KB  |  66 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!uunet.ca!canrem!telly!robohack!woods
  3. From: woods@robohack.UUCP (Greg A. Woods)
  4. Subject: Re: So what _is_ so good about vi?
  5. Organization: Elegant Communications Inc.
  6. Summary: absolutely nothing!  :-)
  7. References: <1jcoq7INN5eg@zikzak.apana.org.au> <hellmann.727326418@pecan.cs.scarolina.edu>
  8. Message-ID: <1993Jan24.230802.4473@robohack.UUCP>
  9. Date: Sun, 24 Jan 93 23:08:02 GMT
  10. Lines: 54
  11.  
  12. In article <hellmann.727326418@pecan.cs.scarolina.edu> hellmann@cs.scarolina.edu (Doug Hellmann) writes:
  13. > One reason I suspect vi is so popular is that very few of the editing commands
  14. > require special control characters.  In fact, the only vi command I can think
  15. > of (off the top of my head) which uses a control character is the ^L command
  16. > to redraw the screen.  How often do you use that?  The other one you might
  17. > consider a control sequence is the Escape key.  Most keyboards have one of
  18. > those though.  And if you don't, then it is configureable.
  19.  
  20. Actually, there are quite a few control characters used in vi.  One
  21. more of the top of my head is '^V' for quoted insert of control
  22. characters.
  23.  
  24. BTW, the ESC key is only used when a true meta key is lacking on your
  25. terminal (or when your connection to the host strips the 8th bit.!).
  26. Have a read of the introductory documents of GNU-emacs for more good
  27. words on what makes a decent terminal.
  28.  
  29. That's one of the reasons I like emacs-like editors and hate vi.  If
  30. you forget you're not in one of the "type some text" modes, vi can do
  31. some wonderful things to your text as you type what you think are only
  32. a few new words!  Only time emacs goes wonky in the same way is when
  33. my control or meta keys stick, and with real emacs you've got a very
  34. long recursive undo to get yourself trouble.
  35.  
  36. > The reason this feature is so important is that vi can be used with most types
  37. > of terminals without major reconfiguring of the keyboard.  I like to use it 
  38. > because I can use it with my modem without worrying about activating any of 
  39. > the local commands.
  40.  
  41. I've never had to re-configure my keyboard to use emacs....  Mind you
  42. the AT&T 5620-DMD's I use most often have '^_' mapped to '^/' and '^^'
  43. mapped to '^.', but that's AT&T for you....  In any case, it's a
  44. matter of reconfiguring my fingers in those cases.
  45.  
  46. > It is also good for touch typists, because your hands don't leave the center
  47. > of the keyboard (except to hit Escape).  I can type between 30 and 40 words
  48. > per minute (which is not so great, but most programmers I know do some sort of
  49. > advanced hunting and pecking).  Using vi to do my editing allows me to do
  50. > things more rapidly than many of the other people I work or go to school with.
  51.  
  52. Again, this is why I like emacs....
  53.  
  54. > I also get the impression, though I haven't checked it out myself, that vi
  55. > uses less memory than emacs.  I don't know about any of the other editors.  Of
  56. > course, in today's age of cheap memory, this isn't such a big concern.  But it
  57. > seems to me if it is smaller, it is probably more efficient.
  58.  
  59. This is true of some editors, but most smaller emacs clones are also
  60. smaller than vi (eg. Jove).
  61. -- 
  62.                         Greg A. Woods
  63.  
  64. woods@robohack.UUCP, woods@Elegant.COM  VE3TCP    UniForum Canada & ECI
  65. +1 416 443-1734 [home] +1 416 362-XRSA [work]    Toronto, Ontario; CANADA
  66.