LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-26-2004, 05:20 AM   #1
ranger225
LQ Newbie
 
Registered: Aug 2004
Posts: 29

Rep: Reputation: 15
Question vi error - line too long


hi friends,
i m trying to enter a single line in vi......but after some limit when you enter text and save the file...it gives an "line too long error"....do anyone know how to increase the size of a default line?.....and i can't break my line with a new line character coz another program is using this file.....i can'd change my program....is there any solution?
 
Old 11-26-2004, 07:09 AM   #2
bahramH
Member
 
Registered: Apr 2004
Location: France
Distribution: Mandrake
Posts: 67

Rep: Reputation: 15
you may use the -b option, which is usually used to look at binary files. It may be helpfull in your context.
 
Old 11-26-2004, 07:29 AM   #3
ranger225
LQ Newbie
 
Registered: Aug 2004
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by bahramH
you may use the -b option, which is usually used to look at binary files. It may be helpfull in your context.
but -b option with which command?
 
Old 11-26-2004, 08:41 AM   #4
bahramH
Member
 
Registered: Apr 2004
Location: France
Distribution: Mandrake
Posts: 67

Rep: Reputation: 15
sorry if I misunderstood your question. you can manipulate a binary file with vi :

vi -b filename.

But on my computer, even without the -b option, I can enter a 100000 character long line and save it (under vi) with no problems. Your problem may come from somthing else.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Protocol error: packet too long -31923829 newlinuxnewbie Linux - General 2 11-23-2005 06:18 PM
Compiling this 3-line long program impossible in all IDE's seriesx4 Programming 2 08-10-2005 05:29 PM
Write long file name in a line shadkong Linux - General 2 04-09-2005 08:52 PM
Help! 2.4.29 + nptl = glibc error: cannot compute (long double), 77 Yerp Linux From Scratch 3 03-25-2005 06:28 PM
Word too long error at login arobic Linux - Newbie 1 08-19-2003 07:40 AM


All times are GMT -5. The time now is 03:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration