tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* : SUMMARY: update nowrap in vi
@ 1999-06-09 21:37 Bryan Rank
  0 siblings, 0 replies; only message in thread
From: Bryan Rank @ 1999-06-09 21:37 UTC (permalink / raw)
  To: tru64-unix-managers

I was ready to let it die.  I figured I would only loose a couple of
nights sleep letting it bug me, then it would be over..., but no you
guys wont let me!

I thought you hit it Stephen.  When I do a ":set wm" I can see
"wrapmargin=0" so tend to go with you here that vi is playing by the
rules.

I looked at my xterm and sure enough it was set to autowrap as it is
on other terminal sessions in which I run vim in and have no problem.
This is not vim under DU however.  At any rate, I turned of the xterm
setting and tried everything again, even exported TERM=vt100, to no avail.

Still no solution.


Again, thanks I will live with it.


Bryan


On Wed, 9 Jun 1999, Stephen Dowdy wrote:

> Bryan,
> 
> I Didn't see the original posting.
> 
> Several things i can think of. 'vi' searches for .exrc in the current
> directory, i don't know if it also incorporates ~/.exrc if it finds one in
> the current directory.  You should check to make sure that your value from
> .exrc is really in the current settings via:
> 
> 	:set wm
> and you should see:
> 	wrapmargin=0
> 
> Are you sure you aren't getting a VISUAL terminal wrap-around? (not a
> hard-line-break).  You can check this by resizing your window.  Any wraps
> should now be able to fit on the newly resized line.  Be aware that normal
> 'vi' can't deal with terminals with lines > 132 characters.
> 
> I use 'vim'.  It offers MANY advantages over the standard 'vi'.  You might
> find it works better for you.
> 
> 	http://www.vim.org/
> 
> It does offer a feature to NOT do visual wraps (you can scroll the display
> left/right as well as up/down).  (:set nowrap)
> 
> --stephen
> 
> > From tru64-unix-managers-owner-dowdy=cs.colorado.edu@sws1.ctd.ornl.gov Wed Jun  9 11:38:45 1999
> > Delivered-To: tru64-unix-managers@sws1.ctd.ornl.gov
> > Sender: tru64-unix-managers-owner@ornl.gov
> > Followup-To: poster
> > Date: Wed, 09 Jun 1999 13:37:57 -0400 (EDT)
> > From: Bryan Rank <bryan@compgen.com>
> > Subject: SUMMARY: nowrap in vi
> > In-reply-to: <Pine.OSF.3.96.990608101836.28845A-100000@babbage.esu.edu>
> > To: tru64-unix-managers@ornl.gov
> > Reply-to: bryan@compgen.com
> > MIME-version: 1.0
> > Content-Type> : > TEXT/PLAIN> ; > charset=US-ASCII> 
> > X-Authentication-warning: bass.compgen.com: bryan owned process doing -bs
> > Content-Length: 650
> > X-Lines: 37
> > 
> > 
> > Guess I am stuck with it.  Thanks to all who tried to help.
> > No suggestions did the trick, tried them all.  Oh well, better
> > this than LSM eating filesytems, or kernel panic strings that
> > no one has ever heard of!
> > 
> > thanks to 
> > 
> > Alan Angulo 
> > Chad Price
> > Paul A Sand
> > Pirie Hart
> > 
> > for giving it a go.
> > 
> > 
> > Bryan
> > 
> > > 
> > > To: tru64-unix-managers@ornl.gov
> > > Subject: nowrap in vi
> > > 
> > > Hi,
> > > I have a good rtfm.  In my .exrc file I have the following...
> > > 
> > >         set tabstop=4
> > >         set wm=0
> > > 
> > > I still get wrapping.  It's driving me crazy.  I even checked my
> > > permissions, and they are set to 644!  Any help would by great,
> > > 
> > > 
> > > Thanks,
> > > 
> > > 
> > > Bryan
> > 
> > 
> --
> Stephen Dowdy - Systems Administrator - CS Dept - Univ of Colorado, Boulder
> dowdy@cs.colorado.edu - 303-492-6196 - http://www.cs.colorado.edu/~dowdy/
>                                                 { NO Cold Sales Calls !!! }
> 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-06-09 21:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-09 21:37 : SUMMARY: update nowrap in vi Bryan Rank

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox