#1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2002
    Location
    Orlando FL
    Posts
    130
    Rep Power
    13

    Question how to NOT wrap lines in VI for viewing?


    Hi all,

    I am trying to read some log files that are very long per line. Is there way I can not wrap lines in VI so I can see line by line much more clear?

    Thanks.
    Help me, help you, help others...
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    383
    Rep Power
    13
    Try :set nowrap, works for me in vim, and also works when vim is in vi-compatible mode. So I think it should work.
    Debian - because life's too short for worrying.
    Best. (Python.) IRC bot. ever.
  4. #3
  5. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2002
    Location
    Orlando FL
    Posts
    130
    Rep Power
    13
    hi Strike,

    Yep, the VIM works fine, but unfortunatly I don't have that on the server I am working on, and I can't install one. I only got basic VI. Is there anyway to do it in VI?

    Thanks for your help.
    Help me, help you, help others...

IMN logo majestic logo threadwatch logo seochat tools logo