home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!usc!news!lsi!mhost!up41!aspin
- From: aspin@lsil.com (David Aspinwall 7842)
- Newsgroups: comp.windows.x.apps
- Subject: Re: Problems invoking vi through xterm
- Message-ID: <1992Aug28.210324.21912@lsil.com>
- Date: 28 Aug 92 21:03:24 GMT
- References: <1adnk5m.westes@netcom.com>
- Sender: news@lsil.com (news caster)
- Reply-To: aspin@lsil.com
- Organization: LSI Logic Corporation
- Lines: 31
- Nntp-Posting-Host: up41
- X-Newsreader: Tin 1.1 PL5
-
- Will Estes (westes@netcom.com) wrote:
- : I end up with a vi
- : window that is
- : always 24x80, even
- : if I re-size the
- : xterm window.
-
- Vi doesn't realize you have resized the window.
- To get a window of a different size, use -geom,
- like: xterm -geom 100x40 -e vi file
- This is vi's problem, not xterm's.
-
- : vi will set the
- : margin to around 20,
- : even if I explicitly
- : reset the margin
- : with the command:
- : set wm=65
- : inside of vi.
-
- The number you give as the argument to "set wrapmargin"
- is the number of characters from the right side,
- so "set wm=65" means set the margin 65 characters from
- the right side of the screen.
- Try something like "set wm=10" instead.
-
- : Thanks,
- : Will Estes Internet: westes@netcom.com
-
- --
- -- David Aspinwall aspin@lsil.com 408-433-7842
-