home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / misc / 4860 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.2 KB  |  38 lines

  1. Newsgroups: comp.unix.misc
  2. Path: sparky!uunet!spool.mu.edu!uwm.edu!linac!att!cbnewsm!corey
  3. From: corey@cbnewsm.cb.att.com (william.c.brown)
  4. Subject: Re: vi editor
  5. Organization: AT&T
  6. Distribution: usa
  7. Date: Thu, 7 Jan 1993 12:41:55 GMT
  8. Message-ID: <1993Jan7.124155.3512@cbnewsm.cb.att.com>
  9. Summary: vi line numbers
  10. References: <1993Jan6.153020.26807@nmsu.edu>
  11. Keywords: vi rule ruler editor
  12. Lines: 24
  13.  
  14. In article <1993Jan6.153020.26807@nmsu.edu>, wjohnson@nmsu.edu (Wilbur Johnson) writes:
  15. > A friend of mine asked me a question about vi that I was unable to answer.
  16. > He said that a long time ago he could load a MACRO into vi that would provide
  17. > a column rule (i.e. column number indicator) that would appear as a side effect
  18. > to his document. That is the ruler would act like line numbering.
  19. > We are particularly interested in SunOS vi.
  20.  
  21.  
  22. Try "set nu" in command mode and "viola" line numbers...
  23.  
  24.  
  25. /* -----                            */
  26. /* Corey Brown  (WB0RXQ): 20m, 15m, 2m(146.82) 70cm(443.65)     */
  27. /* AT&T NSD                            */
  28. /* Alpharetta, Ga 30202                        */
  29. /* (404)750-8071                        */
  30. /*            -----------------            */
  31. /* att!alphlk!wcb          | They're history in terms of the    */
  32. /* attmail!wcbrown         | future! (lws-91)            */
  33. /*                              ----- */
  34.