Unix Technical Forum

Vi/nvi text wrapping

This is a discussion on Vi/nvi text wrapping within the Debian Linux support forums, part of the Debian Linux category; --> Hi all, i need to set text wrapping at 72 columns in Vi or nvi. What file do i ...


Go Back   Unix Technical Forum > Unix Operating Systems > Debian Linux > Debian Linux support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-19-2008, 06:37 AM
Luis Lima
 
Posts: n/a
Default Vi/nvi text wrapping

Hi all, i need to set text wrapping at 72 columns in Vi or nvi. What
file do i edit? and what is the line i have to enter?

thank you

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-19-2008, 06:37 AM
Bill Marcum
 
Posts: n/a
Default Re: Vi/nvi text wrapping

On Sun, 28 Nov 2004 09:15:38 -0500, Luis Lima
<ironwindow2001@nosmpam.com> wrote:
> Hi all, i need to set text wrapping at 72 columns in Vi or nvi. What
> file do i edit? and what is the line i have to enter?
>
> thank you
>

..exrc or .nexrc is the file, the command is "set wraplen=72" (man nvi)


--
"At a scheduled time, the robot would pull the flush lever and scream as
it got sucked down the drain." --Kibo
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-19-2008, 06:37 AM
Luis Lima
 
Posts: n/a
Default Re: Vi/nvi text wrapping

On Sun, 28 Nov 2004, Bill Marcum wrote:

> On Sun, 28 Nov 2004 09:15:38 -0500, Luis Lima
> <ironwindow2001@nosmpam.com> wrote:
> > Hi all, i need to set text wrapping at 72 columns in Vi or nvi. What
> > file do i edit? and what is the line i have to enter?
> >
> > thank you
> >

> .exrc or .nexrc is the file, the command is "set wraplen=72" (man nvi)


Thanks pal, i googled and never thought of 'man nvi'.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:47 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com