- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- largest file size supported by vi editor
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
тАО01-04-2006 05:49 PM
тАО01-04-2006 05:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2006 06:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2006 06:38 PM
тАО01-04-2006 06:38 PM
Re: largest file size supported by vi editor
it will bepedn on the space allocated for your /tmp to hold the buffer.
IA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2006 06:47 PM
тАО01-04-2006 06:47 PM
Re: largest file size supported by vi editor
also note that i had a case where i had to split the file into several ones using:
split -l 5 file tf
then editing them using
vi tf*
then finally rejoining them together using the '>>' operator
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2006 09:07 PM
тАО01-04-2006 09:07 PM
Re: largest file size supported by vi editor
i think it depends on your /tmp size
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2006 09:24 PM
тАО01-04-2006 09:24 PM
Re: largest file size supported by vi editor
from man vi
" Maximum File Size
The maximum file length of 234,239 lines is silently enforced."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2006 09:38 PM
тАО01-04-2006 09:38 PM
Re: largest file size supported by vi editor
the man page clearly says that. Also you can change temp dir. Once in vi session do set all. to set temp. dir, you need to set directory=/something
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2006 10:00 PM
тАО01-04-2006 10:00 PM
Re: largest file size supported by vi editor
Maximum Line Length is 4096 characters including 2-3 bytes for overhead. Thus, a line length up to 4092 characters should cause no problem. Attempting to create lines longer than the allowable maximum for the editor produces a line too long error message.
There is no limit of file size.
The maximum file length of 234,239 lines is silently enforced in man pages.
Other limits
+ 256 characters per global command list.
+ 128 characters in a file name in vi or ex open mode. On short-file-name HP-UX systems, the maximum file name length is 14 characters.
+ 128 characters in a previous insert/delete buffer.
+ 100 characters in a shell-escape command.
+ 63 characters in a string-valued option (:set command).
+ 30 characters in a program tag name.
+ 32 or fewer macros defined by map command.
+ 512 or fewer characters total in combined map macros.
It is better to refer the man pages of commands.
Regards
Shameer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2006 04:22 AM
тАО01-05-2006 04:22 AM
Re: largest file size supported by vi editor
Make /tmp size big enough to hold and support big file for vi.
hth,
Raj.