home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / editors / 2827 < prev    next >
Encoding:
Internet Message Format  |  1992-11-20  |  2.3 KB

  1. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!sdd.hp.com!swrinde!elroy.jpl.nasa.gov!ames!agate!doc.ic.ac.uk!uknet!root44!gwc
  2. From: gwc@root.co.uk (Geoff Clare)
  3. Newsgroups: comp.editors
  4. Subject: Re: Arbitrary text blocks (Was: VI??? GROSS!)
  5. Message-ID: <By11rL.204@root.co.uk>
  6. Date: 20 Nov 92 18:23:43 GMT
  7. References: <1992Nov16.221338.42264@datamark.co.nz> <1992Nov17.145011.24541@Princeton.EDU> <1992Nov17.005252@gruc19.nor.chevron.com> <1992Nov18.143424.14704@Princeton.EDU>
  8. Organization: UniSoft Ltd., London, England
  9. Lines: 32
  10.  
  11. bvaughan@sheps.Princeton.EDU (Barbara Vaughan) writes:
  12.  
  13. >This thread has come full circle.  Here is my summary so far:
  14. >A. says "vi can't handle rectangular blocks"
  15. >B. says "yes it can; here is the arcane code to do what you want to do."
  16. >C. says "That's so arcane; a good editor would do it much more transparently"
  17. >D. says "Well, if you really want to do stuff like that, use a spreadsheet
  18. >         or word processor; vi is an editor"
  19. >E. I post three examples of tasks that are not suited to a spreadsheet or
  20. >         wordprocessor but where easy handling of rectangular blocks would
  21. >         be useful.  I didn't say vi couldn't do these things.  I just
  22. >         wanted to illustrate that these are not tasks that are suited for
  23. >         spreadsheets or word processors.     
  24. >F., G., H., ... all post some arcane vi code or suggest using Basic (!!!) to
  25. >         perform these tasks.
  26.  
  27. Given the volume of discussion on this subject, perhaps I should draw
  28. people's attention to the following two lines from the recent regular
  29. posting listing the goodies available from the worldwide VI archive sites.
  30.  
  31. blocks             - Block- delte, move and copy. Sep 24 1991. Geoff Clare.
  32. blocks.d.Z         - Explanation of the blocks-macros. Sep 24 1991.
  33.  
  34. These macros handle rectangular blocks in just the way you'd expect.  You
  35. mark the top left and bottom right corners (and if copying, the top left
  36. for the new location), and a single command does the rest.
  37.  
  38. (If the archive maintainer is reading this, perhaps he could correct the
  39. typo in the listing - "delte" should be "delete".)
  40. -- 
  41. Geoff Clare <gwc@root.co.uk> (USA antiquated mailers: ...!uunet!root.co.uk!gwc)
  42. UniSoft Limited, London, England.   Tel: +44 71 729 3773   Fax: +44 71 729 3273
  43.