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
Find out the limit supported, then use fold
fold -80 your_file | more
Or
fold -80 your_file > /tmp/your_file.0
vim /tmp/your_file.0