Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8475587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T17:56:02+00:00 2026-06-10T17:56:02+00:00

When I use vi to analyze log files, it sometimes is stuck with the

  • 0

When I use vi to analyze log files, it sometimes is stuck with the error: ‘Line too long’. I can watch the file using more, but that’s not what I want.

The command view leads to the same result and less is not installed.

System is HP-UX v B.11.31 U ia64

  1. What does this error mean? Does vi really have a limitation on how many characters per line is allowed?
  2. Is there a workaround how to get the files open and displayed in vi anyway?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T17:56:04+00:00Added an answer on June 10, 2026 at 5:56 pm

    (1) Apparently so 🙂

    I’ve never run into a limitation in vim (a) before but it may be that the vi shipping with HPUX is not vim.

    (2) What sort of analysis are you doing on log files with vi?

    This is the sort of task perfectly suited to text processing tools like sed, awk and Perl, in order of increasing awesomeness.


    (a): You may want to consider grabbing vim if you don’t have it already. From the vi_diff part of the documentation (differences between vi and vim):

    Vim has only a few limits for the files that can be edited {Vi: can not handle characters and characters above 128, has limited line length, many other limits}.

    Maximum line length: On machines with 16-bit ints (Amiga and MS-DOS real mode): 32767, otherwise 2147483647 characters. Longer lines are split.

    Maximum number of lines: 2147483647 lines.

    Maximum file size: 2147483647 bytes (2 Gbyte) when a long integer is 32 bits. Much more for 64 bit longs. Also limited by available disk space for the swap-file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

is there any node module that I can use to analyze the log file?
What's the popular tool people use in Unix to parse/analyze log files? Doing counting,
I'm a total newbie trying to use Python to analyze my company's log files.
I use pstack to analyze core dump files in Solaris How else can I
What command can I use to analyse Apache's log file that tells me between
I can upload a file and analyse. splunk > Search > Add more data
I'm trying to use MongoDB to analyse Apache log files. I've created a receipts
For use to analyze documents on the Internet!
I have use semantic-analyze-proto-impl-toggle to switch between the function's proto and impl, but when
I'm trying to use Purify 6 to analyze a memory corruption in one of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.