- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Line too long problem in vi
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2002 07:56 AM
тАО06-28-2002 07:56 AM
Quite often we face the problem of "line too long" because of long trace lines while opening a file in vi. Is there a way to set the max line size while opening a file in vi.
Regards,
Ram.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2002 08:08 AM
тАО06-28-2002 08:08 AM
Re: Line too long problem in vi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2002 08:13 AM
тАО06-28-2002 08:13 AM
SolutionHi,
Use fold command before using vi. man fold for more info,
Also you use new version of called vim , you can get this from porting centre
http://hpux.cs.utah.edu/hppd/
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2002 08:15 AM
тАО06-28-2002 08:15 AM
Re: Line too long problem in vi
http://hpux.cs.utah.edu/hppd/hpux/Editors/vim-6.1/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2002 08:24 AM
тАО06-28-2002 08:24 AM
Re: Line too long problem in vi
Just curious, is this 2048 limit hard-coded for vi. I mean is there no variable that can be set to increase this limit.
Regards,
Ram.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2002 08:44 AM
тАО06-28-2002 08:44 AM
Re: Line too long problem in vi
vi(1) was unable to handle files containing lines of length greater than 2048 characters.This was because, the buffers used in vi(1) were limited to 2048 characters.
Resolution:
The size of buffers has been changed from 2048 to 4096 characters.
So if you're running 11.11 the limit is doubled by installing this patch. I did not look at patches for other version of OS.