View Single Post
  #4   (View Single Post)  
Old 28th April 2013
thomasw_ thomasw_ is offline
Real Name: thomas
Port Guard
 
Join Date: Feb 2013
Location: kimberley
Posts: 30
Default

I think you want to do a set -o multiline.

Excerpt from man ksh:

multiline:

The built-in editors will use multiple lines on the screen for lines that are longer than the width of the screen.

BTW, if using the standard vi editor in OpenBSD, not vim, you will get line wrapping at 72 characters with the following in a ~/.exrc :>

set wrapmargin=8
set autoindent
set shiftwidth=4
Reply With Quote