home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / windows / x / apps / 874 < prev    next >
Encoding:
Internet Message Format  |  1992-08-29  |  1.2 KB

  1. Path: sparky!uunet!wupost!usc!news!lsi!mhost!up41!aspin
  2. From: aspin@lsil.com (David Aspinwall 7842)
  3. Newsgroups: comp.windows.x.apps
  4. Subject: Re: Problems invoking vi through xterm
  5. Message-ID: <1992Aug28.210324.21912@lsil.com>
  6. Date: 28 Aug 92 21:03:24 GMT
  7. References: <1adnk5m.westes@netcom.com>
  8. Sender: news@lsil.com (news caster)
  9. Reply-To: aspin@lsil.com
  10. Organization: LSI Logic Corporation
  11. Lines: 31
  12. Nntp-Posting-Host: up41
  13. X-Newsreader: Tin 1.1 PL5
  14.  
  15. Will Estes (westes@netcom.com) wrote:
  16. : I end up with a vi
  17. : window that is
  18. : always 24x80, even
  19. : if I re-size the
  20. : xterm window.
  21.  
  22. Vi doesn't realize you have resized the window.
  23. To get a window of a different size, use -geom,
  24. like: xterm -geom 100x40 -e vi file
  25. This is vi's problem, not xterm's.
  26.  
  27. : vi will set the
  28. : margin to around 20,
  29. : even if I explicitly
  30. : reset the margin
  31. : with the command:
  32. :     set wm=65
  33. : inside of vi.
  34.  
  35. The number you give as the argument to "set wrapmargin"
  36. is the number of characters from the right side,
  37. so "set wm=65" means set the margin 65 characters from
  38. the right side of the screen.
  39. Try something like "set wm=10" instead.
  40.  
  41. : Thanks,
  42. : Will Estes        Internet: westes@netcom.com
  43.  
  44. --
  45.         -- David Aspinwall    aspin@lsil.com    408-433-7842
  46.