home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / editors / 2060 < prev    next >
Encoding:
Internet Message Format  |  1992-08-21  |  1.8 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!jvnc.net!yale.edu!yale!gumby!destroyer!ubc-cs!unixg.ubc.ca!kakwa.ucs.ualberta.ca!access.usask.ca!ccu.umanitoba.ca!rahardj
  2. From: rahardj@ccu.umanitoba.ca (Budi Rahardjo)
  3. Newsgroups: comp.editors
  4. Subject: Re: Why I love VI
  5. Message-ID: <1992Aug21.222238.27806@ccu.umanitoba.ca>
  6. Date: 21 Aug 92 22:22:38 GMT
  7. References: <1992Aug10.100142.2416@ccu.umanitoba.ca> <1992Aug21.040413.28174@cs.umb.edu>
  8. Sender: news@ccu.umanitoba.ca
  9. Organization: University of Manitoba, Winnipeg, Canada
  10. Lines: 36
  11. Nntp-Posting-Host: venus.cc.umanitoba.ca
  12.  
  13. mzraly@ra.cs.umb.edu (Michael S. Zraly) writes:
  14.  
  15. >rahardj@ccu.umanitoba.ca (Budi Rahardjo) writes:
  16. >>    [... deleted ...]
  17.  
  18. > Centering is easy in vi, just pipe text through a simple awk script,
  19. >e.g.
  20. >    awk 'length>0 {for(x=(72-length)/2;x>0;--x)printf(" "); print}'
  21. >map this if you need to use it frequently.
  22.  
  23. You don't have to do that. There is a macro that can center the string
  24. (it should be in one of the vi-archive sites). It does some animation
  25. when doing the centering... :-) (sorry I lost it somewhere...)
  26.  
  27. >    If you must justify *AND* fill, pipe through nroff (and uniq, to
  28. >remove extra blank lines).  Use your favorite macro package.  
  29.  
  30. I can do that, but I have to use all those (dot) commands.
  31. [Yes, I do use nroff when creating man pages]
  32. I prefer to have a "clean" text.
  33.  
  34. >(One thing
  35. >I don't like about TeX is its inability to generate ASCII output, but
  36. >that's only a peripheral issue here).
  37.  
  38. There are several programs that can do that. dvitty (or dvi2tty ?)
  39. is one of them. The output is not pretty but readable.
  40.  
  41. BTW, there is text editor that does what I want.... CRISP.
  42. I am still trying to convince my boss to buy one :-)
  43.  
  44.  
  45. -- budi
  46. -- 
  47. Budi Rahardjo <rahardj@ccu.umanitoba.ca>
  48. Unix Support - Computer Services - University of Manitoba
  49.