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